libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.DeleteAttributes

Description

Deletes one or more custom attributes from an Amazon ECS resource.

Synopsis

Creating a Request

data DeleteAttributes Source #

See: newDeleteAttributes smart constructor.

Constructors

DeleteAttributes' 

Fields

  • cluster :: Maybe Text

    The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

  • attributes :: [Attribute]

    The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.

Instances

Instances details
Eq DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Read DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Show DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Generic DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributes :: Type -> Type #

NFData DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Methods

rnf :: DeleteAttributes -> () #

Hashable DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

ToJSON DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

AWSRequest DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type AWSResponse DeleteAttributes #

ToHeaders DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

ToPath DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

ToQuery DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

type Rep DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

type Rep DeleteAttributes = D1 ('MetaData "DeleteAttributes" "Amazonka.ECS.DeleteAttributes" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Attribute])))
type AWSResponse DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

newDeleteAttributes :: DeleteAttributes Source #

Create a value of DeleteAttributes 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:cluster:DeleteAttributes', deleteAttributes_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

$sel:attributes:DeleteAttributes', deleteAttributes_attributes - The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.

Request Lenses

deleteAttributes_cluster :: Lens' DeleteAttributes (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

deleteAttributes_attributes :: Lens' DeleteAttributes [Attribute] Source #

The attributes to delete from your resource. You can specify up to 10 attributes per request. For custom attributes, specify the attribute name and target ID, but do not specify the value. If you specify the target ID using the short form, you must also specify the target type.

Destructuring the Response

data DeleteAttributesResponse Source #

See: newDeleteAttributesResponse smart constructor.

Constructors

DeleteAttributesResponse' 

Fields

Instances

Instances details
Eq DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Read DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Show DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Generic DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributesResponse :: Type -> Type #

NFData DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

type Rep DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

type Rep DeleteAttributesResponse = D1 ('MetaData "DeleteAttributesResponse" "Amazonka.ECS.DeleteAttributes" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Attribute])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAttributesResponse Source #

Create a value of DeleteAttributesResponse 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:attributes:DeleteAttributes', deleteAttributesResponse_attributes - A list of attribute objects that were successfully deleted from your resource.

$sel:httpStatus:DeleteAttributesResponse', deleteAttributesResponse_httpStatus - The response's http status code.

Response Lenses

deleteAttributesResponse_attributes :: Lens' DeleteAttributesResponse (Maybe [Attribute]) Source #

A list of attribute objects that were successfully deleted from your resource.