Struct aws_sdk_s3control::operation::get_access_grants_location::GetAccessGrantsLocationOutput
source · #[non_exhaustive]pub struct GetAccessGrantsLocationOutput {
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 assigns this ID when you register 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.
location_scope: Option<String>The S3 URI path to the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.
iam_role_arn: Option<String>The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
Implementations§
source§impl GetAccessGrantsLocationOutput
impl GetAccessGrantsLocationOutput
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 assigns this ID when you register 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.
sourcepub fn location_scope(&self) -> Option<&str>
pub fn location_scope(&self) -> Option<&str>
The S3 URI path to the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.
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 for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
source§impl GetAccessGrantsLocationOutput
impl GetAccessGrantsLocationOutput
sourcepub fn builder() -> GetAccessGrantsLocationOutputBuilder
pub fn builder() -> GetAccessGrantsLocationOutputBuilder
Creates a new builder-style object to manufacture GetAccessGrantsLocationOutput.
Trait Implementations§
source§impl Clone for GetAccessGrantsLocationOutput
impl Clone for GetAccessGrantsLocationOutput
source§fn clone(&self) -> GetAccessGrantsLocationOutput
fn clone(&self) -> GetAccessGrantsLocationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetAccessGrantsLocationOutput
impl PartialEq for GetAccessGrantsLocationOutput
source§fn eq(&self, other: &GetAccessGrantsLocationOutput) -> bool
fn eq(&self, other: &GetAccessGrantsLocationOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetAccessGrantsLocationOutput
impl RequestId for GetAccessGrantsLocationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetAccessGrantsLocationOutput
Auto Trait Implementations§
impl Freeze for GetAccessGrantsLocationOutput
impl RefUnwindSafe for GetAccessGrantsLocationOutput
impl Send for GetAccessGrantsLocationOutput
impl Sync for GetAccessGrantsLocationOutput
impl Unpin for GetAccessGrantsLocationOutput
impl UnwindSafe for GetAccessGrantsLocationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more