Struct aws_sdk_cloudtrail::input::AddTagsInput
source · [−]#[non_exhaustive]pub struct AddTagsInput {
pub resource_id: Option<String>,
pub tags_list: Option<Vec<Tag>>,
}
Expand description
Specifies the tags to add to a trail.
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.resource_id: Option<String>
Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Contains a list of tags, up to a limit of 50
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddTags, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddTags, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AddTags
>
Creates a new builder-style object to manufacture AddTagsInput
Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Contains a list of tags, up to a limit of 50
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AddTagsInput
impl Send for AddTagsInput
impl Sync for AddTagsInput
impl Unpin for AddTagsInput
impl UnwindSafe for AddTagsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more