Struct aws_sdk_s3::types::Grantee
source · #[non_exhaustive]pub struct Grantee {
pub display_name: Option<String>,
pub email_address: Option<String>,
pub id: Option<String>,
pub uri: Option<String>,
pub type: Type,
}
Expand description
Container for the person being granted permissions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.display_name: Option<String>
Screen name of the grantee.
email_address: Option<String>
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
id: Option<String>
The canonical user ID of the grantee.
uri: Option<String>
URI of the grantee group.
type: Type
Type of grantee
Implementations§
source§impl Grantee
impl Grantee
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Screen name of the grantee.
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
Email address of the grantee.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.