delete_attributes¶
Operation¶
delete_attributes
async
¶
delete_attributes(input: DeleteAttributesInput, plugins: list[Plugin] | None = None) -> DeleteAttributesOutput
Deletes one or more custom attributes from an Amazon ECS resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteAttributesInput
|
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 |
|---|---|
DeleteAttributesOutput
|
An instance of |
Input¶
DeleteAttributesInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
attributes
class-attribute
instance-attribute
¶
attributes: list[Attribute] | None = ...
The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.
Output¶
DeleteAttributesOutput
dataclass
¶
Bases: _SerdeShape
Attributes¶
attributes
class-attribute
instance-attribute
¶
attributes: list[Attribute] | None = ...
A list of attribute objects that were successfully deleted from 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.