amazonka-kafka-2.0: Amazon Managed Streaming for Kafka 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.Kafka.UntagResource

Description

Removes the tags associated with the keys that are provided in the query.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • tagKeys :: [Text]

    Tag keys must be unique for a given cluster. In addition, the following restrictions apply:

    • Each tag key must be unique. If you add a tag with a key that's already in use, your new tag overwrites the existing key-value pair.
    • You can't start a tag key with aws: because this prefix is reserved for use by AWS. AWS creates tags that begin with this prefix on your behalf, but you can't edit or delete them.
    • Tag keys must be between 1 and 128 Unicode characters in length.
    • Tag keys must consist of the following characters: Unicode letters, digits, white space, and the following special characters: _ . / = + - @.
  • resourceArn :: Text

    The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

Instances

Instances details
ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.Kafka.UntagResource" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "resourceArn") '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:tagKeys:UntagResource', untagResource_tagKeys - Tag keys must be unique for a given cluster. In addition, the following restrictions apply:

  • Each tag key must be unique. If you add a tag with a key that's already in use, your new tag overwrites the existing key-value pair.
  • You can't start a tag key with aws: because this prefix is reserved for use by AWS. AWS creates tags that begin with this prefix on your behalf, but you can't edit or delete them.
  • Tag keys must be between 1 and 128 Unicode characters in length.
  • Tag keys must consist of the following characters: Unicode letters, digits, white space, and the following special characters: _ . / = + - @.

$sel:resourceArn:UntagResource', untagResource_resourceArn - The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

Request Lenses

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

Tag keys must be unique for a given cluster. In addition, the following restrictions apply:

  • Each tag key must be unique. If you add a tag with a key that's already in use, your new tag overwrites the existing key-value pair.
  • You can't start a tag key with aws: because this prefix is reserved for use by AWS. AWS creates tags that begin with this prefix on your behalf, but you can't edit or delete them.
  • Tag keys must be between 1 and 128 Unicode characters in length.
  • Tag keys must consist of the following characters: Unicode letters, digits, white space, and the following special characters: _ . / = + - @.

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Kafka.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.Kafka.UntagResource" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagResourceResponse :: UntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.