Connect / Client / delete_view

delete_view#

Connect.Client.delete_view(**kwargs)#

Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).

See also: AWS API Documentation

Request Syntax

response = client.delete_view(
    InstanceId='string',
    ViewId='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • ViewId (string) –

    [REQUIRED]

    The identifier of the view. Both ViewArn and ViewId can be used.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.TooManyRequestsException

  • Connect.Client.exceptions.ResourceInUseException