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.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 for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.

Instances

Instances details
ToJSON DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.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

AWSRequest DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type AWSResponse DeleteAttributes #

Generic DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributes :: Type -> Type #

Read DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Show DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

NFData DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Methods

rnf :: DeleteAttributes -> () #

Eq DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Hashable DeleteAttributes Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

type AWSResponse 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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])))

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.

DeleteAttributes, deleteAttributes_attributes - The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't 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 for each request. For custom attributes, specify the attribute name and target ID, but don't 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
Generic DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributesResponse :: Type -> Type #

Read DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Show DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

NFData DeleteAttributesResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAttributes

Eq 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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:

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.