Module Values.PutAccessGrantsInstanceResourcePolicyRequestSource

Updates the resource policy of the S3 Access Grants instance. Permissions You must have the s3:PutAccessGrantsInstanceResourcePolicy permission to use this operation.

Sourcetype nonrec t = {
  1. accountId : AccountId.t;
    (*

    The Amazon Web Services account ID of the S3 Access Grants instance.

    *)
  2. policy : PolicyDocument.t;
    (*

    The resource policy of the S3 Access Grants instance that you are updating.

    *)
  3. organization : Organization.t option;
    (*

    The Organization of the resource policy of the S3 Access Grants instance.

    *)
}
Sourceval context_ : string
Sourceval make : ?organization:??? -> accountId:AccountId.t -> policy:PolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccountId.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