Struct aws_sdk_s3control::operation::update_access_grants_location::UpdateAccessGrantsLocationOutput
source · #[non_exhaustive]pub struct UpdateAccessGrantsLocationOutput {
pub created_at: Option<DateTime>,
pub access_grants_location_id: Option<String>,
pub access_grants_location_arn: Option<String>,
pub location_scope: Option<String>,
pub iam_role_arn: Option<String>,
/* private fields */
}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.created_at: Option<DateTime>The date and time when you registered the location.
access_grants_location_id: Option<String>The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID default to the default location s3:// and assigns an auto-generated ID to other locations that you register.
access_grants_location_arn: Option<String>The Amazon Resource Name (ARN) of the registered location that you are updating.
location_scope: Option<String>The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket s3://, or the S3 path to a bucket and prefix s3://.
iam_role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
Implementations§
source§impl UpdateAccessGrantsLocationOutput
impl UpdateAccessGrantsLocationOutput
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time when you registered the location.
sourcepub fn access_grants_location_id(&self) -> Option<&str>
pub fn access_grants_location_id(&self) -> Option<&str>
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID default to the default location s3:// and assigns an auto-generated ID to other locations that you register.
sourcepub fn access_grants_location_arn(&self) -> Option<&str>
pub fn access_grants_location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the registered location that you are updating.
sourcepub fn location_scope(&self) -> Option<&str>
pub fn location_scope(&self) -> Option<&str>
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket s3://, or the S3 path to a bucket and prefix s3://.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
source§impl UpdateAccessGrantsLocationOutput
impl UpdateAccessGrantsLocationOutput
sourcepub fn builder() -> UpdateAccessGrantsLocationOutputBuilder
pub fn builder() -> UpdateAccessGrantsLocationOutputBuilder
Creates a new builder-style object to manufacture UpdateAccessGrantsLocationOutput.
Trait Implementations§
source§impl Clone for UpdateAccessGrantsLocationOutput
impl Clone for UpdateAccessGrantsLocationOutput
source§fn clone(&self) -> UpdateAccessGrantsLocationOutput
fn clone(&self) -> UpdateAccessGrantsLocationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateAccessGrantsLocationOutput
impl PartialEq for UpdateAccessGrantsLocationOutput
source§fn eq(&self, other: &UpdateAccessGrantsLocationOutput) -> bool
fn eq(&self, other: &UpdateAccessGrantsLocationOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for UpdateAccessGrantsLocationOutput
impl RequestId for UpdateAccessGrantsLocationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.