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 from an Amazon SageMaker resource.
To list a resource's tags, use the ListTags
API.
When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.
When you call this API to delete tags from a SageMaker Studio Domain or User Profile, the deleted tags are not removed from Apps that the SageMaker Studio Domain or User Profile launched before you called this API.
Synopsis
- data DeleteTags = DeleteTags' {
- resourceArn :: Text
- tagKeys :: NonEmpty Text
- newDeleteTags :: Text -> NonEmpty Text -> DeleteTags
- deleteTags_resourceArn :: Lens' DeleteTags Text
- deleteTags_tagKeys :: Lens' DeleteTags (NonEmpty Text)
- data DeleteTagsResponse = DeleteTagsResponse' {
- httpStatus :: Int
- newDeleteTagsResponse :: Int -> DeleteTagsResponse
- 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:resourceArn:DeleteTags'
, deleteTags_resourceArn
- The Amazon Resource Name (ARN) of the resource whose tags you want to
delete.
$sel:tagKeys:DeleteTags'
, deleteTags_tagKeys
- An array or one or more tag keys to delete.
Request Lenses
deleteTags_resourceArn :: Lens' DeleteTags Text Source #
The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
deleteTags_tagKeys :: Lens' DeleteTags (NonEmpty Text) Source #
An array or one or more tag keys to delete.
Destructuring the Response
data DeleteTagsResponse Source #
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:httpStatus:DeleteTagsResponse'
, deleteTagsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int Source #
The response's http status code.