put_attributes¶
Operation¶
put_attributes
async
¶
put_attributes(input: PutAttributesInput, plugins: list[Plugin] | None = None) -> PutAttributesOutput
Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, it's created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use DeleteAttributes. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
PutAttributesInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
PutAttributesOutput
|
An instance of |
Input¶
PutAttributesInput
dataclass
¶
Output¶
PutAttributesOutput
dataclass
¶
Bases: _SerdeShape
Attributes¶
attributes
class-attribute
instance-attribute
¶
attributes: list[Attribute] | None = ...
The attributes applied to your resource.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.