Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes one or more custom attributes from an Amazon ECS resource.
- deleteAttributes :: DeleteAttributes
- data DeleteAttributes
- daCluster :: Lens' DeleteAttributes (Maybe Text)
- daAttributes :: Lens' DeleteAttributes [Attribute]
- deleteAttributesResponse :: Int -> DeleteAttributesResponse
- data DeleteAttributesResponse
- darsAttributes :: Lens' DeleteAttributesResponse [Attribute]
- darsResponseStatus :: Lens' DeleteAttributesResponse Int
Creating a Request
deleteAttributes :: DeleteAttributes Source #
Creates a value of DeleteAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daCluster
- The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.daAttributes
- The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.
data DeleteAttributes Source #
See: deleteAttributes
smart constructor.
Request Lenses
daCluster :: Lens' DeleteAttributes (Maybe Text) Source #
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.
daAttributes :: Lens' DeleteAttributes [Attribute] Source #
The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.
Destructuring the Response
deleteAttributesResponse Source #
Creates a value of DeleteAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
darsAttributes
- A list of attribute objects that were successfully deleted from your resource.darsResponseStatus
- -- | The response status code.
data DeleteAttributesResponse Source #
See: deleteAttributesResponse
smart constructor.
Response Lenses
darsAttributes :: Lens' DeleteAttributesResponse [Attribute] Source #
A list of attribute objects that were successfully deleted from your resource.
darsResponseStatus :: Lens' DeleteAttributesResponse Int Source #
- - | The response status code.