list_actions
¶
list_actions(
target_resource_type: TargetResourceType,
target_resource_id: ID,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
resolve_to_resource_type: Optional[ResolveToResourceType] = None,
resolve_to_resource_id: Optional[ID] = None,
) -> ListActionsResponse
Retrieves a paginated list of actions for a specific target resource.
Parameters:
-
target_resource_type(TargetResourceType) –The type of resource.
-
target_resource_id(ID) –The ID of the target resource.
-
next_token(Optional[NextToken], default:None) –The token to be used for the next set of paginated results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return for each paginated request.
-
resolve_to_resource_type(Optional[ResolveToResourceType], default:None) –The type of the resolved resource.
-
resolve_to_resource_id(Optional[ID], default:None) –The ID of the resolved resource.
Raises:
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/io_t_site_wise.py
6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 | |