Module Values_1.ImageMetadataSource

Information about the AMI.

Sourcetype nonrec t = {
  1. imageId : Values_0.ImageId.t option;
    (*

    The ID of the AMI.

    *)
  2. name : Values_0.String_.t option;
    (*

    The name of the AMI.

    *)
  3. ownerId : Values_0.String_.t option;
    (*

    The ID of the Amazon Web Services account that owns the AMI.

    *)
  4. state : ImageState.t option;
    (*

    The current state of the AMI. If the state is available, the AMI is successfully registered and can be used to launch an instance.

    *)
  5. imageOwnerAlias : Values_0.String_.t option;
    (*

    The alias of the AMI owner. Valid values: amazon | aws-backup-vault | aws-marketplace

    *)
  6. creationDate : Values_0.String_.t option;
    (*

    The date and time the AMI was created.

    *)
  7. deprecationTime : Values_0.String_.t option;
    (*

    The deprecation date and time of the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ.

    *)
  8. imageAllowed : Values_0.Boolean.t option;
    (*

    If true, the AMI satisfies the criteria for Allowed AMIs and can be discovered and used in the account. If false, the AMI can't be discovered or used in the account. For more information, see Control the discovery and use of AMIs in Amazon EC2 with Allowed AMIs in Amazon EC2 User Guide.

    *)
  9. isPublic : Values_0.Boolean.t option;
    (*

    Indicates whether the AMI has public launch permissions. A value of true means this AMI has public launch permissions, while false means it has only implicit (AMI owner) or explicit (shared with your account) launch permissions.

    *)
}
Sourceval make : ?imageId:??? -> ?name:??? -> ?ownerId:??? -> ?state:??? -> ?imageOwnerAlias:??? -> ?creationDate:??? -> ?deprecationTime:??? -> ?imageAllowed:??? -> ?isPublic:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `String of Values_0.ImageId.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