@alicloud/cloudsso20210515 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/client.d.ts +221 -178
  2. package/dist/client.js +326 -178
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddExternalSamlidPcertificateRequest.d.ts +3 -3
  5. package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.d.ts +11 -14
  6. package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.js.map +1 -1
  7. package/dist/models/AddUserToGroupResponseBody.d.ts +1 -1
  8. package/dist/models/ClearExternalSamlidentityProviderRequest.d.ts +1 -1
  9. package/dist/models/CreateAccessAssignmentRequest.d.ts +13 -14
  10. package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
  11. package/dist/models/CreateAccessAssignmentResponseBody.d.ts +20 -22
  12. package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
  13. package/dist/models/CreateDirectoryRequest.d.ts +3 -3
  14. package/dist/models/CreateDirectoryResponseBody.d.ts +3 -3
  15. package/dist/models/CreateGroupRequest.d.ts +6 -6
  16. package/dist/models/CreateGroupResponseBody.d.ts +8 -7
  17. package/dist/models/CreateGroupResponseBody.js.map +1 -1
  18. package/dist/models/CreateScimserverCredentialRequest.d.ts +1 -1
  19. package/dist/models/CreateScimserverCredentialResponseBody.d.ts +8 -7
  20. package/dist/models/CreateScimserverCredentialResponseBody.js.map +1 -1
  21. package/dist/models/CreateUserProvisioningRequest.d.ts +15 -20
  22. package/dist/models/CreateUserProvisioningRequest.js.map +1 -1
  23. package/dist/models/CreateUserProvisioningResponseBody.d.ts +27 -35
  24. package/dist/models/CreateUserProvisioningResponseBody.js.map +1 -1
  25. package/dist/models/DeleteAccessAssignmentRequest.d.ts +17 -16
  26. package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
  27. package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +19 -17
  28. package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
  29. package/dist/models/DeleteAccessConfigurationRequest.d.ts +2 -3
  30. package/dist/models/DeleteAccessConfigurationRequest.js.map +1 -1
  31. package/dist/models/DeleteAccessConfigurationResponseBody.d.ts +1 -1
  32. package/dist/models/DeleteDirectoryRequest.d.ts +1 -1
  33. package/dist/models/DeleteGroupRequest.d.ts +1 -1
  34. package/dist/models/DeleteScimserverCredentialRequest.d.ts +1 -1
  35. package/dist/models/DeleteUserProvisioningEventRequest.d.ts +4 -4
  36. package/dist/models/DeleteUserProvisioningRequest.d.ts +6 -7
  37. package/dist/models/DeleteUserProvisioningRequest.js.map +1 -1
  38. package/dist/models/DeleteUserRequest.d.ts +2 -2
  39. package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +6 -2
  40. package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
  41. package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +13 -10
  42. package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
  43. package/dist/models/EnableDelegateAccountRequest.d.ts +1 -1
  44. package/dist/models/GetDirectoryRequest.d.ts +1 -1
  45. package/dist/models/GetDirectoryResponseBody.d.ts +5 -5
  46. package/dist/models/GetTaskResponseBody.d.ts +22 -19
  47. package/dist/models/GetTaskResponseBody.js.map +1 -1
  48. package/dist/models/ListAccessAssignmentsRequest.d.ts +22 -20
  49. package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
  50. package/dist/models/ListAccessAssignmentsResponseBody.d.ts +22 -20
  51. package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
  52. package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +18 -16
  53. package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
  54. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +29 -28
  55. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
  56. package/dist/models/ListTagResourcesRequest.d.ts +87 -0
  57. package/dist/models/ListTagResourcesRequest.js +93 -0
  58. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  59. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  60. package/dist/models/ListTagResourcesResponse.js +69 -0
  61. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  62. package/dist/models/ListTagResourcesResponseBody.d.ts +80 -0
  63. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  64. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  65. package/dist/models/ListTasksRequest.d.ts +27 -34
  66. package/dist/models/ListTasksRequest.js.map +1 -1
  67. package/dist/models/ListTasksResponseBody.d.ts +34 -36
  68. package/dist/models/ListTasksResponseBody.js.map +1 -1
  69. package/dist/models/ProvisionAccessConfigurationRequest.d.ts +7 -3
  70. package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
  71. package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +15 -12
  72. package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
  73. package/dist/models/ResetUserPasswordRequest.d.ts +11 -13
  74. package/dist/models/ResetUserPasswordRequest.js.map +1 -1
  75. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  76. package/dist/models/TagResourcesRequest.d.ts +95 -0
  77. package/dist/models/TagResourcesRequest.js +91 -0
  78. package/dist/models/TagResourcesRequest.js.map +1 -0
  79. package/dist/models/TagResourcesResponse.d.ts +19 -0
  80. package/dist/models/TagResourcesResponse.js +69 -0
  81. package/dist/models/TagResourcesResponse.js.map +1 -0
  82. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  83. package/dist/models/TagResourcesResponseBody.js +58 -0
  84. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  85. package/dist/models/UntagResourcesRequest.d.ts +59 -0
  86. package/dist/models/UntagResourcesRequest.js +72 -0
  87. package/dist/models/UntagResourcesRequest.js.map +1 -0
  88. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  89. package/dist/models/UntagResourcesResponse.js +69 -0
  90. package/dist/models/UntagResourcesResponse.js.map +1 -0
  91. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  92. package/dist/models/UntagResourcesResponseBody.js +58 -0
  93. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  94. package/dist/models/UpdateScimserverCredentialStatusRequest.d.ts +4 -5
  95. package/dist/models/UpdateScimserverCredentialStatusRequest.js.map +1 -1
  96. package/dist/models/UpdateScimserverCredentialStatusResponseBody.d.ts +6 -7
  97. package/dist/models/UpdateScimserverCredentialStatusResponseBody.js.map +1 -1
  98. package/dist/models/model.d.ts +12 -0
  99. package/dist/models/model.js +31 -7
  100. package/dist/models/model.js.map +1 -1
  101. package/package.json +1 -1
  102. package/src/client.ts +346 -178
  103. package/src/models/AddExternalSamlidPcertificateRequest.ts +3 -3
  104. package/src/models/AddPermissionPolicyToAccessConfigurationRequest.ts +11 -14
  105. package/src/models/AddUserToGroupResponseBody.ts +1 -1
  106. package/src/models/ClearExternalSamlidentityProviderRequest.ts +1 -1
  107. package/src/models/CreateAccessAssignmentRequest.ts +13 -14
  108. package/src/models/CreateAccessAssignmentResponseBody.ts +20 -22
  109. package/src/models/CreateDirectoryRequest.ts +3 -3
  110. package/src/models/CreateDirectoryResponseBody.ts +3 -3
  111. package/src/models/CreateGroupRequest.ts +6 -6
  112. package/src/models/CreateGroupResponseBody.ts +8 -7
  113. package/src/models/CreateScimserverCredentialRequest.ts +1 -1
  114. package/src/models/CreateScimserverCredentialResponseBody.ts +8 -7
  115. package/src/models/CreateUserProvisioningRequest.ts +15 -20
  116. package/src/models/CreateUserProvisioningResponseBody.ts +27 -35
  117. package/src/models/DeleteAccessAssignmentRequest.ts +17 -16
  118. package/src/models/DeleteAccessAssignmentResponseBody.ts +19 -17
  119. package/src/models/DeleteAccessConfigurationRequest.ts +2 -3
  120. package/src/models/DeleteAccessConfigurationResponseBody.ts +1 -1
  121. package/src/models/DeleteDirectoryRequest.ts +1 -1
  122. package/src/models/DeleteGroupRequest.ts +1 -1
  123. package/src/models/DeleteScimserverCredentialRequest.ts +1 -1
  124. package/src/models/DeleteUserProvisioningEventRequest.ts +4 -4
  125. package/src/models/DeleteUserProvisioningRequest.ts +6 -7
  126. package/src/models/DeleteUserRequest.ts +2 -2
  127. package/src/models/DeprovisionAccessConfigurationRequest.ts +6 -2
  128. package/src/models/DeprovisionAccessConfigurationResponseBody.ts +13 -10
  129. package/src/models/EnableDelegateAccountRequest.ts +1 -1
  130. package/src/models/GetDirectoryRequest.ts +1 -1
  131. package/src/models/GetDirectoryResponseBody.ts +5 -5
  132. package/src/models/GetTaskResponseBody.ts +22 -19
  133. package/src/models/ListAccessAssignmentsRequest.ts +22 -20
  134. package/src/models/ListAccessAssignmentsResponseBody.ts +22 -20
  135. package/src/models/ListAccessConfigurationProvisioningsRequest.ts +18 -16
  136. package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +29 -28
  137. package/src/models/ListTagResourcesRequest.ts +126 -0
  138. package/src/models/ListTagResourcesResponse.ts +40 -0
  139. package/src/models/ListTagResourcesResponseBody.ts +116 -0
  140. package/src/models/ListTasksRequest.ts +27 -34
  141. package/src/models/ListTasksResponseBody.ts +34 -36
  142. package/src/models/ProvisionAccessConfigurationRequest.ts +7 -3
  143. package/src/models/ProvisionAccessConfigurationResponseBody.ts +15 -12
  144. package/src/models/ResetUserPasswordRequest.ts +11 -13
  145. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  146. package/src/models/TagResourcesRequest.ts +132 -0
  147. package/src/models/TagResourcesResponse.ts +40 -0
  148. package/src/models/TagResourcesResponseBody.ts +34 -0
  149. package/src/models/UntagResourcesRequest.ts +86 -0
  150. package/src/models/UntagResourcesResponse.ts +40 -0
  151. package/src/models/UntagResourcesResponseBody.ts +34 -0
  152. package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
  153. package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
  154. package/src/models/model.ts +12 -0
package/src/client.ts CHANGED
@@ -30,11 +30,11 @@ export default class Client extends OpenApi {
30
30
  }
31
31
 
32
32
  /**
33
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
33
+ * Adds a SAML signing certificate.
34
34
  *
35
35
  * @remarks
36
36
  * You can add up to two SAML signing certificates.
37
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
37
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
38
38
  *
39
39
  * @param request - AddExternalSAMLIdPCertificateRequest
40
40
  * @param runtime - runtime options for this request RuntimeOptions
@@ -69,11 +69,11 @@ export default class Client extends OpenApi {
69
69
  }
70
70
 
71
71
  /**
72
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
72
+ * Adds a SAML signing certificate.
73
73
  *
74
74
  * @remarks
75
75
  * You can add up to two SAML signing certificates.
76
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
76
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
77
77
  *
78
78
  * @param request - AddExternalSAMLIdPCertificateRequest
79
79
  * @returns AddExternalSAMLIdPCertificateResponse
@@ -84,10 +84,10 @@ export default class Client extends OpenApi {
84
84
  }
85
85
 
86
86
  /**
87
- * Adds a policy to an access configuration.
87
+ * Adds an access policy to an access configuration.
88
88
  *
89
89
  * @remarks
90
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
90
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
91
91
  *
92
92
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
93
93
  * @param runtime - runtime options for this request RuntimeOptions
@@ -134,10 +134,10 @@ export default class Client extends OpenApi {
134
134
  }
135
135
 
136
136
  /**
137
- * Adds a policy to an access configuration.
137
+ * Adds an access policy to an access configuration.
138
138
  *
139
139
  * @remarks
140
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
140
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
141
141
  *
142
142
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
143
143
  * @returns AddPermissionPolicyToAccessConfigurationResponse
@@ -151,8 +151,8 @@ export default class Client extends OpenApi {
151
151
  * Adds a user to a group.
152
152
  *
153
153
  * @remarks
154
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
155
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
154
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
155
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
156
156
  *
157
157
  * @param request - AddUserToGroupRequest
158
158
  * @param runtime - runtime options for this request RuntimeOptions
@@ -194,8 +194,8 @@ export default class Client extends OpenApi {
194
194
  * Adds a user to a group.
195
195
  *
196
196
  * @remarks
197
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
198
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
197
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
198
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
199
199
  *
200
200
  * @param request - AddUserToGroupRequest
201
201
  * @returns AddUserToGroupResponse
@@ -206,11 +206,11 @@ export default class Client extends OpenApi {
206
206
  }
207
207
 
208
208
  /**
209
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
209
+ * Clears the configuration of the SAML IdP.
210
210
  *
211
211
  * @remarks
212
- * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
213
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
212
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
213
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
214
214
  *
215
215
  * @param request - ClearExternalSAMLIdentityProviderRequest
216
216
  * @param runtime - runtime options for this request RuntimeOptions
@@ -241,11 +241,11 @@ export default class Client extends OpenApi {
241
241
  }
242
242
 
243
243
  /**
244
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
244
+ * Clears the configuration of the SAML IdP.
245
245
  *
246
246
  * @remarks
247
- * If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
248
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
247
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
248
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
249
249
  *
250
250
  * @param request - ClearExternalSAMLIdentityProviderRequest
251
251
  * @returns ClearExternalSAMLIdentityProviderResponse
@@ -256,12 +256,12 @@ export default class Client extends OpenApi {
256
256
  }
257
257
 
258
258
  /**
259
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
259
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
260
260
  *
261
261
  * @remarks
262
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
263
- * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](https://help.aliyun.com/document_detail/266726.html).
264
- * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
262
+ * This API operation is asynchronous. You can use the TaskId returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
263
+ * For more information about granting access to an account in a resource directory, see [Multi-account authorization overview](https://help.aliyun.com/document_detail/266726.html).
264
+ * This topic provides an example on how to assign the access configuration `ac-00jhtfl8thteu6uj****` to the CloudSSO user `u-00q8wbq42wiltcrk****` for the account `114240524784****` in a resource directory. This allows the CloudSSO user to access authorized resources in the account.
265
265
  *
266
266
  * @param request - CreateAccessAssignmentRequest
267
267
  * @param runtime - runtime options for this request RuntimeOptions
@@ -316,12 +316,12 @@ export default class Client extends OpenApi {
316
316
  }
317
317
 
318
318
  /**
319
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
319
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
320
320
  *
321
321
  * @remarks
322
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
323
- * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](https://help.aliyun.com/document_detail/266726.html).
324
- * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
322
+ * This API operation is asynchronous. You can use the TaskId returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
323
+ * For more information about granting access to an account in a resource directory, see [Multi-account authorization overview](https://help.aliyun.com/document_detail/266726.html).
324
+ * This topic provides an example on how to assign the access configuration `ac-00jhtfl8thteu6uj****` to the CloudSSO user `u-00q8wbq42wiltcrk****` for the account `114240524784****` in a resource directory. This allows the CloudSSO user to access authorized resources in the account.
325
325
  *
326
326
  * @param request - CreateAccessAssignmentRequest
327
327
  * @returns CreateAccessAssignmentResponse
@@ -405,13 +405,13 @@ export default class Client extends OpenApi {
405
405
  * Creates a directory.
406
406
  *
407
407
  * @remarks
408
- * ### [](#)Operation description
409
- * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
410
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
408
+ * ### Usage notes
409
+ * A directory is an instance in CloudSSO. You must create a directory before you use CloudSSO. All CloudSSO resources must be maintained in the directory.
410
+ * You must select a region for the CloudSSO directory. Alibaba Cloud ensures that all CloudSSO-related data is stored only in this region. This is independent of where you deploy cloud resources such as ECS and ApsaraDB RDS. You can log on to and access cloud resources in any region from anywhere in the world. You can select a region based on your security and compliance requirements and the geographic location of your target users. If you do not have special security and compliance requirements, select the region closest to your target users to improve access speed. Currently, you can create directories in the following four regions: China (Shanghai), China (Hong Kong), US (Silicon Valley), and Germany (Frankfurt).
411
411
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
412
- * ### [](#)Limits
413
- * * You can create only one directory for a management account.
414
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
412
+ * ### Limits
413
+ * - A management account can create only one directory.
414
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
415
415
  *
416
416
  * @param request - CreateDirectoryRequest
417
417
  * @param runtime - runtime options for this request RuntimeOptions
@@ -445,13 +445,13 @@ export default class Client extends OpenApi {
445
445
  * Creates a directory.
446
446
  *
447
447
  * @remarks
448
- * ### [](#)Operation description
449
- * A directory is a CloudSSO instance. Before you can use CloudSSO, you must create a directory. The directory is used to manage all CloudSSO resources.
450
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
448
+ * ### Usage notes
449
+ * A directory is an instance in CloudSSO. You must create a directory before you use CloudSSO. All CloudSSO resources must be maintained in the directory.
450
+ * You must select a region for the CloudSSO directory. Alibaba Cloud ensures that all CloudSSO-related data is stored only in this region. This is independent of where you deploy cloud resources such as ECS and ApsaraDB RDS. You can log on to and access cloud resources in any region from anywhere in the world. You can select a region based on your security and compliance requirements and the geographic location of your target users. If you do not have special security and compliance requirements, select the region closest to your target users to improve access speed. Currently, you can create directories in the following four regions: China (Shanghai), China (Hong Kong), US (Silicon Valley), and Germany (Frankfurt).
451
451
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
452
- * ### [](#)Limits
453
- * * You can create only one directory for a management account.
454
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
452
+ * ### Limits
453
+ * - A management account can create only one directory.
454
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
455
455
  *
456
456
  * @param request - CreateDirectoryRequest
457
457
  * @returns CreateDirectoryResponse
@@ -462,10 +462,10 @@ export default class Client extends OpenApi {
462
462
  }
463
463
 
464
464
  /**
465
- * Creates a group.
465
+ * Creates a user group.
466
466
  *
467
467
  * @remarks
468
- * This topic provides an example on how to create a group named `TestGroup`.
468
+ * This topic provides an example of creating a user group named `TestGroup`.
469
469
  *
470
470
  * @param request - CreateGroupRequest
471
471
  * @param runtime - runtime options for this request RuntimeOptions
@@ -504,10 +504,10 @@ export default class Client extends OpenApi {
504
504
  }
505
505
 
506
506
  /**
507
- * Creates a group.
507
+ * Creates a user group.
508
508
  *
509
509
  * @remarks
510
- * This topic provides an example on how to create a group named `TestGroup`.
510
+ * This topic provides an example of creating a user group named `TestGroup`.
511
511
  *
512
512
  * @param request - CreateGroupRequest
513
513
  * @returns CreateGroupResponse
@@ -518,11 +518,11 @@ export default class Client extends OpenApi {
518
518
  }
519
519
 
520
520
  /**
521
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
521
+ * Creates a SCIM credential.
522
522
  *
523
523
  * @remarks
524
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
525
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
524
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
525
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
526
526
  *
527
527
  * @param request - CreateSCIMServerCredentialRequest
528
528
  * @param runtime - runtime options for this request RuntimeOptions
@@ -553,11 +553,11 @@ export default class Client extends OpenApi {
553
553
  }
554
554
 
555
555
  /**
556
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
556
+ * Creates a SCIM credential.
557
557
  *
558
558
  * @remarks
559
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
560
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
559
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
560
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
561
561
  *
562
562
  * @param request - CreateSCIMServerCredentialRequest
563
563
  * @returns CreateSCIMServerCredentialResponse
@@ -642,10 +642,10 @@ export default class Client extends OpenApi {
642
642
  }
643
643
 
644
644
  /**
645
- * Creates a Resource Access Management (RAM) user provisioning.
645
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
646
646
  *
647
647
  * @remarks
648
- * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
648
+ * You can create a Resource Access Management (RAM) user synchronization to synchronously create a Resource Access Management (RAM) user that has the same name as a CloudSSO user in a destination account in a resource directory. You can then use the Resource Access Management (RAM) user to access resources in the account.
649
649
  *
650
650
  * @param request - CreateUserProvisioningRequest
651
651
  * @param runtime - runtime options for this request RuntimeOptions
@@ -704,10 +704,10 @@ export default class Client extends OpenApi {
704
704
  }
705
705
 
706
706
  /**
707
- * Creates a Resource Access Management (RAM) user provisioning.
707
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
708
708
  *
709
709
  * @remarks
710
- * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
710
+ * You can create a Resource Access Management (RAM) user synchronization to synchronously create a Resource Access Management (RAM) user that has the same name as a CloudSSO user in a destination account in a resource directory. You can then use the Resource Access Management (RAM) user to access resources in the account.
711
711
  *
712
712
  * @param request - CreateUserProvisioningRequest
713
713
  * @returns CreateUserProvisioningResponse
@@ -718,11 +718,11 @@ export default class Client extends OpenApi {
718
718
  }
719
719
 
720
720
  /**
721
- * Removes the access permissions on an account in a resource directory.
721
+ * Removes the authorization from an account in a resource directory.
722
722
  *
723
723
  * @remarks
724
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
725
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
724
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
725
+ * This topic provides an example of removing the authorization for the CloudSSO user `u-00q8wbq42wiltcrk****` to use the access configuration `ac-00jhtfl8thteu6uj****` on the account in a resource directory `114240524784****`.
726
726
  *
727
727
  * @param request - DeleteAccessAssignmentRequest
728
728
  * @param runtime - runtime options for this request RuntimeOptions
@@ -781,11 +781,11 @@ export default class Client extends OpenApi {
781
781
  }
782
782
 
783
783
  /**
784
- * Removes the access permissions on an account in a resource directory.
784
+ * Removes the authorization from an account in a resource directory.
785
785
  *
786
786
  * @remarks
787
- * When you call this operation, an asynchronous task is created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
788
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
787
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
788
+ * This topic provides an example of removing the authorization for the CloudSSO user `u-00q8wbq42wiltcrk****` to use the access configuration `ac-00jhtfl8thteu6uj****` on the account in a resource directory `114240524784****`.
789
789
  *
790
790
  * @param request - DeleteAccessAssignmentRequest
791
791
  * @returns DeleteAccessAssignmentResponse
@@ -799,10 +799,10 @@ export default class Client extends OpenApi {
799
799
  * Deletes an access configuration.
800
800
  *
801
801
  * @remarks
802
- * ### [](#)Prerequisites
803
- * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
804
- * ### [](#)Operation description
805
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
802
+ * ### Before you begin
803
+ * Before you delete an access configuration, you must deprovision the access configuration from the members of the resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
804
+ * ### Usage notes
805
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
806
806
  *
807
807
  * @param request - DeleteAccessConfigurationRequest
808
808
  * @param runtime - runtime options for this request RuntimeOptions
@@ -844,10 +844,10 @@ export default class Client extends OpenApi {
844
844
  * Deletes an access configuration.
845
845
  *
846
846
  * @remarks
847
- * ### [](#)Prerequisites
848
- * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
849
- * ### [](#)Operation description
850
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
847
+ * ### Before you begin
848
+ * Before you delete an access configuration, you must deprovision the access configuration from the members of the resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
849
+ * ### Usage notes
850
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
851
851
  *
852
852
  * @param request - DeleteAccessConfigurationRequest
853
853
  * @returns DeleteAccessConfigurationResponse
@@ -861,16 +861,16 @@ export default class Client extends OpenApi {
861
861
  * Deletes a directory.
862
862
  *
863
863
  * @remarks
864
- * ### [](#)Prerequisites
865
- * No resources are contained in the directory that you want to delete.
866
- * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
867
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
868
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
869
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
870
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
871
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
872
- * ### [](#)Operation description
873
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
864
+ * ### Before you begin
865
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
866
+ * - Remove all authorizations for users and groups on an account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
867
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
868
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
869
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
870
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
871
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
872
+ * ### Usage notes
873
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
874
874
  *
875
875
  * @param request - DeleteDirectoryRequest
876
876
  * @param runtime - runtime options for this request RuntimeOptions
@@ -904,16 +904,16 @@ export default class Client extends OpenApi {
904
904
  * Deletes a directory.
905
905
  *
906
906
  * @remarks
907
- * ### [](#)Prerequisites
908
- * No resources are contained in the directory that you want to delete.
909
- * * Access permissions on the accounts in your resource directory are removed from all users and groups. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
910
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
911
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
912
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
913
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
914
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
915
- * ### [](#)Operation description
916
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
907
+ * ### Before you begin
908
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
909
+ * - Remove all authorizations for users and groups on an account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
910
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
911
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
912
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
913
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
914
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
915
+ * ### Usage notes
916
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
917
917
  *
918
918
  * @param request - DeleteDirectoryRequest
919
919
  * @returns DeleteDirectoryResponse
@@ -924,16 +924,16 @@ export default class Client extends OpenApi {
924
924
  }
925
925
 
926
926
  /**
927
- * Deletes a group.
927
+ * Deletes a specified group.
928
928
  *
929
929
  * @remarks
930
- * ### [](#)Prerequisites
931
- * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
932
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
933
- * - Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
934
- * ### [](#)Operation description
935
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
936
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
930
+ * ### Before you begin
931
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
932
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
933
+ * - Authorization: You must remove the authorization of the user group on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
934
+ * ### Usage notes
935
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
936
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
937
937
  *
938
938
  * @param request - DeleteGroupRequest
939
939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -968,16 +968,16 @@ export default class Client extends OpenApi {
968
968
  }
969
969
 
970
970
  /**
971
- * Deletes a group.
971
+ * Deletes a specified group.
972
972
  *
973
973
  * @remarks
974
- * ### [](#)Prerequisites
975
- * The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
976
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
977
- * - Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
978
- * ### [](#)Operation description
979
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
980
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
974
+ * ### Before you begin
975
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
976
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
977
+ * - Authorization: You must remove the authorization of the user group on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
978
+ * ### Usage notes
979
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
980
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
981
981
  *
982
982
  * @param request - DeleteGroupRequest
983
983
  * @returns DeleteGroupResponse
@@ -1048,11 +1048,11 @@ export default class Client extends OpenApi {
1048
1048
  }
1049
1049
 
1050
1050
  /**
1051
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1051
+ * Deletes a SCIM credential.
1052
1052
  *
1053
1053
  * @remarks
1054
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1055
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1054
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
1055
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1056
1056
  *
1057
1057
  * @param request - DeleteSCIMServerCredentialRequest
1058
1058
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1087,11 +1087,11 @@ export default class Client extends OpenApi {
1087
1087
  }
1088
1088
 
1089
1089
  /**
1090
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1090
+ * Deletes a SCIM credential.
1091
1091
  *
1092
1092
  * @remarks
1093
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1094
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1093
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
1094
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1095
1095
  *
1096
1096
  * @param request - DeleteSCIMServerCredentialRequest
1097
1097
  * @returns DeleteSCIMServerCredentialResponse
@@ -1105,14 +1105,14 @@ export default class Client extends OpenApi {
1105
1105
  * Deletes a user.
1106
1106
  *
1107
1107
  * @remarks
1108
- * ### [](#)Prerequisites
1109
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1110
- * * Multi-factor authentication (MFA) devices: You must delete the MFA devices bound to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1111
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1112
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1113
- * ### [](#)Precautions
1114
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1115
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1108
+ * ### Before you begin
1109
+ * Before you delete a user, ensure that the user is not associated with the following resources. Otherwise, the deletion will result in a failed state:
1110
+ * - MFA devices: You must delete the MFA device attached to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1111
+ * - Authorization: You must remove the authorization of the user on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1112
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1113
+ * ### Usage notes
1114
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1115
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1116
1116
  *
1117
1117
  * @param request - DeleteUserRequest
1118
1118
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1150,14 +1150,14 @@ export default class Client extends OpenApi {
1150
1150
  * Deletes a user.
1151
1151
  *
1152
1152
  * @remarks
1153
- * ### [](#)Prerequisites
1154
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1155
- * * Multi-factor authentication (MFA) devices: You must delete the MFA devices bound to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1156
- * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1157
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1158
- * ### [](#)Precautions
1159
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1160
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1153
+ * ### Before you begin
1154
+ * Before you delete a user, ensure that the user is not associated with the following resources. Otherwise, the deletion will result in a failed state:
1155
+ * - MFA devices: You must delete the MFA device attached to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1156
+ * - Authorization: You must remove the authorization of the user on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1157
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1158
+ * ### Usage notes
1159
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1160
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1161
1161
  *
1162
1162
  * @param request - DeleteUserRequest
1163
1163
  * @returns DeleteUserResponse
@@ -1168,7 +1168,7 @@ export default class Client extends OpenApi {
1168
1168
  }
1169
1169
 
1170
1170
  /**
1171
- * Deletes a Resource Access Management (RAM) user provisioning.
1171
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1172
1172
  *
1173
1173
  * @param request - DeleteUserProvisioningRequest
1174
1174
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1207,7 +1207,7 @@ export default class Client extends OpenApi {
1207
1207
  }
1208
1208
 
1209
1209
  /**
1210
- * Deletes a Resource Access Management (RAM) user provisioning.
1210
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1211
1211
  *
1212
1212
  * @param request - DeleteUserProvisioningRequest
1213
1213
  * @returns DeleteUserProvisioningResponse
@@ -1218,7 +1218,7 @@ export default class Client extends OpenApi {
1218
1218
  }
1219
1219
 
1220
1220
  /**
1221
- * Deletes a Resource Access Management (RAM) user provisioning event.
1221
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1222
1222
  *
1223
1223
  * @param request - DeleteUserProvisioningEventRequest
1224
1224
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1257,7 +1257,7 @@ export default class Client extends OpenApi {
1257
1257
  }
1258
1258
 
1259
1259
  /**
1260
- * Deletes a Resource Access Management (RAM) user provisioning event.
1260
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1261
1261
  *
1262
1262
  * @param request - DeleteUserProvisioningEventRequest
1263
1263
  * @returns DeleteUserProvisioningEventResponse
@@ -1268,11 +1268,11 @@ export default class Client extends OpenApi {
1268
1268
  }
1269
1269
 
1270
1270
  /**
1271
- * De-provisions an access configuration from an account in your resource directory.
1271
+ * Deprovisions an access configuration from an account in a resource directory.
1272
1272
  *
1273
1273
  * @remarks
1274
- * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
1275
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1274
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response parameters to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
1275
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1276
1276
  *
1277
1277
  * @param request - DeprovisionAccessConfigurationRequest
1278
1278
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1319,11 +1319,11 @@ export default class Client extends OpenApi {
1319
1319
  }
1320
1320
 
1321
1321
  /**
1322
- * De-provisions an access configuration from an account in your resource directory.
1322
+ * Deprovisions an access configuration from an account in a resource directory.
1323
1323
  *
1324
1324
  * @remarks
1325
- * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
1326
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1325
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response parameters to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
1326
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1327
1327
  *
1328
1328
  * @param request - DeprovisionAccessConfigurationRequest
1329
1329
  * @returns DeprovisionAccessConfigurationResponse
@@ -1413,11 +1413,11 @@ export default class Client extends OpenApi {
1413
1413
  }
1414
1414
 
1415
1415
  /**
1416
- * Enables the delegated administrator account of CloudSSO.
1416
+ * Enables a CloudSSO delegated administrator account.
1417
1417
  *
1418
1418
  * @remarks
1419
- * You can use the management account of a resource directory to specify a member of the resource directory as the delegated administrator account of CloudSSO. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1420
- * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
1419
+ * The management account of a resource directory can set a member of the resource directory as a CloudSSO delegated administrator account. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1420
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1421
1421
  *
1422
1422
  * @param request - EnableDelegateAccountRequest
1423
1423
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1448,11 +1448,11 @@ export default class Client extends OpenApi {
1448
1448
  }
1449
1449
 
1450
1450
  /**
1451
- * Enables the delegated administrator account of CloudSSO.
1451
+ * Enables a CloudSSO delegated administrator account.
1452
1452
  *
1453
1453
  * @remarks
1454
- * You can use the management account of a resource directory to specify a member of the resource directory as the delegated administrator account of CloudSSO. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1455
- * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
1454
+ * The management account of a resource directory can set a member of the resource directory as a CloudSSO delegated administrator account. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1455
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1456
1456
  *
1457
1457
  * @param request - EnableDelegateAccountRequest
1458
1458
  * @returns EnableDelegateAccountResponse
@@ -1602,10 +1602,10 @@ export default class Client extends OpenApi {
1602
1602
  }
1603
1603
 
1604
1604
  /**
1605
- * Queries information about a directory.
1605
+ * Queries the details of a directory.
1606
1606
  *
1607
1607
  * @remarks
1608
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1608
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1609
1609
  *
1610
1610
  * @param request - GetDirectoryRequest
1611
1611
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1636,10 +1636,10 @@ export default class Client extends OpenApi {
1636
1636
  }
1637
1637
 
1638
1638
  /**
1639
- * Queries information about a directory.
1639
+ * Queries the details of a directory.
1640
1640
  *
1641
1641
  * @remarks
1642
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1642
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1643
1643
  *
1644
1644
  * @param request - GetDirectoryRequest
1645
1645
  * @returns GetDirectoryResponse
@@ -2159,10 +2159,10 @@ export default class Client extends OpenApi {
2159
2159
  }
2160
2160
 
2161
2161
  /**
2162
- * Queries information about an asynchronous task.
2162
+ * Queries the details of an asynchronous task.
2163
2163
  *
2164
2164
  * @remarks
2165
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2165
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2166
2166
  *
2167
2167
  * @param request - GetTaskRequest
2168
2168
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2197,10 +2197,10 @@ export default class Client extends OpenApi {
2197
2197
  }
2198
2198
 
2199
2199
  /**
2200
- * Queries information about an asynchronous task.
2200
+ * Queries the details of an asynchronous task.
2201
2201
  *
2202
2202
  * @remarks
2203
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2203
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2204
2204
  *
2205
2205
  * @param request - GetTaskRequest
2206
2206
  * @returns GetTaskResponse
@@ -2641,10 +2641,10 @@ export default class Client extends OpenApi {
2641
2641
  }
2642
2642
 
2643
2643
  /**
2644
- * Queries the access permissions that are assigned.
2644
+ * Queries access assignments.
2645
2645
  *
2646
2646
  * @remarks
2647
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
2647
+ * This topic provides an example of querying the access assignments on the account in a resource directory `114240524784****`. The response shows that one access assignment record exists on the account.
2648
2648
  *
2649
2649
  * @param request - ListAccessAssignmentsRequest
2650
2650
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2707,10 +2707,10 @@ export default class Client extends OpenApi {
2707
2707
  }
2708
2708
 
2709
2709
  /**
2710
- * Queries the access permissions that are assigned.
2710
+ * Queries access assignments.
2711
2711
  *
2712
2712
  * @remarks
2713
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
2713
+ * This topic provides an example of querying the access assignments on the account in a resource directory `114240524784****`. The response shows that one access assignment record exists on the account.
2714
2714
  *
2715
2715
  * @param request - ListAccessAssignmentsRequest
2716
2716
  * @returns ListAccessAssignmentsResponse
@@ -2721,10 +2721,10 @@ export default class Client extends OpenApi {
2721
2721
  }
2722
2722
 
2723
2723
  /**
2724
- * Queries the access configurations that are provisioned.
2724
+ * Queries access configuration provisionings.
2725
2725
  *
2726
2726
  * @remarks
2727
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
2727
+ * This topic provides an example of querying the deployment list of the access configuration `ac-00ccule7tadaijxc****`. The response shows that the access configuration is deployed in two accounts, each being an account in a resource directory.
2728
2728
  *
2729
2729
  * @param request - ListAccessConfigurationProvisioningsRequest
2730
2730
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2783,10 +2783,10 @@ export default class Client extends OpenApi {
2783
2783
  }
2784
2784
 
2785
2785
  /**
2786
- * Queries the access configurations that are provisioned.
2786
+ * Queries access configuration provisionings.
2787
2787
  *
2788
2788
  * @remarks
2789
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
2789
+ * This topic provides an example of querying the deployment list of the access configuration `ac-00ccule7tadaijxc****`. The response shows that the access configuration is deployed in two accounts, each being an account in a resource directory.
2790
2790
  *
2791
2791
  * @param request - ListAccessConfigurationProvisioningsRequest
2792
2792
  * @returns ListAccessConfigurationProvisioningsResponse
@@ -3290,11 +3290,68 @@ export default class Client extends OpenApi {
3290
3290
  }
3291
3291
 
3292
3292
  /**
3293
- * Queries asynchronous tasks.
3293
+ * Queries the relationships between resources and tags.
3294
+ *
3295
+ * @param request - ListTagResourcesRequest
3296
+ * @param runtime - runtime options for this request RuntimeOptions
3297
+ * @returns ListTagResourcesResponse
3298
+ */
3299
+ async listTagResourcesWithOptions(request: $_model.ListTagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse> {
3300
+ request.validate();
3301
+ let query = { };
3302
+ if (!$dara.isNull(request.directoryId)) {
3303
+ query["DirectoryId"] = request.directoryId;
3304
+ }
3305
+
3306
+ if (!$dara.isNull(request.nextToken)) {
3307
+ query["NextToken"] = request.nextToken;
3308
+ }
3309
+
3310
+ if (!$dara.isNull(request.resourceId)) {
3311
+ query["ResourceId"] = request.resourceId;
3312
+ }
3313
+
3314
+ if (!$dara.isNull(request.resourceType)) {
3315
+ query["ResourceType"] = request.resourceType;
3316
+ }
3317
+
3318
+ if (!$dara.isNull(request.tag)) {
3319
+ query["Tag"] = request.tag;
3320
+ }
3321
+
3322
+ let req = new $OpenApiUtil.OpenApiRequest({
3323
+ query: OpenApiUtil.query(query),
3324
+ });
3325
+ let params = new $OpenApiUtil.Params({
3326
+ action: "ListTagResources",
3327
+ version: "2021-05-15",
3328
+ protocol: "HTTPS",
3329
+ pathname: "/",
3330
+ method: "POST",
3331
+ authType: "AK",
3332
+ style: "RPC",
3333
+ reqBodyType: "formData",
3334
+ bodyType: "json",
3335
+ });
3336
+ return $dara.cast<$_model.ListTagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
3337
+ }
3338
+
3339
+ /**
3340
+ * Queries the relationships between resources and tags.
3341
+ *
3342
+ * @param request - ListTagResourcesRequest
3343
+ * @returns ListTagResourcesResponse
3344
+ */
3345
+ async listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse> {
3346
+ let runtime = new $dara.RuntimeOptions({ });
3347
+ return await this.listTagResourcesWithOptions(request, runtime);
3348
+ }
3349
+
3350
+ /**
3351
+ * Queries a list of asynchronous tasks.
3294
3352
  *
3295
3353
  * @remarks
3296
- * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
3297
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3354
+ * By default, this operation queries the list of tasks created within the last 24 hours. You can query tasks created within the last 7 days at most. You can use the Filter parameter to specify the start time of the query. This topic provides an example on how to query the list of tasks created within the last 24 hours.
3298
3355
  *
3299
3356
  * @param request - ListTasksRequest
3300
3357
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3365,11 +3422,10 @@ export default class Client extends OpenApi {
3365
3422
  }
3366
3423
 
3367
3424
  /**
3368
- * Queries asynchronous tasks.
3425
+ * Queries a list of asynchronous tasks.
3369
3426
  *
3370
3427
  * @remarks
3371
- * By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
3372
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3428
+ * By default, this operation queries the list of tasks created within the last 24 hours. You can query tasks created within the last 7 days at most. You can use the Filter parameter to specify the start time of the query. This topic provides an example on how to query the list of tasks created within the last 24 hours.
3373
3429
  *
3374
3430
  * @param request - ListTasksRequest
3375
3431
  * @returns ListTasksResponse
@@ -3566,11 +3622,11 @@ export default class Client extends OpenApi {
3566
3622
  }
3567
3623
 
3568
3624
  /**
3569
- * Provisions an access configuration for an account in your resource directory.
3625
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3570
3626
  *
3571
3627
  * @remarks
3572
- * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
3573
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3628
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
3629
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3574
3630
  *
3575
3631
  * @param request - ProvisionAccessConfigurationRequest
3576
3632
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3617,11 +3673,11 @@ export default class Client extends OpenApi {
3617
3673
  }
3618
3674
 
3619
3675
  /**
3620
- * Provisions an access configuration for an account in your resource directory.
3676
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3621
3677
  *
3622
3678
  * @remarks
3623
- * When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](https://help.aliyun.com/document_detail/340670.html) operation to query the progress of the task based on the value of the `TaskId` response parameter.
3624
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3679
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
3680
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3625
3681
  *
3626
3682
  * @param request - ProvisionAccessConfigurationRequest
3627
3683
  * @returns ProvisionAccessConfigurationResponse
@@ -3807,9 +3863,9 @@ export default class Client extends OpenApi {
3807
3863
  * Resets the password of a user.
3808
3864
  *
3809
3865
  * @remarks
3810
- * If a user forgets the password, the password expires, or the password poses security risks, a CloudSSO administrator can reset the password for the user.
3811
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3812
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
3866
+ * A CloudSSO administrator can reset the password of a user when the user forgets the password, the password expires, or the password poses a security risk.
3867
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3868
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3813
3869
  *
3814
3870
  * @param request - ResetUserPasswordRequest
3815
3871
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3859,9 +3915,9 @@ export default class Client extends OpenApi {
3859
3915
  * Resets the password of a user.
3860
3916
  *
3861
3917
  * @remarks
3862
- * If a user forgets the password, the password expires, or the password poses security risks, a CloudSSO administrator can reset the password for the user.
3863
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3864
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
3918
+ * A CloudSSO administrator can reset the password of a user when the user forgets the password, the password expires, or the password poses a security risk.
3919
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3920
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3865
3921
  *
3866
3922
  * @param request - ResetUserPasswordRequest
3867
3923
  * @returns ResetUserPasswordResponse
@@ -4241,6 +4297,118 @@ export default class Client extends OpenApi {
4241
4297
  return await this.setSCIMSynchronizationStatusWithOptions(request, runtime);
4242
4298
  }
4243
4299
 
4300
+ /**
4301
+ * Tags resources.
4302
+ *
4303
+ * @param request - TagResourcesRequest
4304
+ * @param runtime - runtime options for this request RuntimeOptions
4305
+ * @returns TagResourcesResponse
4306
+ */
4307
+ async tagResourcesWithOptions(request: $_model.TagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse> {
4308
+ request.validate();
4309
+ let query = { };
4310
+ if (!$dara.isNull(request.directoryId)) {
4311
+ query["DirectoryId"] = request.directoryId;
4312
+ }
4313
+
4314
+ if (!$dara.isNull(request.resourceId)) {
4315
+ query["ResourceId"] = request.resourceId;
4316
+ }
4317
+
4318
+ if (!$dara.isNull(request.resourceType)) {
4319
+ query["ResourceType"] = request.resourceType;
4320
+ }
4321
+
4322
+ if (!$dara.isNull(request.tag)) {
4323
+ query["Tag"] = request.tag;
4324
+ }
4325
+
4326
+ let req = new $OpenApiUtil.OpenApiRequest({
4327
+ query: OpenApiUtil.query(query),
4328
+ });
4329
+ let params = new $OpenApiUtil.Params({
4330
+ action: "TagResources",
4331
+ version: "2021-05-15",
4332
+ protocol: "HTTPS",
4333
+ pathname: "/",
4334
+ method: "POST",
4335
+ authType: "AK",
4336
+ style: "RPC",
4337
+ reqBodyType: "formData",
4338
+ bodyType: "json",
4339
+ });
4340
+ return $dara.cast<$_model.TagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
4341
+ }
4342
+
4343
+ /**
4344
+ * Tags resources.
4345
+ *
4346
+ * @param request - TagResourcesRequest
4347
+ * @returns TagResourcesResponse
4348
+ */
4349
+ async tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse> {
4350
+ let runtime = new $dara.RuntimeOptions({ });
4351
+ return await this.tagResourcesWithOptions(request, runtime);
4352
+ }
4353
+
4354
+ /**
4355
+ * Untags resources.
4356
+ *
4357
+ * @param request - UntagResourcesRequest
4358
+ * @param runtime - runtime options for this request RuntimeOptions
4359
+ * @returns UntagResourcesResponse
4360
+ */
4361
+ async untagResourcesWithOptions(request: $_model.UntagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse> {
4362
+ request.validate();
4363
+ let query = { };
4364
+ if (!$dara.isNull(request.all)) {
4365
+ query["All"] = request.all;
4366
+ }
4367
+
4368
+ if (!$dara.isNull(request.directoryId)) {
4369
+ query["DirectoryId"] = request.directoryId;
4370
+ }
4371
+
4372
+ if (!$dara.isNull(request.resourceId)) {
4373
+ query["ResourceId"] = request.resourceId;
4374
+ }
4375
+
4376
+ if (!$dara.isNull(request.resourceType)) {
4377
+ query["ResourceType"] = request.resourceType;
4378
+ }
4379
+
4380
+ if (!$dara.isNull(request.tagKey)) {
4381
+ query["TagKey"] = request.tagKey;
4382
+ }
4383
+
4384
+ let req = new $OpenApiUtil.OpenApiRequest({
4385
+ query: OpenApiUtil.query(query),
4386
+ });
4387
+ let params = new $OpenApiUtil.Params({
4388
+ action: "UntagResources",
4389
+ version: "2021-05-15",
4390
+ protocol: "HTTPS",
4391
+ pathname: "/",
4392
+ method: "POST",
4393
+ authType: "AK",
4394
+ style: "RPC",
4395
+ reqBodyType: "formData",
4396
+ bodyType: "json",
4397
+ });
4398
+ return $dara.cast<$_model.UntagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
4399
+ }
4400
+
4401
+ /**
4402
+ * Untags resources.
4403
+ *
4404
+ * @param request - UntagResourcesRequest
4405
+ * @returns UntagResourcesResponse
4406
+ */
4407
+ async untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse> {
4408
+ let runtime = new $dara.RuntimeOptions({ });
4409
+ return await this.untagResourcesWithOptions(request, runtime);
4410
+ }
4411
+
4244
4412
  /**
4245
4413
  * Modifies information about an access configuration.
4246
4414
  *
@@ -4606,10 +4774,10 @@ export default class Client extends OpenApi {
4606
4774
  }
4607
4775
 
4608
4776
  /**
4609
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4777
+ * Enables or disables a SCIM credential.
4610
4778
  *
4611
4779
  * @remarks
4612
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
4780
+ * This topic provides an example of disabling the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the credential is disabled, synchronization tasks that use this SCIM credential will fail. You can call this operation again to enable the SCIM credential.
4613
4781
  *
4614
4782
  * @param request - UpdateSCIMServerCredentialStatusRequest
4615
4783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4648,10 +4816,10 @@ export default class Client extends OpenApi {
4648
4816
  }
4649
4817
 
4650
4818
  /**
4651
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4819
+ * Enables or disables a SCIM credential.
4652
4820
  *
4653
4821
  * @remarks
4654
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
4822
+ * This topic provides an example of disabling the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the credential is disabled, synchronization tasks that use this SCIM credential will fail. You can call this operation again to enable the SCIM credential.
4655
4823
  *
4656
4824
  * @param request - UpdateSCIMServerCredentialStatusRequest
4657
4825
  * @returns UpdateSCIMServerCredentialStatusResponse