list_view_versions
async
¶
list_view_versions(
instance_id: ViewsInstanceId,
view_id: ViewId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
next_token: Optional[ViewsNextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListViewVersionsResponse
Returns all the available versions for the specified Connect Customer instance and view identifier.
Results will be sorted from highest to lowest.
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. -
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
19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 | |