list_device_discoveries
async
¶
list_device_discoveries(
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
type_filter: Optional[DiscoveryType] = None,
status_filter: Optional[DeviceDiscoveryStatus] = None,
) -> ListDeviceDiscoveriesResponse
Lists all device discovery tasks, with optional filtering by type and status.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token used for pagination of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of device discovery jobs to return in a single response.
-
type_filter(Optional[DiscoveryType], default:None) –The discovery type to filter device discovery jobs by.
-
status_filter(Optional[DeviceDiscoveryStatus], default:None) –The status to filter device discovery jobs by.
Raises:
-
AccessDeniedException–User is not authorized.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_managed_integrations/_services/async_io_t_managed_integrations.py
2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 | |