Struct aws_sdk_batch::input::TagResourceInput
source · #[non_exhaustive]pub struct TagResourceInput { /* private fields */ }
Expand description
Contains the parameters for TagResource
.
Implementations§
source§impl TagResourceInput
impl TagResourceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TagResource, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TagResource, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<TagResource
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TagResourceInput
.
source§impl TagResourceInput
impl TagResourceInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
Trait Implementations§
source§impl Clone for TagResourceInput
impl Clone for TagResourceInput
source§fn clone(&self) -> TagResourceInput
fn clone(&self) -> TagResourceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TagResourceInput
impl Debug for TagResourceInput
source§impl PartialEq<TagResourceInput> for TagResourceInput
impl PartialEq<TagResourceInput> for TagResourceInput
source§fn eq(&self, other: &TagResourceInput) -> bool
fn eq(&self, other: &TagResourceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.