amazonka-servicecatalog-1.5.0: Amazon Service Catalog SDK.

Copyright(c) 2013-2017 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.ServiceCatalog.CreateTagOption

Contents

Description

Create a new TagOption.

Synopsis

Creating a Request

createTagOption Source #

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

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

data CreateTagOption Source #

See: createTagOption smart constructor.

Instances

Eq CreateTagOption Source # 
Data CreateTagOption Source # 

Methods

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

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

toConstr :: CreateTagOption -> Constr #

dataTypeOf :: CreateTagOption -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTagOption Source # 
Show CreateTagOption Source # 
Generic CreateTagOption Source # 
Hashable CreateTagOption Source # 
ToJSON CreateTagOption Source # 
NFData CreateTagOption Source # 

Methods

rnf :: CreateTagOption -> () #

AWSRequest CreateTagOption Source # 
ToQuery CreateTagOption Source # 
ToPath CreateTagOption Source # 
ToHeaders CreateTagOption Source # 
type Rep CreateTagOption Source # 
type Rep CreateTagOption = D1 (MetaData "CreateTagOption" "Network.AWS.ServiceCatalog.CreateTagOption" "amazonka-servicecatalog-1.5.0-Gi5S0QNjzsJFyaLCAAAAWo" False) (C1 (MetaCons "CreateTagOption'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctoKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ctoValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateTagOption Source # 

Request Lenses

ctoKey :: Lens' CreateTagOption Text Source #

The TagOption key.

ctoValue :: Lens' CreateTagOption Text Source #

The TagOption value.

Destructuring the Response

createTagOptionResponse Source #

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

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

data CreateTagOptionResponse Source #

See: createTagOptionResponse smart constructor.

Instances

Eq CreateTagOptionResponse Source # 
Data CreateTagOptionResponse Source # 

Methods

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

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

toConstr :: CreateTagOptionResponse -> Constr #

dataTypeOf :: CreateTagOptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTagOptionResponse Source # 
Show CreateTagOptionResponse Source # 
Generic CreateTagOptionResponse Source # 
NFData CreateTagOptionResponse Source # 

Methods

rnf :: CreateTagOptionResponse -> () #

type Rep CreateTagOptionResponse Source # 
type Rep CreateTagOptionResponse = D1 (MetaData "CreateTagOptionResponse" "Network.AWS.ServiceCatalog.CreateTagOption" "amazonka-servicecatalog-1.5.0-Gi5S0QNjzsJFyaLCAAAAWo" False) (C1 (MetaCons "CreateTagOptionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctorsTagOptionDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TagOptionDetail))) (S1 (MetaSel (Just Symbol "_ctorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ctorsTagOptionDetail :: Lens' CreateTagOptionResponse (Maybe TagOptionDetail) Source #

The resulting detailed TagOption information.