Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data DeleteTags = DeleteTags' {}
- newDeleteTags :: Text -> TaggableResourceType -> DeleteTags
- deleteTags_tagKeys :: Lens' DeleteTags [Text]
- deleteTags_resourceId :: Lens' DeleteTags Text
- deleteTags_resourceType :: Lens' DeleteTags TaggableResourceType
- data DeleteTagsResponse = DeleteTagsResponse' {}
- newDeleteTagsResponse :: Int -> DeleteTagsResponse
- deleteTagsResponse_resourceId :: Lens' DeleteTagsResponse (Maybe Text)
- deleteTagsResponse_resourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)
- deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int
Creating a Request
data DeleteTags Source #
See: newDeleteTags
smart constructor.
DeleteTags' | |
|
Instances
Create a value of DeleteTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagKeys:DeleteTags'
, deleteTags_tagKeys
- One or more tags to delete.
$sel:resourceId:DeleteTags'
, deleteTags_resourceId
- The ID of the tagged ML object. For example, exampleModelId
.
$sel:resourceType:DeleteTags'
, deleteTags_resourceType
- The type of the tagged ML object.
Request Lenses
deleteTags_tagKeys :: Lens' DeleteTags [Text] Source #
One or more tags to delete.
deleteTags_resourceId :: Lens' DeleteTags Text Source #
The ID of the tagged ML object. For example, exampleModelId
.
deleteTags_resourceType :: Lens' DeleteTags TaggableResourceType Source #
The type of the tagged ML object.
Destructuring the Response
data DeleteTagsResponse Source #
Amazon ML returns the following elements.
See: newDeleteTagsResponse
smart constructor.
DeleteTagsResponse' | |
|
Instances
newDeleteTagsResponse Source #
Create a value of DeleteTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceId:DeleteTags'
, deleteTagsResponse_resourceId
- The ID of the ML object from which tags were deleted.
$sel:resourceType:DeleteTags'
, deleteTagsResponse_resourceType
- The type of the ML object from which tags were deleted.
$sel:httpStatus:DeleteTagsResponse'
, deleteTagsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTagsResponse_resourceId :: Lens' DeleteTagsResponse (Maybe Text) Source #
The ID of the ML object from which tags were deleted.
deleteTagsResponse_resourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType) Source #
The type of the ML object from which tags were deleted.
deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int Source #
The response's http status code.