Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.
If you specify a tag that doesn't exist, Amazon ML ignores it.
- deleteTags :: Text -> TaggableResourceType -> DeleteTags
- data DeleteTags
- dTagKeys :: Lens' DeleteTags [Text]
- dResourceId :: Lens' DeleteTags Text
- dResourceType :: Lens' DeleteTags TaggableResourceType
- deleteTagsResponse :: Int -> DeleteTagsResponse
- data DeleteTagsResponse
- drsResourceId :: Lens' DeleteTagsResponse (Maybe Text)
- drsResourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)
- drsResponseStatus :: Lens' DeleteTagsResponse Int
Creating a Request
Creates a value of DeleteTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dTagKeys
- One or more tags to delete.dResourceId
- The ID of the tagged ML object. For example,exampleModelId
.dResourceType
- The type of the tagged ML object.
data DeleteTags Source #
See: deleteTags
smart constructor.
Request Lenses
dResourceId :: Lens' DeleteTags Text Source #
The ID of the tagged ML object. For example, exampleModelId
.
dResourceType :: Lens' DeleteTags TaggableResourceType Source #
The type of the tagged ML object.
Destructuring the Response
Creates a value of DeleteTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResourceId
- The ID of the ML object from which tags were deleted.drsResourceType
- The type of the ML object from which tags were deleted.drsResponseStatus
- -- | The response status code.
data DeleteTagsResponse Source #
Amazon ML returns the following elements.
See: deleteTagsResponse
smart constructor.
Response Lenses
drsResourceId :: Lens' DeleteTagsResponse (Maybe Text) Source #
The ID of the ML object from which tags were deleted.
drsResourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType) Source #
The type of the ML object from which tags were deleted.
drsResponseStatus :: Lens' DeleteTagsResponse Int Source #
- - | The response status code.