summaryrefslogtreecommitdiff
path: root/data/en_us/ram/2015-05-01
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/ram/2015-05-01')
-rw-r--r--data/en_us/ram/2015-05-01/api-docs.php7110
1 files changed, 7110 insertions, 0 deletions
diff --git a/data/en_us/ram/2015-05-01/api-docs.php b/data/en_us/ram/2015-05-01/api-docs.php
new file mode 100644
index 0000000..b6e01d6
--- /dev/null
+++ b/data/en_us/ram/2015-05-01/api-docs.php
@@ -0,0 +1,7110 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Ram',
+ 'version' => '2015-05-01',
+ ],
+ 'directories' => [
+ [
+ 'id' => 67227,
+ 'title' => 'User management',
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 186630,
+ 'title' => 'RAM User',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateUser',
+ 'GetUser',
+ 'UpdateUser',
+ 'DeleteUser',
+ 'ListUsers',
+ ],
+ ],
+ [
+ 'id' => 186631,
+ 'title' => 'Login Profile',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateLoginProfile',
+ 'GetLoginProfile',
+ 'UpdateLoginProfile',
+ 'DeleteLoginProfile',
+ 'ChangePassword',
+ ],
+ ],
+ [
+ 'id' => 186632,
+ 'title' => 'AccessKey',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateAccessKey',
+ 'UpdateAccessKey',
+ 'DeleteAccessKey',
+ 'ListAccessKeys',
+ 'GetAccessKeyLastUsed',
+ ],
+ ],
+ [
+ 'id' => 186633,
+ 'title' => 'MFA',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateVirtualMFADevice',
+ 'GetUserMFAInfo',
+ 'DeleteVirtualMFADevice',
+ 'ListVirtualMFADevices',
+ 'BindMFADevice',
+ 'UnbindMFADevice',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 67248,
+ 'title' => 'User group management',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateGroup',
+ 'GetGroup',
+ 'UpdateGroup',
+ 'DeleteGroup',
+ 'ListGroups',
+ 'ListGroupsForUser',
+ 'ListUsersForGroup',
+ 'AddUserToGroup',
+ 'RemoveUserFromGroup',
+ ],
+ ],
+ [
+ 'id' => 67221,
+ 'title' => 'Role management',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRole',
+ 'DeleteRole',
+ 'UpdateRole',
+ 'GetRole',
+ 'ListRoles',
+ ],
+ ],
+ [
+ 'id' => 67201,
+ 'title' => 'Permission management',
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 186634,
+ 'title' => 'Permission Policy Management',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreatePolicy',
+ 'GetPolicy',
+ 'UpdatePolicyDescription',
+ 'DeletePolicy',
+ 'ListPolicies',
+ 'CreatePolicyVersion',
+ 'GetPolicyVersion',
+ 'DeletePolicyVersion',
+ 'ListPolicyVersions',
+ 'SetDefaultPolicyVersion',
+ ],
+ ],
+ [
+ 'id' => 186635,
+ 'title' => 'Authorization Management',
+ 'type' => 'directory',
+ 'children' => [
+ 'AttachPolicyToUser',
+ 'DetachPolicyFromUser',
+ 'AttachPolicyToGroup',
+ 'DetachPolicyFromGroup',
+ 'AttachPolicyToRole',
+ 'DetachPolicyFromRole',
+ 'ListPoliciesForUser',
+ 'ListPoliciesForGroup',
+ 'ListPoliciesForRole',
+ 'ListEntitiesForPolicy',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 67192,
+ 'title' => 'Security management',
+ 'type' => 'directory',
+ 'children' => [
+ 'SetAccountAlias',
+ 'GetAccountAlias',
+ 'ClearAccountAlias',
+ 'SetPasswordPolicy',
+ 'GetPasswordPolicy',
+ 'SetSecurityPreference',
+ 'GetSecurityPreference',
+ ],
+ ],
+ [
+ 'id' => 183186,
+ 'title' => 'Permission analysis and diagnostics',
+ 'type' => 'directory',
+ 'children' => [
+ 'DecodeDiagnosticMessage',
+ ],
+ ],
+ [
+ 'id' => 206934,
+ 'title' => 'Tag management',
+ 'type' => 'directory',
+ 'children' => [
+ 'TagResources',
+ 'UntagResources',
+ 'ListTagResources',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'alice',
+ ],
+ ],
+ [
+ 'name' => 'DisplayName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The display name of the RAM user.'."\n"
+ ."\n"
+ .'The name must be 1 to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ [
+ 'name' => 'MobilePhone',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'Format: \\<Country code>-\\<Mobile phone number>.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '86-1868888****',
+ ],
+ ],
+ [
+ 'name' => 'Email',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[email protected]',
+ ],
+ ],
+ [
+ 'name' => 'Comments',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the RAM user.'."\n"
+ ."\n"
+ .'The description must be 1 to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'This is a cloud computing engineer.',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The information about the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'alice',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'MobilePhone' => [
+ 'description' => 'The mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => '86-1868888****',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ 'Comments' => [
+ 'description' => 'The description of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'This is a cloud computing engineer.',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The point in time when the RAM user was created. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'alice',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"DisplayName\\": \\"alice\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"MobilePhone\\": \\"86-1868888****\\",\\n \\"UserId\\": \\"122748924538****\\",\\n \\"Comments\\": \\"This is a cloud computing engineer.\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"alice\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUserResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <User>\\n <UserId>122748924538****</UserId>\\n <UserName>alice</UserName>\\n <DisplayName>alice</DisplayName>\\n <MobilePhone>86-1868888****</MobilePhone>\\n <Email>[email protected]</Email>\\n <Comments>This is a cloud computing engineer.</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </User>\\n</CreateUserResponse>","errorExample":""}]',
+ 'title' => 'CreateUser',
+ 'summary' => 'Creates a Resource Access Management (RAM) user.',
+ 'description' => 'This topic provides an example on how to create a RAM user named `alice`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ ],
+ 'GetUser' => [
+ 'summary' => 'Queries information about a Resource Access Management (RAM) user.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The username of the RAM user.'."\n"
+ ."\n"
+ .'The username must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'alice',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The information about the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'alice',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter can be returned only on the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The point in time when the information about the RAM user was last modified. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-11T03:15:21Z',
+ ],
+ 'MobilePhone' => [
+ 'description' => 'The mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter can be returned only on the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => '86-1860000****',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '222748924538****',
+ ],
+ 'Comments' => [
+ 'description' => 'The description of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cloud computing engineer',
+ ],
+ 'LastLoginDate' => [
+ 'description' => 'The point in time when the RAM user last logged on to the Alibaba Cloud Management Console by using the password. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The point in time when the RAM user was created. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The username of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'alice',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '2D69A58F-345C-4FDE-88E4-BF5189484043',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"DisplayName\\": \\"alice\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"UpdateDate\\": \\"2015-02-11T03:15:21Z\\",\\n \\"MobilePhone\\": \\"86-1860000****\\",\\n \\"UserId\\": \\"222748924538****\\",\\n \\"Comments\\": \\"这是一位云计算工程师\\",\\n \\"LastLoginDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"alice\\"\\n },\\n \\"RequestId\\": \\"2D69A58F-345C-4FDE-88E4-BF5189484043\\"\\n}","errorExample":""},{"type":"xml","example":"<GetUserResponse>\\n <RequestId>2D69A58F-345C-4FDE-88E4-BF5189484043</RequestId>\\n <User>\\n <UserId>222748924538****</UserId>\\n <UserName>alice</UserName>\\n <DisplayName>alice</DisplayName>\\n <MobilePhone>86-1860000****</MobilePhone>\\n <Email>[email protected]</Email>\\n <Comments>This is a cloud computing engineer.</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-02-11T03:15:21Z</UpdateDate>\\n <LastLoginDate>2015-01-23T12:33:18Z</LastLoginDate>\\n </User>\\n</GetUserResponse>","errorExample":""}]',
+ 'title' => 'GetUser',
+ 'description' => 'This topic provides an example on how to query information about the RAM user `alice`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The username of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'NewUserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new username of the RAM user.'."\n"
+ ."\n"
+ .'The username must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'xiaoq****',
+ ],
+ ],
+ [
+ 'name' => 'NewDisplayName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new display name of the RAM user.'."\n"
+ ."\n"
+ .'The name must be 1 to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xiaoq****',
+ ],
+ ],
+ [
+ 'name' => 'NewMobilePhone',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'Format: \\<Country code>-\\<Mobile phone number>.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '86-1860000****',
+ ],
+ ],
+ [
+ 'name' => 'NewEmail',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter applies only to the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xiaoq****@example.com',
+ ],
+ ],
+ [
+ 'name' => 'NewComments',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new description of the RAM user.'."\n"
+ ."\n"
+ .'The description must be 1 to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'This is a cloud computing engineer.',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The information about the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'xiaoq****',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter can be returned only on the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => 'xiaoq****@example.com',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The point in time when the information about the RAM user was last modified. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-11T03:15:21Z',
+ ],
+ 'MobilePhone' => [
+ 'description' => 'The mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter can be returned only on the China site (aliyun.com).'."\n",
+ 'type' => 'string',
+ 'example' => '86-1860000****',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ 'Comments' => [
+ 'description' => 'The description of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'This is a cloud computing engineer.',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The point in time when the RAM user was created. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The username of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'xiaoq****',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"User\\": {\\n \\"DisplayName\\": \\"xiaoq****\\",\\n \\"Email\\": \\"xiaoq****@example.com\\",\\n \\"UpdateDate\\": \\"2015-02-11T03:15:21Z\\",\\n \\"MobilePhone\\": \\"86-1860000****\\",\\n \\"UserId\\": \\"122748924538****\\",\\n \\"Comments\\": \\"This is a cloud computing engineer.\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"xiaoq****\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateUserResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <User>\\n <UserId>122748924538****</UserId>\\n <UserName>xiaoq****</UserName>\\n <DisplayName>xiaoq*****</DisplayName>\\n <MobilePhone>86-1860000****</MobilePhone>\\n <Email>xiaoq****@example.com</Email>\\n <Comments>This is a cloud computing engineer.</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-02-11T03:15:21Z</UpdateDate>\\n </User>\\n</UpdateUserResponse>","errorExample":""}]',
+ 'title' => 'UpdateUser',
+ 'summary' => 'Modifies information about a Resource Access Management (RAM) user.',
+ 'description' => 'This topic provides an example on how to change the name of a RAM user from `zhangq****` to `xiaoq****`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1C488B66-B819-4D14-8711-C4EAAA13AC01',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1C488B66-B819-4D14-8711-C4EAAA13AC01\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"1C488B66-B819-4D14-8711-C4EAAA13AC01\\"\\n}"},{"type":"xml","example":"<RequestId>1C488B66-B819-4D14-8711-C4EAAA13AC01</RequestId>","errorExample":"<DeleteUserResponse>\\n <RequestId>1C488B66-B819-4D14-8711-C4EAAA13AC01</RequestId>\\n</DeleteUserResponse>"}]',
+ 'title' => 'DeleteUser',
+ 'summary' => 'Deletes a Resource Access Management (RAM) user.',
+ 'description' => 'Before you delete a RAM user, make sure that no policies are attached to the RAM user and that the RAM user does not belong to any groups.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListUsers' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Marker',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ [
+ 'name' => 'MaxItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. If a response is truncated because it reaches the value of MaxItems, the value of `IsTruncatedg` will be `true`.'."\n"
+ ."\n"
+ .'Valid values: 1 to 1000. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4B450CA1-36E8-4AA2-8461-86B42BF4CC4E',
+ ],
+ 'IsTruncated' => [
+ 'description' => 'Indicates whether the response is truncated.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Marker' => [
+ 'description' => 'The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set `Marker` to obtain the truncated part.``'."\n",
+ 'type' => 'string',
+ 'example' => 'EXAMPLE',
+ ],
+ 'Users' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The RAM users.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of RAM users.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'Zhangq****',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter is unavailable.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****@example.com',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The point in time when the information about the RAM user was last modified. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'MobilePhone' => [
+ 'description' => 'The mobile phone number of the RAM user.'."\n"
+ ."\n"
+ .'> This parameter is unavailable.'."\n",
+ 'type' => 'string',
+ 'example' => '86-1860000****',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ 'Comments' => [
+ 'description' => 'The description.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cloud computing engineer',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the RAM user was created. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The logon name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\",\\n \\"Users\\": {\\n \\"User\\": [\\n {\\n \\"DisplayName\\": \\"张*\\",\\n \\"Email\\": \\"zhangq****@example.com\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"MobilePhone\\": \\"86-1860000****\\",\\n \\"UserId\\": \\"20732900249392****\\",\\n \\"Comments\\": \\"这是一位云计算工程师\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"zhangq****\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\" : \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\",\\n \\"Users\\" : {\\n \\"User\\" : [\\n {\\n \\"UserId\\" : \\"1227489245380721\\",\\n \\"UserName\\" : \\"zhangqiang\\",\\n \\"DisplayName\\": \\"张强\\",\\n \\"MobilePhone\\": \\"86-18600008888\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"Comments\\": \\"这是一位云计算工程师\\",\\n \\"CreateDate\\" : \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"UserId\\" : \\"1406498224724456\\",\\n \\"UserName\\" : \\"lili\\",\\n \\"DisplayName\\": \\"李丽\\",\\n \\"MobilePhone\\": \\"86-18600009999\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"Comments\\": \\"权限管理员\\",\\n \\"CreateDate\\" : \\"2015-02-18T17:22:08Z\\",\\n \\"UpdateDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ListUsersResponse>\\r\\n\\t<RequestId>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</RequestId>\\r\\n\\t<IsTruncated>true</IsTruncated>\\r\\n\\t<Marker>EXAMPLE</Marker>\\r\\n\\t<Users>\\r\\n\\t\\t<User>\\r\\n\\t\\t\\t<UserId>122748924538****</UserId>\\r\\n\\t\\t\\t<UserName>zhangq****</UserName>\\r\\n\\t\\t\\t<DisplayName>张*</DisplayName>\\r\\n\\t\\t\\t<Comments>这是一位云计算工程师</Comments>\\r\\n\\t\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\r\\n\\t\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\r\\n\\t\\t</User>\\r\\n\\t\\t<User>\\r\\n\\t\\t\\t<UserId>140649822472****</UserId>\\r\\n\\t\\t\\t<UserName>li****</UserName>\\r\\n\\t\\t\\t<DisplayName>李*</DisplayName>\\r\\n\\t\\t\\t<Comments>权限管理员</Comments>\\r\\n\\t\\t\\t<CreateDate>2015-02-18T17:22:08Z</CreateDate>\\r\\n\\t\\t\\t<UpdateDate>2015-02-18T17:22:08Z</UpdateDate>\\r\\n\\t\\t</User>\\r\\n\\t</Users>\\r\\n</ListUsersResponse>\\t\\r\\n","errorExample":"<ListUsersResponse>\\n <RequestId>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</RequestId>\\n <Users>\\n <User>\\n <UserId>1227489245380721</UserId>\\n <UserName>zhangqiang</UserName>\\n <DisplayName>张强</DisplayName>\\n <MobilePhone>86-18600008888</MobilePhone>\\n <Email>[email protected]</Email>\\n <Comments>这是一位云计算工程师</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </User>\\n <User>\\n <UserId>1406498224724456</UserId>\\n <UserName>lili</UserName>\\n <DisplayName>李丽</DisplayName>\\n <MobilePhone>86-18600009999</MobilePhone>\\n <Email>[email protected]</Email>\\n <Comments>权限管理员</Comments>\\n <CreateDate>2015-02-18T17:22:08Z</CreateDate>\\n <UpdateDate>2015-02-18T17:22:08Z</UpdateDate>\\n </User>\\n </Users>\\n <IsTruncated>true</IsTruncated>\\n <Marker>EXAMPLE</Marker>\\n</ListUsersResponse>"}]',
+ 'title' => 'ListUsers',
+ 'summary' => 'Queries the information about all RAM users.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateLoginProfile' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The logon password of the RAM user. The password must meet the password strength requirements. For more information, see [GetPasswordPolicy](~~2337691~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'mypassword',
+ ],
+ ],
+ [
+ 'name' => 'PasswordResetRequired',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the RAM user has to change the password upon logon. Default value: `false`.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MFABindRequired',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the RAM user must bind a multi-factor authentication (MFA) device upon the next logon. Default value: `false`.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'LoginProfile' => [
+ 'description' => 'The logon configurations of the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PasswordResetRequired' => [
+ 'description' => 'Indicates whether the RAM user must change the password upon logon.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ 'MFABindRequired' => [
+ 'description' => 'Indicates whether an MFA device must be bound to the RAM user.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"LoginProfile\\": {\\n \\"PasswordResetRequired\\": false,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"zhangq****\\",\\n \\"MFABindRequired\\": false\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"LoginProfile\\": {\\n \\"UserName\\": \\"zhangqiang\\",\\n \\"PasswordResetRequired\\": true,\\n \\"MFABindRequired\\": true,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<LoginProfile>\\n <UserName>zhangq****</UserName>\\n <PasswordResetRequired>true</PasswordResetRequired>\\n <MFABindRequired>true</MFABindRequired>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n</LoginProfile>","errorExample":"<CreateLoginProfile>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <LoginProfile>\\n <UserName>zhangqiang</UserName>\\n <PasswordResetRequired>true</PasswordResetRequired>\\n <MFABindRequired>true</MFABindRequired>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </LoginProfile>\\n</CreateLoginProfile>"}]',
+ 'title' => 'CreateLoginProfile',
+ 'summary' => 'Enables console logon for a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetLoginProfile' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'LoginProfile' => [
+ 'description' => 'The logon configurations of the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PasswordResetRequired' => [
+ 'description' => 'Indicates whether the RAM user must change the password upon logon.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ 'MFABindRequired' => [
+ 'description' => 'Indicates whether a multi-factor authentication (MFA) device must be bound to the RAM user.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"LoginProfile\\": {\\n \\"PasswordResetRequired\\": true,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"zhangq****\\",\\n \\"MFABindRequired\\": true\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"LoginProfile\\": {\\n \\"UserName\\": \\"zhangqiang\\",\\n \\"PasswordResetRequired\\": true,\\n \\"MFABindRequired\\": true,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<LoginProfile>\\n <UserName>zhangq****</UserName>\\n <PasswordResetRequired>true</PasswordResetRequired>\\n <MFABindRequired>true</MFABindRequired>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n</LoginProfile>","errorExample":"<GetLoginProfile>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <LoginProfile>\\n <UserName>zhangqiang</UserName>\\n <PasswordResetRequired>true</PasswordResetRequired>\\n <MFABindRequired>true</MFABindRequired>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </LoginProfile>\\n</GetLoginProfile>"}]',
+ 'title' => 'GetLoginProfile',
+ 'summary' => 'Queries the logon configurations of a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateLoginProfile' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The logon password of the RAM user. The password must meet the password strength requirements.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mypassword',
+ ],
+ ],
+ [
+ 'name' => 'PasswordResetRequired',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the RAM user has to change the password upon logon.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'MFABindRequired',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a multi-factor authentication (MFA) device must be bound to the RAM user upon logon.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<UpdateLoginProfile>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateLoginProfile>"}]',
+ 'title' => 'UpdateLoginProfile',
+ 'summary' => 'Modifies the logon configurations of a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteLoginProfile' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1C488B66-B819-4D14-8711-C4EAAA13AC01',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1C488B66-B819-4D14-8711-C4EAAA13AC01\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"1C488B66-B819-4D14-8711-C4EAAA13AC01\\"\\n}"},{"type":"xml","example":"<RequestId>1C488B66-B819-4D14-8711-C4EAAA13AC01</RequestId>","errorExample":"<DeleteLoginProfileResponse>\\n <RequestId>1C488B66-B819-4D14-8711-C4EAAA13AC01</RequestId>\\n</DeleteLoginProfileResponse>"}]',
+ 'title' => 'DeleteLoginProfile',
+ 'summary' => 'Disables console logon for a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ChangePassword' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '7517',
+ 'abilityTreeNodes' => [
+ 'FEATUREram8R8C7X',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OldPassword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The old password that is used to log on to the console.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '12****',
+ ],
+ ],
+ [
+ 'name' => 'NewPassword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new password that is used to log on to the console.'."\n"
+ ."\n"
+ .'The password must meet the complexity requirements. For more information, see [SetPasswordPolicy](~~28739~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'aw$2****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<ChangePassword>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</ChangePassword>","errorExample":"<ChangePassword>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</ChangePassword>"}]',
+ 'title' => 'ChangePassword',
+ 'summary' => 'Changes the password that is used to log on to the console for a Resource Access Management (RAM) user.',
+ 'description' => '> This operation is available only for RAM users. Before you call this operation, make sure that `AllowUserToChangePassword` in [SetSecurityPreference](~~43765~~) is set to `True`. The value True indicates that RAM users can manage their passwords.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateAccessKey' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user. If a RAM user calls this operation and does not specify this parameter, an AccessKey pair is created for the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'AccessKey' => [
+ 'description' => 'The information about the AccessKey pair.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The status of the AccessKey pair. Valid values: Active and Inactive.'."\n",
+ 'type' => 'string',
+ 'example' => 'Active',
+ ],
+ 'AccessKeySecret' => [
+ 'description' => 'The AccessKey secret.'."\n",
+ 'type' => 'string',
+ 'example' => 'PupkTg8jdmau1cXxYacgE736PJ****',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the AccessKey pair was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'AccessKeyId' => [
+ 'description' => 'The AccessKey ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0wNEpMMlzy7s****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"AccessKey\\": {\\n \\"Status\\": \\"Active\\",\\n \\"AccessKeySecret\\": \\"PupkTg8jdmau1cXxYacgE736PJ****\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"AccessKeyId\\": \\"0wNEpMMlzy7s****\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"AccessKey\\": {\\n \\"AccessKeyId\\": \\"0wNEpMMlzy7szvai\\",\\n \\"AccessKeySecret\\": \\"PupkTg8jdmau1cXxYacgE736PJj4cA\\",\\n \\"Status\\": \\"Active\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<AccessKey>\\n <AccessKeyId>0wNEpMMlzy7s****</AccessKeyId>\\n <AccessKeySecret>PupkTg8jdmau1cXxYacgE736PJ****</AccessKeySecret>\\n <Status>Active</Status>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n</AccessKey>","errorExample":"<CreateAccessKeyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <AccessKey>\\n <AccessKeyId>0wNEpMMlzy7szvai</AccessKeyId>\\n <AccessKeySecret>PupkTg8jdmau1cXxYacgE736PJj4cA</AccessKeySecret>\\n <Status>Active</Status>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </AccessKey>\\n</CreateAccessKeyResponse>"}]',
+ 'title' => 'CreateAccessKey',
+ 'summary' => 'Creates an AccessKey pair for a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateAccessKey' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'UserAccessKeyId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The AccessKey ID in the AccessKey pair whose status you want to change.``'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '0wNEpMMlzy7s****',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the AccessKey pair. Valid values: `Active` and `Inactive`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Inactive',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<UpdateAccessKeyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateAccessKeyResponse>"}]',
+ 'title' => 'UpdateAccessKey',
+ 'summary' => 'Changes the status of an AccessKey pair that belongs to a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteAccessKey' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'UserAccessKeyId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The AccessKey ID in the AccessKey pair that you want to delete.``'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '0wNEpMMlzy7s****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<DeleteAccessKeyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteAccessKeyResponse>"}]',
+ 'title' => 'DeleteAccessKey',
+ 'summary' => 'Deletes an AccessKey pair of a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListAccessKeys' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user. If a RAM user calls this operation and does not specify this parameter, the AccessKey pairs of the RAM user are returned.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeys' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AccessKey' => [
+ 'description' => 'The AccessKey pairs that belong to the RAM user.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The AccessKey pair that belongs to the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The status of the AccessKey pair. Valid values: Active and Inactive.'."\n",
+ 'type' => 'string',
+ 'example' => 'Active',
+ ],
+ 'AccessKeyId' => [
+ 'description' => 'The AccessKey ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0wNEpMMlzy7s****',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the AccessKey pair was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4B450CA1-36E8-4AA2-8461-86B42BF4CC4E',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessKeys\\": {\\n \\"AccessKey\\": [\\n {\\n \\"Status\\": \\"Active\\",\\n \\"AccessKeyId\\": \\"0wNEpMMlzy7s****\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\"\\n}","errorExample":"{\\n \\"RequestId\\" : \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\",\\n \\"AccessKeys\\":{\\n \\"AccessKey\\":[\\n {\\n \\"AccessKeyId\\": \\"0wNEpMMlzy7szvai\\",\\n \\"Status\\": \\"Active\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"AccessKeyId\\": \\"WnIWUruvfaDT37vQ\\",\\n \\"Status\\": \\"Inactive\\",\\n \\"CreateDate\\": \\"2015-03-24T21:12:21Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<RequestId>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</RequestId>\\n<AccessKeys>\\n <AccessKey>\\n <AccessKeyId>0wNEpMMlzy7s****</AccessKeyId>\\n <Status>Active</Status>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </AccessKey>\\n <AccessKey>\\n <AccessKeyId>WnIWUruvfaDT****</AccessKeyId>\\n <Status>Inactive</Status>\\n <CreateDate>2015-03-24T21:12:21Z</CreateDate>\\n </AccessKey>\\n</AccessKeys>","errorExample":"<ListAccessKeysResponse>\\n <RequestId>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</RequestId>\\n <AccessKeys>\\n <AccessKey>\\n <AccessKeyId>0wNEpMMlzy7szvai</AccessKeyId>\\n <Status>Active</Status>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </AccessKey>\\n <AccessKey>\\n <AccessKeyId>WnIWUruvfaDT37vQ</AccessKeyId>\\n <Status>Inactive</Status>\\n <CreateDate>2015-03-24T21:12:21Z</CreateDate>\\n </AccessKey>\\n </AccessKeys>\\n</ListAccessKeysResponse>"}]',
+ 'title' => 'ListAccessKeys',
+ 'summary' => 'Queries all AccessKey pairs that belong to a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetAccessKeyLastUsed' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'UserAccessKeyId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LTAI4GFTgcR8m8cZQDTH****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeyLastUsed' => [
+ 'description' => 'The details of the time when the AccessKey pair was used for the last time.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'LastUsedDate' => [
+ 'description' => 'The time when the AccessKey pair was used for the last time.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-10-21T06:37:40Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5CCE804C-6450-49A7-B1DB-2460F7A97416',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessKeyLastUsed\\": {\\n \\"LastUsedDate\\": \\"2020-10-21T06:37:40Z\\"\\n },\\n \\"RequestId\\": \\"5CCE804C-6450-49A7-B1DB-2460F7A97416\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<GetAccessKeyLastUsedResponse>\\r\\n\\t<AccessKeyLastUsed>\\r\\n\\t\\t<LastUsedDate>2020-10-21T06:37:40Z</LastUsedDate>\\r\\n\\t</AccessKeyLastUsed>\\r\\n\\t<RequestId>5CCE804C-6450-49A7-B1DB-2460F7A97416</RequestId>\\r\\n</GetAccessKeyLastUsedResponse>\\r\\n","errorExample":""}]',
+ 'title' => 'GetAccessKeyLastUsed',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateVirtualMFADevice' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'VirtualMFADeviceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the MFA device.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'device001',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VirtualMFADevice' => [
+ 'description' => 'The information about the MFA device.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SerialNumber' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:mfa/device001',
+ ],
+ 'QRCodePNG' => [
+ 'description' => 'The Base64-encoded QR code, in the PNG format.'."\n",
+ 'type' => 'string',
+ 'example' => 'YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****',
+ ],
+ 'Base32StringSeed' => [
+ 'description' => 'The key of the MFA device.'."\n",
+ 'type' => 'string',
+ 'example' => 'DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGS****',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"VirtualMFADevice\\": {\\n \\"SerialNumber\\": \\"acs:ram::123456789012****:mfa/device001\\",\\n \\"QRCodePNG\\": \\"YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****\\",\\n \\"Base32StringSeed\\": \\"DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGS****\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"VirtualMFADevice\\": {\\n \\"SerialNumber\\": \\"acs:ram::1234567890123:mfa/device001\\",\\n \\"Base32StringSeed\\": \\"DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGSD7A8\\",\\n \\"QRCodePNG\\": \\"YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEzdCAg\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<CreateVirtualMFADeviceResponse>\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n\\t<VirtualMFADevice>\\n\\t\\t<SerialNumber>acs:ram::123456789012****:mfa/device001</SerialNumber>\\n\\t\\t<Base32StringSeed>DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGS****</Base32StringSeed>\\n\\t\\t<QRCodePNG>YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****</QRCodePNG>\\n\\t</VirtualMFADevice>\\n</CreateVirtualMFADeviceResponse>","errorExample":"<CreateVirtualMFADeviceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <VirtualMFADevice>\\n <SerialNumber>acs:ram::1234567890123:mfa/device001</VirtualMFASerialNumber>\\n <Base32StringSeed>DSF98HAD982KJA9SDFNAS9D8FU839B8ADHBGSD7A8</Base32StringSeed>\\n <QRCodePNG>YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEzdCAg</QRCodePNG>\\n </VirtualMFADevice>\\n</CreateVirtualMFADeviceResponse>"}]',
+ 'title' => 'CreateVirtualMFADevice',
+ 'summary' => 'Creates a multi-factor authentication (MFA) device.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetUserMFAInfo' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MFADevice' => [
+ 'description' => 'The information about the MFA device that is bound to the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SerialNumber' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::177242285274****:mfa/test',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the MFA device. Valid values:'."\n"
+ ."\n"
+ .'* VMFA: virtual MFA device.'."\n"
+ .'* U2F: Universal 2nd Factor (U2F) security key.'."\n",
+ 'type' => 'string',
+ 'example' => 'VMFA',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MFADevice\\": {\\n \\"SerialNumber\\": \\"acs:ram::177242285274****:mfa/test\\",\\n \\"Type\\": \\"VMFA\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"MFADevice\\": {\\n \\"SerialNumber\\":\\"Virtual-MFA-device002\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<GetUserMFAInfoResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n\\t<MFADevice>\\r\\n\\t\\t<SerialNumber>acs:ram::177242285274****:mfa/test</SerialNumber>\\r\\n\\t\\t<Type>VMFA</Type>\\r\\n\\t</MFADevice>\\r\\n</GetUserMFAInfoResponse>\\t\\r\\n","errorExample":"<GetUserMFAInfoResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <MFADevice>\\n <SerialNumber>Virtual-MFA-device002</SerialNumber>\\n </MFADevice>\\n</GetUserMFAInfoResponse>"}]',
+ 'title' => 'GetUserMFAInfo',
+ 'summary' => 'Queries the multi-factor authentication (MFA) device that is bound to a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteVirtualMFADevice' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SerialNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'acs:ram::123456789012****:mfa/device002',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<DeleteVirtualMFADeviceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteVirtualMFADeviceResponse>"}]',
+ 'title' => 'DeleteVirtualMFADevice',
+ 'summary' => 'Deletes a multi-factor authentication (MFA) device.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListVirtualMFADevices' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VirtualMFADevices' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'VirtualMFADevice' => [
+ 'description' => 'The information about the MFA devices.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the MFA device.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SerialNumber' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:mfa/device002',
+ ],
+ 'User' => [
+ 'description' => 'The basic information about the Resource Access Management (RAM) user to which the MFA device is bound.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ 'UserId' => [
+ 'description' => 'The unique ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'ActivateDate' => [
+ 'description' => 'The time when the MFA device was enabled.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-18T17:22:08Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"VirtualMFADevices\\": {\\n \\"VirtualMFADevice\\": [\\n {\\n \\"SerialNumber\\": \\"acs:ram::123456789012****:mfa/device002\\",\\n \\"User\\": {\\n \\"DisplayName\\": \\"张*\\",\\n \\"UserId\\": \\"122748924538****\\",\\n \\"UserName\\": \\"zhangq****\\"\\n },\\n \\"ActivateDate\\": \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"VirtualMFADevices\\": {\\n \\"VirtualMFADevice\\": [\\n {\\n \\"SerialNumber\\": \\"acs:ram::1234567890123:mfa/device001\\"\\n },\\n {\\n \\"SerialNumber\\": \\"acs:ram::1234567890123:mfa/device002\\",\\n \\"ActivateDate\\": \\"2015-02-18T17:22:08Z\\",\\n \\"User\\": {\\n \\"UserId\\": \\"1227489245380721\\",\\n \\"UserName\\": \\"zhangqiang\\",\\n \\"DisplayName\\": \\"张强\\"\\n }\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<VirtualMFADevices>\\n <VirtualMFADevice>\\n <SerialNumber>acs:ram::123456789012****:mfa/device001</SerialNumber>\\n </VirtualMFADevice>\\n <VirtualMFADevice>\\n <SerialNumber>acs:ram::123456789012****:mfa/device002</SerialNumber>\\n <ActivateDate>2015-02-18T17:22:08Z</ActivateDate>\\n <User>\\n <UserId>122748924538****</UserId>\\n <UserName>zhangq****</UserName>\\n <DisplayName>张*</DisplayName>\\n </User>\\n </VirtualMFADevice>\\n</VirtualMFADevices>","errorExample":"<ListVirtualMFADevicesResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <VirtualMFADevices>\\n <VirtualMFADevice>\\n <SerialNumber>acs:ram::1234567890123:mfa/device001</SerialNumber>\\n </VirtualMFADevice>\\n <VirtualMFADevice>\\n <SerialNumber>acs:ram::1234567890123:mfa/device002</MFASerialNumber>\\n <ActivateDate>2015-02-18T17:22:08Z<Activate>\\n <User>\\n <UserId>1227489245380721</UserId>\\n <UserName>zhangqiang</UserName>\\n <DisplayName>张强</DisplayName>\\n </User>\\n </VirtualMFADevice>\\n <VirtualMFADevicess>\\n</ListVirtualMFADevicesResponse>"}]',
+ 'title' => 'ListVirtualMFADevices',
+ 'summary' => 'Queries multi-factor authentication (MFA) devices.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'BindMFADevice' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'SerialNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'acs:ram::123456789012****:mfa/device002',
+ ],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'AuthenticationCode1',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The first authentication code.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '11****',
+ ],
+ ],
+ [
+ 'name' => 'AuthenticationCode2',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The second authentication code.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '33****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<BindMFADeviceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</BindMFADeviceResponse>"}]',
+ 'title' => 'BindMFADevice',
+ 'summary' => 'Binds a multi-factor authentication (MFA) device to a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UnbindMFADevice' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies the username.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MFADevice' => [
+ 'description' => 'The information about the MFA device.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SerialNumber' => [
+ 'description' => 'The serial number of the MFA device.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:mfa/device002',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MFADevice\\": {\\n \\"SerialNumber\\": \\"acs:ram::123456789012****:mfa/device002\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"MFADevice\\": {\\n \\"SerialNumber\\":\\"acs:ram::1234567890123:mfa/device002\\"\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<MFADevice>\\n <SerialNumber>acs:ram::123456789012****:mfa/device002</SerialNumber>\\n</MFADevice>","errorExample":"<UnbindMFADeviceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <MFADevice>\\n <SerialNumber>acs:ram::1234567890123:mfa/device002</SerialNumber>\\n </MFADevice>\\n</UnbindMFADeviceResponse>"}]',
+ 'title' => 'UnbindMFADevice',
+ 'summary' => 'Unbinds a multi-factor authentication (MFA) device from a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the user group.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ [
+ 'name' => 'Comments',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description.'."\n"
+ ."\n"
+ .'The value can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'g-FpMEHiMysofp****',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D3F0679E-9757-95DB-AF2D-04D5188C69C5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupId\\": \\"g-FpMEHiMysofp****\\",\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n \\"RequestId\\": \\"D3F0679E-9757-95DB-AF2D-04D5188C69C5\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"D3F0679E-9757-95DB-AF2D-04D5188C69C5\\",\\n \\"Group\\": {\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<CreateGroupResponse>\\n\\t<RequestId>D3F0679E-9757-95DB-AF2D-04D5188C69C5</RequestId>\\n\\t<Group>\\n\\t\\t<GroupName>Dev-Team</GroupName>\\n\\t\\t<Comments>开发团队</Comments>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <GroupId>g-FpMEHiMysofp****</GroupId>\\n\\t</Group>\\n</CreateGroupResponse>","errorExample":"<CreateGroupResponse>\\n <RequestId>D3F0679E-9757-95DB-AF2D-04D5188C69C5</RequestId>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </Group>\\n</CreateGroupResponse>"}]',
+ 'title' => 'CreateGroup',
+ 'summary' => 'Creates a RAM user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the RAM user group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'g-FpMEHiMysofp****',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The modification time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-11T03:15:21Z',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the RAM user group was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D4065824-E422-3ED6-68B1-1AF7D5C7804C',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupId\\": \\"g-FpMEHiMysofp****\\",\\n \\"UpdateDate\\": \\"2015-02-11T03:15:21Z\\",\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n \\"RequestId\\": \\"D4065824-E422-3ED6-68B1-1AF7D5C7804C\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"D4065824-E422-3ED6-68B1-1AF7D5C7804C\\",\\n \\"Group\\": {\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-02-11T03:15:21Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<GetGroupResponse>\\n\\t<RequestId>D4065824-E422-3ED6-68B1-1AF7D5C7804C</RequestId>\\n\\t<Group>\\n\\t\\t<GroupName>Dev-Team</GroupName>\\n\\t\\t<Comments>开发团队</Comments>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t<UpdateDate>2015-02-11T03:15:21Z</UpdateDate>\\n <GroupId>g-FpMEHiMysofp****</GroupId>\\n\\t</Group>\\n</GetGroupResponse>\\t\\n","errorExample":"<GetGroupResponse>\\n <RequestId>D4065824-E422-3ED6-68B1-1AF7D5C7804C</RequestId>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-02-11T03:15:21Z</UpdateDate>\\n </Group>\\n</GetGroupResponse>"}]',
+ 'title' => 'GetGroup',
+ 'summary' => 'Queries information about a Resource Access Management (RAM) user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ [
+ 'name' => 'NewGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new name of the RAM user group.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (\\_).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'NewDev-Team',
+ ],
+ ],
+ [
+ 'name' => 'NewComments',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new description of the RAM user group.'."\n"
+ ."\n"
+ .'The new description must be 1 to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'NewDev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the RAM user group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'g-FpMEHiMysofp****',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The modification time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'NewDev-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description.'."\n",
+ 'type' => 'string',
+ 'example' => 'NewDev-Team',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'EC6647CC-0A36-EC7A-BA72-CC81BF3DE182',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Group\\": {\\n \\"GroupId\\": \\"g-FpMEHiMysofp****\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"GroupName\\": \\"NewDev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n \\"RequestId\\": \\"EC6647CC-0A36-EC7A-BA72-CC81BF3DE182\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"EC6647CC-0A36-EC7A-BA72-CC81BF3DE182\\",\\n \\"Group\\": {\\n \\"GroupName\\": \\"NewDev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\" : \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\" : \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<UpdateGroupResponse>\\n\\t<RequestId>EC6647CC-0A36-EC7A-BA72-CC81BF3DE182</RequestId>\\n\\t<Group>\\n\\t\\t<GroupName>NewDev-Team</GroupName>\\n\\t\\t<Comments>开发团队</Comments>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n <GroupId>g-FpMEHiMysofp****</GroupId>\\n\\t</Group>\\n</UpdateGroupResponse>\\t\\n","errorExample":"<UpdateGroupResponse>\\n <RequestId>EC6647CC-0A36-EC7A-BA72-CC81BF3DE182</RequestId>\\n <Group>\\n <GroupName>NewDev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Group>\\n</UpdateGroupResponse>"}]',
+ 'title' => 'UpdateGroup',
+ 'summary' => 'Modifies a Resource Access Management (RAM) user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n"
+ ."\n"
+ .'If you want to query the name of a RAM user group, you can call the [ListGroups](~~28703~~) operation.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'FCF40AB5-881C-A0F9-334C-B0AD423AA69D',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FCF40AB5-881C-A0F9-334C-B0AD423AA69D\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"FCF40AB5-881C-A0F9-334C-B0AD423AA69D\\"\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteGroupResponse>\\r\\n\\t<RequestId>FCF40AB5-881C-A0F9-334C-B0AD423AA69D</RequestId>\\r\\n</DeleteGroupResponse>","errorExample":"<DeleteGroupResponse>\\n <RequestId>FCF40AB5-881C-A0F9-334C-B0AD423AA69D</RequestId>\\n</DeleteGroupResponse>"}]',
+ 'title' => 'DeleteGroup',
+ 'summary' => 'Deletes a Resource Access Management (RAM) user group.',
+ 'description' => 'Before you delete a RAM user group, make sure that no policies are attached to the group and no RAM users are included in the group.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListGroups' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Marker',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.``'."\n"
+ ."\n"
+ .'When you call the operation for the first time, if the total number of returned entries exceeds the value of `MaxItems`, the entries are truncated. The system returns entries based on the value of `MaxItems` and does not return the excess entries. In this case, the value of the response parameter `IsTruncated` is `true`, and `Marker` is returned. In the next call, you can use the value of `Marker` and maintain the settings of the other request parameters to query the excess entries. You can repeat the call until the value of `IsTruncated` becomes `false`. This way, all entries are returned.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ [
+ 'name' => 'MaxItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '065527AA-2F2E-AD7C-7484-F2626CFE4934',
+ ],
+ 'Groups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the RAM user groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM user group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'g-FpMEHiMysofp****',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The update time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'IsTruncated' => [
+ 'description' => 'Indicates whether the response is truncated. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Marker' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'> This parameter is returned only when `IsTruncated` is `true`.'."\n",
+ 'type' => 'string',
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"065527AA-2F2E-AD7C-7484-F2626CFE4934\\",\\n \\"Groups\\": {\\n \\"Group\\": [\\n {\\n \\"GroupId\\": \\"g-FpMEHiMysofp****\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n ]\\n },\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"065527AA-2F2E-AD7C-7484-F2626CFE4934\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\",\\n \\"Groups\\": {\\n \\"Group\\": [\\n {\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"CreateDate\\" : \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"GroupName\\": \\"QA-Team\\",\\n \\"Comments\\": \\"测试团队\\",\\n \\"CreateDate\\" : \\"2015-02-18T17:22:08Z\\",\\n \\"UpdateDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ListGroupsResponse>\\r\\n\\t<RequestId>065527AA-2F2E-AD7C-7484-F2626CFE4934</RequestId>\\r\\n\\t<IsTruncated>true</IsTruncated>\\r\\n\\t<Marker>EXAMPLE</Marker>\\r\\n\\t<Groups>\\r\\n\\t\\t<Group>\\r\\n\\t\\t\\t<GroupName>Dev-Team</GroupName>\\r\\n\\t\\t\\t<Comments>开发团队</Comments>\\r\\n\\t\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\r\\n\\t\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\r\\n\\t\\t\\t<GroupId>g-FpMEHiMysofp****</GroupId>\\r\\n\\t\\t</Group>\\r\\n\\t\\t<Group>\\r\\n\\t\\t\\t<GroupName>QA-Team</GroupName>\\r\\n\\t\\t\\t<Comments>测试团队</Comments>\\r\\n\\t\\t\\t<CreateDate>2015-02-18T17:22:08Z</CreateDate>\\r\\n\\t\\t\\t<UpdateDate>2015-02-18T17:22:08Z</UpdateDate>\\r\\n\\t\\t\\t<GroupId>g-zYtroLrgbZR1****</GroupId>\\r\\n\\t\\t</Group>\\r\\n\\t</Groups>\\r\\n</ListGroupsResponse>\\r\\n\\t\\r\\n","errorExample":"<ListGroupsResponse>\\n <RequestId>065527AA-2F2E-AD7C-7484-F2626CFE4934</RequestId>\\n <IsTruncated>true</IsTruncated>\\n <Marker>EXAMPLE</Marker>\\n <Groups>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Group>\\n <Group>\\n <GroupName>QA-Team</GroupName>\\n <Comments>测试团队</Comments>\\n <CreateDate>2015-02-18T17:22:08Z</CreateDate>\\n <UpdateDate>2015-02-18T17:22:08Z</UpdateDate>\\n </Group>\\n </Groups>\\n</ListGroupsResponse>"}]',
+ 'title' => 'ListGroups',
+ 'summary' => 'Queries Resource Access Management (RAM) user groups.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListGroupsForUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Alice',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'DA772B52-BF9F-54CA-AC77-AA7A2DA89D46',
+ ],
+ 'Groups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the RAM user groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM user group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'g-zYtroLrgbZR1****',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description.'."\n",
+ 'type' => 'string',
+ 'example' => 'Dev-Team',
+ ],
+ 'JoinDate' => [
+ 'description' => 'The time when the RAM user was added to the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA772B52-BF9F-54CA-AC77-AA7A2DA89D46\\",\\n \\"Groups\\": {\\n \\"Group\\": [\\n {\\n \\"GroupId\\": \\"g-zYtroLrgbZR1****\\",\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"JoinDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListGroupsForUserResponse>\\n <RequestId>DA772B52-BF9F-54CA-AC77-AA7A2DA89D46</RequestId>\\n <Groups>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <JoinDate>2015-01-23T12:33:18Z</JoinDate>\\n <GroupId>g-zYtroLrgbZR1****</GroupId>\\n </Group>\\n </Groups>\\n</ListGroupsForUserResponse>","errorExample":""}]',
+ 'title' => 'ListGroupsForUser',
+ 'summary' => 'Queries the Resource Access Management (RAM) user groups to which a RAM user belongs.',
+ 'description' => '### [](#)'."\n"
+ ."\n"
+ .'This topic provides an example on how to query the RAM user groups to which the RAM user `Alice` belongs. The response shows that `Alice` belongs to the RAM user group named `Dev-Team`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListUsersForGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ [
+ 'name' => 'Marker',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ [
+ 'name' => 'MaxItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.'."\n"
+ ."\n"
+ .'Valid values: 1 to 1000. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4B450CA1-36E8-4AA2-8461-86B42BF4CC4E',
+ ],
+ 'IsTruncated' => [
+ 'description' => 'Indicates whether the response is truncated.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Marker' => [
+ 'description' => 'The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set this parameter to obtain the truncated part.````'."\n",
+ 'type' => 'string',
+ 'example' => 'EXAMPLE',
+ ],
+ 'Users' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The information about the RAM users.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'Alice',
+ ],
+ 'JoinDate' => [
+ 'description' => 'The time when the RAM user joined the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangqiang',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\",\\n \\"Users\\": {\\n \\"User\\": [\\n {\\n \\"DisplayName\\": \\"Alice\\",\\n \\"JoinDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UserName\\": \\"Alice\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\" : \\"4B450CA1-36E8-4AA2-8461-86B42BF4CC4E\\",\\n \\"Users\\" : {\\n \\"User\\" : [\\n {\\n \\"UserId\\" : \\"1227489245380721\\",\\n \\"UserName\\" : \\"zhangqiang\\",\\n \\"DisplayName\\" : \\"张强\\",\\n \\"JoinDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"UserId\\" : \\"1406498224724456\\",\\n \\"UserName\\" : \\"lili\\",\\n \\"DisplayName\\" : \\"李丽\\",\\n \\"JoinDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<RequestId>4B450CA1-36E8-4AA2-8461-86B42BF4CC4E</RequestId>\\n<Users>\\n <User>\\n <UserName>zhangqiang</UserName>\\n <DisplayName>张强</DisplayName>\\n <JoinDate>2015-01-23T12:33:18Z</JoinDate>\\n </User>\\n <User>\\n <UserName>lili</UserName>\\n <DisplayName>李丽</DisplayName>\\n <JoinDate>2015-02-18T17:22:08Z</JoinDate>\\n </User>\\n</Users>","errorExample":"<ListUsersForGroupResponse>\\n <RequestId>5756784B-79C4-E82E-24C2-FC3E171E5AB3</RequestId>\\n <Users>\\n <User>\\n <UserId>1227489245380721</UserId>\\n <UserName>zhangqiang</UserName>\\n <DisplayName>张强</DisplayName>\\n <JoinDate>2015-01-23T12:33:18Z</JoinDate>\\n </User>\\n <User>\\n <UserId>1406498224724456</UserId>\\n <UserName>lili</UserName>\\n <DisplayName>李丽</DisplayName>\\n <JoinDate>2015-02-18T17:22:08Z</JoinDate>\\n </User>\\n </Users>\\n</ListUsersForGroupResponse>"}]',
+ 'title' => 'ListUsersForGroup',
+ 'summary' => 'Queries Resource Access Management (RAM) users in a RAM user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AddUserToGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1B968853-B423-63A6-FE1F-45E81BC2AD61',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B968853-B423-63A6-FE1F-45E81BC2AD61\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"1B968853-B423-63A6-FE1F-45E81BC2AD61\\"\\n}"},{"type":"xml","example":"<RequestId>1B968853-B423-63A6-FE1F-45E81BC2AD61</RequestId>","errorExample":"<AddUserToGroupResponse>\\n <RequestId>1B968853-B423-63A6-FE1F-45E81BC2AD61</RequestId>\\n</AddUserToGroupResponse>"}]',
+ 'title' => 'AddUserToGroup',
+ 'summary' => 'Adds a Resource Access Management (RAM) user to a RAM user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RemoveUserFromGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Dev-Team',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'A07EF215-B9B3-8CB2-2899-3F9575C6E320',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A07EF215-B9B3-8CB2-2899-3F9575C6E320\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"A07EF215-B9B3-8CB2-2899-3F9575C6E320\\"\\n}"},{"type":"xml","example":"<RemoveUserFromGroupResponse>\\n <RequestId>A07EF215-B9B3-8CB2-2899-3F9575C6E320</RequestId>\\n</RemoveUserFromGroupResponse>","errorExample":"<RemoveUserFromGroupResponse>\\n <RequestId>A07EF215-B9B3-8CB2-2899-3F9575C6E320</RequestId>\\n</RemoveUserFromGroupResponse>"}]',
+ 'title' => 'RemoveUserFromGroup',
+ 'summary' => 'Removes a Resource Access Management (RAM) user from a RAM user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'ECSAdmin',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the RAM role.'."\n"
+ ."\n"
+ .'The description must be 1 to 1,024 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ECS administrator',
+ ],
+ ],
+ [
+ 'name' => 'AssumeRolePolicyDocument',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The trust policy that specifies one or more trusted entities to assume the RAM role. The trusted entities can be Alibaba Cloud accounts, Alibaba Cloud services, or identity providers (IdPs).'."\n"
+ ."\n"
+ .'> RAM users cannot assume the RAM roles of trusted Alibaba Cloud services.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"RAM":"acs:ram::123456789012****:root"}}],"Version":"1"}',
+ ],
+ ],
+ [
+ 'name' => 'MaxSessionDuration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum session time of the RAM role.'."\n"
+ ."\n"
+ .'Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the default value is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '3600',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'The information about the RAM role.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AssumeRolePolicyDocument' => [
+ 'description' => 'The trust policy that specifies the trusted entity to assume the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS administrator',
+ ],
+ 'MaxSessionDuration' => [
+ 'description' => 'The maximum session time of the RAM role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3600',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECSAdmin',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the RAM role was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '901234567890****',
+ ],
+ 'Arn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:role/ECSAdmin',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Role\\": {\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012****:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"MaxSessionDuration\\": 3600,\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"RoleId\\": \\"901234567890****\\",\\n \\"Arn\\": \\"acs:ram::123456789012****:role/ECSAdmin\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Role\\": {\\n \\"RoleId\\": \\"901234567890123\\",\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/ECSAdmin\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012345678:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<CreateRoleResponse>\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n\\t<Role>\\n\\t\\t<RoleId>901234567890****</RoleId>\\n\\t\\t<RoleName>ECSAdmin</RoleName>\\n\\t\\t<Arn>acs:ram::123456789012****:role/ECSAdmin</Arn>\\n\\t\\t<Description>ECS管理角色</Description>\\n\\t\\t<MaxSessionDuration>3600</MaxSessionDuration>\\n\\t\\t<AssumeRolePolicyDocument>{ &quot;Statement&quot;: [ { &quot;Action&quot;: &quot;sts:AssumeRole&quot;, &quot;Effect&quot;: &quot;Allow&quot;, &quot;Principal&quot;: { &quot;RAM&quot;: &quot;acs:ram::123456789012****:root&quot; } } ], &quot;Version&quot;: &quot;1&quot; }</AssumeRolePolicyDocument>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t</Role>\\n</CreateRoleResponse>","errorExample":"<CreateRoleResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Role>\\n <RoleId>901234567890123</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::1234567890123456:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <AssumeRolePolicyDocument>{ \\"Statement\\": [ { \\"Action\\": \\"sts:AssumeRole\\", \\"Effect\\": \\"Allow\\", \\"Principal\\": { \\"RAM\\": \\"acs:ram::123456789012345678:root\\" } } ], \\"Version\\": \\"1\\" }</AssumeRolePolicyDocument>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </Role>\\n</CreateRoleResponse>"}]',
+ 'title' => 'CreateRole',
+ 'summary' => 'Creates a Resource Access Management (RAM) role.',
+ 'description' => '### [](#)Operation description'."\n"
+ ."\n"
+ .'For more information about RAM roles, see [Overview of RAM roles](~~93689~~).'."\n",
+ 'requestParamsDescription' => 'The following content provides sample values for the **AssumeRolePolicyDocument** parameter.'."\n"
+ ."\n"
+ .'* The following policy allows the RAM role to be assumed by all RAM users of the Alibaba Cloud account whose ID is `123456789012****`.'."\n"
+ ."\n"
+ .'<!---->'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "Statement": [{'."\n"
+ .' "Action": "sts:AssumeRole",'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Principal": {'."\n"
+ .' "RAM": ['."\n"
+ .' "acs:ram::123456789012****:root"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "Version": "1"'."\n"
+ .' }'."\n"
+ ."\n"
+ .'* The following policy allows the RAM role to be assumed by the RAM user named `testuser` of the trusted Alibaba Cloud account whose ID is `123456789012****`.'."\n"
+ ."\n"
+ .'> Before you create the role, make sure that you have created a RAM user named `testuser` whose logon name is `testuser@123456789012****.onaliyun.com`.'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "Statement": [{'."\n"
+ .' "Action": "sts:AssumeRole",'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Principal": {'."\n"
+ .' "RAM": ['."\n"
+ .' "acs:ram::123456789012****:user/testuser"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "Version": "1"'."\n"
+ .' }'."\n"
+ ."\n"
+ .'* The following policy allows the RAM role to be assumed by the Elastic Compute Service (ECS) service of the current trusted Alibaba Cloud account.'."\n"
+ ."\n"
+ .'<!---->'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "Statement": [{'."\n"
+ .' "Action": "sts:AssumeRole",'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Principal": {'."\n"
+ .' "Service": ['."\n"
+ .' "ecs.aliyuncs.com"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "Version": "1"'."\n"
+ .' }'."\n"
+ ."\n"
+ .'* The following policy allows the RAM role to be assumed by the Security Assertion Markup Language (SAML) IdP named `testprovider` of the current trusted Alibaba Cloud account whose ID is `123456789012****`.'."\n"
+ ."\n"
+ .'> Before you create the role, make sure that you have created a SAML IdP named `testprovider`.'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "Statement": [{'."\n"
+ .' "Action": "sts:AssumeRole",'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Principal": {'."\n"
+ .' "Federated": ['."\n"
+ .' "acs:ram::123456789012****:saml-provider/testprovider"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "Condition": {'."\n"
+ .' "StringEquals": {'."\n"
+ .' "saml:recipient": "https://signin.aliyun.com/saml-role/sso"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "Version": "1"'."\n"
+ .' }'."\n"
+ ."\n"
+ .'* The following policy allows the RAM role to be assumed by the OpenID Connect (OIDC) IdP named `TestOIDCProvider` of the current trusted Alibaba Cloud account whose ID is `123456789012****`.'."\n"
+ ."\n"
+ .'> Before you create the role, make sure that you have created an OIDC IdP named `TestOIDCProvider`.'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "Statement": [{'."\n"
+ .' "Action": "sts:AssumeRole",'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Principal": {'."\n"
+ .' "Federated": ['."\n"
+ .' "acs:ram::123456789012****:oidc-provider/TestOIDCProvider"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "Condition": {'."\n"
+ .' "StringEquals": {'."\n"
+ .' "oidc:aud": ['."\n"
+ .' "496271242565057****"'."\n"
+ .' ],'."\n"
+ .' "oidc:iss": "https://dev-xxxxxx.okta.com",'."\n"
+ .' "oidc:sub": "KryrkIdjylZb7agUgCEf****"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "Version": "1"'."\n"
+ .' }'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'ECSAdmin',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '898FAB24-7509-43EE-A287-086FE4C44394',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"898FAB24-7509-43EE-A287-086FE4C44394\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"898FAB24-7509-43EE-A287-086FE4C44394\\"\\n}"},{"type":"xml","example":"<DeleteRoleResponse>\\n <RequestId>898FAB24-7509-43EE-A287-086FE4C44394</RequestId>\\n</DeleteRoleResponse>","errorExample":"<DeleteRoleResponse>\\n <RequestId>898FAB24-7509-43EE-A287-086FE4C44394</RequestId>\\n</DeleteRoleResponse>"}]',
+ 'title' => 'DeleteRole',
+ 'summary' => 'Deletes a regular Resource Access Management (RAM) role.',
+ 'description' => 'Before you delete a regular RAM role, call the [DetachPolicyFromRole](~~2337680~~) operation to remove all policies from the RAM role.'."\n"
+ ."\n"
+ .'The DeleteRole operation cannot be used to delete service-linked roles and reserved roles for cloud services.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'ECSAdmin',
+ ],
+ ],
+ [
+ 'name' => 'NewAssumeRolePolicyDocument',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The trust policy that specifies the trusted entity to assume the RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::12345678901234****:root" } } ], "Version": "1" }',
+ ],
+ ],
+ [
+ 'name' => 'NewMaxSessionDuration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum session time of the RAM role.'."\n"
+ ."\n"
+ .'Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the default value is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '3600',
+ ],
+ ],
+ [
+ 'name' => 'NewDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new description of the RAM role.'."\n"
+ ."\n"
+ .'The description must be 1 to 1,024 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ECS administrator',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'The information about the RAM role.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AssumeRolePolicyDocument' => [
+ 'description' => 'The trust policy that specifies the trusted entity to assume the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The time when the description of the RAM role was changed.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS administrator',
+ ],
+ 'MaxSessionDuration' => [
+ 'description' => 'The maximum session time of the RAM role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3600',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECSAdmin',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the RAM role was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '901234567890****',
+ ],
+ 'Arn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:role/ECSAdmin',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Role\\": {\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012****:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"MaxSessionDuration\\": 3600,\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"RoleId\\": \\"901234567890****\\",\\n \\"Arn\\": \\"acs:ram::123456789012****:role/ECSAdmin\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Role\\": {\\n \\"RoleId\\": \\"901234567890123\\",\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/ECSAdmin\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012345678:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<UpdateRoleResponse>\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n\\t<Role>\\n\\t\\t<RoleId>901234567890****</RoleId>\\n\\t\\t<RoleName>ECSAdmin</RoleName>\\n\\t\\t<Arn>acs:ram::123456789012****:role/ECSAdmin</Arn>\\n\\t\\t<Description>ECS管理角色</Description>\\n\\t\\t<MaxSessionDuration>3600</MaxSessionDuration>\\n\\t\\t<AssumeRolePolicyDocument>{ &quot;Statement&quot;: [ { &quot;Action&quot;: &quot;sts:AssumeRole&quot;, &quot;Effect&quot;: &quot;Allow&quot;, &quot;Principal&quot;: { &quot;RAM&quot;: &quot;acs:ram::123456789012****:root&quot; } } ], &quot;Version&quot;: &quot;1&quot; }</AssumeRolePolicyDocument>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n\\t</Role>\\n</UpdateRoleResponse>","errorExample":"<UpdateRoleResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Role>\\n <RoleId>901234567890123</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::1234567890123456:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <AssumeRolePolicyDocument>{ \\"Statement\\": [ { \\"Action\\": \\"sts:AssumeRole\\", \\"Effect\\": \\"Allow\\", \\"Principal\\": { \\"RAM\\": \\"acs:ram::123456789012345678:root\\" } } ], \\"Version\\": \\"1\\" }</AssumeRolePolicyDocument>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Role>\\n</UpdateRoleResponse>"}]',
+ 'title' => 'UpdateRole',
+ 'summary' => 'Modifies information about a Resource Access Management (RAM) role.',
+ 'description' => 'This topic provides an example on how to change the description of `ECSAdmin` to `ECS administrator`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n"
+ ."\n"
+ .'The name must be 1 to 64 characters in length, and can contain letters, digits, periods (.), and hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'ECSAdmin',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'The information about the RAM role.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AssumeRolePolicyDocument' => [
+ 'description' => 'The policy that specifies the trusted entity to assume the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::123456789012****:root" } } ], "Version": "1" }',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The time when the RAM role was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS administrator',
+ ],
+ 'MaxSessionDuration' => [
+ 'description' => 'The maximum session duration of the RAM role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3600',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECSAdmin',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the RAM role was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '901234567890****',
+ ],
+ 'Arn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:role/ECSAdmin',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Role\\": {\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012****:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"MaxSessionDuration\\": 3600,\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"RoleId\\": \\"901234567890****\\",\\n \\"Arn\\": \\"acs:ram::123456789012****:role/ECSAdmin\\"\\n },\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Role\\": {\\n \\"RoleId\\": \\"901234567890123\\",\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/ECSAdmin\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"AssumeRolePolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [ { \\\\\\"Action\\\\\\": \\\\\\"sts:AssumeRole\\\\\\", \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Principal\\\\\\": { \\\\\\"RAM\\\\\\": \\\\\\"acs:ram::123456789012345678:root\\\\\\" } } ], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\" }\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<GetRoleResponse>\\r\\n\\t<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\r\\n\\t<Role>\\r\\n\\t\\t<RoleId>901234567890****</RoleId>\\r\\n\\t\\t<RoleName>ECSAdmin</RoleName>\\r\\n\\t\\t<Arn>acs:ram::123456789012****:role/ECSAdmin</Arn>\\r\\n\\t\\t<Description>ECS管理角色</Description>\\r\\n\\t\\t<MaxSessionDuration>3600</MaxSessionDuration>\\r\\n\\t\\t<AssumeRolePolicyDocument>{ &quot;Statement&quot;: [ { &quot;Action&quot;: &quot;sts:AssumeRole&quot;, &quot;Effect&quot;: &quot;Allow&quot;, &quot;Principal&quot;: { &quot;RAM&quot;: &quot;acs:ram::123456789012****:root&quot; } } ], &quot;Version&quot;: &quot;1&quot; }</AssumeRolePolicyDocument>\\r\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\r\\n\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\r\\n\\t</Role>\\r\\n</GetRoleResponse>\\r\\n\\t\\r\\n","errorExample":"<GetRoleResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Role>\\n <RoleId>901234567890123</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::1234567890123456:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <AssumeRolePolicyDocument>{ \\"Statement\\": [ { \\"Action\\": \\"sts:AssumeRole\\", \\"Effect\\": \\"Allow\\", \\"Principal\\": { \\"RAM\\": \\"acs:ram::123456789012345678:root\\" } } ], \\"Version\\": \\"1\\" }</AssumeRolePolicyDocument>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Role>\\n</GetRoleResponse>"}]',
+ 'title' => 'GetRole',
+ 'summary' => 'Queries information about a Resource Access Management (RAM) role.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListRoles' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Marker',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ [
+ 'name' => 'MaxItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.'."\n"
+ ."\n"
+ .'Valid values: 1 to 1000. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'owner',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ 'IsTruncated' => [
+ 'description' => 'Indicates whether the response is truncated.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Roles' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'The information about the RAM roles.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM role.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'The description of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS administrator',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The update time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'MaxSessionDuration' => [
+ 'description' => 'The maximum session duration of the RAM role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3600',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECSAdmin',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '901234567890****',
+ ],
+ 'Arn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:role/ECSAdmin',
+ ],
+ 'Tags' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Tag' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'owner',
+ ],
+ 'TagValue' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Marker' => [
+ 'description' => 'The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set this parameter to obtain the truncated part.````'."\n",
+ 'type' => 'string',
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"IsTruncated\\": true,\\n \\"Roles\\": {\\n \\"Role\\": [\\n {\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"MaxSessionDuration\\": 3600,\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"RoleId\\": \\"901234567890****\\",\\n \\"Arn\\": \\"acs:ram::123456789012****:role/ECSAdmin\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"TagKey\\": \\"owner\\",\\n \\"TagValue\\": \\"alice\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Marker\\": \\"EXAMPLE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Roles\\": {\\n \\"Role\\": [\\n {\\n \\"RoleId\\": \\"901234567890123\\",\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/ECSAdmin\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"RoleId\\": \\"901234567890456\\",\\n \\"RoleName\\": \\"OSSReadonlyAccess\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/OSSReadonlyAccess\\",\\n \\"Description\\": \\"OSS只读访问角色\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<ListRolesResponse>\\n\\t<RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n\\t<IsTruncated>true</IsTruncated>\\n\\t<Marker>EXAMPLE</Marker>\\n\\t<Roles>\\n\\t\\t<Role>\\n\\t\\t\\t<RoleId>901234567890****</RoleId>\\n\\t\\t\\t<RoleName>ECSAdmin</RoleName>\\n\\t\\t\\t<Arn>acs:ram::123456789012****:role/ECSAdmin</Arn>\\n\\t\\t\\t<Description>ECS管理角色</Description>\\n\\t\\t\\t<MaxSessionDuration>3600</MaxSessionDuration>\\n\\t\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n\\t\\t</Role>\\n\\t\\t<Role>\\n\\t\\t\\t<RoleId>901234567890****</RoleId>\\n\\t\\t\\t<RoleName>OSSReadonlyAccess</RoleName>\\n\\t\\t\\t<Arn>acs:ram::123456789012****:role/OSSReadonlyAccess</Arn>\\n\\t\\t\\t<Description>OSS只读访问角色</Description>\\n\\t\\t\\t<MaxSessionDuration>3600</MaxSessionDuration>\\n\\t\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t\\t<UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n\\t\\t</Role>\\n\\t</Roles>\\n</ListRolesResponse>\\t\\n","errorExample":"<ListRolesResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Roles>\\n <Role>\\n <RoleId>901234567890123</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::1234567890123456:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Role>\\n <Role>\\n <RoleId>901234567890456</RoleId>\\n <RoleName>OSSReadonlyAccess</RoleName>\\n <Arn>acs:ram::1234567890123456:role/OSSReadonlyAccess</Arn>\\n <Description>OSS只读访问角色</Description>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n </Role>\\n </Roles>\\n</ListRolesResponse>"}]',
+ 'title' => 'ListRoles',
+ 'summary' => 'Queries all Resource Access Management (RAM) roles.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreatePolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n"
+ ."\n"
+ .'The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'View-ECS-instances-in-a-specific-region',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the policy.'."\n"
+ ."\n"
+ .'The description must be 1 to 1,024 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Query ECS instances in a specific region',
+ ],
+ ],
+ [
+ 'name' => 'PolicyDocument',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The document of the policy.'."\n"
+ ."\n"
+ .'The document must be 1 to 6,144 characters in length.'."\n"
+ ."\n"
+ .'For more information about policy elements and sample policies, see [Policy elements](~~93738~~) and [Overview of sample policies](~~210969~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '{"Statement": [{"Effect": "Allow","Action": "ecs:Describe*","Resource": "acs:ecs:cn-qingdao:*:instance/*"}],"Version": "1"}',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'owner',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The version of the policy. Default value: v1.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Query ECS instances in a specific region',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'View-ECS-instances-in-a-specific-region',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-10-13T02:46:57Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy. Valid values:'."\n"
+ ."\n"
+ .'* Custom'."\n"
+ .'* System'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'BA34C54A-C2B1-5A65-B6B0-B5842C1DB4DA',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policy\\": {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"Description\\": \\"查看指定地域ECS实例\\",\\n \\"PolicyName\\": \\"View-ECS-instances-in-a-specific-region\\",\\n \\"CreateDate\\": \\"2021-10-13T02:46:57Z\\",\\n \\"PolicyType\\": \\"Custom\\"\\n },\\n \\"RequestId\\": \\"BA34C54A-C2B1-5A65-B6B0-B5842C1DB4DA\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<CreatePolicyResponse>\\n\\t<Policy>\\n\\t\\t<PolicyType>Custom</PolicyType>\\n\\t\\t<Description>查看指定地域ECS实例</Description>\\n\\t\\t<DefaultVersion>v1</DefaultVersion>\\n\\t\\t<PolicyName>View-ECS-instances-in-a-specific-region</PolicyName>\\n\\t\\t<CreateDate>2021-10-13T02:46:57Z</CreateDate>\\n\\t</Policy>\\n\\t<RequestId>BA34C54A-C2B1-5A65-B6B0-B5842C1DB4DA</RequestId>\\n</CreatePolicyResponse>","errorExample":""}]',
+ 'title' => 'CreatePolicy',
+ 'summary' => 'Creates a custom policy.',
+ 'description' => 'For more information about policies, see [Policy overview](~~93732~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to create a custom policy to query Elastic Compute Service (ECS) instances in a specific region.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetPolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The basic information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The default version of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The time when the policy was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS administrator',
+ ],
+ 'PolicyDocument' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => 'N/A',
+ ],
+ 'AttachmentCount' => [
+ 'description' => 'The number of references to the policy.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS-Administrator',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ 'DefaultPolicyVersion' => [
+ 'description' => 'The information about the default policy version.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDefaultVersion' => [
+ 'description' => 'An attribute in the `DefaultPolicyVersion` parameter. The value of the `IsDefaultVersion` parameter is `true`.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PolicyDocument' => [
+ 'description' => 'The document of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}',
+ ],
+ 'VersionId' => [
+ 'description' => 'The ID of the default policy version.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the default policy version was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policy\\": {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"PolicyDocument\\": \\"N/A\\",\\n \\"AttachmentCount\\": 0,\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyType\\": \\"Custom\\"\\n },\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\",\\n \\"DefaultPolicyVersion\\": {\\n \\"IsDefaultVersion\\": true,\\n \\"PolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oss:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": [\\\\\\"acs:oss:*:*:*\\\\\\"]}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"VersionId\\": \\"v1\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\",\\n \\"Policy\\": {\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"AttachmentCount\\": 0\\n }\\n}"},{"type":"xml","example":"<GetPolicyResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n <DefaultPolicyVersion>\\n\\t\\t<VersionId>v1</VersionId>\\n\\t\\t<IsDefaultVersion>true</IsDefaultVersion>\\n\\t\\t<CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n\\t\\t<PolicyDocument>{ \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}</PolicyDocument>\\n </DefaultPolicyVersion>\\n</GetPolicyResponse>","errorExample":"<GetPolicyResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n</GetPolicyResponse>"}]',
+ 'title' => 'GetPolicy',
+ 'summary' => 'Queries information about a policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdatePolicyDescription' => [
+ 'summary' => 'Modifies the description of a custom policy.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TestPolicy',
+ ],
+ ],
+ [
+ 'name' => 'NewDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the policy.'."\n"
+ ."\n"
+ .'The description must be 1 to 1,024 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'This is a test policy.',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7572DEBD-0ECE-518E-8682-D8CB82F8FE8E',
+ ],
+ 'Policy' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'TestPolicy',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy. Valid values:'."\n"
+ ."\n"
+ .'* Custom'."\n"
+ .'* System'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-02-28T07:04:15Z',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The time when the policy was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-02-28T07:05:37Z',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'This is a test policy.',
+ ],
+ 'DefaultVersion' => [
+ 'description' => 'The version of the policy. Default value: v1.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7572DEBD-0ECE-518E-8682-D8CB82F8FE8E\\",\\n \\"Policy\\": {\\n \\"PolicyName\\": \\"TestPolicy\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"CreateDate\\": \\"2022-02-28T07:04:15Z\\",\\n \\"UpdateDate\\": \\"2022-02-28T07:05:37Z\\",\\n \\"Description\\": \\"This is a test policy.\\",\\n \\"DefaultVersion\\": \\"v1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpdatePolicyDescriptionResponse>\\n <Policy>\\n <PolicyType>Custom</PolicyType>\\n <UpdateDate>2022-02-28T07:05:37Z</UpdateDate>\\n <Description>This is a test policy.</Description>\\n <PolicyName>TestPolicy</PolicyName>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2022-02-28T07:04:15Z</CreateDate>\\n </Policy>\\n <RequestId>7572DEBD-0ECE-518E-8682-D8CB82F8FE8E</RequestId>\\n</UpdatePolicyDescriptionResponse>","errorExample":""}]',
+ 'title' => 'UpdatePolicyDescription',
+ 'description' => '### [](#)'."\n"
+ ."\n"
+ .'You can call this operation to modify only the description of a custom policy. You cannot modify the description of a system policy.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~28676~~).'."\n",
+ ],
+ 'DeletePolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'CascadingDelete',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to delete all versions of the policy. Valid values:'."\n"
+ ."\n"
+ .'* true: deletes all versions of the policy.'."\n"
+ .'* false: does not delete all versions of the policy. If you set the parameter to false, the non-default versions of the policy are not deleted. Before you delete the policy, you must manually delete all non-default versions of the policy.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '898FAB24-7509-43EE-A287-086FE4C44394',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"898FAB24-7509-43EE-A287-086FE4C44394\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"898FAB24-7509-43EE-A287-086FE4C44394\\"\\n}"},{"type":"xml","example":"<DeletePolicyResponse>\\n <RequestId>898FAB24-7509-43EE-A287-086FE4C44394</RequestId>\\n</DeletePolicyResponse>","errorExample":"<DeletePolicyResponse>\\n <RequestId>898FAB24-7509-43EE-A287-086FE4C44394</RequestId>\\n</DeletePolicyResponse>"}]',
+ 'title' => 'DeletePolicy',
+ 'summary' => 'Deletes a policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPolicies' => [
+ 'summary' => 'Queries a list of policies.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policies. Valid values: `System` and `Custom`. If you do not specify the parameter, all policies are returned.``'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'System',
+ ],
+ ],
+ [
+ 'name' => 'Marker',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The `marker`. If part of a previous response is truncated, you can use this parameter to obtain the truncated part.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ [
+ 'name' => 'MaxItems',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return. If a response is truncated because it reaches the value of `MaxItems`, the value of `IsTruncated` will be `true`.'."\n"
+ ."\n"
+ .'Valid values: 1 to 1000. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'owner',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Policies' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The information about the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The default version of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS administrator',
+ ],
+ 'UpdateDate' => [
+ 'description' => 'The time when the policy was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'AttachmentCount' => [
+ 'description' => 'The number of references to the policy.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS-Administrator',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'System',
+ ],
+ 'Tags' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Tag' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'owner',
+ ],
+ 'TagValue' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alice',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ 'IsTruncated' => [
+ 'description' => 'Indicates whether the response is truncated.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Marker' => [
+ 'description' => 'The marker. This parameter is returned only if the value of `IsTruncated` is `true`. If the parameter is returned, you can call this operation again and set `Marker` to obtain the truncated part.``'."\n",
+ 'type' => 'string',
+ 'example' => 'EXAMPLE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"AttachmentCount\\": 3,\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"TagKey\\": \\"owner\\",\\n \\"TagValue\\": \\"alice\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"IsTruncated\\": true,\\n \\"Marker\\": \\"EXAMPLE\\",\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"UpdateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"AttachmentCount\\": 3\\n },\\n {\\n \\"PolicyName\\": \\"ReadOnlyAccess\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"Description\\": \\"只读权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"CreateDate\\": \\"2015-02-11T18:39:12Z\\",\\n \\"UpdateDate\\": \\"2015-02-19T09:43:16Z\\",\\n \\"AttachmentCount\\": 1\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<ListPoliciesResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <IsTruncated>true</IsTruncated>\\n <Marker>EXAMPLE</Marker>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-02-11T18:39:12Z</CreateDate>\\n <UpdateDate>2015-02-19T09:43:16Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n </Policies>\\n</ListPoliciesResponse>","errorExample":"<ListPoliciesResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <IsTruncated>true</IsTruncated>\\n <Marker>EXAMPLE</Marker>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <CreateDate>2015-02-11T18:39:12Z</CreateDate>\\n <UpdateDate>2015-02-19T09:43:16Z</UpdateDate>\\n <AttachmentCount>0</AttachmentCount>\\n </Policy>\\n </Policies>\\n</ListPoliciesResponse>"}]',
+ 'title' => 'ListPolicies',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreatePolicyVersion' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'PolicyDocument',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The document of the policy. The document can be up to 6,144 bytes in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '{"Statement":[{"Action":["oss:*"],"Effect":"Allow","Resource":["acs:oss:*:*:*"]}],"Version":"1"}',
+ ],
+ ],
+ [
+ 'name' => 'SetAsDefault',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to set this policy as the default policy. Default value: `false`.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RotateStrategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rotation strategy of the policy. The rotation strategy can be used to delete an early policy version.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* `None`: disables the rotation strategy.'."\n"
+ .'* `DeleteOldestNonDefaultVersionWhenLimitExceeded`: deletes the earliest non-active version if the number of versions exceeds the limit.'."\n"
+ ."\n"
+ .'Default value: `None`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'None',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyVersion' => [
+ 'description' => 'The information about the policy version.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDefaultVersion' => [
+ 'description' => 'Indicates whether the policy version is the default version.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PolicyDocument' => [
+ 'description' => 'The document of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}',
+ ],
+ 'VersionId' => [
+ 'description' => 'The ID of the policy version.'."\n",
+ 'type' => 'string',
+ 'example' => 'v3',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the policy version was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9B34724D-54B0-4A51-B34D-4512372FE1BE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PolicyVersion\\": {\\n \\"IsDefaultVersion\\": false,\\n \\"PolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oss:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": [\\\\\\"acs:oss:*:*:*\\\\\\"]}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"VersionId\\": \\"v3\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\",\\n \\"PolicyVersion\\": {\\n \\"VersionId\\": \\"v3\\",\\n \\"IsDefaultVersion\\": false,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n}"},{"type":"xml","example":"<CreatePolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <PolicyDocument>{ \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}</PolicyDocument>\\n </PolicyVersion>\\n</CreatePolicyVersionResponse>","errorExample":"<CreatePolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </Policy>\\n</CreatePolicyVersionResponse>"}]',
+ 'title' => 'CreatePolicyVersion',
+ 'summary' => 'Creates a version for a policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetPolicyVersion' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy version.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'v3',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyVersion' => [
+ 'description' => 'The information about the policy version.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDefaultVersion' => [
+ 'description' => 'Indicates whether the policy version is the default version.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PolicyDocument' => [
+ 'description' => 'The document of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}',
+ ],
+ 'VersionId' => [
+ 'description' => 'The ID of the policy version.'."\n",
+ 'type' => 'string',
+ 'example' => 'v3',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9B34724D-54B0-4A51-B34D-4512372FE1BE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PolicyVersion\\": {\\n \\"IsDefaultVersion\\": false,\\n \\"PolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oss:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": [\\\\\\"acs:oss:*:*:*\\\\\\"]}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"VersionId\\": \\"v3\\",\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\",\\n \\"PolicyVersion\\": {\\n \\"VersionId\\": \\"v3\\",\\n \\"IsDefaultVersion\\": false,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oss:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": [\\\\\\"acs:oss:*:*:*\\\\\\"]}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\"\\n }\\n}"},{"type":"xml","example":"<GetPolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <PolicyDocument>\\n { \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}\\n </PolicyDocument>\\n </PolicyVersion>\\n</GetPolicyVersionResponse>","errorExample":"<GetPolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <PolicyDocument>\\n { \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}\\n </PolicyDocument>\\n </PolicyVersion>\\n</GetPolicyVersionResponse>"}]',
+ 'title' => 'GetPolicyVersion',
+ 'summary' => 'Queries the information about a policy version.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeletePolicyVersion' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy version that you want to delete.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'v3',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9B34724D-54B0-4A51-B34D-4512372FE1BE',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}"},{"type":"xml","example":"<DeletePolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n</DeletePolicyVersionResponse>","errorExample":"<DeletePolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n</DeletePolicyVersionResponse>"}]',
+ 'title' => 'DeletePolicyVersion',
+ 'summary' => 'Deletes a policy version.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPolicyVersions' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ 'PolicyVersions' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'PolicyVersion' => [
+ 'description' => 'The information about the policy versions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the policy version.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDefaultVersion' => [
+ 'description' => 'Indicates whether the policy version is the default version.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PolicyDocument' => [
+ 'description' => 'The document of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => '{ "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}',
+ ],
+ 'VersionId' => [
+ 'description' => 'The ID of the policy version.'."\n",
+ 'type' => 'string',
+ 'example' => 'v3',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the version was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-26T01:25:52Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"PolicyVersions\\": {\\n \\"PolicyVersion\\": [\\n {\\n \\"IsDefaultVersion\\": false,\\n \\"PolicyDocument\\": \\"{ \\\\\\"Statement\\\\\\": [{ \\\\\\"Action\\\\\\": [\\\\\\"oss:*\\\\\\"], \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\", \\\\\\"Resource\\\\\\": [\\\\\\"acs:oss:*:*:*\\\\\\"]}], \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"VersionId\\": \\"v3\\",\\n \\"CreateDate\\": \\"2015-02-26T01:25:52Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"PolicyVersions\\": {\\n \\"PolicyVersion\\": [\\n {\\n \\"VersionId\\": \\"v3\\",\\n \\"IsDefaultVersion\\": false,\\n \\"CreateDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"VersionId\\": \\"v5\\",\\n \\"IsDefaultVersion\\": true,\\n \\"CreateDate\\": \\"2015-02-26T01:25:52Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<ListPolicyVersionsResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <PolicyVersions>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n <PolicyDocument>{ \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}</PolicyDocument>\\n </PolicyVersion>\\n <PolicyVersion>\\n <VersionId>v5</VersionId>\\n <IsDefaultVersion>true</IsDefaultVersion>\\n <CreateDate>2015-02-26T01:25:52Z</CreateDate>\\n <PolicyDocument>{ \\"Statement\\": [{ \\"Action\\": [\\"oss:*\\"], \\"Effect\\": \\"Allow\\", \\"Resource\\": [\\"acs:oss:*:*:*\\"]}], \\"Version\\": \\"1\\"}</PolicyDocument>\\n </PolicyVersion>\\n </PolicyVersions>\\n</ListPolicyVersionsResponse>","errorExample":"<ListPolicyVersionsResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <PolicyVersions>\\n <PolicyVersion>\\n <VersionId>v3</VersionId>\\n <IsDefaultVersion>false</IsDefaultVersion>\\n <CreateDate>2015-01-23T12:33:18Z</CreateDate>\\n </PolicyVersion>\\n <PolicyVersion>\\n <VersionId>v5</VersionId>\\n <IsDefaultVersion>true</IsDefaultVersion>\\n <CreateDate>2015-02-26T01:25:52Z</CreateDate>\\n </PolicyVersion>\\n </PolicyVersions>\\n</ListPolicyVersionsResponse>"}]',
+ 'title' => 'ListPolicyVersions',
+ 'summary' => 'Queries the versions of a policy.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SetDefaultPolicyVersion' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy version that you want to set as the default version.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'v2',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9B34724D-54B0-4A51-B34D-4512372FE1BE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}"},{"type":"xml","example":"<SetDefaultPolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n</SetDefaultPolicyVersionResponse>","errorExample":"<SetDefaultPolicyVersionResponse>\\n <RequestId>9B34724D-54B0-4A51-B34D-4512372FE1BE</RequestId>\\n</SetDefaultPolicyVersionResponse>"}]',
+ 'title' => 'SetDefaultPolicyVersion',
+ 'summary' => 'Specifies a version for a policy as the default version.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AttachPolicyToUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<AttachPolicyToUserResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToUserResponse>","errorExample":"<AttachPolicyToUserResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToUserResponse>"}]',
+ 'title' => 'AttachPolicyToUser',
+ 'summary' => 'Attaches a policy to a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DetachPolicyFromUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<DetachPolicyFromUserResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromUserResponse>","errorExample":"<DetachPolicyFromUserResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromUserResponse>"}]',
+ 'title' => 'DetachPolicyFromUser',
+ 'summary' => 'Detaches a policy from a Resource Access Management (RAM) user.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AttachPolicyToGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'dev',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<AttachPolicyToGroupResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToGroupResponse>","errorExample":"<AttachPolicyToGroupResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToGroupResponse>"}]',
+ 'title' => 'AttachPolicyToGroup',
+ 'summary' => 'Attaches a policy to a Resource Access Management (RAM) user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DetachPolicyFromGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'dev',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<DetachPolicyFromGroupResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromGroupResponse>","errorExample":"<DetachPolicyFromGroupResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromGroupResponse>"}]',
+ 'title' => 'DetachPolicyFromGroup',
+ 'summary' => 'Detaches a policy from a Resource Access Management (RAM) user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AttachPolicyToRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSSAdminRole',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<AttachPolicyToRoleResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToRoleResponse>","errorExample":"<AttachPolicyToRoleResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</AttachPolicyToRoleResponse>"}]',
+ 'title' => 'AttachPolicyToRole',
+ 'summary' => 'Attaches a policy to a Resource Access Management (RAM) role.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DetachPolicyFromRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSSAdminRole',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}"},{"type":"xml","example":"<DetachPolicyFromRoleResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromRoleResponse>","errorExample":"<DetachPolicyFromRoleResponse>\\n <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>\\n</DetachPolicyFromRoleResponse>"}]',
+ 'title' => 'DetachPolicyFromRole',
+ 'summary' => 'Detaches a policy from a Resource Access Management (RAM) role.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPoliciesForUser' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'zhangq****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Policies' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information of a policy.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The current version.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS administrator',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS-Administrator',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time at which the policy is attached to the RAM user. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy. Valid values:'."\n"
+ ."\n"
+ .'* System: system policy'."\n"
+ .'* Custom: custom policy'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyType\\": \\"Custom\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"PolicyName\\": \\"ReadOnlyAccess\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"Description\\": \\"只读权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n<Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n</Policies>","errorExample":"<ListPoliciesForUserResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyPolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyPolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n </Policies>\\n</ListPoliciesForUserResponse>"}]',
+ 'title' => 'ListPoliciesForUser',
+ 'summary' => 'Queries the policies that are attached to a RAM user.',
+ 'description' => '> You can call this operation to query only the policies that are attached to Alibaba Cloud accounts. You cannot query the policies that are attached to resource groups.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPoliciesForGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'dev',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Policies' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The information about the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The default version of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS administrator',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS-Administrator',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time when the policy was attached to the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyType\\": \\"Custom\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"PolicyName\\": \\"ReadOnlyAccess\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"Description\\": \\"只读权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<ListPoliciesForGroupResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n </Policies>\\n</ListPoliciesForGroupResponse>","errorExample":"<ListPoliciesForGroupResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n </Policies>\\n</ListPoliciesForGroupResponse>"}]',
+ 'title' => 'ListPoliciesForGroup',
+ 'summary' => 'Queries the policies that are attached to a Resource Access Management (RAM) user group.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPoliciesForRole' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'AdminRole',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Policies' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Policy' => [
+ 'description' => 'The information about the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultVersion' => [
+ 'description' => 'The default version of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS administrator',
+ ],
+ 'PolicyName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS-Administrator',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time when the policy was attached to the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Custom',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"PolicyType\\": \\"Custom\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Policies\\": {\\n \\"Policy\\": [\\n {\\n \\"PolicyName\\": \\"OSS-Administrator\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"Description\\": \\"OSS管理员权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"PolicyName\\": \\"ReadOnlyAccess\\",\\n \\"PolicyType\\": \\"System\\",\\n \\"Description\\": \\"只读权限\\",\\n \\"DefaultVersion\\": \\"v1\\",\\n \\"AttachDate\\": \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<ListPoliciesForRoleResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n </Policies>\\n</ListPoliciesForRoleResponse>","errorExample":"<ListPoliciesForRoleResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Policies>\\n <Policy>\\n <PolicyName>OSS-Administrator</PolicyName>\\n <PolicyType>Custom</PolicyType>\\n <Description>OSS管理员权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Policy>\\n <Policy>\\n <PolicyName>ReadOnlyAccess</PolicyName>\\n <PolicyType>System</PolicyType>\\n <Description>只读权限</Description>\\n <DefaultVersion>v1</DefaultVersion>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Policy>\\n </Policies>\\n</ListPoliciesForRoleResponse>"}]',
+ 'title' => 'ListPoliciesForRole',
+ 'summary' => 'Queries the policies that are attached to a Resource Access Management (RAM) role.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListEntitiesForPolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the policy. Valid values: `System` and `Custom`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Custom',
+ ],
+ ],
+ [
+ 'name' => 'PolicyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'OSS-Administrator',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B8A4E7D-6CFF-471D-84DF-195A7A241ECB',
+ ],
+ 'Groups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the Resource Access Management (RAM) user groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM user group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => [
+ 'description' => 'The name of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'QA-Team',
+ ],
+ 'Comments' => [
+ 'description' => 'The description of the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test team',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time when the policy was attached to the RAM user group.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-02-18T17:22:08Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Roles' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Role' => [
+ 'description' => 'The information about the RAM roles.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM role.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'The description of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS administrator',
+ ],
+ 'RoleName' => [
+ 'description' => 'The name of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECSAdmin',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time when the policy was attached to the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ 'Arn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::123456789012****:role/ECSAdmin',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Users' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'User' => [
+ 'description' => 'The information about the RAM users.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the RAM user.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'The display name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'Zhang*',
+ ],
+ 'UserId' => [
+ 'description' => 'The unique ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '122748924538****',
+ ],
+ 'UserName' => [
+ 'description' => 'The name of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'zhangq****',
+ ],
+ 'AttachDate' => [
+ 'description' => 'The time when the policy was attached to the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '2015-01-23T12:33:18Z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Groups\\": {\\n \\"Group\\": [\\n {\\n \\"GroupName\\": \\"QA-Team\\",\\n \\"Comments\\": \\"测试团队\\",\\n \\"AttachDate\\": \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n },\\n \\"Roles\\": {\\n \\"Role\\": [\\n {\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"RoleName\\": \\"ECSAdmin\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\",\\n \\"Arn\\": \\"acs:ram::123456789012****:role/ECSAdmin\\",\\n \\"RoleId\\": \\"122748924538****\\"\\n }\\n ]\\n },\\n \\"Users\\": {\\n \\"User\\": [\\n {\\n \\"DisplayName\\": \\"张*\\",\\n \\"UserId\\": \\"122748924538****\\",\\n \\"UserName\\": \\"zhangq****\\",\\n \\"AttachDate\\": \\"2015-01-23T12:33:18Z\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\" : \\"7B8A4E7D-6CFF-471D-84DF-195A7A241ECB\\",\\n \\"Groups\\" : {\\n \\"Group\\" : [\\n {\\n \\"GroupName\\": \\"QA-Team\\",\\n \\"Comments\\": \\"测试团队\\",\\n \\"AttachDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"GroupName\\": \\"Dev-Team\\",\\n \\"Comments\\": \\"开发团队\\",\\n \\"AttachDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n },\\n \\"Users\\" : {\\n \\"User\\" : [\\n {\\n \\"UserId\\" : \\"1227489245380721\\",\\n \\"UserName\\" : \\"zhangqiang\\",\\n \\"DisplayName\\": \\"张强\\",\\n \\"AttachDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"UserId\\" : \\"1406498224724456\\",\\n \\"UserName\\" : \\"lili\\",\\n \\"DisplayName\\": \\"李丽\\",\\n \\"AttachDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n },\\n \\"Roles\\" : {\\n \\"Role\\" : [\\n {\\n \\"RoleId\\" : \\"1227489245380721\\",\\n \\"RoleName\\" : \\"ECSAdmin\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/ECSAdmin\\",\\n \\"Description\\": \\"ECS管理角色\\",\\n \\"AttachDate\\" : \\"2015-01-23T12:33:18Z\\"\\n },\\n {\\n \\"RoleId\\" : \\"1406498224724456\\",\\n \\"RoleName\\" : \\"OSSReadonlyAccess\\",\\n \\"Arn\\": \\"acs:ram::1234567890123456:role/OSSReadonlyAccess\\",\\n \\"Description\\": \\"OSS只读访问角色\\",\\n \\"AttachDate\\" : \\"2015-02-18T17:22:08Z\\"\\n }\\n ]\\n }\\n}"},{"type":"xml","example":"<ListEntitiesForPolicyResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Groups>\\n <Group>\\n <GroupName>QA-Team</GroupName>\\n <Comments>测试团队</Comments>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Group>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Group>\\n </Groups>\\n <Users>\\n <User>\\n <UserId>122748924538****</UserId>\\n <UserName>zhangq****</UserName>\\n <DisplayName>张*</DisplayName>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </User>\\n <User>\\n <UserId>140649822472****</UserId>\\n <UserName>li****</UserName>\\n <DisplayName>李*</DisplayName>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </User>\\n </Users>\\n <Roles>\\n <Role>\\n <RoleId>122748924538****</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::123456789012****:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Role>\\n <Role>\\n <RoleId>140649822472****</RoleId>\\n <RoleName>OSSReadonlyAccess</RoleName>\\n <Description>OSS只读访问角色</Description>\\n <Arn>acs:ram::123456789012****:role/OSSReadonlyAccess</Arn>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Role>\\n </Roles>\\n</ListEntitiesForPolicyResponse>","errorExample":"<ListEntitiesForPolicyResponse>\\n <RequestId>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</RequestId>\\n <Groups>\\n <Group>\\n <GroupName>QA-Team</GroupName>\\n <Comments>测试团队</Comments>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Group>\\n <Group>\\n <GroupName>Dev-Team</GroupName>\\n <Comments>开发团队</Comments>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </Group>\\n </Groups>\\n <Users>\\n <User>\\n <UserId>1227489245380721</UserId>\\n <UserName>zhangqiang</UserName>\\n <DisplayName>张强</DisplayName>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </User>\\n <User>\\n <UserId>1406498224724456</UserId>\\n <UserName>lili</UserName>\\n <DisplayName>李丽</DisplayName>\\n <AttachDate>2015-02-18T17:22:08Z</AttachDate>\\n </User>\\n </Users>\\n <Roles>\\n <Role>\\n <RoleId>901234567890123</RoleId>\\n <RoleName>ECSAdmin</RoleName>\\n <Arn>acs:ram::1234567890123456:role/ECSAdmin</Arn>\\n <Description>ECS管理角色</Description>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Role>\\n <Role>\\n <RoleId>901234567890456</RoleId>\\n <RoleName>OSSReadonlyAccess</RoleName>\\n <Description>OSS只读访问角色</Description>\\n <Arn>acs:ram::1234567890123456:role/OSSReadonlyAccess</Arn>\\n <AttachDate>2015-01-23T12:33:18Z</AttachDate>\\n </Role>\\n </Roles>\\n</ListEntitiesForPolicyResponse>"}]',
+ 'title' => 'ListEntitiesForPolicy',
+ 'summary' => 'Queries the entities to which a policy is attached.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SetAccountAlias' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AccountAlias',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The alias of the Alibaba Cloud account.'."\n"
+ ."\n"
+ .'The alias must be 3 to 32 characters in length, and can contain lowercase letters, digits, and hyphens (-).'."\n"
+ ."\n"
+ .'> It cannot start or end with a hyphen (-), and cannot contain consecutive hyphens (-).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'myalias',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>","errorExample":"<SetAccountAliasResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</SetAccountAliasResponse>"}]',
+ 'title' => 'SetAccountAlias',
+ 'summary' => 'Configures an alias for an Alibaba Cloud account.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetAccountAlias' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'AccountAlias' => [
+ 'description' => 'The alias of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'myalias',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"AccountAlias\\": \\"myalias\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"AccountAlias\\": \\"myalias\\"\\n}"},{"type":"xml","example":"<GetAccountAliasResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <AccountAlias>myalias</AccountAlias>\\n</GetAccountAliasResponse>","errorExample":"<GetAccountAliasResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <AccountAlias>myalias</AccountAlias>\\n</GetAccountAliasResponse>"}]',
+ 'title' => 'GetAccountAlias',
+ 'summary' => 'Queries the alias of an Alibaba Cloud account.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ClearAccountAlias' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}"},{"type":"xml","example":"<ClearAccountAliasResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</ClearAccountAliasResponse>","errorExample":"<ClearAccountAliasResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</ClearAccountAliasResponse>"}]',
+ 'title' => 'ClearAccountAlias',
+ 'summary' => 'Deletes the alias of an Alibaba Cloud account.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SetPasswordPolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MinimumPasswordLength',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum number of characters in a password.'."\n"
+ ."\n"
+ .'Valid values: 8 to 32. Default value: 8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '12',
+ ],
+ ],
+ [
+ 'name' => 'RequireLowercaseCharacters',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a password must contain one or more lowercase letters.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RequireUppercaseCharacters',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a password must contain one or more uppercase letters.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RequireNumbers',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a password must contain one or more digits.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RequireSymbols',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a password must contain one or more special characters.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'HardExpiry',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether a password will expire. Valid values: `true` and `false`. Default value: `false`. If you leave this parameter unspecified, the default value false is used.'."\n"
+ ."\n"
+ .'* If you set this parameter to `true`, the Alibaba Cloud account to which the RAM users belong must reset the passwords before the RAM users can log on to the Alibaba Cloud Management Console.'."\n"
+ .'* If you set this parameter to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MaxPasswordAge',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'PasswordReusePrevention',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'MaxLoginAttemps',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '5',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'PasswordPolicy' => [
+ 'description' => 'The password policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequireNumbers' => [
+ 'description' => 'Indicates whether a password must contain one or more digits.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequireLowercaseCharacters' => [
+ 'description' => 'Indicates whether a password must contain one or more lowercase letters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HardExpiry' => [
+ 'description' => 'Indicates whether a password expires. Valid values: `true` and `false`. Default value: `false`. If the parameter is unspecified, the default value false is returned.'."\n"
+ ."\n"
+ .'* If this parameter is set to `true`, the Alibaba Cloud account to which the RAM users belong must reset the password before the RAM users can log on to the Alibaba Cloud Management Console.'."\n"
+ .'* If this parameter is set to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PasswordReusePrevention' => [
+ 'description' => 'The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RequireSymbols' => [
+ 'description' => 'Indicates whether a password must contain one or more special characters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxPasswordAge' => [
+ 'description' => 'The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'MinimumPasswordLength' => [
+ 'description' => 'The minimum number of characters in a password.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'RequireUppercaseCharacters' => [
+ 'description' => 'Indicates whether a password must contain one or more uppercase letters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxLoginAttemps' => [
+ 'description' => 'The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"PasswordPolicy\\": {\\n \\"RequireNumbers\\": true,\\n \\"RequireLowercaseCharacters\\": true,\\n \\"HardExpiry\\": false,\\n \\"PasswordReusePrevention\\": 0,\\n \\"RequireSymbols\\": true,\\n \\"MaxPasswordAge\\": 0,\\n \\"MinimumPasswordLength\\": 12,\\n \\"RequireUppercaseCharacters\\": true,\\n \\"MaxLoginAttemps\\": 5\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"PasswordPolicy\\": {\\n \\"MinimumPasswordLength\\": 12,\\n \\"RequireLowercaseCharacters\\": true,\\n \\"RequireUppercaseCharacters\\": true,\\n \\"RequireNumbers\\": true,\\n \\"RequireSymbols\\": true\\n }\\n}"},{"type":"xml","example":"<SetPasswordPolicyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <PasswordPolicy>\\n <HardExpiry>false</HardExpiry>\\n <MaxLoginAttemps>5</MaxLoginAttemps>\\n <MaxPasswordAge>0</MaxPasswordAge>\\n <PasswordReusePrevention>0</PasswordReusePrevention>\\n <MinimumPasswordLength>12</MinimumPasswordLength>\\n <RequireLowercaseCharacters>true</RequireLowercaseCharacters>\\n <RequireUppercaseCharacters>true</RequireUppercaseCharacters>\\n <RequireNumbers>true</RequireNumbers>\\n <RequireSymbols>true</RequireSymbols>\\n </PasswordPolicy>\\n</SetPasswordPolicyResponse>","errorExample":"<SetPasswordPolicyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <PasswordPolicy>\\n <MinimumPasswordLength>12</MinimumPasswordLength>\\n <RequireLowercaseCharacters>true</RequireLowercaseCharacters>\\n <RequireUppercaseCharacters>true</RequireUppercaseCharacters>\\n <RequireNumbers>true</RequireNumbers>\\n <RequireSymbols>true</RequireSymbols>\\n </PasswordPolicy>\\n</SetPasswordPolicyResponse>"}]',
+ 'title' => 'SetPasswordPolicy',
+ 'summary' => 'Configures the password policy for Resource Access Management (RAM) users, including the password strength.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetPasswordPolicy' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368',
+ ],
+ 'PasswordPolicy' => [
+ 'description' => 'The password policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequireNumbers' => [
+ 'description' => 'Indicates whether a password must contain one or more digits.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequireLowercaseCharacters' => [
+ 'description' => 'Indicates whether a password must contain one or more lowercase letters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HardExpiry' => [
+ 'description' => 'Indicates whether a password expires. Valid values: `true` and `false`. Default value: `false`. If the parameter is unspecified, the default value false is returned.'."\n"
+ ."\n"
+ .'* If this parameter is set to `true`, the Alibaba Cloud account to which the RAM users belong must reset the password before the RAM users can log on to the Alibaba Cloud Management Console.'."\n"
+ .'* If this parameter is set to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PasswordReusePrevention' => [
+ 'description' => 'The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RequireSymbols' => [
+ 'description' => 'Indicates whether a password must contain one or more special characters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxPasswordAge' => [
+ 'description' => 'The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'MinimumPasswordLength' => [
+ 'description' => 'The minimum number of characters in a password.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'RequireUppercaseCharacters' => [
+ 'description' => 'Indicates whether a password must contain one or more uppercase letters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxLoginAttemps' => [
+ 'description' => 'The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"PasswordPolicy\\": {\\n \\"RequireNumbers\\": true,\\n \\"RequireLowercaseCharacters\\": true,\\n \\"HardExpiry\\": false,\\n \\"PasswordReusePrevention\\": 0,\\n \\"RequireSymbols\\": true,\\n \\"MaxPasswordAge\\": 0,\\n \\"MinimumPasswordLength\\": 12,\\n \\"RequireUppercaseCharacters\\": true,\\n \\"MaxLoginAttemps\\": 5\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"PasswordPolicy\\": {\\n \\"MinimumPasswordLength\\": 12,\\n \\"RequireLowercaseCharacters\\": true,\\n \\"RequireUppercaseCharacters\\": true,\\n \\"RequireNumbers\\": true,\\n \\"RequireSymbols\\": true\\n }\\n}"},{"type":"xml","example":"<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n<PasswordPolicy>\\n <HardExpiry>false</HardExpiry>\\n <MaxLoginAttemps>5</MaxLoginAttemps>\\n <MaxPasswordAge>0</MaxPasswordAge>\\n <PasswordReusePrevention>0</PasswordReusePrevention>\\n <MinimumPasswordLength>12</MinimumPasswordLength>\\n <RequireLowercaseCharacters>true</RequireLowercaseCharacters>\\n <RequireUppercaseCharacters>true</RequireUppercaseCharacters>\\n <RequireNumbers>true</RequireNumbers>\\n <RequireSymbols>true</RequireSymbols>\\n</PasswordPolicy>","errorExample":"<GetPasswordPolicyResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <PasswordPolicy>\\n <MinimumPasswordLength>12</MinimumPasswordLength>\\n <RequireLowercaseCharacters>true</RequireLowercaseCharacters>\\n <RequireUppercaseCharacters>true</RequireUppercaseCharacters>\\n <RequireNumbers>true</RequireNumbers>\\n <RequireSymbols>true</RequireSymbols>\\n </PasswordPolicy>\\n</GetPasswordPolicyResponse>"}]',
+ 'title' => 'GetPasswordPolicy',
+ 'summary' => 'Queries the password policy of Resource Access Management (RAM) users, including the password strength.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SetSecurityPreference' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EnableSaveMFATicket',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to remember the multi-factor authentication (MFA) devices of Resource Access Management (RAM) users for seven days. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false (default)'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AllowUserToChangePassword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether RAM users can change their passwords. Valid values:'."\n"
+ ."\n"
+ .'* true (default)'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AllowUserToManageAccessKeys',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether RAM users can manage their AccessKey pairs. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false (default)'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'AllowUserToManagePublicKeys',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether RAM users can manage their public keys. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false (default)'."\n"
+ ."\n"
+ .'> This parameter is valid only for the Japan site.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'AllowUserToManageMFADevices',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether RAM users can manage their MFA devices. Valid values:'."\n"
+ ."\n"
+ .'* true (default)'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'LoginSessionDuration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The validity period of the logon session of RAM users.'."\n"
+ ."\n"
+ .'Valid values: 1 to 24. Default value: 6. Unit: hours.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '6',
+ ],
+ ],
+ [
+ 'name' => 'LoginNetworkMasks',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subnet mask that specifies the IP addresses from which you can log on to the Alibaba Cloud Management Console. This parameter takes effect on password-based logon and single sign-on (SSO). However, this parameter does not take effect on API calls that are authenticated by using AccessKey pairs.'."\n"
+ ."\n"
+ .'* If you specify a subnet mask, RAM users can use only the IP addresses in the subnet mask to log on to the Alibaba Cloud Management Console.'."\n"
+ .'* If you do not specify a subnet mask, RAM users can use all IP addresses to log on to the Alibaba Cloud Management Console.'."\n"
+ ."\n"
+ .'If you need to specify multiple subnet masks, separate the subnet masks with semicolons (;). Example: 192.168.0.0/16;10.0.0.0/8.'."\n"
+ ."\n"
+ .'You can specify up to 40 subnet masks. The total length of the subnet masks can be a maximum of 512 characters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.0.0.0/8',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SecurityPreference' => [
+ 'description' => 'The security preferences.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeyPreference' => [
+ 'description' => 'The AccessKey pair preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManageAccessKeys' => [
+ 'description' => 'Indicates whether RAM users can manage their AccessKey pairs.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'MFAPreference' => [
+ 'description' => 'The MFA preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManageMFADevices' => [
+ 'description' => 'Indicates whether RAM users can manage their MFA devices.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'LoginProfilePreference' => [
+ 'description' => 'The logon preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableSaveMFATicket' => [
+ 'description' => 'Indicates whether the MFA devices of RAM users are remembered.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'LoginSessionDuration' => [
+ 'description' => 'The validity period of the logon session of RAM users.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'LoginNetworkMasks' => [
+ 'description' => 'The subnet mask.'."\n",
+ 'type' => 'string',
+ 'example' => '10.0.0.0/8',
+ ],
+ 'AllowUserToChangePassword' => [
+ 'description' => 'Indicates whether RAM users can change their passwords.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'PublicKeyPreference' => [
+ 'description' => 'The public key preference.'."\n"
+ ."\n"
+ .'> This parameter is valid only for the Japan site.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManagePublicKeys' => [
+ 'description' => 'Indicates whether RAM users can manage their public keys.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'A978915D-F279-4CA0-A89B-9A71219FFB3E',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SecurityPreference\\": {\\n \\"AccessKeyPreference\\": {\\n \\"AllowUserToManageAccessKeys\\": false\\n },\\n \\"MFAPreference\\": {\\n \\"AllowUserToManageMFADevices\\": false\\n },\\n \\"LoginProfilePreference\\": {\\n \\"EnableSaveMFATicket\\": false,\\n \\"LoginSessionDuration\\": 6,\\n \\"LoginNetworkMasks\\": \\"10.0.0.0/8\\",\\n \\"AllowUserToChangePassword\\": true\\n },\\n \\"PublicKeyPreference\\": {\\n \\"AllowUserToManagePublicKeys\\": false\\n }\\n },\\n \\"RequestId\\": \\"A978915D-F279-4CA0-A89B-9A71219FFB3E\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"SecurityPreference\\": {\\n \\"LoginProfilePreference\\": {\\n \\"EnableSaveMFATicket\\": true,\\n \\"AllowUserToChangePassword\\": true\\n },\\n \\"AccessKeyPreference\\": {\\n \\"AllowUserToManageAccessKeys\\": false\\n },\\n \\"MFAPreference\\": {\\n \\"AllowUserToManageMFADevices\\": true\\n }\\n }\\n}"},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<SetSecurityPreferenceResponse>\\r\\n\\t<SecurityPreference>\\r\\n\\t\\t<LoginProfilePreference>\\r\\n\\t\\t\\t<LoginSessionDuration>6</LoginSessionDuration>\\r\\n\\t\\t\\t<LoginNetworkMasks></LoginNetworkMasks>\\r\\n\\t\\t\\t<AllowUserToChangePassword>true</AllowUserToChangePassword>\\r\\n\\t\\t\\t<EnableSaveMFATicket>false</EnableSaveMFATicket>\\r\\n\\t\\t</LoginProfilePreference>\\r\\n\\t\\t<AccessKeyPreference>\\r\\n\\t\\t\\t<AllowUserToManageAccessKeys>false</AllowUserToManageAccessKeys>\\r\\n\\t\\t</AccessKeyPreference>\\r\\n\\t\\t<PublicKeyPreference>\\r\\n\\t\\t\\t<AllowUserToManagePublicKeys>false</AllowUserToManagePublicKeys>\\r\\n\\t\\t</PublicKeyPreference>\\r\\n\\t\\t<MFAPreference>\\r\\n\\t\\t\\t<AllowUserToManageMFADevices>true</AllowUserToManageMFADevices>\\r\\n\\t\\t</MFAPreference>\\r\\n\\t</SecurityPreference>\\r\\n\\t<RequestId>A978915D-F279-4CA0-A89B-9A71219FFB3E</RequestId>\\r\\n</SetSecurityPreferenceResponse>\\t\\r\\n","errorExample":"<SetSecurityPreferenceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <SecurityPreference>\\n <LoginProfilePreference>\\n <EnableSaveMFATicket>true</EnableSaveMFATicket>\\n <AllowUserToChangePassword>true</AllowUserToChangePassword>\\n </LoginProfilePreference>LoginProfilePreference>\\n <AccessKeyPreference>\\n <AllowUserToManageAccessKeys>false</AllowUserToManageAccessKeys>\\n </AccessKeyPreference>\\n <MFAPreference>\\n <AllowUserToManageMFADevices>false</AllowUserToManageMFADevices>\\n </MFAPreference>\\n </SecurityPreference>\\n</SetSecurityPreferenceResponse>"}]',
+ 'title' => 'SetSecurityPreference',
+ 'summary' => 'Configures the security preferences.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetSecurityPreference' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SecurityPreference' => [
+ 'description' => 'The security preferences.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessKeyPreference' => [
+ 'description' => 'The AccessKey pair preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManageAccessKeys' => [
+ 'description' => 'Indicates whether Resource Access Management (RAM) users can manage their AccessKey pairs. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'MFAPreference' => [
+ 'description' => 'The multi-factor authentication (MFA) preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManageMFADevices' => [
+ 'description' => 'Indicates whether RAM users can manage their MFA devices. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'LoginProfilePreference' => [
+ 'description' => 'The logon preference.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableSaveMFATicket' => [
+ 'description' => 'Indicates whether RAM users can save security codes for MFA during logon. Each security code is valid for seven days. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'LoginSessionDuration' => [
+ 'description' => 'The validity period of the logon session of RAM users. Unit: hours.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'LoginNetworkMasks' => [
+ 'description' => 'The subnet mask that indicates the IP addresses from which logon to the Alibaba Cloud Management Console is allowed. This parameter applies to password-based logon and single sign-on (SSO). However, this parameter does not apply to API calls that are authenticated based on AccessKey pairs.'."\n"
+ ."\n"
+ .'* If you specify a subnet mask, RAM users can use only the IP addresses in the subnet mask to log on to the Alibaba Cloud Management Console.'."\n"
+ .'* If you do not specify a subnet mask, RAM users can use all IP addresses to log on to the Alibaba Cloud Management Console.'."\n"
+ ."\n"
+ .'If you want to specify more than one subnet mask, separate the masks with semicolons (;). Example: 192.168.0.0/16;10.0.0.0/8.'."\n",
+ 'type' => 'string',
+ 'example' => '10.0.0.0/8',
+ ],
+ 'AllowUserToChangePassword' => [
+ 'description' => 'Indicates whether RAM users can change their passwords. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'PublicKeyPreference' => [
+ 'description' => 'The public key preference.'."\n"
+ ."\n"
+ .'> This parameter is valid only for the Japan site.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AllowUserToManagePublicKeys' => [
+ 'description' => 'Indicates whether RAM users can manage their public keys. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'DC1213F1-A9D5-4A01-A996-44983689126C',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SecurityPreference\\": {\\n \\"AccessKeyPreference\\": {\\n \\"AllowUserToManageAccessKeys\\": false\\n },\\n \\"MFAPreference\\": {\\n \\"AllowUserToManageMFADevices\\": true\\n },\\n \\"LoginProfilePreference\\": {\\n \\"EnableSaveMFATicket\\": false,\\n \\"LoginSessionDuration\\": 6,\\n \\"LoginNetworkMasks\\": \\"10.0.0.0/8\\",\\n \\"AllowUserToChangePassword\\": true\\n },\\n \\"PublicKeyPreference\\": {\\n \\"AllowUserToManagePublicKeys\\": false\\n }\\n },\\n \\"RequestId\\": \\"DC1213F1-A9D5-4A01-A996-44983689126C\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<GetSecurityPreferenceResponse>\\r\\n\\t<SecurityPreference>\\r\\n\\t\\t<LoginProfilePreference>\\r\\n\\t\\t\\t<LoginSessionDuration>6</LoginSessionDuration>\\r\\n\\t\\t\\t<LoginNetworkMasks></LoginNetworkMasks>\\r\\n\\t\\t\\t<AllowUserToChangePassword>true</AllowUserToChangePassword>\\r\\n\\t\\t\\t<EnableSaveMFATicket>false</EnableSaveMFATicket>\\r\\n\\t\\t</LoginProfilePreference>\\r\\n\\t\\t<AccessKeyPreference>\\r\\n\\t\\t\\t<AllowUserToManageAccessKeys>false</AllowUserToManageAccessKeys>\\r\\n\\t\\t</AccessKeyPreference>\\r\\n\\t\\t<PublicKeyPreference>\\r\\n\\t\\t\\t<AllowUserToManagePublicKeys>false</AllowUserToManagePublicKeys>\\r\\n\\t\\t</PublicKeyPreference>\\r\\n\\t\\t<MFAPreference>\\r\\n\\t\\t\\t<AllowUserToManageMFADevices>true</AllowUserToManageMFADevices>\\r\\n\\t\\t</MFAPreference>\\r\\n\\t</SecurityPreference>\\r\\n\\t<RequestId>DC1213F1-A9D5-4A01-A996-44983689126C</RequestId>\\r\\n</GetSecurityPreferenceResponse>\\r\\n\\t\\r\\n","errorExample":""}]',
+ 'title' => 'GetSecurityPreference',
+ 'summary' => 'Queries the security preferences.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DecodeDiagnosticMessage' => [
+ 'summary' => 'Decodes the diagnostic information in the response that contains an access denied error. The error is caused by no RAM permissions.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EncodedDiagnosticMessage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The encoded diagnostic information in the response that contains an access denied error. The error is caused by no RAM permissions.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AQEAAAAAZBgxr0U1MjA1NTM1LUM4BBktMzE5RS1CODgxLUU1QTI0RDNFQTM1****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D2331703-AADF-5564-BA9B-26CD51A33BA0',
+ ],
+ 'DecodedDiagnosticMessage' => [
+ 'description' => 'The decoded diagnostic information.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ExplicitDeny' => [
+ 'description' => 'Indicates whether the access denied error is caused by an explicit deny.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ 'NoPermissionPolicyType' => [
+ 'description' => 'The type of the policy that causes the access denied error.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AssumeRolePolicy: role-specific trust policy'."\n"
+ .'* ControlPolicy: control policy'."\n"
+ .'* AccountLevelIdentityBasedPolicy: identity-based policy at the account level'."\n"
+ .'* ResourceGroupLevelIdentityBasedPolicy: identity-based policy at the resource group level'."\n"
+ .'* SessionPolicy: session policy',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'AssumeRolePolicy' => '',
+ 'ControlPolicy' => '',
+ 'AccountLevelIdentityBasedPolicy' => '',
+ 'ResourceGroupLevelIdentityBasedPolicy' => '',
+ 'SessionPolicy' => '',
+ ],
+ 'example' => 'AccountLevelIdentityBasedPolicy',
+ ],
+ 'AuthAction' => [
+ 'description' => 'The operation that is used for authentication in the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ram:DecodeDiagnosticMessage',
+ ],
+ 'AuthResource' => [
+ 'description' => 'The resource that is used for authentication in the request.'."\n",
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ 'AuthPrincipal' => [
+ 'description' => 'The operator that is used for authentication in the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthPrincipalType' => [
+ 'description' => 'The identity type that is used for authentication in the request.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* SubUser: RAM user'."\n"
+ .'* AssumedRoleUser: RAM role'."\n"
+ .'* Federated: SSO federated identity',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'SubUser' => '',
+ 'AssumedRoleUser' => '',
+ 'Federated' => '',
+ ],
+ 'example' => 'SubUser',
+ ],
+ 'AuthPrincipalOwnerId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the identity belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '196813200012****',
+ ],
+ 'AuthPrincipalDisplayName' => [
+ 'description' => 'The identity.'."\n"
+ ."\n"
+ .'* If the operator is a RAM user, the ID of the user is displayed.'."\n"
+ .'* If the operator is a RAM role, the name and session name of the role are displayed. Example: RoleName:RoleSessionName.'."\n"
+ .'* If the operator is an SSO federated identity, the type and name of the identity provider (IdP) are displayed. Example: saml-provider/AzureAD.'."\n",
+ 'type' => 'string',
+ 'example' => '28877424437521****',
+ ],
+ ],
+ ],
+ 'AuthConditions' => [
+ 'description' => 'The conditions that are used for authentication in the request.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The conditions that are used for authentication in the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConditionKey' => [
+ 'description' => 'The key of the condition.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:SourceIp',
+ ],
+ 'ConditionValues' => [
+ 'description' => 'The values that correspond to the key.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value that corresponds to the key.'."\n",
+ 'type' => 'string',
+ 'example' => '172.16.215.218',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'MatchedPolicies' => [
+ 'description' => 'The policies that are matched.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The policies that are matched.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Effect' => [
+ 'description' => 'The effect of the policy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Deny'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .'* Allow'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n"
+ ."\n"
+ .' <!-- -->'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Deny' => '',
+ 'Allow' => '',
+ ],
+ 'example' => 'Deny',
+ ],
+ 'PolicyIdentifier' => [
+ 'description' => 'The identifier of the policy.'."\n"
+ ."\n"
+ .'* Control policy: the ID of the control policy'."\n"
+ .'* RAM policy: the name of the policy'."\n",
+ 'type' => 'string',
+ 'example' => 'MyPolicyName',
+ ],
+ 'PolicyType' => [
+ 'description' => 'The type of the policy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ .'* Custom: custom policy'."\n"
+ .'* System: system policy',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Custom' => '',
+ 'System' => '',
+ ],
+ 'example' => 'Custom',
+ ],
+ 'PolicyVersion' => [
+ 'description' => 'The version number of the policy.'."\n"
+ ."\n"
+ .'> Only custom policies have version numbers.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'AttachedEntityType' => [
+ 'description' => 'The type of the entity to which the policy is attached.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* RamUser: RAM user'."\n"
+ .'* RamRole: RAM role'."\n"
+ .'* ResourceDirectoryTarget: entity in a resource directory'."\n"
+ .'* RamGroup: RAM user group',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'RamUser' => '',
+ 'RamRole' => '',
+ 'ResourceDirectoryTarget' => '',
+ 'RamGroup' => '',
+ ],
+ 'example' => 'RamUser',
+ ],
+ 'AttachedScope' => [
+ 'description' => 'The authorization scope of the policy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Account: Alibaba Cloud account'."\n"
+ .'* Folder: folder in the resource directory'."\n"
+ .'* ResourceGroup: resource group',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Account' => '',
+ 'Folder' => '',
+ 'ResourceGroup' => '',
+ ],
+ 'example' => 'Account',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NotSupport',
+ 'errorMessage' => 'This method can only be invoked by customer, sub user and assumed role user.',
+ ],
+ [
+ 'errorCode' => 'EncodedMessageExpire',
+ 'errorMessage' => 'The EncodedDiagnosticMessage is expired.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You do not have the required permissions.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'SearchInaccurate',
+ 'errorMessage' => 'The search result is inaccurate, please retry later.',
+ ],
+ [
+ 'errorCode' => 'EntityNotExist',
+ 'errorMessage' => 'The specific DecodedDiagnosticMessage cannot be found.',
+ ],
+ ],
+ 429 => [
+ [
+ 'errorCode' => 'TooManyRequests',
+ 'errorMessage' => 'Too many search requests at same time, please retry later.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2331703-AADF-5564-BA9B-26CD51A33BA0\\",\\n \\"DecodedDiagnosticMessage\\": {\\n \\"ExplicitDeny\\": true,\\n \\"NoPermissionPolicyType\\": \\"AccountLevelIdentityBasedPolicy\\",\\n \\"AuthAction\\": \\"ram:DecodeDiagnosticMessage\\",\\n \\"AuthResource\\": \\"*\\",\\n \\"AuthPrincipal\\": {\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"AuthPrincipalOwnerId\\": \\"196813200012****\\",\\n \\"AuthPrincipalDisplayName\\": \\"28877424437521****\\"\\n },\\n \\"AuthConditions\\": [\\n {\\n \\"ConditionKey\\": \\"acs:SourceIp\\",\\n \\"ConditionValues\\": [\\n \\"172.16.215.218\\"\\n ]\\n }\\n ],\\n \\"MatchedPolicies\\": [\\n {\\n \\"Effect\\": \\"Deny\\",\\n \\"PolicyIdentifier\\": \\"MyPolicyName\\",\\n \\"PolicyType\\": \\"Custom\\",\\n \\"PolicyVersion\\": \\"v1\\",\\n \\"AttachedEntityType\\": \\"RamUser\\",\\n \\"AttachedScope\\": \\"Account\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'DecodeDiagnosticMessage',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Adds tags to cloud resources which are Resource Access Management (RAM) roles and policies.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '254511',
+ 'abilityTreeNodes' => [
+ 'FEATUREramGR28GE',
+ ],
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'Enumerated values:'."\n"
+ ."\n"
+ .'* role: RAM roles.'."\n"
+ .'* policy: policies.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enumValueTitles' => [
+ 'role' => '',
+ 'policy' => '',
+ ],
+ 'example' => 'role',
+ ],
+ ],
+ [
+ 'name' => 'ResourceNames',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The names of the resources. You can specify up to 50 resource names.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'role1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags. You can specify up to 20 tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag. The tag key can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag. The tag value can be up to 256 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '697852FB-50D7-44D9-9774-530C31EAC572',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"697852FB-50D7-44D9-9774-530C31EAC572\\"\\n}","type":"json"}]',
+ 'title' => 'TagResources',
+ ],
+ 'UntagResources' => [
+ 'summary' => 'Removes tags from cloud resources that are Resource Access Management (RAM) roles and policies.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '255085',
+ 'abilityTreeNodes' => [
+ 'FEATUREramGR28GE',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'Enumerated values:'."\n"
+ ."\n"
+ .'* role: RAM roles.'."\n"
+ .'* policy: policies.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enumValueTitles' => [
+ 'role' => 'role',
+ 'policy' => 'policy',
+ ],
+ 'example' => 'role',
+ ],
+ ],
+ [
+ 'name' => 'ResourceNames',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The names of the resources. You can specify up to 50 resource names.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'role1',
+ ],
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TagKeys',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The keys of the tags. You can specify up to 20 tag keys.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The key of the tag. The tag key can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 't1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to remove all tags from the resources.'."\n"
+ ."\n"
+ .'Enumerated values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '9B34724D-54B0-4A51-B34D-4512372FE1BE',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B34724D-54B0-4A51-B34D-4512372FE1BE\\"\\n}","type":"json"}]',
+ 'title' => 'UntagResources',
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries the tags that are added to cloud resources which are Resource Access Management (RAM) roles and policies.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '255081',
+ 'abilityTreeNodes' => [
+ 'FEATUREramGR28GE',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'Enumerated values:'."\n"
+ ."\n"
+ .'* role: RAM roles.'."\n"
+ .'* policy: policies.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enumValueTitles' => [
+ 'role' => 'role',
+ 'policy' => 'policy',
+ ],
+ 'example' => 'role',
+ ],
+ ],
+ [
+ 'name' => 'ResourceNames',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The names of the resources. You can specify up to 50 resource names.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'role1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags. You can specify up to 20 tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag. The tag key can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 't1',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag. The tag value can be up to 256 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5CCE804C-6450-49A7-B1DB-2460F7A97416',
+ ],
+ 'TagResources' => [
+ 'description' => 'The tags that are added to the cloud resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag that is added to the cloud resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceName' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'role1',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'Enumerated values:'."\n"
+ ."\n"
+ .'* role: RAM roles.'."\n"
+ .'* policy: policies.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'role' => '',
+ 'policy' => '',
+ ],
+ 'example' => 'role',
+ ],
+ 'TagKey' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'example' => 't1',
+ ],
+ 'TagValue' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CCE804C-6450-49A7-B1DB-2460F7A97416\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceName\\": \\"role1\\",\\n \\"ResourceType\\": \\"role\\",\\n \\"TagKey\\": \\"t1\\",\\n \\"TagValue\\": \\"v1\\"\\n }\\n ],\\n \\"NextToken\\": \\"GY/oWREsOP1bPHGcHGrXfYX7UG1k9KqWFYThNDPx1UX26PbWOIu2CMqqiMr68H/K\\"\\n}","type":"json"}]',
+ 'title' => 'ListTagResources',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'ram.aliyuncs.com',
+ ],
+ ],
+];