Class: Aws::Glacier::Types::Grant
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::Grant
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
Note:
When making an API call, you may pass Grant data as a hash:
{
grantee: {
type: "AmazonCustomerByEmail", # required, accepts AmazonCustomerByEmail, CanonicalUser, Group
display_name: "string",
uri: "string",
id: "string",
email_address: "string",
},
permission: "FULL_CONTROL", # accepts FULL_CONTROL, WRITE, WRITE_ACP, READ, READ_ACP
}
Contains information about a grant.
Instance Attribute Summary collapse
-
#grantee ⇒ Types::Grantee
The grantee.
-
#permission ⇒ String
Specifies the permission given to the grantee.
Instance Attribute Details
#grantee ⇒ Types::Grantee
The grantee.
1211 1212 1213 1214 1215 |
# File 'lib/aws-sdk-glacier/types.rb', line 1211 class Grant < Struct.new( :grantee, :permission) include Aws::Structure end |