Class: Aws::S3Control::Types::S3SetObjectAclOperation
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3SetObjectAclOperation
- Defined in:
- gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb
Overview
Note:
When making an API call, you may pass S3SetObjectAclOperation data as a hash:
{
access_control_policy: {
access_control_list: {
owner: { # required
id: "NonEmptyMaxLength1024String",
display_name: "NonEmptyMaxLength1024String",
},
grants: [
{
grantee: {
type_identifier: "id", # accepts id, emailAddress, uri
identifier: "NonEmptyMaxLength1024String",
display_name: "NonEmptyMaxLength1024String",
},
permission: "FULL_CONTROL", # accepts FULL_CONTROL, READ, WRITE, READ_ACP, WRITE_ACP
},
],
},
canned_access_control_list: "private", # accepts private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, bucket-owner-full-control
},
}
Contains the configuration parameters for a Set Object ACL operation. S3 Batch Operations passes every object to the underlying PUT Object acl API. For more information about the parameters for this operation, see PUT Object acl.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
Instance Attribute Details
#access_control_policy ⇒ Types::S3AccessControlPolicy
6099 6100 6101 6102 6103 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 6099 class S3SetObjectAclOperation < Struct.new( :access_control_policy) SENSITIVE = [] include Aws::Structure end |