Skip to content

CreateDeploymentRequest

Source code in docs_src/capo_m2/types/create_deployment_request.py
class CreateDeploymentRequest(TypedDict, closed=True):
    environment_id: "capo_m2.types.identifier.Identifier"
    """<p>The identifier of the runtime environment where you want to deploy this application.</p>"""
    application_id: "capo_m2.types.identifier.Identifier"
    """<p>The application identifier.</p>"""
    application_version: "capo_m2.types.version.Version"
    """<p>The version of the application to deploy.</p>"""
    client_token: NotRequired["capo_m2.types.client_token.ClientToken"]
    """<p>Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires. </p>"""

application_id instance-attribute

application_id: Identifier

The application identifier.

application_version instance-attribute

application_version: Version

The version of the application to deploy.

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.

environment_id instance-attribute

environment_id: Identifier

The identifier of the runtime environment where you want to deploy this application.