Class: Aws::AccessAnalyzer::Types::AclGrantee
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::AccessAnalyzer::Types::AclGrantee
 
 
- Includes:
 - Structure, Structure::Union
 
- Defined in:
 - 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].
[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAcl.html
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.
      308 309 310 311 312 313 314 315 316 317 318 319  | 
    
      # File 'lib/aws-sdk-accessanalyzer/types.rb', line 308 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
      308 309 310  | 
    
      # File 'lib/aws-sdk-accessanalyzer/types.rb', line 308 def unknown @unknown end  | 
  
#uri ⇒ String
Used for granting permissions to a predefined group.
      308 309 310 311 312 313 314 315 316 317 318 319  | 
    
      # File 'lib/aws-sdk-accessanalyzer/types.rb', line 308 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  |