libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.UntagResource

Description

Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' 

Fields

  • resourceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

  • resourceName :: Text

    The name of the resource from which you are removing a tag.

  • tagKeys :: [Text]

    The tag keys to delete from the specified resource.

Instances

Instances details
Eq UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Read UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Generic UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

NFData UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Methods

rnf :: UntagResource -> () #

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Associated Types

type AWSResponse UntagResource #

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.Lightsail.UntagResource" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

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 from which you want to remove a tag.

$sel:resourceName:UntagResource', untagResource_resourceName - The name of the resource from which you are removing a tag.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The tag keys to delete from the specified resource.

Request Lenses

untagResource_resourceArn :: Lens' UntagResource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource from which you want to remove a tag.

untagResource_resourceName :: Lens' UntagResource Text Source #

The name of the resource from which you are removing a tag.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag keys to delete from the specified resource.

Destructuring the Response

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Constructors

UntagResourceResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.Lightsail.UntagResource" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: 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:operations:UntagResourceResponse', untagResourceResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

Response Lenses

untagResourceResponse_operations :: Lens' UntagResourceResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.