Struct aws_sdk_s3control::operation::update_access_grants_location::UpdateAccessGrantsLocationInput
source · #[non_exhaustive]pub struct UpdateAccessGrantsLocationInput {
pub account_id: Option<String>,
pub access_grants_location_id: Option<String>,
pub iam_role_arn: Option<String>,
}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.
access_grants_location_id: Option<String>The ID of the registered location that you are updating. 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.
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.
If you are passing the default location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the Subprefix field.
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 UpdateAccessGrantsLocationInput
impl UpdateAccessGrantsLocationInput
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 access_grants_location_id(&self) -> Option<&str>
pub fn access_grants_location_id(&self) -> Option<&str>
The ID of the registered location that you are updating. 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.
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.
If you are passing the default location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the Subprefix field.
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 UpdateAccessGrantsLocationInput
impl UpdateAccessGrantsLocationInput
sourcepub fn builder() -> UpdateAccessGrantsLocationInputBuilder
pub fn builder() -> UpdateAccessGrantsLocationInputBuilder
Creates a new builder-style object to manufacture UpdateAccessGrantsLocationInput.
Trait Implementations§
source§impl Clone for UpdateAccessGrantsLocationInput
impl Clone for UpdateAccessGrantsLocationInput
source§fn clone(&self) -> UpdateAccessGrantsLocationInput
fn clone(&self) -> UpdateAccessGrantsLocationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateAccessGrantsLocationInput
impl PartialEq for UpdateAccessGrantsLocationInput
source§fn eq(&self, other: &UpdateAccessGrantsLocationInput) -> bool
fn eq(&self, other: &UpdateAccessGrantsLocationInput) -> bool
self and other values to be equal, and is used
by ==.