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 |
Removes a tag that is assigned to a GameLift resource. Resource tags are used to organize AWS resources for a range of purposes. This operation handles the permissions necessary to manage tags for the following GameLift resource types:
- Build
- Script
- Fleet
- Alias
- GameSessionQueue
- MatchmakingConfiguration
- MatchmakingRuleSet
To remove a tag from a resource, specify the unique ARN value for the resource and provide a string list containing one or more tags to be removed. This operation succeeds even if the list includes tags that are not currently assigned to the specified resource.
Learn more
Tagging AWS Resources in the AWS General Reference
Related actions
TagResource | UntagResource | ListTagsForResource | All APIs by task
Synopsis
- data UntagResource = UntagResource' {
- resourceARN :: Text
- tagKeys :: [Text]
- newUntagResource :: Text -> UntagResource
- untagResource_resourceARN :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource [Text]
- data UntagResourceResponse = UntagResourceResponse' {
- httpStatus :: Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
Creating a Request
data UntagResource Source #
See: newUntagResource
smart constructor.
UntagResource' | |
|
Instances
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)
that is assigned to and uniquely identifies the GameLift resource that
you want to remove tags from. GameLift resource ARNs are included in the
data object for the resource, which can be retrieved by calling a List
or Describe operation for the resource type.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- A list of one or more tag keys to remove from the specified GameLift
resource. An AWS resource can have only one tag with a specific tag key,
so specifying the tag key identifies which tag to remove.
Request Lenses
untagResource_resourceARN :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) that is assigned to and uniquely identifies the GameLift resource that you want to remove tags from. GameLift resource ARNs are included in the data object for the resource, which can be retrieved by calling a List or Describe operation for the resource type.
untagResource_tagKeys :: Lens' UntagResource [Text] Source #
A list of one or more tag keys to remove from the specified GameLift resource. An AWS resource can have only one tag with a specific tag key, so specifying the tag key identifies which tag to remove.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
UntagResourceResponse' | |
|
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.