Struct aws_sdk_s3::types::Initiator
source · #[non_exhaustive]pub struct Initiator {
pub id: Option<String>,
pub display_name: Option<String>,
}
Expand description
Container element that identifies who initiated the multipart upload.
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.id: Option<String>
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
Directory buckets - If the principal is an Amazon Web Services account, it provides the Amazon Web Services account ID. If the principal is an IAM User, it provides a user ARN value.
display_name: Option<String>
Name of the Principal.
This functionality is not supported for directory buckets.
Implementations§
source§impl Initiator
impl Initiator
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
Directory buckets - If the principal is an Amazon Web Services account, it provides the Amazon Web Services account ID. If the principal is an IAM User, it provides a user ARN value.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Name of the Principal.
This functionality is not supported for directory buckets.