You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::Grantee

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Grantee as input to an Aws::Client method, you can use a vanilla Hash:

{
  display_name: "DisplayName",
  email_address: "EmailAddress",
  id: "ID",
  type: "CanonicalUser", # required, accepts CanonicalUser, AmazonCustomerByEmail, Group
  uri: "URI",
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

Screen name of the grantee.

Returns:

  • (String)

    Screen name of the grantee.

#email_addressString

Email address of the grantee.

Returns:

  • (String)

    Email address of the grantee.

#idString

The canonical user ID of the grantee.

Returns:

  • (String)

    The canonical user ID of the grantee.

#typeString

Type of grantee

Possible values:

  • CanonicalUser
  • AmazonCustomerByEmail
  • Group

Returns:

  • (String)

    Type of grantee.

#uriString

URI of the grantee group.

Returns:

  • (String)

    URI of the grantee group.