| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.DeleteTags
Description
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.
Constructors
| DeleteTags' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> TaggableResourceType | |
| -> DeleteTags |
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.
DeleteTags, deleteTags_resourceId - The ID of the tagged ML object. For example, exampleModelId.
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.
Constructors
| DeleteTagsResponse' | |
Fields
| |
Instances
newDeleteTagsResponse Source #
Arguments
| :: Int | |
| -> DeleteTagsResponse |
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:
DeleteTags, deleteTagsResponse_resourceId - The ID of the ML object from which tags were deleted.
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.