list_assets
async
¶
list_assets(
outpost_identifier: OutpostIdentifier,
*,
config_overrides: Optional[AsyncOutpostsClientConfig] = None,
host_id_filter: Optional[HostIdList] = None,
max_results: Optional[MaxResults1000] = None,
next_token: Optional[Token] = None,
status_filter: Optional[StatusList] = None,
asset_type_filter: Optional[AssetTypeList] = None,
) -> ListAssetsOutput
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
Parameters:
-
outpost_identifier(OutpostIdentifier) –The ID or the Amazon Resource Name (ARN) of the Outpost.
-
host_id_filter(Optional[HostIdList], default:None) –Filters the results by the host ID of a Dedicated Host.
-
status_filter(Optional[StatusList], default:None) –Filters the results by state.
-
asset_type_filter(Optional[AssetTypeList], default:None) –Filters the results by asset type.
-
COMPUTE - Server asset used for customer compute
-
STORAGE - Server asset used by storage services
-
POWERSHELF - Powershelf assets
-
SWITCH - Switch assets
-
NETWORKING - Asset managed by Amazon Web Services for networking purposes
-
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
InternalServerException–An internal error has occurred.
-
NotFoundException–The specified request is not valid.
-
ValidationException–A parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_outposts/_services/async_outposts.py
1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 | |