amazonka-servicecatalog-1.6.0: Amazon Service Catalog 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.ServiceCatalog.CreateProduct

Contents

Description

Creates a product.

Synopsis

Creating a Request

createProduct Source #

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

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

data CreateProduct Source #

See: createProduct smart constructor.

Instances

Eq CreateProduct Source # 
Data CreateProduct Source # 

Methods

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

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

toConstr :: CreateProduct -> Constr #

dataTypeOf :: CreateProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProduct Source # 
Show CreateProduct Source # 
Generic CreateProduct Source # 

Associated Types

type Rep CreateProduct :: * -> * #

Hashable CreateProduct Source # 
ToJSON CreateProduct Source # 
NFData CreateProduct Source # 

Methods

rnf :: CreateProduct -> () #

AWSRequest CreateProduct Source # 
ToHeaders CreateProduct Source # 
ToPath CreateProduct Source # 
ToQuery CreateProduct Source # 
type Rep CreateProduct Source # 
type Rep CreateProduct = D1 * (MetaData "CreateProduct" "Network.AWS.ServiceCatalog.CreateProduct" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreateProduct'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cpSupportURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpDistributor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpSupportEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag])))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cpSupportDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cpOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpProductType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ProductType)) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpProvisioningArtifactParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ProvisioningArtifactProperties)) (S1 * (MetaSel (Just Symbol "_cpIdempotencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))))
type Rs CreateProduct Source # 

Request Lenses

cpSupportURL :: Lens' CreateProduct (Maybe Text) Source #

The contact URL for product support.

cpDistributor :: Lens' CreateProduct (Maybe Text) Source #

The distributor of the product.

cpAcceptLanguage :: Lens' CreateProduct (Maybe Text) Source #

The language code. * en - English (default) * jp - Japanese * zh - Chinese

cpSupportEmail :: Lens' CreateProduct (Maybe Text) Source #

The contact email for product support.

cpDescription :: Lens' CreateProduct (Maybe Text) Source #

The description of the product.

cpTags :: Lens' CreateProduct [Tag] Source #

One or more tags.

cpSupportDescription :: Lens' CreateProduct (Maybe Text) Source #

The support information about the product.

cpName :: Lens' CreateProduct Text Source #

The name of the product.

cpOwner :: Lens' CreateProduct Text Source #

The owner of the product.

cpIdempotencyToken :: Lens' CreateProduct Text Source #

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Destructuring the Response

createProductResponse Source #

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

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

data CreateProductResponse Source #

See: createProductResponse smart constructor.

Instances

Eq CreateProductResponse Source # 
Data CreateProductResponse Source # 

Methods

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

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

toConstr :: CreateProductResponse -> Constr #

dataTypeOf :: CreateProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProductResponse Source # 
Show CreateProductResponse Source # 
Generic CreateProductResponse Source # 
NFData CreateProductResponse Source # 

Methods

rnf :: CreateProductResponse -> () #

type Rep CreateProductResponse Source # 
type Rep CreateProductResponse = D1 * (MetaData "CreateProductResponse" "Network.AWS.ServiceCatalog.CreateProduct" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreateProductResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cprsProductViewDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProductViewDetail))) (S1 * (MetaSel (Just Symbol "_cprsProvisioningArtifactDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProvisioningArtifactDetail)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cprsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_cprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cprsTags :: Lens' CreateProductResponse [Tag] Source #

Information about the tags associated with the product.

cprsResponseStatus :: Lens' CreateProductResponse Int Source #

  • - | The response status code.