list_rules_packages
async
¶
list_rules_packages(
*,
config_overrides: Optional[AsyncInspectorClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[ListMaxResults] = None,
) -> ListRulesPackagesResponse
Lists all available Amazon Inspector rules packages.
Parameters:
-
next_token(Optional[PaginationToken], default:None) –You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
-
max_results(Optional[ListMaxResults], default:None) –You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Raises:
-
AccessDeniedException–You do not have required permissions to access the requested resource.
-
InternalException–Internal server error.
-
InvalidInputException–The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List rules packages Lists all available Amazon Inspector rules packages.
Source code in docs_src/capo_inspector/_services/async_inspector.py
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 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 | |