Proton / Client / notify_resource_deployment_status_change

notify_resource_deployment_status_change

Proton.Client.notify_resource_deployment_status_change(**kwargs)

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

For more information, see Self-managed provisioning in the Proton User Guide.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.notify_resource_deployment_status_change(
    deploymentId='string',
    outputs=[
        {
            'key': 'string',
            'valueString': 'string'
        },
    ],
    resourceArn='string',
    status='IN_PROGRESS'|'FAILED'|'SUCCEEDED',
    statusMessage='string'
)
Parameters:
  • deploymentId (string) – The deployment ID for your provisioned resource.

  • outputs (list) –

    The provisioned resource state change detail data that’s returned by Proton.

    • (dict) –

      An infrastructure as code defined resource output.

      • key (string) –

        The output key.

      • valueString (string) –

        The output value.

  • resourceArn (string) –

    [REQUIRED]

    The provisioned resource Amazon Resource Name (ARN).

  • status (string) – The status of your provisioned resource.

  • statusMessage (string) – The deployment status message for your provisioned resource.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Proton.Client.exceptions.ServiceQuotaExceededException

  • Proton.Client.exceptions.ValidationException

  • Proton.Client.exceptions.AccessDeniedException

  • Proton.Client.exceptions.ThrottlingException

  • Proton.Client.exceptions.ConflictException

  • Proton.Client.exceptions.ResourceNotFoundException

  • Proton.Client.exceptions.InternalServerException