amazonka-servicecatalog-2.0: Amazon Service Catalog SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Description

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

Creating a Request

data CreateProvisionedProductPlan Source #

See: newCreateProvisionedProductPlan smart constructor.

Constructors

CreateProvisionedProductPlan' 

Fields

  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • notificationArns :: Maybe [Text]

    Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.

  • pathId :: Maybe Text

    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.

  • provisioningParameters :: Maybe [UpdateProvisioningParameter]

    Parameters specified by the administrator that are required for provisioning the product.

  • tags :: Maybe [Tag]

    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.

  • planName :: Text

    The name of the plan.

  • planType :: ProvisionedProductPlanType

    The plan type.

  • productId :: Text

    The product identifier.

  • provisionedProductName :: Text

    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.

  • provisioningArtifactId :: Text

    The identifier of the provisioning artifact.

  • idempotencyToken :: Text

    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.

Instances

Instances details
ToJSON CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

ToHeaders CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

ToPath CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

ToQuery CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

AWSRequest CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Generic CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Associated Types

type Rep CreateProvisionedProductPlan :: Type -> Type #

Read CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Show CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

NFData CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Eq CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Hashable CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

type AWSResponse CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

type Rep CreateProvisionedProductPlan Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

type Rep CreateProvisionedProductPlan = D1 ('MetaData "CreateProvisionedProductPlan" "Amazonka.ServiceCatalog.CreateProvisionedProductPlan" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "CreateProvisionedProductPlan'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notificationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "pathId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "provisioningParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UpdateProvisioningParameter])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))) :*: ((S1 ('MetaSel ('Just "planName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "planType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProvisionedProductPlanType) :*: S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "provisionedProductName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "provisioningArtifactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCreateProvisionedProductPlan Source #

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 - Japanese
  • zh - 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 - Japanese
  • zh - 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_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_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 #

Constructors

CreateProvisionedProductPlanResponse' 

Fields

Instances

Instances details
Generic CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Read CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Show CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

NFData CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

Eq CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

type Rep CreateProvisionedProductPlanResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisionedProductPlan

type Rep CreateProvisionedProductPlanResponse = D1 ('MetaData "CreateProvisionedProductPlanResponse" "Amazonka.ServiceCatalog.CreateProvisionedProductPlan" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "CreateProvisionedProductPlanResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "planId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "planName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "provisionProductId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "provisionedProductName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "provisioningArtifactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses