list_views
¶
list_views(
instance_id: ViewsInstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 | |