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 Source #

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 Source #

See: deleteAttributes smart constructor.

Instances

Eq DeleteAttributes Source # 
Data DeleteAttributes Source # 

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 Source # 
Show DeleteAttributes Source # 
Generic DeleteAttributes Source # 
Hashable DeleteAttributes Source # 
ToJSON DeleteAttributes Source # 
NFData DeleteAttributes Source # 

Methods

rnf :: DeleteAttributes -> () #

AWSRequest DeleteAttributes Source # 
ToHeaders DeleteAttributes Source # 
ToPath DeleteAttributes Source # 
ToQuery DeleteAttributes Source # 
type Rep DeleteAttributes Source # 
type Rep DeleteAttributes = D1 * (MetaData "DeleteAttributes" "Network.AWS.ECS.DeleteAttributes" "amazonka-ecs-1.6.0-7CQHGOTku8B1VmTRp9KDXq" False) (C1 * (MetaCons "DeleteAttributes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_daCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_daAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Attribute]))))
type Rs DeleteAttributes Source # 

Request Lenses

daCluster :: 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.

daAttributes :: 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

deleteAttributesResponse Source #

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 Source #

See: deleteAttributesResponse smart constructor.

Instances

Eq DeleteAttributesResponse Source # 
Data DeleteAttributesResponse Source # 

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 Source # 
Show DeleteAttributesResponse Source # 
Generic DeleteAttributesResponse Source # 
NFData DeleteAttributesResponse Source # 
type Rep DeleteAttributesResponse Source # 
type Rep DeleteAttributesResponse = D1 * (MetaData "DeleteAttributesResponse" "Network.AWS.ECS.DeleteAttributes" "amazonka-ecs-1.6.0-7CQHGOTku8B1VmTRp9KDXq" False) (C1 * (MetaCons "DeleteAttributesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_darsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Attribute]))) (S1 * (MetaSel (Just Symbol "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

darsAttributes :: Lens' DeleteAttributesResponse [Attribute] Source #

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