create_provisioned_product_plan
async
¶
create_provisioned_product_plan(
plan_name: ProvisionedProductPlanName,
plan_type: ProvisionedProductPlanType,
product_id: Id,
provisioned_product_name: ProvisionedProductName,
provisioning_artifact_id: Id,
idempotency_token: IdempotencyToken,
*,
config_overrides: Optional[AsyncServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
notification_arns: Optional[NotificationArns] = None,
path_id: Optional[Id] = None,
provisioning_parameters: Optional[UpdateProvisioningParameters] = None,
tags: Optional[Tags] = None,
) -> CreateProvisionedProductPlanOutput
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.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
plan_name(ProvisionedProductPlanName) –The name of the plan.
-
plan_type(ProvisionedProductPlanType) –The plan type.
-
notification_arns(Optional[NotificationArns], default:None) –Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
-
path_id(Optional[Id], default:None) –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.
-
product_id(Id) –The product identifier.
-
provisioned_product_name(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.
-
provisioning_artifact_id(Id) –The identifier of the provisioning artifact.
-
provisioning_parameters(Optional[UpdateProvisioningParameters], default:None) –Parameters specified by the administrator that are required for provisioning the product.
-
idempotency_token(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.
-
tags(Optional[Tags], default:None) –One or more tags.
If the plan is for an existing provisioned product, the product must have a
RESOURCE_UPDATEconstraint withTagUpdatesOnProvisionedProductset toALLOWEDto allow tag updates.
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
InvalidStateException–An attempt was made to modify a resource that is in a state that is not valid. Check your resources to ensure that they are in valid states before retrying the operation.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_catalog/_services/async_service_catalog.py
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 | |