list_components
async
¶
list_components(
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
next_token: Optional[NextToken] = None,
environment_name: Optional[ResourceName] = None,
service_name: Optional[ResourceName] = None,
service_instance_name: Optional[ResourceName] = None,
max_results: Optional[MaxPageResults] = None,
) -> ListComponentsOutput
List components with summary data. You can filter the result list by environment, service, or a single service instance.
For more information about components, see Proton components in the Proton User Guide.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next component in the array of components, after the list of components that was previously requested.
-
environment_name(Optional[ResourceName], default:None) –The name of an environment for result list filtering. Proton returns components associated with the environment or attached to service instances running in it.
-
service_name(Optional[ResourceName], default:None) –The name of a service for result list filtering. Proton returns components attached to service instances of the service.
-
service_instance_name(Optional[ResourceName], default:None) –The name of a service instance for result list filtering. Proton returns the component attached to the service instance, if any.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of components to list.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
InternalServerException–The request failed to register with the service.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
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 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 | |