Class: Aws::AccessAnalyzer::Types::AclGrantee
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::AclGrantee
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
AclGrantee is a union - when making an API calls you must set exactly one of the members.
AclGrantee is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AclGrantee corresponding to the set member.
You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see PutBucketAcl.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
The value specified is the canonical user ID of an Amazon Web Services account.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#uri ⇒ String
Used for granting permissions to a predefined group.
Instance Attribute Details
#id ⇒ String
The value specified is the canonical user ID of an Amazon Web Services account.
301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 301 class AclGrantee < Struct.new( :id, :uri, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Id < AclGrantee; end class Uri < AclGrantee; end class Unknown < AclGrantee; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
301 302 303 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 301 def unknown @unknown end |
#uri ⇒ String
Used for granting permissions to a predefined group.
301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 301 class AclGrantee < Struct.new( :id, :uri, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Id < AclGrantee; end class Uri < AclGrantee; end class Unknown < AclGrantee; end end |