summaryrefslogtreecommitdiff
path: root/data/en_us/accessanalyzer/2024-02-01/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/accessanalyzer/2024-02-01/api-docs.php')
-rw-r--r--data/en_us/accessanalyzer/2024-02-01/api-docs.php2630
1 files changed, 2630 insertions, 0 deletions
diff --git a/data/en_us/accessanalyzer/2024-02-01/api-docs.php b/data/en_us/accessanalyzer/2024-02-01/api-docs.php
new file mode 100644
index 0000000..472dc17
--- /dev/null
+++ b/data/en_us/accessanalyzer/2024-02-01/api-docs.php
@@ -0,0 +1,2630 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => ['style' => 'RPC', 'product' => 'AccessAnalyzer', 'version' => '2024-02-01'],
+ 'directories' => ['ApplyArchiveRule', 'CreateAnalyzer', 'CreateArchiveRule', 'DeleteAnalyzer', 'DeleteArchiveRule', 'GenerateFindingRecommendation', 'GetAnalyzedResource', 'GetAnalyzer', 'GetArchiveRule', 'GetFinding', 'GetFindingRecommendation', 'GetFindingsStatistics', 'ListAnalyzedResources', 'ListAnalyzers', 'ListArchiveRules', 'ListFindings', 'StartResourceScan', 'UpdateArchiveRule', 'UpdateFindings', 'ValidatePolicy'],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ApplyArchiveRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'rule1'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '29DC0726-CDA5-5D68-9723-5F3A044CB8ED'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29DC0726-CDA5-5D68-9723-5F3A044CB8ED\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ApplyArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateAnalyzer' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer', 'maxLength' => 255, 'minLength' => 1, 'pattern' => '^[0-9a-zA-Z_-]+$'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ExternalAccess',
+ 'default' => 'ExternalAccess',
+ 'enum' => ['ExternalAccess', 'OverPrivileged'],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Account',
+ 'default' => 'Account',
+ 'enum' => ['Account', 'ResourceDirectory'],
+ ],
+ ],
+ [
+ 'name' => 'Configuration',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OverPrivilegedConfiguration' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UnusedAccessAge' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '365', 'minimum' => '1', 'example' => '90'],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'AnalyzerArn' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/my-analyzer'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'D1936189-2F04-56BE-868F-C06A0417E9EB'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => '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.', 'description' => ''],
+ ['errorCode' => 'EntityAlreadyExist.%s', 'errorMessage' => 'The %s already exists.', 'description' => 'The %s already exists.'],
+ ['errorCode' => 'ExceedLimit.%s', 'errorMessage' => 'The maximum number of %s is exceeded.', 'description' => 'The maximum number of %s is exceeded.'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AnalyzerArn\\": \\"acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/my-analyzer\\",\\n \\"RequestId\\": \\"D1936189-2F04-56BE-868F-C06A0417E9EB\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'CreateArchiveRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'Filter',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [],
+ 'example' => 'FindingType',
+ ],
+ 'MatchType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Equals' => 'Equals', 'Exists' => 'Exists', 'Contains' => 'Contains', 'NotEquals' => 'NotEquals'],
+ 'example' => 'Contains',
+ ],
+ 'Values' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'key=FindingType, match=Equals, values=[\'OverPrivileged'."\n"
+ .'Role\'] '],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'rule1'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '330471C2-F8D7-5EAA-9AED-AC3D79C209AC'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EntityAlreadyExist.%s', 'errorMessage' => 'The %s already exists.', 'description' => 'The %s already exists.'],
+ ['errorCode' => 'ExceedLimit.%s', 'errorMessage' => 'The maximum number of %s is exceeded.', 'description' => 'The maximum number of %s is exceeded.'],
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"330471C2-F8D7-5EAA-9AED-AC3D79C209AC\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'DeleteAnalyzer' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testAnalyzer'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'D1936189-2F04-56BE-868F-C06A0417E9EB'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => '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.', 'description' => ''],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1936189-2F04-56BE-868F-C06A0417E9EB\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:DeleteAnalyzer',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteArchiveRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'RuleName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'rule1'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyser1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A0D8EF11-AB34-5CD6-B7B0-2F1A0DB9C123'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A0D8EF11-AB34-5CD6-B7B0-2F1A0DB9C123\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:DeleteArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GenerateFindingRecommendation' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ [
+ 'name' => 'FindingId',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'fd0c7370-3cae-4c80-a01d-6a05dfb707e4'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '6C1967B2-82F1-5C18-99AF-D887720EEA28'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C1967B2-82F1-5C18-99AF-D887720EEA28\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'GetAnalyzedResource' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceArn',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:ram::1944809621972557:role/testrole'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'E50DF194-4173-5ECF-A2C1-EB2BF7C54868'],
+ 'Resource' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Actions' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetBucket'],
+ ],
+ 'AnalyzedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-19T08:02:36Z'],
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T14:04:55Z'],
+ 'UpdatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-19T08:02:36Z'],
+ 'Error' => ['description' => '', 'type' => 'string', 'example' => 'ACCESS_DENIED'],
+ 'IsPublic' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::1944809621972557:role/testrole'],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'ACS::RAM::Role'],
+ 'ResourceOwnerAccount' => ['description' => '', 'type' => 'string', 'example' => '1944809621972557'],
+ 'SourceTypes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'BUCKET_ACL'],
+ ],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Active'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E50DF194-4173-5ECF-A2C1-EB2BF7C54868\\",\\n \\"Resource\\": {\\n \\"Actions\\": [\\n \\"oss:GetBucket\\"\\n ],\\n \\"AnalyzedTime\\": \\"2026-05-19T08:02:36Z\\",\\n \\"CreatedTime\\": \\"2026-05-18T14:04:55Z\\",\\n \\"UpdatedTime\\": \\"2026-05-19T08:02:36Z\\",\\n \\"Error\\": \\"ACCESS_DENIED\\",\\n \\"IsPublic\\": true,\\n \\"ResourceArn\\": \\"acs:ram::1944809621972557:role/testrole\\",\\n \\"ResourceType\\": \\"ACS::RAM::Role\\",\\n \\"ResourceOwnerAccount\\": \\"1944809621972557\\",\\n \\"SourceTypes\\": [\\n \\"BUCKET_ACL\\"\\n ],\\n \\"Status\\": \\"Active\\"\\n }\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetAnalyzedResource',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAnalyzer' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Analyzer' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Arn' => ['description' => '', 'type' => 'string', 'example' => 'acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/analyser1'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'analyzer1'],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'Active'],
+ 'AnalyzerError' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Message' => ['description' => '', 'type' => 'string', 'example' => 'Access denied'],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['RESOURCE_DIRECTORY_DELETED' => '', 'DELEGATED_ADMINISTRATOR_DEREGISTERED' => ''],
+ 'example' => 'DELEGATED_ADMINISTRATOR_DEREGISTERED',
+ ],
+ ],
+ ],
+ 'Type' => ['description' => '', 'type' => 'string', 'example' => 'ExternalAccess'],
+ 'Scope' => ['description' => '', 'type' => 'string', 'example' => 'Account'],
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T08:07:24Z'],
+ 'LastAnalyzedResource' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::1944809621972557:role/testrole'],
+ 'AnalyzedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T08:07:24Z'],
+ ],
+ ],
+ 'Configuration' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OverPrivilegedConfiguration' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UnusedAccessAge' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '29DC0726-CDA5-5D68-9723-5F3A044CB8ED'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'MissingParameter.%s', 'errorMessage' => 'The specified parameter %s is missing.', 'description' => 'The parameter %s is required.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Analyzer\\": {\\n \\"Arn\\": \\"acs:accessanalyzer:cn-hangzhou:123456789012:analyzer/analyser1\\",\\n \\"Name\\": \\"analyzer1\\",\\n \\"Status\\": \\"Active\\",\\n \\"AnalyzerError\\": {\\n \\"Message\\": \\"Access denied\\",\\n \\"Code\\": \\"DELEGATED_ADMINISTRATOR_DEREGISTERED\\"\\n },\\n \\"Type\\": \\"ExternalAccess\\",\\n \\"Scope\\": \\"Account\\",\\n \\"CreatedTime\\": \\"2026-05-18T08:07:24Z\\",\\n \\"LastAnalyzedResource\\": {\\n \\"ResourceArn\\": \\"acs:ram::1944809621972557:role/testrole\\",\\n \\"AnalyzedTime\\": \\"2026-05-18T08:07:24Z\\"\\n },\\n \\"Configuration\\": {\\n \\"OverPrivilegedConfiguration\\": {\\n \\"UnusedAccessAge\\": 90\\n }\\n }\\n },\\n \\"RequestId\\": \\"29DC0726-CDA5-5D68-9723-5F3A044CB8ED\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'GetArchiveRule' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'rule-example'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer-example'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'B04F3228-49E3-5777-8DC6-91B83A9485D3'],
+ 'ArchiveRule' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T07:56:59Z'],
+ 'Filter' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '', 'type' => 'string', 'example' => 'Finding Type'],
+ 'Values' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'key=FindingType, match=Equals, values=[\'OverPrivileged'."\n"
+ .'Role\'l'],
+ ],
+ 'MatchType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Equals' => 'Equals', 'Exists' => 'Exists', 'Contains' => 'Contains', 'NotEquals' => 'NotEquals'],
+ 'example' => 'Contains',
+ ],
+ ],
+ ],
+ ],
+ 'UpdatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T07:56:59Z'],
+ 'RuleName' => ['description' => '', 'type' => 'string', 'example' => 'rule-example'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B04F3228-49E3-5777-8DC6-91B83A9485D3\\",\\n \\"ArchiveRule\\": {\\n \\"CreatedTime\\": \\"2026-05-18T07:56:59Z\\",\\n \\"Filter\\": [\\n {\\n \\"Key\\": \\"Finding Type\\",\\n \\"Values\\": [\\n \\"key=FindingType, match=Equals, values=[\'OverPrivileged\\\\nRole\'l\\"\\n ],\\n \\"MatchType\\": \\"Contains\\"\\n }\\n ],\\n \\"UpdatedTime\\": \\"2026-05-18T07:56:59Z\\",\\n \\"RuleName\\": \\"rule-example\\"\\n }\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetFinding' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREramD6AKXW'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FindingId',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'da167948-446e-4df8-b8cb-159a3930f148'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer-example'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Finding' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AnalyzedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T10:35:36Z'],
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-18T10:35:36Z'],
+ 'Error' => ['description' => '', 'type' => 'string', 'example' => 'ACCESS_DENIED'],
+ 'FindingDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalAccessDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Action' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetBucket'],
+ ],
+ 'Condition' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => '"acs:SourceIp": "127.0.0.1/24"'],
+ ],
+ 'IsPublic' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'Principal' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '', 'example' => '"RAM": "*"'],
+ ],
+ 'Sources' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Detail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessPointDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessPointArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:accesspoint/my-ap'],
+ ],
+ ],
+ 'AclDetail' => ['description' => '', 'type' => 'string', 'example' => 'PUBLIC_READ'],
+ ],
+ ],
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['BUCKET_ACL' => 'BUCKET_ACL', 'POLICY' => 'POLICY', 'ACCESS_POINT' => 'ACCESS_POINT'],
+ 'example' => 'BUCKET_ACL',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InactiveRoleDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550******'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'InactiveUserDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'OverPrivilegedRoleDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'OverPrivilegedUserDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'PrivilegeEscalationRoleDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'PrivilegeEscalationUserDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'SuperRoleDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550****'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ 'SuperUserDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentityDetail' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2023-06-01T10:00:00Z'],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '28877424550******'],
+ 'LastActiveTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-20T15:30:00Z'],
+ ],
+ ],
+ 'ServiceDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionDetails' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionName' => ['description' => '', 'type' => 'string', 'example' => 'oss:GetObject'],
+ 'IsPrivilege' => ['description' => '', 'type' => 'boolean', 'example' => 'true'],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-10T09:00:00Z'],
+ ],
+ ],
+ ],
+ 'ActionSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
+ ],
+ 'LastAccessedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-01-15T12:00:00Z'],
+ 'RAMCode' => ['description' => '', 'type' => 'string', 'example' => 'ram'],
+ 'ServiceCodes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'oss'],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceSummary' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Accessed' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Granted' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FindingType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['InactiveRole' => 'InactiveRole', 'PrivilegeEscalationUser' => 'PrivilegeEscalationUser', 'InactiveUser' => 'InactiveUser', 'OverPrivilegedRole' => 'OverPrivilegedRole', 'ExternalAccess' => 'ExternalAccess', 'OverPrivilegedUser' => 'OverPrivilegedUser', 'SuperRole' => 'SuperRole', 'SuperUser' => 'SuperUser', 'PrivilegeEscalationRole' => 'PrivilegeEscalationRole'],
+ 'example' => 'PrivilegeEscalationUser',
+ ],
+ 'Id' => ['description' => 'Finding Id', 'type' => 'string', 'example' => 'da167948-446e-4df8-b8cb-159a3930f148'],
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::1234567890123:user/user-example'],
+ 'ResourceOwnerAccount' => ['description' => '', 'type' => 'string', 'example' => '1234567890123'],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'ACS::RAM::User'],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Active' => 'Active', 'Resolved' => 'Resolved', 'Archived' => 'Archived'],
+ 'example' => 'Active',
+ ],
+ 'UpdatedTime' => ['description' => '', 'type' => 'string', 'example' => '2026-05-19T02:25:51Z'],
+ ],
+ ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'DF8CE4A2-E2E8-57B5-B675-2E30416E9385'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Finding\\": {\\n \\"AnalyzedTime\\": \\"2026-05-18T10:35:36Z\\",\\n \\"CreatedTime\\": \\"2026-05-18T10:35:36Z\\",\\n \\"Error\\": \\"ACCESS_DENIED\\",\\n \\"FindingDetail\\": {\\n \\"ExternalAccessDetail\\": {\\n \\"Action\\": [\\n \\"oss:GetBucket\\"\\n ],\\n \\"Condition\\": {\\n \\"key\\": \\"\\\\\\"acs:SourceIp\\\\\\": \\\\\\"127.0.0.1/24\\\\\\"\\"\\n },\\n \\"IsPublic\\": true,\\n \\"Principal\\": {\\n \\"key\\": \\"\\\\\\"RAM\\\\\\": \\\\\\"*\\\\\\"\\"\\n },\\n \\"Sources\\": [\\n {\\n \\"Detail\\": {\\n \\"AccessPointDetail\\": {\\n \\"AccessPointArn\\": \\"acs:oss:oss-cn-hangzhou:1234567890:accesspoint/my-ap\\"\\n },\\n \\"AclDetail\\": \\"PUBLIC_READ\\"\\n },\\n \\"Type\\": \\"BUCKET_ACL\\"\\n }\\n ]\\n },\\n \\"InactiveRoleDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550******\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"InactiveUserDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"OverPrivilegedRoleDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"OverPrivilegedUserDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"PrivilegeEscalationRoleDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"PrivilegeEscalationUserDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"SuperRoleDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550****\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n },\\n \\"SuperUserDetail\\": {\\n \\"IdentityDetail\\": {\\n \\"CreatedTime\\": \\"2023-06-01T10:00:00Z\\",\\n \\"Id\\": \\"28877424550******\\",\\n \\"LastActiveTime\\": \\"2024-01-20T15:30:00Z\\"\\n },\\n \\"ServiceDetails\\": [\\n {\\n \\"ActionDetails\\": [\\n {\\n \\"ActionName\\": \\"oss:GetObject\\",\\n \\"IsPrivilege\\": true,\\n \\"LastAccessedTime\\": \\"2024-01-10T09:00:00Z\\"\\n }\\n ],\\n \\"ActionSummary\\": {\\n \\"Accessed\\": 5,\\n \\"Granted\\": 20\\n },\\n \\"LastAccessedTime\\": \\"2024-01-15T12:00:00Z\\",\\n \\"RAMCode\\": \\"ram\\",\\n \\"ServiceCodes\\": [\\n \\"oss\\"\\n ]\\n }\\n ],\\n \\"ServiceSummary\\": {\\n \\"Accessed\\": 3,\\n \\"Granted\\": 10\\n }\\n }\\n },\\n \\"FindingType\\": \\"PrivilegeEscalationUser\\",\\n \\"Id\\": \\"da167948-446e-4df8-b8cb-159a3930f148\\",\\n \\"ResourceArn\\": \\"acs:ram::1234567890123:user/user-example\\",\\n \\"ResourceOwnerAccount\\": \\"1234567890123\\",\\n \\"ResourceType\\": \\"ACS::RAM::User\\",\\n \\"Status\\": \\"Active\\",\\n \\"UpdatedTime\\": \\"2026-05-19T02:25:51Z\\"\\n },\\n \\"RequestId\\": \\"DF8CE4A2-E2E8-57B5-B675-2E30416E9385\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetFinding',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetFindingRecommendation' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'analyzer-example'],
+ ],
+ [
+ 'name' => 'FindingId',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'fffdab46-bf80-4d2e-a9c5-cbcfa091f44a'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'CompletedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-03-01T10:00:05Z16Z'],
+ 'Error' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => ['description' => '', 'type' => 'string', 'example' => 'InternalError'],
+ 'Message' => ['description' => '', 'type' => 'string', 'example' => 'The request processing has failed due to some unknown error.'],
+ ],
+ ],
+ 'RecommendationType' => ['description' => '', 'type' => 'string', 'example' => 'OverPrivilegedRecommendation'],
+ 'RecommendedSteps' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OverPrivilegedRecommendedStep' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::system:policy/AliyunOSSFullAccess'],
+ 'PolicyUpdateTime' => ['description' => '', 'type' => 'string', 'example' => '2022-01-01T00:00:00Z'],
+ 'RecommendedAction' => ['description' => '', 'type' => 'string', 'example' => 'DETACH_POLICY'],
+ 'PolicyAttachedScopes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '1234567890'],
+ ],
+ 'RecommendedPolicyArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::1234567890:policy/RecommendedPolicy'],
+ 'RecommendedPolicyAttachedScopes' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '1234567890'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:ram::1234567890:user/testuser'],
+ 'StartedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-03-01T10:00:00Z'],
+ 'Status' => ['description' => '', 'type' => 'string', 'example' => 'SUCCEEDED'],
+ 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompletedTime\\": \\"2024-03-01T10:00:05Z16Z\\",\\n \\"Error\\": {\\n \\"Code\\": \\"InternalError\\",\\n \\"Message\\": \\"The request processing has failed due to some unknown error.\\"\\n },\\n \\"RecommendationType\\": \\"OverPrivilegedRecommendation\\",\\n \\"RecommendedSteps\\": [\\n {\\n \\"OverPrivilegedRecommendedStep\\": {\\n \\"PolicyArn\\": \\"acs:ram::system:policy/AliyunOSSFullAccess\\",\\n \\"PolicyUpdateTime\\": \\"2022-01-01T00:00:00Z\\",\\n \\"RecommendedAction\\": \\"DETACH_POLICY\\",\\n \\"PolicyAttachedScopes\\": [\\n \\"1234567890\\"\\n ],\\n \\"RecommendedPolicyArn\\": \\"acs:ram::1234567890:policy/RecommendedPolicy\\",\\n \\"RecommendedPolicyAttachedScopes\\": [\\n \\"1234567890\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"ResourceArn\\": \\"acs:ram::1234567890:user/testuser\\",\\n \\"StartedTime\\": \\"2024-03-01T10:00:00Z\\",\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"NextToken\\": \\"eyJpbmRleCI6IjIifQ==\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'GetFindingsStatistics' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'FindingsStatistics' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalAccessFindingsStatistics' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceTypeStatistics' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalActiveCrossAccount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '10'],
+ 'TotalActivePublic' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '5'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'TotalActiveFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'TotalArchivedFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'TotalResolvedFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '400'],
+ ],
+ ],
+ 'OverPrivilegedFindingsStatistics' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OverPrivilegedTypeStatistics' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OverPrivilegedType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['InactiveRole' => 'InactiveRole', 'PrivilegeEscalationUser' => 'PrivilegeEscalationUser', 'InactiveUser' => 'InactiveUser', 'OverPrivilegedRole' => 'OverPrivilegedRole', 'OverPrivilegedUser' => 'OverPrivilegedUser', 'SuperRole' => 'SuperRole', 'SuperUser' => 'SuperUser', 'PrivilegeEscalationRole' => 'PrivilegeEscalationRole'],
+ 'example' => 'SuperUser',
+ ],
+ 'ActiveFindingsCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ ],
+ ],
+ ],
+ 'TopAccounts' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => ['description' => '', 'type' => 'string', 'example' => '123456789012345'],
+ 'ActiveFindingsCount' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'Details' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int64', 'example' => '"SuperUser": 10,'."\n"
+ .'"SuperRole": 3', 'description' => ''],
+ ],
+ ],
+ ],
+ ],
+ 'TotalActiveFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'TotalArchivedFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'TotalResolvedFindings' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '400'],
+ ],
+ ],
+ ],
+ ],
+ 'LastUpdatedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-03-01T10:00:00Z'],
+ 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FindingsStatistics\\": {\\n \\"ExternalAccessFindingsStatistics\\": {\\n \\"ResourceTypeStatistics\\": {\\n \\"key\\": {\\n \\"TotalActiveCrossAccount\\": 10,\\n \\"TotalActivePublic\\": 5\\n }\\n },\\n \\"TotalActiveFindings\\": 100,\\n \\"TotalArchivedFindings\\": 50,\\n \\"TotalResolvedFindings\\": 400\\n },\\n \\"OverPrivilegedFindingsStatistics\\": {\\n \\"OverPrivilegedTypeStatistics\\": [\\n {\\n \\"OverPrivilegedType\\": \\"SuperUser\\",\\n \\"ActiveFindingsCount\\": 10\\n }\\n ],\\n \\"TopAccounts\\": [\\n {\\n \\"AccountId\\": \\"123456789012345\\",\\n \\"ActiveFindingsCount\\": 30,\\n \\"Details\\": {\\n \\"key\\": 0\\n }\\n }\\n ],\\n \\"TotalActiveFindings\\": 100,\\n \\"TotalArchivedFindings\\": 50,\\n \\"TotalResolvedFindings\\": 400\\n }\\n },\\n \\"LastUpdatedTime\\": \\"2024-03-01T10:00:00Z\\",\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ ],
+ 'ListAnalyzedResources' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ACS::OSS::Bucket'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ 'AnalyzedResources' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:my-bucket'],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ResourceOwnerAccount' => ['description' => '', 'type' => 'string', 'example' => '1234567890'],
+ ],
+ ],
+ ],
+ 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'NotSupport.ResourceType', 'errorMessage' => 'The specified ResourceType is not supported.', 'description' => 'The specified ResourceType is not supported.'],
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"AnalyzedResources\\": [\\n {\\n \\"ResourceArn\\": \\"acs:oss:oss-cn-hangzhou:1234567890:my-bucket\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceOwnerAccount\\": \\"1234567890\\"\\n }\\n ],\\n \\"NextToken\\": \\"eyJpbmRleCI6IjIifQ==\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListAnalyzedResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAnalyzers' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '0', 'example' => '10', 'default' => '50'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ExternalAccess',
+ 'enum' => ['ExternalAccess', 'OverPrivileged'],
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Account',
+ 'enum' => ['Account', 'ResourceDirectory'],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ 'NextToken' => ['title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ 'Analyzers' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'AnalyzerItemType',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Arn' => ['description' => '', 'type' => 'string', 'example' => 'acs:accessanalyzer:cn-hangzhou:1234567890:Analyzer/MyAnalyzer'],
+ 'Name' => ['description' => '', 'type' => 'string', 'example' => 'MyAnalyzer'],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Creating' => 'Creating', 'Active' => 'Active', 'Failed' => 'Failed'],
+ 'example' => 'Active',
+ ],
+ 'AnalyzerError' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Message' => ['description' => '', 'type' => 'string', 'example' => 'The resource directory is not enabled.'],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['RESOURCE_DIRECTORY_DELETED' => 'RESOURCE_DIRECTORY_DELETED', 'DELEGATED_ADMINISTRATOR_DEREGISTERED' => 'DELEGATED_ADMINISTRATOR_DEREGISTERED'],
+ 'example' => 'RESOURCE_DIRECTORY_DELETED',
+ ],
+ ],
+ ],
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['ExternalAccess' => 'ExternalAccess', 'OverPrivileged' => 'OverPrivileged'],
+ 'example' => 'ExternalAccess',
+ ],
+ 'Scope' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Account' => 'Account', 'ResourceDirectory' => 'ResourceDirectory'],
+ 'example' => 'ResourceDirectory',
+ ],
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-02-01T08:00:00Z'],
+ 'LastAnalyzedResource' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:my-bucket'],
+ 'AnalyzedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-03-01T10:00:00Z'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'MissingParameter.%s', 'errorMessage' => 'The specified parameter %s is missing.', 'description' => 'The parameter %s is required.'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"NextToken\\": 0,\\n \\"Analyzers\\": [\\n {\\n \\"Arn\\": \\"acs:accessanalyzer:cn-hangzhou:1234567890:Analyzer/MyAnalyzer\\",\\n \\"Name\\": \\"MyAnalyzer\\",\\n \\"Status\\": \\"Active\\",\\n \\"AnalyzerError\\": {\\n \\"Message\\": \\"The resource directory is not enabled.\\",\\n \\"Code\\": \\"RESOURCE_DIRECTORY_DELETED\\"\\n },\\n \\"Type\\": \\"ExternalAccess\\",\\n \\"Scope\\": \\"ResourceDirectory\\",\\n \\"CreatedTime\\": \\"2024-02-01T08:00:00Z\\",\\n \\"LastAnalyzedResource\\": {\\n \\"ResourceArn\\": \\"acs:oss:oss-cn-hangzhou:1234567890:my-bucket\\",\\n \\"AnalyzedTime\\": \\"2024-03-01T10:00:00Z\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListAnalyzers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListArchiveRules' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'ArchiveRules' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'ArchiveRuleItemType',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreatedTime' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '2024-02-01T08:00:00Z'],
+ 'UpdatedTime' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => '2024-03-01T10:00:00Z'],
+ 'RuleName' => ['title' => '', 'description' => '', 'type' => 'string', 'example' => 'ArchivePublicAccess'],
+ 'Filter' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '', 'type' => 'string', 'example' => 'ResourceType'],
+ 'Values' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ ],
+ 'MatchType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Equals' => 'Equals', 'Exists' => 'Exists', 'Contains' => 'Contains', 'NotEquals' => 'NotEquals'],
+ 'example' => 'Equals',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ArchiveRules\\": [\\n {\\n \\"CreatedTime\\": \\"2024-02-01T08:00:00Z\\",\\n \\"UpdatedTime\\": \\"2024-03-01T10:00:00Z\\",\\n \\"RuleName\\": \\"ArchivePublicAccess\\",\\n \\"Filter\\": [\\n {\\n \\"Key\\": \\"ResourceType\\",\\n \\"Values\\": [\\n \\"ACS::OSS::Bucket\\"\\n ],\\n \\"MatchType\\": \\"Equals\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"NextToken\\": \\"eyJpbmRleCI6IjIifQ==\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListArchiveRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListFindings' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ResourceType'],
+ 'Values' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ACS::OSS::Bucket'],
+ 'required' => false,
+ ],
+ 'MatchType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Equals' => 'Equals', 'Exists' => 'Exists', 'Contains' => 'Contains', 'NotEquals' => 'NotEquals'],
+ 'example' => 'Equals',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ 'Findings' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AnalyzedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-02-15T08:30:00Z'],
+ 'CreatedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-02-10T06:00:00Z'],
+ 'UpdatedTime' => ['description' => '', 'type' => 'string', 'example' => '2024-02-15T08:30:00Z'],
+ 'Error' => ['description' => '', 'type' => 'string', 'example' => 'ACCESS_DENIED'],
+ 'FindingType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['InactiveRole' => 'InactiveRole', 'PrivilegeEscalationUser' => 'PrivilegeEscalationUser', 'InactiveUser' => 'InactiveUser', 'OverPrivilegedRole' => 'OverPrivilegedRole', 'ExternalAccess' => 'ExternalAccess', 'OverPrivilegedUser' => 'OverPrivilegedUser', 'SuperRole' => 'SuperRole', 'SuperUser' => 'SuperUser', 'PrivilegeEscalationRole' => 'PrivilegeEscalationRole'],
+ 'example' => 'ExternalAccess',
+ ],
+ 'Id' => ['description' => '', 'type' => 'string', 'example' => '53218979-82fe-476d-bba5-09879ef24b66'],
+ 'ResourceArn' => ['description' => '', 'type' => 'string', 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:my-bucket'],
+ 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'ACS::RAM::Role'],
+ 'ResourceOwnerAccount' => ['description' => '', 'type' => 'string', 'example' => '1234567890'],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Active' => '', 'Resolved' => '', 'Archived' => ''],
+ 'example' => 'Active',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'MissingParameter.%s', 'errorMessage' => 'The specified parameter %s is missing.', 'description' => 'The parameter %s is required.'],
+ ['errorCode' => 'NotSupport.ResourceType', 'errorMessage' => 'The specified ResourceType is not supported.', 'description' => 'The specified ResourceType is not supported.'],
+ ['errorCode' => 'ExceedLimit.%s', 'errorMessage' => 'The maximum number of %s is exceeded.', 'description' => 'The maximum number of %s is exceeded.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\",\\n \\"NextToken\\": \\"eyJpbmRleCI6IjIifQ==\\",\\n \\"Findings\\": [\\n {\\n \\"AnalyzedTime\\": \\"2024-02-15T08:30:00Z\\",\\n \\"CreatedTime\\": \\"2024-02-10T06:00:00Z\\",\\n \\"UpdatedTime\\": \\"2024-02-15T08:30:00Z\\",\\n \\"Error\\": \\"ACCESS_DENIED\\",\\n \\"FindingType\\": \\"ExternalAccess\\",\\n \\"Id\\": \\"53218979-82fe-476d-bba5-09879ef24b66\\",\\n \\"ResourceArn\\": \\"acs:oss:oss-cn-hangzhou:1234567890:my-bucket\\",\\n \\"ResourceType\\": \\"ACS::RAM::Role\\",\\n \\"ResourceOwnerAccount\\": \\"1234567890\\",\\n \\"Status\\": \\"Active\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListFindings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StartResourceScan' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceArn',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:my-bucket'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'query',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'ServiceQuotaExceeded', 'errorMessage' => 'The API invocation limit has been exceeded.', 'description' => 'The API invocation limit has been exceeded.'],
+ ['errorCode' => 'NotSupport.ResourceType', 'errorMessage' => 'The specified ResourceType is not supported.', 'description' => 'The specified ResourceType is not supported.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:StartResourceScan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateArchiveRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'Filter',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ResourceType'],
+ 'MatchType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Equals' => 'Equals', 'Exists' => 'Exists', 'Contains' => 'Contains', 'NotEquals' => 'NotEquals'],
+ 'example' => 'Equals',
+ ],
+ 'Values' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ACS::OSS::Bucket'],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ArchivePublicAccess'],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:UpdateArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateFindings' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
+ 'parameters' => [
+ [
+ 'name' => 'FindingIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => "\n"
+ .'53218979-82fe-476d-bba5-09879ef24b66'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AnalyzerName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'MyAnalyzer'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Archived',
+ 'enum' => ['Archived', 'Active'],
+ ],
+ ],
+ [
+ 'name' => 'ResourceArn',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:oss-cn-hangzhou:1234567890:my-bucket'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'NotSupportedOperation.UpdateFindingToResolved', 'errorMessage' => 'The operation is not supported.', 'description' => 'You cannot update finding\'s status to Resolved'],
+ ['errorCode' => 'NotSupportedOperation.UpdateResolvedFinding', 'errorMessage' => 'The operation is not supported.', 'description' => 'The operation is not supported because the status is resolved.'."\n"],
+ ['errorCode' => 'ValidationException', 'errorMessage' => '%s.', 'description' => 'Parameter check error'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:UpdateFindings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ValidatePolicy' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyDocument',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{'."\n"
+ .' "Version": "1",'."\n"
+ .' "Statement": [{'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Action": "ecs:*",'."\n"
+ .' "Resources": "*" '."\n"
+ .' }]'."\n"
+ .'}', 'maxLength' => 61440, 'minLength' => 1],
+ ],
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'IdentityBasedPolicy',
+ 'enum' => ['IdentityBasedPolicy', 'ResourceBasedPolicy'],
+ ],
+ ],
+ [
+ 'name' => 'ValidatePolicyResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['ACS::RAM::Role' => 'ACS::RAM::Role', 'ACS::OSS::Bucket' => 'ACS::OSS::Bucket'],
+ 'example' => 'ACS::OSS::Bucket',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '5'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'Findings' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FindingType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Suggestion' => 'Suggestion', 'Warning' => 'Warning', 'Error' => 'Error', 'SecurityWarning' => 'SecurityWarning'],
+ 'example' => 'Error',
+ ],
+ 'IssueCode' => ['description' => '', 'type' => 'string', 'example' => 'INVALID_EFFECT'],
+ 'Paths' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => ['description' => '', 'type' => 'string', 'example' => '$.Statement[0].Effect'],
+ ],
+ ],
+ ],
+ ],
+ 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'eyJpbmRleCI6IjIifQ=='],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'A1B2C3D4-E5F6-7890-ABCD-EF1234567890'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidParameter.%s', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => 'The specified parameter %s is not valid.'],
+ ['errorCode' => 'NotSupportedOperation.UpdateFindingToResolved', 'errorMessage' => 'The operation is not supported.', 'description' => 'You cannot update finding\'s status to Resolved'],
+ ['errorCode' => 'NotSupportedOperation.UpdateResolvedFinding', 'errorMessage' => 'The operation is not supported.', 'description' => 'The operation is not supported because the status is resolved.'."\n"],
+ ['errorCode' => 'ValidationException', 'errorMessage' => '%s.', 'description' => 'Parameter check error'],
+ ['errorCode' => 'MissingParameter.%s', 'errorMessage' => 'The specified parameter %s is missing.', 'description' => 'The parameter %s is required.'],
+ ],
+ 404 => [
+ ['errorCode' => 'EntityNotExist.%s', 'errorMessage' => 'The %s does not exist.', 'description' => '%s does not exist'],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'An internal error occurred.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Findings\\": [\\n {\\n \\"FindingType\\": \\"Error\\",\\n \\"IssueCode\\": \\"INVALID_EFFECT\\",\\n \\"Paths\\": [\\n \\"$.Statement[0].Effect\\"\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"eyJpbmRleCI6IjIifQ==\\",\\n \\"RequestId\\": \\"A1B2C3D4-E5F6-7890-ABCD-EF1234567890\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'ramActions' => [],
+ ],
+ ],
+ 'endpoints' => [],
+ 'errorCodes' => [
+ ['code' => 'EntityAlreadyExist.%s', 'message' => 'The %s already exists.', 'http_code' => 400, 'description' => 'The %s already exists.'],
+ ['code' => 'EntityNotExist.%s', 'message' => 'The %s does not exist.', 'http_code' => 404, 'description' => '%s does not exist'],
+ ['code' => 'ExceedLimit.%s', 'message' => 'The maximum number of %s is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of %s is exceeded.'],
+ ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => 'An internal error occurred.'."\n"],
+ ['code' => 'InvalidParameter.%s', 'message' => 'The specified parameter %s is not valid.', 'http_code' => 400, 'description' => 'The specified parameter %s is not valid.'],
+ ['code' => 'MissingParameter.%s', 'message' => 'The specified parameter %s is missing.', 'http_code' => 400, 'description' => 'The parameter %s is required.'],
+ ['code' => 'NotSupport.ResourceType', 'message' => 'The specified ResourceType is not supported.', 'http_code' => 400, 'description' => 'The specified ResourceType is not supported.'],
+ ['code' => 'NotSupportedOperation.UpdateFindingToResolved', 'message' => 'The operation is not supported.', 'http_code' => 400, 'description' => 'You cannot update finding\'s status to Resolved'],
+ ['code' => 'NotSupportedOperation.UpdateResolvedFinding', 'message' => 'The operation is not supported.', 'http_code' => 400, 'description' => 'The operation is not supported because the status is resolved.'."\n"],
+ ['code' => 'ServiceQuotaExceeded', 'message' => 'The API invocation limit has been exceeded.', 'http_code' => 400, 'description' => 'The API invocation limit has been exceeded.'],
+ ['code' => 'ValidationException', 'message' => '%s.', 'http_code' => 400, 'description' => 'Parameter check error'],
+ ],
+ 'changeSet' => [],
+ 'ram' => [
+ 'productCode' => 'AccessAnalyzer',
+ 'productName' => 'Resource Access Management',
+ 'ramCodes' => ['accessanalyzer'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramActions' => [
+ [
+ 'apiName' => 'DeleteAnalyzer',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:DeleteAnalyzer',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetArchiveRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAnalyzedResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetAnalyzedResource',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAnalyzer',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:CreateAnalyzer',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateArchiveRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:UpdateArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ApplyArchiveRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ApplyArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAnalyzedResources',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListAnalyzedResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFinding',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetFinding',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFindingsStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetFindingsStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateFindingRecommendation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GenerateFindingRecommendation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateFindings',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:UpdateFindings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteArchiveRule',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:DeleteArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAnalyzers',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListAnalyzers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListArchiveRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListArchiveRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetFindingRecommendation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetFindingRecommendation',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateArchiveRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:CreateArchiveRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFindings',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:ListFindings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAnalyzer',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:GetAnalyzer',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartResourceScan',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'accessanalyzer:StartResourceScan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AccessAnalyzer', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}'],
+ ['validationType' => 'always', 'resourceType' => 'ArchiveRule', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:Analyzer/{#AnalyzerName}/ArchiveRule/{#RuleName}'],
+ ['validationType' => 'always', 'resourceType' => 'Analyzer', 'arn' => 'acs:accessanalyzer:{#regionId}:{#accountId}:*'],
+ ],
+ ],
+];