delete_view
async
¶
delete_view(
instance_id: ViewsInstanceId,
view_id: ViewId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> DeleteViewResponse
Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
Parameters:
-
instance_id(ViewsInstanceId) –The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance.
-
view_id(ViewId) –The identifier of the view. Both
ViewArnandViewIdcan be used.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceInUseException–That resource is already in use (for example, you're trying to add a record with the same name as an existing record). If you are trying to delete a resource (for example, DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources and then try again.
-
ResourceNotFoundException–The specified resource was not found.
-
TooManyRequestsException–Displayed when rate-related API limits are exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.