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 |
Creates a plan. A plan includes the list of resources to be created (when provisioning a new product) or modified (when updating a provisioned product) when the plan is executed.
You can create one plan per provisioned product. To create a plan for an existing provisioned product, the product status must be AVAILBLE or TAINTED.
To view the resource changes in the change set, use DescribeProvisionedProductPlan. To create or modify the provisioned product, use ExecuteProvisionedProductPlan.
Synopsis
- data CreateProvisionedProductPlan = CreateProvisionedProductPlan' {
- notificationArns :: Maybe [Text]
- acceptLanguage :: Maybe Text
- pathId :: Maybe Text
- provisioningParameters :: Maybe [UpdateProvisioningParameter]
- tags :: Maybe [Tag]
- planName :: Text
- planType :: ProvisionedProductPlanType
- productId :: Text
- provisionedProductName :: Text
- provisioningArtifactId :: Text
- idempotencyToken :: Text
- newCreateProvisionedProductPlan :: Text -> ProvisionedProductPlanType -> Text -> Text -> Text -> Text -> CreateProvisionedProductPlan
- createProvisionedProductPlan_notificationArns :: Lens' CreateProvisionedProductPlan (Maybe [Text])
- createProvisionedProductPlan_acceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text)
- createProvisionedProductPlan_pathId :: Lens' CreateProvisionedProductPlan (Maybe Text)
- createProvisionedProductPlan_provisioningParameters :: Lens' CreateProvisionedProductPlan (Maybe [UpdateProvisioningParameter])
- createProvisionedProductPlan_tags :: Lens' CreateProvisionedProductPlan (Maybe [Tag])
- createProvisionedProductPlan_planName :: Lens' CreateProvisionedProductPlan Text
- createProvisionedProductPlan_planType :: Lens' CreateProvisionedProductPlan ProvisionedProductPlanType
- createProvisionedProductPlan_productId :: Lens' CreateProvisionedProductPlan Text
- createProvisionedProductPlan_provisionedProductName :: Lens' CreateProvisionedProductPlan Text
- createProvisionedProductPlan_provisioningArtifactId :: Lens' CreateProvisionedProductPlan Text
- createProvisionedProductPlan_idempotencyToken :: Lens' CreateProvisionedProductPlan Text
- data CreateProvisionedProductPlanResponse = CreateProvisionedProductPlanResponse' {}
- newCreateProvisionedProductPlanResponse :: Int -> CreateProvisionedProductPlanResponse
- createProvisionedProductPlanResponse_provisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_provisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_provisioningArtifactId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_planId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_planName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_httpStatus :: Lens' CreateProvisionedProductPlanResponse Int
Creating a Request
data CreateProvisionedProductPlan Source #
See: newCreateProvisionedProductPlan
smart constructor.
CreateProvisionedProductPlan' | |
|
Instances
newCreateProvisionedProductPlan Source #
:: Text | |
-> ProvisionedProductPlanType | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateProvisionedProductPlan |
Create a value of CreateProvisionedProductPlan
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:notificationArns:CreateProvisionedProductPlan'
, createProvisionedProductPlan_notificationArns
- Passed to CloudFormation. The SNS topic ARNs to which to publish
stack-related events.
$sel:acceptLanguage:CreateProvisionedProductPlan'
, createProvisionedProductPlan_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pathId:CreateProvisionedProductPlan'
, createProvisionedProductPlan_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.
$sel:provisioningParameters:CreateProvisionedProductPlan'
, createProvisionedProductPlan_provisioningParameters
- Parameters specified by the administrator that are required for
provisioning the product.
$sel:tags:CreateProvisionedProductPlan'
, createProvisionedProductPlan_tags
- One or more tags.
If the plan is for an existing provisioned product, the product must
have a RESOURCE_UPDATE
constraint with
TagUpdatesOnProvisionedProduct
set to ALLOWED
to allow tag updates.
$sel:planName:CreateProvisionedProductPlan'
, createProvisionedProductPlan_planName
- The name of the plan.
$sel:planType:CreateProvisionedProductPlan'
, createProvisionedProductPlan_planType
- The plan type.
$sel:productId:CreateProvisionedProductPlan'
, createProvisionedProductPlan_productId
- The product identifier.
$sel:provisionedProductName:CreateProvisionedProductPlan'
, createProvisionedProductPlan_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:provisioningArtifactId:CreateProvisionedProductPlan'
, createProvisionedProductPlan_provisioningArtifactId
- The identifier of the provisioning artifact.
$sel:idempotencyToken:CreateProvisionedProductPlan'
, createProvisionedProductPlan_idempotencyToken
- A unique identifier that you provide to ensure idempotency. If multiple
requests differ only by the idempotency token, the same response is
returned for each repeated request.
Request Lenses
createProvisionedProductPlan_notificationArns :: Lens' CreateProvisionedProductPlan (Maybe [Text]) Source #
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
createProvisionedProductPlan_acceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
createProvisionedProductPlan_pathId :: Lens' CreateProvisionedProductPlan (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.
createProvisionedProductPlan_provisioningParameters :: Lens' CreateProvisionedProductPlan (Maybe [UpdateProvisioningParameter]) Source #
Parameters specified by the administrator that are required for provisioning the product.
createProvisionedProductPlan_tags :: Lens' CreateProvisionedProductPlan (Maybe [Tag]) Source #
One or more tags.
If the plan is for an existing provisioned product, the product must
have a RESOURCE_UPDATE
constraint with
TagUpdatesOnProvisionedProduct
set to ALLOWED
to allow tag updates.
createProvisionedProductPlan_planName :: Lens' CreateProvisionedProductPlan Text Source #
The name of the plan.
createProvisionedProductPlan_planType :: Lens' CreateProvisionedProductPlan ProvisionedProductPlanType Source #
The plan type.
createProvisionedProductPlan_productId :: Lens' CreateProvisionedProductPlan Text Source #
The product identifier.
createProvisionedProductPlan_provisionedProductName :: Lens' CreateProvisionedProductPlan 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.
createProvisionedProductPlan_provisioningArtifactId :: Lens' CreateProvisionedProductPlan Text Source #
The identifier of the provisioning artifact.
createProvisionedProductPlan_idempotencyToken :: Lens' CreateProvisionedProductPlan Text Source #
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
Destructuring the Response
data CreateProvisionedProductPlanResponse Source #
See: newCreateProvisionedProductPlanResponse
smart constructor.
CreateProvisionedProductPlanResponse' | |
|
Instances
newCreateProvisionedProductPlanResponse Source #
Create a value of CreateProvisionedProductPlanResponse
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:provisionedProductName:CreateProvisionedProductPlan'
, createProvisionedProductPlanResponse_provisionedProductName
- The user-friendly name of the provisioned product.
$sel:provisionProductId:CreateProvisionedProductPlanResponse'
, createProvisionedProductPlanResponse_provisionProductId
- The product identifier.
$sel:provisioningArtifactId:CreateProvisionedProductPlan'
, createProvisionedProductPlanResponse_provisioningArtifactId
- The identifier of the provisioning artifact.
$sel:planId:CreateProvisionedProductPlanResponse'
, createProvisionedProductPlanResponse_planId
- The plan identifier.
$sel:planName:CreateProvisionedProductPlan'
, createProvisionedProductPlanResponse_planName
- The name of the plan.
$sel:httpStatus:CreateProvisionedProductPlanResponse'
, createProvisionedProductPlanResponse_httpStatus
- The response's http status code.
Response Lenses
createProvisionedProductPlanResponse_provisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The user-friendly name of the provisioned product.
createProvisionedProductPlanResponse_provisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The product identifier.
createProvisionedProductPlanResponse_provisioningArtifactId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The identifier of the provisioning artifact.
createProvisionedProductPlanResponse_planId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The plan identifier.
createProvisionedProductPlanResponse_planName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The name of the plan.
createProvisionedProductPlanResponse_httpStatus :: Lens' CreateProvisionedProductPlanResponse Int Source #
The response's http status code.