#[non_exhaustive]pub struct DescribeTaskDefinitionOutput {
pub task_definition: Option<TaskDefinition>,
pub tags: Option<Vec<Tag>>,
/* private fields */
}
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.task_definition: Option<TaskDefinition>
The full task definition description.
The metadata that's applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8
-
Maximum value length - 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
Implementations§
source§impl DescribeTaskDefinitionOutput
impl DescribeTaskDefinitionOutput
sourcepub fn task_definition(&self) -> Option<&TaskDefinition>
pub fn task_definition(&self) -> Option<&TaskDefinition>
The full task definition description.
The metadata that's applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8
-
Maximum value length - 256 Unicode characters in UTF-8
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case-sensitive.
-
Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
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 DescribeTaskDefinitionOutput
impl DescribeTaskDefinitionOutput
sourcepub fn builder() -> DescribeTaskDefinitionOutputBuilder
pub fn builder() -> DescribeTaskDefinitionOutputBuilder
Creates a new builder-style object to manufacture DescribeTaskDefinitionOutput
.
Trait Implementations§
source§impl Clone for DescribeTaskDefinitionOutput
impl Clone for DescribeTaskDefinitionOutput
source§fn clone(&self) -> DescribeTaskDefinitionOutput
fn clone(&self) -> DescribeTaskDefinitionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTaskDefinitionOutput
impl Debug for DescribeTaskDefinitionOutput
source§impl PartialEq for DescribeTaskDefinitionOutput
impl PartialEq for DescribeTaskDefinitionOutput
source§fn eq(&self, other: &DescribeTaskDefinitionOutput) -> bool
fn eq(&self, other: &DescribeTaskDefinitionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeTaskDefinitionOutput
impl RequestId for DescribeTaskDefinitionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.