Module Values.PutPublicAccessBlockRequestSource

This operation is not supported by directory buckets. Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. This operation may be restricted when the account is managed by organization-level Block Public Access policies. You might get an Access Denied (403) error when the account is managed by organization-level Block Public Access policies. Organization-level policies override account-level settings, preventing direct account-level modifications. For this operation, users must have the s3:PutAccountPublicAccessBlock permission. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock

Sourcetype nonrec t = {
  1. publicAccessBlockConfiguration : PublicAccessBlockConfiguration.t;
    (*

    The PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services account.

    *)
  2. accountId : AccountId.t;
    (*

    The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to set.

    *)
}
Sourceval context_ : string
Sourceval make : publicAccessBlockConfiguration:PublicAccessBlockConfiguration.t -> accountId:AccountId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccountId.t | `Structure of (string * [> `Boolean of Setting.t ]) list ]) 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