list_views
async
¶
list_views(
instance_id: ViewsInstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
type: Optional[ViewType] = None,
next_token: Optional[ViewsNextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListViewsResponse
Returns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
Parameters:
-
instance_id(ViewsInstanceId) –The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance.
-
type(Optional[ViewType], default:None) –The type of the view.
-
next_token(Optional[ViewsNextToken], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page. The default MaxResult size is 100.
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.
-
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.
Source code in docs_src/capo_connect/_services/async_connect.py
19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 | |