Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- 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
:: 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 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.
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.
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 theProvisionProduct
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.
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.