list_state_templates
async
¶
list_state_templates(
*,
config_overrides: Optional[AsyncIoTFleetWiseClientConfig] = None,
next_token: Optional[nextToken] = None,
max_results: Optional[maxResults] = None,
list_response_scope: Optional[ListResponseScope] = None,
) -> ListStateTemplatesResponse
Lists information about created state templates.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
Parameters:
-
next_token(Optional[nextToken], default:None) –The token to retrieve the next set of results, or
nullif there are no more results. -
max_results(Optional[maxResults], default:None) –The maximum number of items to return, between 1 and 100, inclusive.
-
list_response_scope(Optional[ListResponseScope], default:None) –When you set the
listResponseScopeparameter toMETADATA_ONLY, the list response includes: state template ID, Amazon Resource Name (ARN), creation time, and last modification time.
Raises:
-
InternalServerException–The request couldn't be completed because the server temporarily failed.
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ThrottlingException–The request couldn't be completed due to throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.