Module Values.ImportLensInputSource

Import a new custom lens or update an existing custom lens. To update an existing custom lens, specify its ARN as the LensAlias. If no ARN is specified, a new custom lens is created. The new or updated lens will have a status of DRAFT. The lens cannot be applied to workloads or shared with other Amazon Web Services accounts until it's published with CreateLensVersion. Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide. A custom lens cannot exceed 500 KB in size. Disclaimer Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.

Sourcetype nonrec t = {
  1. lensAlias : LensAlias.t option;
  2. jSONString : LensJSON.t;
    (*

    The JSON representation of a lens.

    *)
  3. clientRequestToken : ClientRequestToken.t;
  4. tags : TagMap.t option;
    (*

    Tags to associate to a lens.

    *)
}
Sourceval context_ : string
Sourceval make : ?lensAlias:??? -> ?tags:??? -> jSONString:LensJSON.t -> clientRequestToken:ClientRequestToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of LensAlias.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t