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 |
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Removes one or more tags from the specified AWS CloudHSM resource.
To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
Synopsis
- data RemoveTagsFromResource = RemoveTagsFromResource' {
- resourceArn :: Text
- tagKeyList :: [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- removeTagsFromResource_resourceArn :: Lens' RemoveTagsFromResource Text
- removeTagsFromResource_tagKeyList :: Lens' RemoveTagsFromResource [Text]
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' {
- httpStatus :: Int
- status :: Text
- newRemoveTagsFromResourceResponse :: Int -> Text -> RemoveTagsFromResourceResponse
- removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int
- removeTagsFromResourceResponse_status :: Lens' RemoveTagsFromResourceResponse Text
Creating a Request
data RemoveTagsFromResource Source #
See: newRemoveTagsFromResource
smart constructor.
RemoveTagsFromResource' | |
|
Instances
newRemoveTagsFromResource Source #
Create a value of RemoveTagsFromResource
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:RemoveTagsFromResource'
, removeTagsFromResource_resourceArn
- The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
$sel:tagKeyList:RemoveTagsFromResource'
, removeTagsFromResource_tagKeyList
- The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
Request Lenses
removeTagsFromResource_resourceArn :: Lens' RemoveTagsFromResource Text Source #
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
removeTagsFromResource_tagKeyList :: Lens' RemoveTagsFromResource [Text] Source #
The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
Destructuring the Response
data RemoveTagsFromResourceResponse Source #
See: newRemoveTagsFromResourceResponse
smart constructor.
RemoveTagsFromResourceResponse' | |
|
Instances
Eq RemoveTagsFromResourceResponse Source # | |
Read RemoveTagsFromResourceResponse Source # | |
Show RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource | |
Generic RemoveTagsFromResourceResponse Source # | |
NFData RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource rnf :: RemoveTagsFromResourceResponse -> () # | |
type Rep RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource type Rep RemoveTagsFromResourceResponse = D1 ('MetaData "RemoveTagsFromResourceResponse" "Amazonka.CloudHSM.RemoveTagsFromResource" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "RemoveTagsFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newRemoveTagsFromResourceResponse Source #
Create a value of RemoveTagsFromResourceResponse
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:RemoveTagsFromResourceResponse'
, removeTagsFromResourceResponse_httpStatus
- The response's http status code.
$sel:status:RemoveTagsFromResourceResponse'
, removeTagsFromResourceResponse_status
- The status of the operation.
Response Lenses
removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int Source #
The response's http status code.
removeTagsFromResourceResponse_status :: Lens' RemoveTagsFromResourceResponse Text Source #
The status of the operation.