Struct aws_sdk_s3control::types::ListAccessGrantEntry
source · #[non_exhaustive]pub struct ListAccessGrantEntry {
pub created_at: Option<DateTime>,
pub access_grant_id: Option<String>,
pub access_grant_arn: Option<String>,
pub grantee: Option<Grantee>,
pub permission: Option<Permission>,
pub access_grants_location_id: Option<String>,
pub access_grants_location_configuration: Option<AccessGrantsLocationConfiguration>,
pub grant_scope: Option<String>,
pub application_arn: Option<String>,
}
Expand description
Information about the access grant.
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 created the S3 Access Grants instance.
access_grant_id: Option<String>
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
access_grant_arn: Option<String>
The Amazon Resource Name (ARN) of the access grant.
grantee: Option<Grantee>
The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
permission: Option<Permission>
The type of access granted to your S3 data, which can be set to one of the following values:
-
READ
– Grant read-only access to the S3 data. -
WRITE
– Grant write-only access to the S3 data. -
READWRITE
– Grant both read and write access to the S3 data.
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_configuration: Option<AccessGrantsLocationConfiguration>
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
grant_scope: Option<String>
The S3 path of the data to which you are granting access. It is the result of appending the Subprefix
to the location scope.
application_arn: Option<String>
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
Implementations§
source§impl ListAccessGrantEntry
impl ListAccessGrantEntry
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time when you created the S3 Access Grants instance.
sourcepub fn access_grant_id(&self) -> Option<&str>
pub fn access_grant_id(&self) -> Option<&str>
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
sourcepub fn access_grant_arn(&self) -> Option<&str>
pub fn access_grant_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the access grant.
sourcepub fn grantee(&self) -> Option<&Grantee>
pub fn grantee(&self) -> Option<&Grantee>
The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
sourcepub fn permission(&self) -> Option<&Permission>
pub fn permission(&self) -> Option<&Permission>
The type of access granted to your S3 data, which can be set to one of the following values:
-
READ
– Grant read-only access to the S3 data. -
WRITE
– Grant write-only access to the S3 data. -
READWRITE
– Grant both read and write access to the S3 data.
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_configuration(
&self
) -> Option<&AccessGrantsLocationConfiguration>
pub fn access_grants_location_configuration( &self ) -> Option<&AccessGrantsLocationConfiguration>
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
sourcepub fn grant_scope(&self) -> Option<&str>
pub fn grant_scope(&self) -> Option<&str>
The S3 path of the data to which you are granting access. It is the result of appending the Subprefix
to the location scope.
sourcepub fn application_arn(&self) -> Option<&str>
pub fn application_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
source§impl ListAccessGrantEntry
impl ListAccessGrantEntry
sourcepub fn builder() -> ListAccessGrantEntryBuilder
pub fn builder() -> ListAccessGrantEntryBuilder
Creates a new builder-style object to manufacture ListAccessGrantEntry
.
Trait Implementations§
source§impl Clone for ListAccessGrantEntry
impl Clone for ListAccessGrantEntry
source§fn clone(&self) -> ListAccessGrantEntry
fn clone(&self) -> ListAccessGrantEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAccessGrantEntry
impl Debug for ListAccessGrantEntry
source§impl PartialEq for ListAccessGrantEntry
impl PartialEq for ListAccessGrantEntry
source§fn eq(&self, other: &ListAccessGrantEntry) -> bool
fn eq(&self, other: &ListAccessGrantEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAccessGrantEntry
Auto Trait Implementations§
impl Freeze for ListAccessGrantEntry
impl RefUnwindSafe for ListAccessGrantEntry
impl Send for ListAccessGrantEntry
impl Sync for ListAccessGrantEntry
impl Unpin for ListAccessGrantEntry
impl UnwindSafe for ListAccessGrantEntry
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