SSMIncidents / Client / update_deletion_protection

update_deletion_protection#

SSMIncidents.Client.update_deletion_protection(**kwargs)#

Update deletion protection to either allow or deny deletion of the final Region in a replication set.

See also: AWS API Documentation

Request Syntax

response = client.update_deletion_protection(
    arn='string',
    clientToken='string',
    deletionProtected=True|False
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the replication set to update.

  • clientToken (string) –

    A token that ensures that the operation is called only once with the specified details.

    This field is autopopulated if not provided.

  • deletionProtected (boolean) –

    [REQUIRED]

    Specifies if deletion protection is turned on or off in your account.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SSMIncidents.Client.exceptions.ThrottlingException

  • SSMIncidents.Client.exceptions.ResourceNotFoundException

  • SSMIncidents.Client.exceptions.AccessDeniedException

  • SSMIncidents.Client.exceptions.ValidationException

  • SSMIncidents.Client.exceptions.InternalServerException