Module Values.ResourceSource

Describes a resource associated with a resource share in RAM.

Sourcetype nonrec t = {
  1. arn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
  2. type_ : String_.t option;
    (*

    The resource type. This takes the form of: service-code:resource-code, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.

    *)
  3. resourceShareArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the resource share this resource is associated with.

    *)
  4. resourceGroupArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.

    *)
  5. status : ResourceStatus.t option;
    (*

    The current status of the resource.

    *)
  6. statusMessage : String_.t option;
    (*

    A message about the status of the resource.

    *)
  7. creationTime : DateTime.t option;
    (*

    The date and time when the resource was associated with the resource share.

    *)
  8. lastUpdatedTime : DateTime.t option;
    (*

    The date an time when the association between the resource and the resource share was last updated.

    *)
  9. resourceRegionScope : ResourceRegionScope.t option;
    (*

    Specifies the scope of visibility of this resource: REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists. GLOBAL – The resource can be accessed from any Amazon Web Services Region.

    *)
}
Sourceval make : ?arn:??? -> ?type_:??? -> ?resourceShareArn:??? -> ?resourceGroupArn:??? -> ?status:??? -> ?statusMessage:??? -> ?creationTime:??? -> ?lastUpdatedTime:??? -> ?resourceRegionScope:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of DateTime.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