CreateAnalyzer
Creates an Analyzer to perform over-privilege or external access analysis on an account or resource directory.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AnalyzerName |
string |
Yes |
The name of the analyzer. |
MyAnalyzer |
| Type |
string |
No |
The type of the Analyzer. Valid values:
|
ExternalAccess |
| Scope |
string |
No |
The scan scope of the Analyzer. Valid values:
|
Account |
| Configuration |
object |
No |
The configuration information of the Analyzer instance. |
|
| OverPrivilegedConfiguration |
object |
No |
The configuration information for the OverPrivileged type. |
|
| UnusedAccessAge |
integer |
No |
The unused access period. Default value: 90. Valid values: 1 to 365. Unit: days. |
90 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| AnalyzerArn |
string |
The ARN of the Analyzer. |
acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/my-analyzer |
| RequestId |
string |
The request ID. |
D1936189-2F04-56BE-868F-C06A0417E9EB |
Examples
Success response
JSON format
{
"AnalyzerArn": "acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/my-analyzer",
"RequestId": "D1936189-2F04-56BE-868F-C06A0417E9EB"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | |
| 400 | EntityAlreadyExist.%s | The %s already exists. | The %s already exists. |
| 400 | ExceedLimit.%s | The maximum number of %s is exceeded. | The maximum number of %s is exceeded. |
| 500 | InternalError | The request processing has failed due to some unknown error. | An internal error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.