Module Values.GetAccessGrantsInstanceResultSource

Retrieves the S3 Access Grants instance for a Region in your account. Permissions You must have the s3:GetAccessGrantsInstance permission to use this operation. GetAccessGrantsInstance is not supported for cross-account access. You can only call the API from the account that owns the S3 Access Grants instance.

Sourcetype nonrec t = {
  1. accessGrantsInstanceArn : AccessGrantsInstanceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the S3 Access Grants instance.

    *)
  2. accessGrantsInstanceId : AccessGrantsInstanceId.t option;
    (*

    The ID of the S3 Access Grants instance. The ID is default. You can have one S3 Access Grants instance per Region per account.

    *)
  3. identityCenterArn : IdentityCenterArn.t option;
    (*

    If you associated your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, this field returns the Amazon Resource Name (ARN) of the IAM Identity Center instance application; a subresource of the original Identity Center instance. S3 Access Grants creates this Identity Center application for the specific S3 Access Grants instance.

    *)
  4. identityCenterInstanceArn : IdentityCenterArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.

    *)
  5. identityCenterApplicationArn : IdentityCenterApplicationArn.t option;
    (*

    If you associated your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, this field returns the Amazon Resource Name (ARN) of the IAM Identity Center instance application; a subresource of the original Identity Center instance. S3 Access Grants creates this Identity Center application for the specific S3 Access Grants instance.

    *)
  6. createdAt : CreationTimestamp.t option;
    (*

    The date and time when you created the S3 Access Grants instance.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?accessGrantsInstanceArn:??? -> ?accessGrantsInstanceId:??? -> ?identityCenterArn:??? -> ?identityCenterInstanceArn:??? -> ?identityCenterApplicationArn:??? -> ?createdAt:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccessGrantsInstanceArn.t | `Timestamp of CreationTimestamp.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