| Copyright | (c) 2013-2017 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
Requests a provision of a specified product. A provisioned product 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. The error "Parameter validation failed: Missing required parameter in Tags[N ]:Value " indicates that your request contains a tag which has a tag key but no corresponding tag value (value is empty or null). Your call may have included values returned from a DescribeProvisioningParameters call that resulted in a TagOption key with an empty list. This happens when TagOption keys are in conflict. For more information, see DescribeProvisioningParameters .
- 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 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. This is sometimes referred to as the product version.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
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 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.
ppProductId :: Lens' ProvisionProduct Text Source #
The product identifier.
ppProvisioningArtifactId :: Lens' ProvisionProduct Text Source #
The provisioning artifact identifier for this product. This is sometimes referred to as the product version.
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 #
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- The detailed result of theProvisionProductrequest, 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.
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.
pprsResponseStatus :: Lens' ProvisionProductResponse Int Source #
- - | The response status code.