create_analyzer
¶
create_analyzer(
analyzer_name: AnalyzerName,
type: Type,
*,
config_overrides: Optional[AccessAnalyzerClientConfig] = 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/access_analyzer.py
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 2021 2022 2023 2024 2025 2026 | |