| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.ProvisionProduct
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 ".
- provisionProduct :: Text -> Text -> Text -> Text -> ProvisionProduct
- data ProvisionProduct
- ppNotificationARNs :: Lens' ProvisionProduct [Text]
- ppAcceptLanguage :: Lens' ProvisionProduct (Maybe Text)
- ppPathId :: Lens' ProvisionProduct (Maybe Text)
- ppProvisioningParameters :: Lens' ProvisionProduct [ProvisioningParameter]
- ppTags :: Lens' ProvisionProduct [Tag]
- ppProductId :: Lens' ProvisionProduct Text
- ppProvisioningArtifactId :: Lens' ProvisionProduct Text
- ppProvisionedProductName :: Lens' ProvisionProduct Text
- ppProvisionToken :: Lens' ProvisionProduct Text
- provisionProductResponse :: Int -> ProvisionProductResponse
- data ProvisionProductResponse
- pprsRecordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail)
- pprsResponseStatus :: Lens' ProvisionProductResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> ProvisionProduct |
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- ChineseppPathId- 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, useListLaunchPaths.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
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.
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 #
Arguments
| :: Int | |
| -> ProvisionProductResponse |
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- Information about the result of provisioning the product.pprsResponseStatus- -- | The response status code.
data ProvisionProductResponse Source #
See: provisionProductResponse smart constructor.
Response Lenses
pprsRecordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail) Source #
Information about the result of provisioning the product.
pprsResponseStatus :: Lens' ProvisionProductResponse Int Source #
- - | The response status code.