Copyright | (c) 2013-2018 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 |
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
.
- createProvisionedProductPlan :: Text -> ProvisionedProductPlanType -> Text -> Text -> Text -> Text -> CreateProvisionedProductPlan
- data CreateProvisionedProductPlan
- cpppNotificationARNs :: Lens' CreateProvisionedProductPlan [Text]
- cpppAcceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text)
- cpppPathId :: Lens' CreateProvisionedProductPlan (Maybe Text)
- cpppProvisioningParameters :: Lens' CreateProvisionedProductPlan [UpdateProvisioningParameter]
- cpppTags :: Lens' CreateProvisionedProductPlan [Tag]
- cpppPlanName :: Lens' CreateProvisionedProductPlan Text
- cpppPlanType :: Lens' CreateProvisionedProductPlan ProvisionedProductPlanType
- cpppProductId :: Lens' CreateProvisionedProductPlan Text
- cpppProvisionedProductName :: Lens' CreateProvisionedProductPlan Text
- cpppProvisioningArtifactId :: Lens' CreateProvisionedProductPlan Text
- cpppIdempotencyToken :: Lens' CreateProvisionedProductPlan Text
- createProvisionedProductPlanResponse :: Int -> CreateProvisionedProductPlanResponse
- data CreateProvisionedProductPlanResponse
- cppprsProvisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- cppprsProvisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- cppprsProvisioningArtifactId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- cppprsPlanId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- cppprsPlanName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text)
- cppprsResponseStatus :: Lens' CreateProvisionedProductPlanResponse Int
Creating a Request
createProvisionedProductPlan Source #
:: Text | |
-> ProvisionedProductPlanType | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateProvisionedProductPlan |
Creates a value of CreateProvisionedProductPlan
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpppNotificationARNs
- Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.cpppAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesecpppPathId
- 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, useListLaunchPaths
.cpppProvisioningParameters
- Parameters specified by the administrator that are required for provisioning the product.cpppTags
- One or more tags.cpppPlanName
- The name of the plan.cpppPlanType
- The plan type.cpppProductId
- The product identifier.cpppProvisionedProductName
- 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.cpppProvisioningArtifactId
- The identifier of the provisioning artifact.cpppIdempotencyToken
- 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.
data CreateProvisionedProductPlan Source #
See: createProvisionedProductPlan
smart constructor.
Request Lenses
cpppNotificationARNs :: Lens' CreateProvisionedProductPlan [Text] Source #
Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
cpppAcceptLanguage :: Lens' CreateProvisionedProductPlan (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
cpppPathId :: 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
.
cpppProvisioningParameters :: Lens' CreateProvisionedProductPlan [UpdateProvisioningParameter] Source #
Parameters specified by the administrator that are required for provisioning the product.
cpppPlanName :: Lens' CreateProvisionedProductPlan Text Source #
The name of the plan.
cpppPlanType :: Lens' CreateProvisionedProductPlan ProvisionedProductPlanType Source #
The plan type.
cpppProductId :: Lens' CreateProvisionedProductPlan Text Source #
The product identifier.
cpppProvisionedProductName :: 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.
cpppProvisioningArtifactId :: Lens' CreateProvisionedProductPlan Text Source #
The identifier of the provisioning artifact.
cpppIdempotencyToken :: 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
createProvisionedProductPlanResponse Source #
Creates a value of CreateProvisionedProductPlanResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cppprsProvisionedProductName
- The user-friendly name of the provisioned product.cppprsProvisionProductId
- The product identifier.cppprsProvisioningArtifactId
- The identifier of the provisioning artifact.cppprsPlanId
- The plan identifier.cppprsPlanName
- The name of the plan.cppprsResponseStatus
- -- | The response status code.
data CreateProvisionedProductPlanResponse Source #
See: createProvisionedProductPlanResponse
smart constructor.
Response Lenses
cppprsProvisionedProductName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The user-friendly name of the provisioned product.
cppprsProvisionProductId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The product identifier.
cppprsProvisioningArtifactId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The identifier of the provisioning artifact.
cppprsPlanId :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The plan identifier.
cppprsPlanName :: Lens' CreateProvisionedProductPlanResponse (Maybe Text) Source #
The name of the plan.
cppprsResponseStatus :: Lens' CreateProvisionedProductPlanResponse Int Source #
- - | The response status code.