amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

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

Network.AWS.ServiceCatalog.CreateProduct

Contents

Description

Creates a new 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:

  • cpSupportURL - Contact URL for product support.
  • cpDistributor - The distributor of the product.
  • cpAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • cpSupportEmail - Contact email for product support.
  • cpDescription - The text description of the product.
  • cpTags - Tags to associate with the new product.
  • cpSupportDescription - Support information about the product.
  • cpName - The name of the product.
  • cpOwner - The owner of the product.
  • cpProductType - The type of the product to create.
  • cpProvisioningArtifactParameters - Parameters for the provisioning artifact.
  • cpIdempotencyToken - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.

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 # 
ToPath CreateProduct Source # 
ToHeaders CreateProduct Source # 
ToQuery CreateProduct Source # 
type Rep CreateProduct Source # 
type Rep CreateProduct = D1 (MetaData "CreateProduct" "Network.AWS.ServiceCatalog.CreateProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" 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 DecidedUnpack) (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 #

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 to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

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

Contact email for product support.

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

The text description of the product.

cpTags :: Lens' CreateProduct [Tag] Source #

Tags to associate with the new product.

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

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.

cpProductType :: Lens' CreateProduct ProductType Source #

The type of the product to create.

cpIdempotencyToken :: Lens' CreateProduct Text Source #

A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each 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.4.5-8bdJVEiVZ77jaeUaDycc5" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

cprsProductViewDetail :: Lens' CreateProductResponse (Maybe ProductViewDetail) Source #

The resulting detailed product view information.

cprsProvisioningArtifactDetail :: Lens' CreateProductResponse (Maybe ProvisioningArtifactDetail) Source #

The resulting detailed provisioning artifact information.

cprsTags :: Lens' CreateProductResponse [Tag] Source #

Tags successfully associated with the new product.

cprsResponseStatus :: Lens' CreateProductResponse Int Source #

  • - | The response status code.