delete_attributes¶
Operation¶
delete_attributes
¶
delete_attributes(request: DeleteAttributesInput | DeleteAttributesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAttributesInputDict]) -> DeleteAttributesOutput
Deletes one or more custom attributes from an Amazon ECS resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteAttributesInput | DeleteAttributesInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAttributesInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAttributesOutput
|
An instance of |
delete_attributes
async
¶
delete_attributes(request: DeleteAttributesInput | DeleteAttributesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAttributesInputDict]) -> DeleteAttributesOutput
Deletes one or more custom attributes from an Amazon ECS resource.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteAttributesInput | DeleteAttributesInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DeleteAttributesInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteAttributesOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DeleteAttributesInputDict
¶
Bases: TypedDict
Dictionary form of DeleteAttributesInput.
Attributes¶
attributes
instance-attribute
¶
attributes: Required[Sequence[Attribute | AttributeDict]]
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.
DeleteAttributesInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
attributes
class-attribute
instance-attribute
¶
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
¶
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.