Struct aws_sdk_s3control::operation::create_access_grants_location::CreateAccessGrantsLocationInput
source · #[non_exhaustive]pub struct CreateAccessGrantsLocationInput {
pub account_id: Option<String>,
pub location_scope: Option<String>,
pub iam_role_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.
location_scope: Option<String>The S3 path to the location that you are registering. 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://. 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.
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. 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 CreateAccessGrantsLocationInput
impl CreateAccessGrantsLocationInput
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 location_scope(&self) -> Option<&str>
pub fn location_scope(&self) -> Option<&str>
The S3 path to the location that you are registering. 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://. 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.
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. 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 CreateAccessGrantsLocationInput
impl CreateAccessGrantsLocationInput
sourcepub fn builder() -> CreateAccessGrantsLocationInputBuilder
pub fn builder() -> CreateAccessGrantsLocationInputBuilder
Creates a new builder-style object to manufacture CreateAccessGrantsLocationInput.
Trait Implementations§
source§impl Clone for CreateAccessGrantsLocationInput
impl Clone for CreateAccessGrantsLocationInput
source§fn clone(&self) -> CreateAccessGrantsLocationInput
fn clone(&self) -> CreateAccessGrantsLocationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateAccessGrantsLocationInput
impl PartialEq for CreateAccessGrantsLocationInput
source§fn eq(&self, other: &CreateAccessGrantsLocationInput) -> bool
fn eq(&self, other: &CreateAccessGrantsLocationInput) -> bool
self and other values to be equal, and is used
by ==.