Copyright | (c) 2013-2021 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 |
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
- data ProvisionProduct = ProvisionProduct' {
- productName :: Maybe Text
- provisioningArtifactId :: Maybe Text
- provisioningArtifactName :: Maybe Text
- notificationArns :: Maybe [Text]
- pathName :: Maybe Text
- acceptLanguage :: Maybe Text
- pathId :: Maybe Text
- provisioningParameters :: Maybe [ProvisioningParameter]
- productId :: Maybe Text
- tags :: Maybe [Tag]
- provisioningPreferences :: Maybe ProvisioningPreferences
- provisionedProductName :: Text
- provisionToken :: Text
- newProvisionProduct :: Text -> Text -> ProvisionProduct
- provisionProduct_productName :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_provisioningArtifactId :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_provisioningArtifactName :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_notificationArns :: Lens' ProvisionProduct (Maybe [Text])
- provisionProduct_pathName :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_acceptLanguage :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_pathId :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_provisioningParameters :: Lens' ProvisionProduct (Maybe [ProvisioningParameter])
- provisionProduct_productId :: Lens' ProvisionProduct (Maybe Text)
- provisionProduct_tags :: Lens' ProvisionProduct (Maybe [Tag])
- provisionProduct_provisioningPreferences :: Lens' ProvisionProduct (Maybe ProvisioningPreferences)
- provisionProduct_provisionedProductName :: Lens' ProvisionProduct Text
- provisionProduct_provisionToken :: Lens' ProvisionProduct Text
- data ProvisionProductResponse = ProvisionProductResponse' {}
- newProvisionProductResponse :: Int -> ProvisionProductResponse
- provisionProductResponse_recordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail)
- provisionProductResponse_httpStatus :: Lens' ProvisionProductResponse Int
Creating a Request
data ProvisionProduct Source #
See: newProvisionProduct
smart constructor.
ProvisionProduct' | |
|
Instances
:: Text | |
-> Text | |
-> ProvisionProduct |
Create a value of ProvisionProduct
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:productName:ProvisionProduct'
, provisionProduct_productName
- The name of the product. You must provide the name or ID, but not both.
$sel:provisioningArtifactId:ProvisionProduct'
, provisionProduct_provisioningArtifactId
- The identifier of the provisioning artifact. You must provide the name
or ID, but not both.
$sel:provisioningArtifactName:ProvisionProduct'
, provisionProduct_provisioningArtifactName
- The name of the provisioning artifact. You must provide the name or ID,
but not both.
$sel:notificationArns:ProvisionProduct'
, provisionProduct_notificationArns
- Passed to CloudFormation. The SNS topic ARNs to which to publish
stack-related events.
$sel:pathName:ProvisionProduct'
, provisionProduct_pathName
- The name of the path. You must provide the name or ID, but not both.
$sel:acceptLanguage:ProvisionProduct'
, provisionProduct_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pathId:ProvisionProduct'
, provisionProduct_pathId
- 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. You must
provide the name or ID, but not both.
$sel:provisioningParameters:ProvisionProduct'
, provisionProduct_provisioningParameters
- Parameters specified by the administrator that are required for
provisioning the product.
$sel:productId:ProvisionProduct'
, provisionProduct_productId
- The product identifier. You must provide the name or ID, but not both.
$sel:tags:ProvisionProduct'
, provisionProduct_tags
- One or more tags.
$sel:provisioningPreferences:ProvisionProduct'
, provisionProduct_provisioningPreferences
- An object that contains information about the provisioning preferences
for a stack set.
$sel:provisionedProductName:ProvisionProduct'
, provisionProduct_provisionedProductName
- 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.
$sel:provisionToken:ProvisionProduct'
, provisionProduct_provisionToken
- An idempotency token that uniquely identifies the provisioning request.
Request Lenses
provisionProduct_productName :: Lens' ProvisionProduct (Maybe Text) Source #
The name of the product. You must provide the name or ID, but not both.
provisionProduct_provisioningArtifactId :: Lens' ProvisionProduct (Maybe Text) Source #
The identifier of the provisioning artifact. You must provide the name or ID, but not both.
provisionProduct_provisioningArtifactName :: Lens' ProvisionProduct (Maybe Text) Source #
The name of the provisioning artifact. You must provide the name or ID, but not both.
provisionProduct_notificationArns :: Lens' ProvisionProduct (Maybe [Text]) Source #
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
provisionProduct_pathName :: Lens' ProvisionProduct (Maybe Text) Source #
The name of the path. You must provide the name or ID, but not both.
provisionProduct_acceptLanguage :: Lens' ProvisionProduct (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
provisionProduct_pathId :: 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. You must provide the name or ID, but not both.
provisionProduct_provisioningParameters :: Lens' ProvisionProduct (Maybe [ProvisioningParameter]) Source #
Parameters specified by the administrator that are required for provisioning the product.
provisionProduct_productId :: Lens' ProvisionProduct (Maybe Text) Source #
The product identifier. You must provide the name or ID, but not both.
provisionProduct_tags :: Lens' ProvisionProduct (Maybe [Tag]) Source #
One or more tags.
provisionProduct_provisioningPreferences :: Lens' ProvisionProduct (Maybe ProvisioningPreferences) Source #
An object that contains information about the provisioning preferences for a stack set.
provisionProduct_provisionedProductName :: 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.
provisionProduct_provisionToken :: Lens' ProvisionProduct Text Source #
An idempotency token that uniquely identifies the provisioning request.
Destructuring the Response
data ProvisionProductResponse Source #
See: newProvisionProductResponse
smart constructor.
ProvisionProductResponse' | |
|
Instances
newProvisionProductResponse Source #
Create a value of ProvisionProductResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recordDetail:ProvisionProductResponse'
, provisionProductResponse_recordDetail
- Information about the result of provisioning the product.
$sel:httpStatus:ProvisionProductResponse'
, provisionProductResponse_httpStatus
- The response's http status code.
Response Lenses
provisionProductResponse_recordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail) Source #
Information about the result of provisioning the product.
provisionProductResponse_httpStatus :: Lens' ProvisionProductResponse Int Source #
The response's http status code.