Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 for each provisioned product. To create a plan for an existing provisioned product, the product status must be AVAILABLE 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' {
- acceptLanguage :: Maybe Text
- notificationArns :: 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_acceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text)
- createProvisionedProductPlan_notificationArns :: 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_planId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_planName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_provisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_provisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- createProvisionedProductPlanResponse_provisioningArtifactId :: 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:acceptLanguage:CreateProvisionedProductPlan'
, createProvisionedProductPlan_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
CreateProvisionedProductPlan
, createProvisionedProductPlan_notificationArns
- Passed to CloudFormation. The SNS topic ARNs to which to publish
stack-related events.
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.
CreateProvisionedProductPlan
, createProvisionedProductPlan_provisioningParameters
- Parameters specified by the administrator that are required for
provisioning the product.
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.
CreateProvisionedProductPlan
, createProvisionedProductPlan_planName
- The name of the plan.
CreateProvisionedProductPlan
, createProvisionedProductPlan_planType
- The plan type.
CreateProvisionedProductPlan
, createProvisionedProductPlan_productId
- The product identifier.
CreateProvisionedProductPlan
, createProvisionedProductPlan_provisionedProductName
- A user-friendly name for the provisioned product. This value must be
unique for the Amazon Web Services account and cannot be updated after
the product is provisioned.
CreateProvisionedProductPlan
, createProvisionedProductPlan_provisioningArtifactId
- The identifier of the provisioning artifact.
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_acceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
createProvisionedProductPlan_notificationArns :: Lens' CreateProvisionedProductPlan (Maybe [Text]) Source #
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
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 Amazon Web Services 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:
CreateProvisionedProductPlanResponse
, createProvisionedProductPlanResponse_planId
- The plan identifier.
CreateProvisionedProductPlan
, createProvisionedProductPlanResponse_planName
- The name of the plan.
CreateProvisionedProductPlanResponse
, createProvisionedProductPlanResponse_provisionProductId
- The product identifier.
CreateProvisionedProductPlan
, createProvisionedProductPlanResponse_provisionedProductName
- The user-friendly name of the provisioned product.
CreateProvisionedProductPlan
, createProvisionedProductPlanResponse_provisioningArtifactId
- The identifier of the provisioning artifact.
$sel:httpStatus:CreateProvisionedProductPlanResponse'
, createProvisionedProductPlanResponse_httpStatus
- The response's http status code.
Response Lenses
createProvisionedProductPlanResponse_planId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The plan identifier.
createProvisionedProductPlanResponse_planName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The name of the plan.
createProvisionedProductPlanResponse_provisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The product identifier.
createProvisionedProductPlanResponse_provisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The user-friendly name of the provisioned product.
createProvisionedProductPlanResponse_provisioningArtifactId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The identifier of the provisioning artifact.
createProvisionedProductPlanResponse_httpStatus :: Lens' CreateProvisionedProductPlanResponse Int Source #
The response's http status code.