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.CreateProvisioningArtifact

Contents

Description

Creates a provisioning artifact (also known as a version) for the specified product.

You cannot create a provisioning artifact for a product that was shared with you.

Synopsis

Creating a Request

createProvisioningArtifact Source #

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

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

  • cpaAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • cpaProductId - The product identifier.
  • cpaParameters - The configuration for the provisioning artifact.
  • cpaIdempotencyToken - 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.

data CreateProvisioningArtifact Source #

See: createProvisioningArtifact smart constructor.

Instances

Eq CreateProvisioningArtifact Source # 
Data CreateProvisioningArtifact Source # 

Methods

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

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

toConstr :: CreateProvisioningArtifact -> Constr #

dataTypeOf :: CreateProvisioningArtifact -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProvisioningArtifact Source # 
Show CreateProvisioningArtifact Source # 
Generic CreateProvisioningArtifact Source # 
Hashable CreateProvisioningArtifact Source # 
ToJSON CreateProvisioningArtifact Source # 
NFData CreateProvisioningArtifact Source # 
AWSRequest CreateProvisioningArtifact Source # 
ToHeaders CreateProvisioningArtifact Source # 
ToPath CreateProvisioningArtifact Source # 
ToQuery CreateProvisioningArtifact Source # 
type Rep CreateProvisioningArtifact Source # 
type Rep CreateProvisioningArtifact = D1 * (MetaData "CreateProvisioningArtifact" "Network.AWS.ServiceCatalog.CreateProvisioningArtifact" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreateProvisioningArtifact'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cpaAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpaProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpaParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ProvisioningArtifactProperties)) (S1 * (MetaSel (Just Symbol "_cpaIdempotencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateProvisioningArtifact Source # 

Request Lenses

cpaAcceptLanguage :: Lens' CreateProvisioningArtifact (Maybe Text) Source #

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

cpaParameters :: Lens' CreateProvisioningArtifact ProvisioningArtifactProperties Source #

The configuration for the provisioning artifact.

cpaIdempotencyToken :: Lens' CreateProvisioningArtifact 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

createProvisioningArtifactResponse Source #

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

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

data CreateProvisioningArtifactResponse Source #

See: createProvisioningArtifactResponse smart constructor.

Instances

Eq CreateProvisioningArtifactResponse Source # 
Data CreateProvisioningArtifactResponse Source # 

Methods

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

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

toConstr :: CreateProvisioningArtifactResponse -> Constr #

dataTypeOf :: CreateProvisioningArtifactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProvisioningArtifactResponse Source # 
Show CreateProvisioningArtifactResponse Source # 
Generic CreateProvisioningArtifactResponse Source # 
NFData CreateProvisioningArtifactResponse Source # 
type Rep CreateProvisioningArtifactResponse Source # 
type Rep CreateProvisioningArtifactResponse = D1 * (MetaData "CreateProvisioningArtifactResponse" "Network.AWS.ServiceCatalog.CreateProvisioningArtifact" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "CreateProvisioningArtifactResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cparsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RequestStatus))) (S1 * (MetaSel (Just Symbol "_cparsInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cparsProvisioningArtifactDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProvisioningArtifactDetail))) (S1 * (MetaSel (Just Symbol "_cparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cparsInfo :: Lens' CreateProvisioningArtifactResponse (HashMap Text Text) Source #

The URL of the CloudFormation template in Amazon S3, in JSON format.