create_analyzer
async
¶
create_analyzer(
analyzer_name: AnalyzerName,
type: Type,
*,
config_overrides: Optional[AsyncAccessAnalyzerClientConfig] = None,
archive_rules: Optional[InlineArchiveRulesList] = None,
tags: Optional[TagsMap] = None,
client_token: Optional[str] = None,
configuration: Optional[AnalyzerConfiguration] = None,
) -> CreateAnalyzerResponse
Creates an analyzer for your account.
Parameters:
-
analyzer_name(AnalyzerName) –The name of the analyzer to create.
-
type(Type) –The type of analyzer to create. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
-
archive_rules(Optional[InlineArchiveRulesList], default:None) –Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
-
tags(Optional[TagsMap], default:None) –An array of key-value pairs to apply to the analyzer. You can use the set of Unicode letters, digits, whitespace,
_,.,/,=,+, and-.For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with
aws:.For the tag value, you can specify a value that is 0 to 256 characters in length.
-
client_token(Optional[str], default:None) –A client token.
-
configuration(Optional[AnalyzerConfiguration], default:None) –Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an internal access analyzer, the specified internal access analysis rules are used for the configuration.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–A conflict exception error.
-
InternalServerException–Internal server error.
-
ServiceQuotaExceededException–Service quote met error.
-
ThrottlingException–Throttling limit exceeded error.
-
ValidationException–Validation exception error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_accessanalyzer/_services/async_access_analyzer.py
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 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 | |