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

Contents

Description

Requests a Provision of a specified product. A ProvisionedProduct is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it.

You can check the status of this request using the DescribeRecord operation.

Synopsis

Creating a Request

provisionProduct Source #

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

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

  • ppNotificationARNs - Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
  • ppAcceptLanguage - 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.
  • ppPathId - The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product.
  • ppProvisioningParameters - Parameters specified by the administrator that are required for provisioning the product.
  • ppTags - A list of tags to use as provisioning options.
  • ppProductId - The product identifier.
  • ppProvisioningArtifactId - The provisioning artifact identifier for this product.
  • ppProvisionedProductName - A user-friendly name to identify the ProvisionedProduct object. This value must be unique for the AWS account and cannot be updated after the product is provisioned.
  • ppProvisionToken - An idempotency token that uniquely identifies the provisioning request.

data ProvisionProduct Source #

See: provisionProduct smart constructor.

Instances

Eq ProvisionProduct Source # 
Data ProvisionProduct Source # 

Methods

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

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

toConstr :: ProvisionProduct -> Constr #

dataTypeOf :: ProvisionProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ProvisionProduct -> () #

AWSRequest ProvisionProduct Source # 
ToPath ProvisionProduct Source # 
ToHeaders ProvisionProduct Source # 
ToQuery ProvisionProduct Source # 
type Rep ProvisionProduct Source # 
type Rep ProvisionProduct = D1 (MetaData "ProvisionProduct" "Network.AWS.ServiceCatalog.ProvisionProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "ProvisionProduct'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppNotificationARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ppPathId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ppProvisioningParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProvisioningParameter]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_ppProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ppProvisioningArtifactId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ppProvisionedProductName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ppProvisionToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs ProvisionProduct Source # 

Request Lenses

ppNotificationARNs :: Lens' ProvisionProduct [Text] Source #

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.

ppAcceptLanguage :: Lens' ProvisionProduct (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.

ppPathId :: Lens' ProvisionProduct (Maybe Text) Source #

The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product.

ppProvisioningParameters :: Lens' ProvisionProduct [ProvisioningParameter] Source #

Parameters specified by the administrator that are required for provisioning the product.

ppTags :: Lens' ProvisionProduct [Tag] Source #

A list of tags to use as provisioning options.

ppProductId :: Lens' ProvisionProduct Text Source #

The product identifier.

ppProvisioningArtifactId :: Lens' ProvisionProduct Text Source #

The provisioning artifact identifier for this product.

ppProvisionedProductName :: Lens' ProvisionProduct Text Source #

A user-friendly name to identify the ProvisionedProduct object. This value must be unique for the AWS account and cannot be updated after the product is provisioned.

ppProvisionToken :: Lens' ProvisionProduct Text Source #

An idempotency token that uniquely identifies the provisioning request.

Destructuring the Response

provisionProductResponse Source #

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

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

  • pprsRecordDetail - The detailed result of the ProvisionProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object of the request, and a list of any errors that the request encountered.
  • pprsResponseStatus - -- | The response status code.

data ProvisionProductResponse Source #

See: provisionProductResponse smart constructor.

Instances

Eq ProvisionProductResponse Source # 
Data ProvisionProductResponse Source # 

Methods

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

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

toConstr :: ProvisionProductResponse -> Constr #

dataTypeOf :: ProvisionProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ProvisionProductResponse Source # 
Show ProvisionProductResponse Source # 
Generic ProvisionProductResponse Source # 
NFData ProvisionProductResponse Source # 
type Rep ProvisionProductResponse Source # 
type Rep ProvisionProductResponse = D1 (MetaData "ProvisionProductResponse" "Network.AWS.ServiceCatalog.ProvisionProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "ProvisionProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordDetail))) (S1 (MetaSel (Just Symbol "_pprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

pprsRecordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail) Source #

The detailed result of the ProvisionProduct request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object of the request, and a list of any errors that the request encountered.