amazonka-servicecatalog-1.6.1: 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.ProvisionProduct

Contents

Description

Provisions the specified product.

A provisioned product is a resourced instance of a product. For example, provisioning a product based on a CloudFormation template launches a CloudFormation stack and its underlying resources. You can check the status of this request using DescribeRecord .

If the request contains a tag key with an empty list of values, there is a tag conflict for that key. Do not include conflicted keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[N ]:Value ".

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. * en - English (default) * jp - Japanese * zh - Chinese
  • ppPathId - The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .
  • ppProvisioningParameters - Parameters specified by the administrator that are required for provisioning the product.
  • ppTags - One or more tags.
  • ppProductId - The product identifier.
  • ppProvisioningArtifactId - The identifier of the provisioning artifact.
  • ppProvisionedProductName - A user-friendly name for the provisioned product. 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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Data ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Show ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Generic ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Associated Types

type Rep ProvisionProduct :: Type -> Type #

Hashable ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

ToJSON ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

AWSRequest ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Associated Types

type Rs ProvisionProduct :: Type #

ToHeaders ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

ToPath ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

ToQuery ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

NFData ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Methods

rnf :: ProvisionProduct -> () #

type Rep ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

type Rep ProvisionProduct = D1 (MetaData "ProvisionProduct" "Network.AWS.ServiceCatalog.ProvisionProduct" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "ProvisionProduct'" PrefixI True) (((S1 (MetaSel (Just "_ppNotificationARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ppPathId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppProvisioningParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProvisioningParameter])))) :*: ((S1 (MetaSel (Just "_ppTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_ppProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ppProvisioningArtifactId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ppProvisionedProductName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppProvisionToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ProvisionProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

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. * en - English (default) * jp - Japanese * zh - Chinese

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

The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths .

ppProvisioningParameters :: Lens' ProvisionProduct [ProvisioningParameter] Source #

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

ppTags :: Lens' ProvisionProduct [Tag] Source #

One or more tags.

ppProductId :: Lens' ProvisionProduct Text Source #

The product identifier.

ppProvisioningArtifactId :: Lens' ProvisionProduct Text Source #

The identifier of the provisioning artifact.

ppProvisionedProductName :: Lens' ProvisionProduct Text Source #

A user-friendly name for the provisioned product. 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:

data ProvisionProductResponse Source #

See: provisionProductResponse smart constructor.

Instances
Eq ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Data ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Show ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Generic ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

Associated Types

type Rep ProvisionProductResponse :: Type -> Type #

NFData ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

type Rep ProvisionProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.ProvisionProduct

type Rep ProvisionProductResponse = D1 (MetaData "ProvisionProductResponse" "Network.AWS.ServiceCatalog.ProvisionProduct" "amazonka-servicecatalog-1.6.1-3x3nXpki5UUGYHxW61f9xy" False) (C1 (MetaCons "ProvisionProductResponse'" PrefixI True) (S1 (MetaSel (Just "_pprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordDetail)) :*: S1 (MetaSel (Just "_pprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Information about the result of provisioning the product.