amazonka-ecs-1.6.0: Amazon EC2 Container Service SDK.

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

Network.AWS.ECS.DeleteAttributes

Contents

Description

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

Synopsis

Creating a Request

deleteAttributes :: DeleteAttributes #

Creates a value of DeleteAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • daCluster - 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.
  • daAttributes - 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.

data DeleteAttributes #

See: deleteAttributes smart constructor.

Instances
Eq DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Data DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteAttributes -> c DeleteAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteAttributes #

toConstr :: DeleteAttributes -> Constr #

dataTypeOf :: DeleteAttributes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteAttributes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteAttributes) #

gmapT :: (forall b. Data b => b -> b) -> DeleteAttributes -> DeleteAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteAttributes -> m DeleteAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteAttributes -> m DeleteAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteAttributes -> m DeleteAttributes #

Read DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Show DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Generic DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributes :: * -> * #

Hashable DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

ToJSON DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

AWSRequest DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Associated Types

type Rs DeleteAttributes :: * #

ToHeaders DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

ToPath DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

ToQuery DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

NFData DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Methods

rnf :: DeleteAttributes -> () #

type Rep DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

type Rep DeleteAttributes = D1 (MetaData "DeleteAttributes" "Network.AWS.ECS.DeleteAttributes" "amazonka-ecs-1.6.0-60gqTuvjtspGH2qH8tHKtA" False) (C1 (MetaCons "DeleteAttributes'" PrefixI True) (S1 (MetaSel (Just "_daCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_daAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Attribute])))
type Rs DeleteAttributes # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Request Lenses

daCluster :: Lens' DeleteAttributes (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.

daAttributes :: Lens' DeleteAttributes [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.

Destructuring the Response

deleteAttributesResponse #

Creates a value of DeleteAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteAttributesResponse #

See: deleteAttributesResponse smart constructor.

Instances
Eq DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Data DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteAttributesResponse -> c DeleteAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteAttributesResponse #

toConstr :: DeleteAttributesResponse -> Constr #

dataTypeOf :: DeleteAttributesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteAttributesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteAttributesResponse -> DeleteAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteAttributesResponse -> m DeleteAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteAttributesResponse -> m DeleteAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteAttributesResponse -> m DeleteAttributesResponse #

Read DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Show DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Generic DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

Associated Types

type Rep DeleteAttributesResponse :: * -> * #

NFData DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

type Rep DeleteAttributesResponse # 
Instance details

Defined in Network.AWS.ECS.DeleteAttributes

type Rep DeleteAttributesResponse = D1 (MetaData "DeleteAttributesResponse" "Network.AWS.ECS.DeleteAttributes" "amazonka-ecs-1.6.0-60gqTuvjtspGH2qH8tHKtA" False) (C1 (MetaCons "DeleteAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_darsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute])) :*: S1 (MetaSel (Just "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

darsAttributes :: Lens' DeleteAttributesResponse [Attribute] #

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

darsResponseStatus :: Lens' DeleteAttributesResponse Int #

  • - | The response status code.