| 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.Transcribe.UntagResource
Description
Removes the specified tags from the specified Amazon Transcribe resource.
If you include UntagResource in your request, you must also include
ResourceArn and TagKeys.
Synopsis
- data UntagResource = UntagResource' {
- resourceArn :: Text
- tagKeys :: NonEmpty Text
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
- data UntagResourceResponse = UntagResourceResponse' {
- httpStatus :: Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
Creating a Request
data UntagResource Source #
See: newUntagResource smart constructor.
Constructors
| UntagResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> UntagResource |
Create a value of UntagResource 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:UntagResource', untagResource_resourceArn - The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
want to remove tags from. ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id.
For example,
arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name.
Valid values for resource-type are: transcription-job,
medical-transcription-job, vocabulary, medical-vocabulary,
vocabulary-filter, and language-model.
$sel:tagKeys:UntagResource', untagResource_tagKeys - Removes the specified tag keys from the specified Amazon Transcribe
resource.
Request Lenses
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
want to remove tags from. ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id.
For example,
arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name.
Valid values for resource-type are: transcription-job,
medical-transcription-job, vocabulary, medical-vocabulary,
vocabulary-filter, and language-model.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
Removes the specified tag keys from the specified Amazon Transcribe resource.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse smart constructor.
Constructors
| UntagResourceResponse' | |
Fields
| |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse 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:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.
Response Lenses
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.