Struct aws_sdk_s3control::operation::create_access_grants_instance::CreateAccessGrantsInstanceInput
source · #[non_exhaustive]pub struct CreateAccessGrantsInstanceInput {
pub account_id: Option<String>,
pub identity_center_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}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.account_id: Option<String>The ID of the Amazon Web Services account that is making this request.
identity_center_arn: Option<String>If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.
The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
Implementations§
source§impl CreateAccessGrantsInstanceInput
impl CreateAccessGrantsInstanceInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that is making this request.
sourcepub fn identity_center_arn(&self) -> Option<&str>
pub fn identity_center_arn(&self) -> Option<&str>
If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.
The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateAccessGrantsInstanceInput
impl CreateAccessGrantsInstanceInput
sourcepub fn builder() -> CreateAccessGrantsInstanceInputBuilder
pub fn builder() -> CreateAccessGrantsInstanceInputBuilder
Creates a new builder-style object to manufacture CreateAccessGrantsInstanceInput.
Trait Implementations§
source§impl Clone for CreateAccessGrantsInstanceInput
impl Clone for CreateAccessGrantsInstanceInput
source§fn clone(&self) -> CreateAccessGrantsInstanceInput
fn clone(&self) -> CreateAccessGrantsInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateAccessGrantsInstanceInput
impl PartialEq for CreateAccessGrantsInstanceInput
source§fn eq(&self, other: &CreateAccessGrantsInstanceInput) -> bool
fn eq(&self, other: &CreateAccessGrantsInstanceInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAccessGrantsInstanceInput
Auto Trait Implementations§
impl Freeze for CreateAccessGrantsInstanceInput
impl RefUnwindSafe for CreateAccessGrantsInstanceInput
impl Send for CreateAccessGrantsInstanceInput
impl Sync for CreateAccessGrantsInstanceInput
impl Unpin for CreateAccessGrantsInstanceInput
impl UnwindSafe for CreateAccessGrantsInstanceInput
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