amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.UntagResource

Description

Removes a tag that is assigned to a GameLift resource. Resource tags are used to organize Amazon Web Services 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 Amazon Web Services Resources in the Amazon Web Services General Reference

Amazon Web Services Tagging Strategies

Related actions

All APIs by task

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceARN :: Text

    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.

  • tagKeys :: [Text]

    A list of one or more tag keys to remove from the specified GameLift resource. An Amazon Web Services resource can have only one tag with a specific tag key, so specifying the tag key identifies which tag to remove.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.GameLift.UntagResource" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newUntagResource Source #

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 Amazon Web Services 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 Amazon Web Services 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.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.GameLift.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.GameLift.UntagResource" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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