amazonka-ecs-2.0: Amazon EC2 Container Service 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.ECS.UntagResource

Description

Deletes specified tags from a resource.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

  • tagKeys :: [Text]

    The keys of the tags to be removed.

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.ECS.UntagResource" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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) of the resource to delete tags from. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The keys of the tags to be removed.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container instances.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The keys of the tags to be removed.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.ECS.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.ECS.UntagResource" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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