ARCZonalShift / Client / delete_practice_run_configuration

delete_practice_run_configuration#

ARCZonalShift.Client.delete_practice_run_configuration(**kwargs)#

Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.

See also: AWS API Documentation

Request Syntax

response = client.delete_practice_run_configuration(
    resourceIdentifier='string'
)
Parameters:

resourceIdentifier (string) –

[REQUIRED]

The identifier for the resource that you want to delete the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'zonalAutoshiftStatus': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the resource that you deleted the practice run for.

    • name (string) –

      The name of the resource that you deleted the practice run for.

    • zonalAutoshiftStatus (string) –

      The status of zonal autoshift for the resource.

Exceptions

  • ARCZonalShift.Client.exceptions.InternalServerException

  • ARCZonalShift.Client.exceptions.ConflictException

  • ARCZonalShift.Client.exceptions.ResourceNotFoundException

  • ARCZonalShift.Client.exceptions.ThrottlingException

  • ARCZonalShift.Client.exceptions.ValidationException

  • ARCZonalShift.Client.exceptions.AccessDeniedException