@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/dist/client.js CHANGED
@@ -62,11 +62,11 @@ class Client extends openapi_core_1.default {
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
64
  /**
65
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
65
+ * Adds a SAML signing certificate.
66
66
  *
67
67
  * @remarks
68
68
  * You can add up to two SAML signing certificates.
69
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
69
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
70
70
  *
71
71
  * @param request - AddExternalSAMLIdPCertificateRequest
72
72
  * @param runtime - runtime options for this request RuntimeOptions
@@ -98,11 +98,11 @@ class Client extends openapi_core_1.default {
98
98
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddExternalSAMLIdPCertificateResponse({}));
99
99
  }
100
100
  /**
101
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
101
+ * Adds a SAML signing certificate.
102
102
  *
103
103
  * @remarks
104
104
  * You can add up to two SAML signing certificates.
105
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
105
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
106
106
  *
107
107
  * @param request - AddExternalSAMLIdPCertificateRequest
108
108
  * @returns AddExternalSAMLIdPCertificateResponse
@@ -112,10 +112,10 @@ class Client extends openapi_core_1.default {
112
112
  return await this.addExternalSAMLIdPCertificateWithOptions(request, runtime);
113
113
  }
114
114
  /**
115
- * Adds a policy to an access configuration.
115
+ * Adds an access policy to an access configuration.
116
116
  *
117
117
  * @remarks
118
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
118
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
119
119
  *
120
120
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
121
121
  * @param runtime - runtime options for this request RuntimeOptions
@@ -156,10 +156,10 @@ class Client extends openapi_core_1.default {
156
156
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddPermissionPolicyToAccessConfigurationResponse({}));
157
157
  }
158
158
  /**
159
- * Adds a policy to an access configuration.
159
+ * Adds an access policy to an access configuration.
160
160
  *
161
161
  * @remarks
162
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
162
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
163
163
  *
164
164
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
165
165
  * @returns AddPermissionPolicyToAccessConfigurationResponse
@@ -172,8 +172,8 @@ class Client extends openapi_core_1.default {
172
172
  * Adds a user to a group.
173
173
  *
174
174
  * @remarks
175
- * 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.
176
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
175
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
176
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
177
177
  *
178
178
  * @param request - AddUserToGroupRequest
179
179
  * @param runtime - runtime options for this request RuntimeOptions
@@ -211,8 +211,8 @@ class Client extends openapi_core_1.default {
211
211
  * Adds a user to a group.
212
212
  *
213
213
  * @remarks
214
- * 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.
215
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
214
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
215
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
216
216
  *
217
217
  * @param request - AddUserToGroupRequest
218
218
  * @returns AddUserToGroupResponse
@@ -222,11 +222,11 @@ class Client extends openapi_core_1.default {
222
222
  return await this.addUserToGroupWithOptions(request, runtime);
223
223
  }
224
224
  /**
225
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
225
+ * Clears the configuration of the SAML IdP.
226
226
  *
227
227
  * @remarks
228
- * 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.
229
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
228
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
229
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
230
230
  *
231
231
  * @param request - ClearExternalSAMLIdentityProviderRequest
232
232
  * @param runtime - runtime options for this request RuntimeOptions
@@ -255,11 +255,11 @@ class Client extends openapi_core_1.default {
255
255
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ClearExternalSAMLIdentityProviderResponse({}));
256
256
  }
257
257
  /**
258
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
258
+ * Clears the configuration of the SAML IdP.
259
259
  *
260
260
  * @remarks
261
- * 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.
262
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
261
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
262
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
263
263
  *
264
264
  * @param request - ClearExternalSAMLIdentityProviderRequest
265
265
  * @returns ClearExternalSAMLIdentityProviderResponse
@@ -269,12 +269,12 @@ class Client extends openapi_core_1.default {
269
269
  return await this.clearExternalSAMLIdentityProviderWithOptions(request, runtime);
270
270
  }
271
271
  /**
272
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
272
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
273
273
  *
274
274
  * @remarks
275
- * 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.
276
- * 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).
277
- * 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.
275
+ * 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.
276
+ * 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).
277
+ * 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.
278
278
  *
279
279
  * @param request - CreateAccessAssignmentRequest
280
280
  * @param runtime - runtime options for this request RuntimeOptions
@@ -321,12 +321,12 @@ class Client extends openapi_core_1.default {
321
321
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAccessAssignmentResponse({}));
322
322
  }
323
323
  /**
324
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
324
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
325
325
  *
326
326
  * @remarks
327
- * 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.
328
- * 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).
329
- * 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.
327
+ * 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.
328
+ * 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).
329
+ * 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.
330
330
  *
331
331
  * @param request - CreateAccessAssignmentRequest
332
332
  * @returns CreateAccessAssignmentResponse
@@ -401,13 +401,13 @@ class Client extends openapi_core_1.default {
401
401
  * Creates a directory.
402
402
  *
403
403
  * @remarks
404
- * ### [](#)Operation description
405
- * 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.
406
- * 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.
404
+ * ### Usage notes
405
+ * 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.
406
+ * 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).
407
407
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
408
- * ### [](#)Limits
409
- * * You can create only one directory for a management account.
410
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
408
+ * ### Limits
409
+ * - A management account can create only one directory.
410
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
411
411
  *
412
412
  * @param request - CreateDirectoryRequest
413
413
  * @param runtime - runtime options for this request RuntimeOptions
@@ -439,13 +439,13 @@ class Client extends openapi_core_1.default {
439
439
  * Creates a directory.
440
440
  *
441
441
  * @remarks
442
- * ### [](#)Operation description
443
- * 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.
444
- * 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.
442
+ * ### Usage notes
443
+ * 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.
444
+ * 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).
445
445
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
446
- * ### [](#)Limits
447
- * * You can create only one directory for a management account.
448
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
446
+ * ### Limits
447
+ * - A management account can create only one directory.
448
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
449
449
  *
450
450
  * @param request - CreateDirectoryRequest
451
451
  * @returns CreateDirectoryResponse
@@ -455,10 +455,10 @@ class Client extends openapi_core_1.default {
455
455
  return await this.createDirectoryWithOptions(request, runtime);
456
456
  }
457
457
  /**
458
- * Creates a group.
458
+ * Creates a user group.
459
459
  *
460
460
  * @remarks
461
- * This topic provides an example on how to create a group named `TestGroup`.
461
+ * This topic provides an example of creating a user group named `TestGroup`.
462
462
  *
463
463
  * @param request - CreateGroupRequest
464
464
  * @param runtime - runtime options for this request RuntimeOptions
@@ -493,10 +493,10 @@ class Client extends openapi_core_1.default {
493
493
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGroupResponse({}));
494
494
  }
495
495
  /**
496
- * Creates a group.
496
+ * Creates a user group.
497
497
  *
498
498
  * @remarks
499
- * This topic provides an example on how to create a group named `TestGroup`.
499
+ * This topic provides an example of creating a user group named `TestGroup`.
500
500
  *
501
501
  * @param request - CreateGroupRequest
502
502
  * @returns CreateGroupResponse
@@ -506,11 +506,11 @@ class Client extends openapi_core_1.default {
506
506
  return await this.createGroupWithOptions(request, runtime);
507
507
  }
508
508
  /**
509
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
509
+ * Creates a SCIM credential.
510
510
  *
511
511
  * @remarks
512
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
513
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
512
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
513
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
514
514
  *
515
515
  * @param request - CreateSCIMServerCredentialRequest
516
516
  * @param runtime - runtime options for this request RuntimeOptions
@@ -539,11 +539,11 @@ class Client extends openapi_core_1.default {
539
539
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSCIMServerCredentialResponse({}));
540
540
  }
541
541
  /**
542
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
542
+ * Creates a SCIM credential.
543
543
  *
544
544
  * @remarks
545
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
546
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
545
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
546
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
547
547
  *
548
548
  * @param request - CreateSCIMServerCredentialRequest
549
549
  * @returns CreateSCIMServerCredentialResponse
@@ -616,10 +616,10 @@ class Client extends openapi_core_1.default {
616
616
  return await this.createUserWithOptions(request, runtime);
617
617
  }
618
618
  /**
619
- * Creates a Resource Access Management (RAM) user provisioning.
619
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
620
620
  *
621
621
  * @remarks
622
- * 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.
622
+ * 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.
623
623
  *
624
624
  * @param request - CreateUserProvisioningRequest
625
625
  * @param runtime - runtime options for this request RuntimeOptions
@@ -669,10 +669,10 @@ class Client extends openapi_core_1.default {
669
669
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserProvisioningResponse({}));
670
670
  }
671
671
  /**
672
- * Creates a Resource Access Management (RAM) user provisioning.
672
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
673
673
  *
674
674
  * @remarks
675
- * 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.
675
+ * 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.
676
676
  *
677
677
  * @param request - CreateUserProvisioningRequest
678
678
  * @returns CreateUserProvisioningResponse
@@ -682,11 +682,11 @@ class Client extends openapi_core_1.default {
682
682
  return await this.createUserProvisioningWithOptions(request, runtime);
683
683
  }
684
684
  /**
685
- * Removes the access permissions on an account in a resource directory.
685
+ * Removes the authorization from an account in a resource directory.
686
686
  *
687
687
  * @remarks
688
- * 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.
689
- * 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****`.
688
+ * 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.
689
+ * 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****`.
690
690
  *
691
691
  * @param request - DeleteAccessAssignmentRequest
692
692
  * @param runtime - runtime options for this request RuntimeOptions
@@ -736,11 +736,11 @@ class Client extends openapi_core_1.default {
736
736
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAccessAssignmentResponse({}));
737
737
  }
738
738
  /**
739
- * Removes the access permissions on an account in a resource directory.
739
+ * Removes the authorization from an account in a resource directory.
740
740
  *
741
741
  * @remarks
742
- * 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.
743
- * 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****`.
742
+ * 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.
743
+ * 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****`.
744
744
  *
745
745
  * @param request - DeleteAccessAssignmentRequest
746
746
  * @returns DeleteAccessAssignmentResponse
@@ -753,10 +753,10 @@ class Client extends openapi_core_1.default {
753
753
  * Deletes an access configuration.
754
754
  *
755
755
  * @remarks
756
- * ### [](#)Prerequisites
757
- * 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).
758
- * ### [](#)Operation description
759
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
756
+ * ### Before you begin
757
+ * 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).
758
+ * ### Usage notes
759
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
760
760
  *
761
761
  * @param request - DeleteAccessConfigurationRequest
762
762
  * @param runtime - runtime options for this request RuntimeOptions
@@ -794,10 +794,10 @@ class Client extends openapi_core_1.default {
794
794
  * Deletes an access configuration.
795
795
  *
796
796
  * @remarks
797
- * ### [](#)Prerequisites
798
- * 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).
799
- * ### [](#)Operation description
800
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
797
+ * ### Before you begin
798
+ * 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).
799
+ * ### Usage notes
800
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
801
801
  *
802
802
  * @param request - DeleteAccessConfigurationRequest
803
803
  * @returns DeleteAccessConfigurationResponse
@@ -810,16 +810,16 @@ class Client extends openapi_core_1.default {
810
810
  * Deletes a directory.
811
811
  *
812
812
  * @remarks
813
- * ### [](#)Prerequisites
814
- * No resources are contained in the directory that you want to delete.
815
- * * 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).
816
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
817
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
818
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
819
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
820
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
821
- * ### [](#)Operation description
822
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
813
+ * ### Before you begin
814
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
815
+ * - 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).
816
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
817
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
818
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
819
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
820
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
821
+ * ### Usage notes
822
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
823
823
  *
824
824
  * @param request - DeleteDirectoryRequest
825
825
  * @param runtime - runtime options for this request RuntimeOptions
@@ -851,16 +851,16 @@ class Client extends openapi_core_1.default {
851
851
  * Deletes a directory.
852
852
  *
853
853
  * @remarks
854
- * ### [](#)Prerequisites
855
- * No resources are contained in the directory that you want to delete.
856
- * * 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).
857
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
858
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
859
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
860
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
861
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
862
- * ### [](#)Operation description
863
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
854
+ * ### Before you begin
855
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
856
+ * - 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).
857
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
858
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
859
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
860
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
861
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
862
+ * ### Usage notes
863
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
864
864
  *
865
865
  * @param request - DeleteDirectoryRequest
866
866
  * @returns DeleteDirectoryResponse
@@ -870,16 +870,16 @@ class Client extends openapi_core_1.default {
870
870
  return await this.deleteDirectoryWithOptions(request, runtime);
871
871
  }
872
872
  /**
873
- * Deletes a group.
873
+ * Deletes a specified group.
874
874
  *
875
875
  * @remarks
876
- * ### [](#)Prerequisites
877
- * 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.
878
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
879
- * - 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).
880
- * ### [](#)Operation description
881
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
882
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
876
+ * ### Before you begin
877
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
878
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
879
+ * - 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).
880
+ * ### Usage notes
881
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
882
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
883
883
  *
884
884
  * @param request - DeleteGroupRequest
885
885
  * @param runtime - runtime options for this request RuntimeOptions
@@ -911,16 +911,16 @@ class Client extends openapi_core_1.default {
911
911
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupResponse({}));
912
912
  }
913
913
  /**
914
- * Deletes a group.
914
+ * Deletes a specified group.
915
915
  *
916
916
  * @remarks
917
- * ### [](#)Prerequisites
918
- * 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.
919
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
920
- * - 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).
921
- * ### [](#)Operation description
922
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
923
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
917
+ * ### Before you begin
918
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
919
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
920
+ * - 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).
921
+ * ### Usage notes
922
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
923
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
924
924
  *
925
925
  * @param request - DeleteGroupRequest
926
926
  * @returns DeleteGroupResponse
@@ -984,11 +984,11 @@ class Client extends openapi_core_1.default {
984
984
  return await this.deleteMFADeviceForUserWithOptions(request, runtime);
985
985
  }
986
986
  /**
987
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
987
+ * Deletes a SCIM credential.
988
988
  *
989
989
  * @remarks
990
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
991
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
990
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
991
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
992
992
  *
993
993
  * @param request - DeleteSCIMServerCredentialRequest
994
994
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1020,11 +1020,11 @@ class Client extends openapi_core_1.default {
1020
1020
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSCIMServerCredentialResponse({}));
1021
1021
  }
1022
1022
  /**
1023
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1023
+ * Deletes a SCIM credential.
1024
1024
  *
1025
1025
  * @remarks
1026
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1027
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1026
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
1027
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1028
1028
  *
1029
1029
  * @param request - DeleteSCIMServerCredentialRequest
1030
1030
  * @returns DeleteSCIMServerCredentialResponse
@@ -1037,14 +1037,14 @@ class Client extends openapi_core_1.default {
1037
1037
  * Deletes a user.
1038
1038
  *
1039
1039
  * @remarks
1040
- * ### [](#)Prerequisites
1041
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1042
- * * 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).
1043
- * * 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).
1044
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1045
- * ### [](#)Precautions
1046
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1047
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1040
+ * ### Before you begin
1041
+ * 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:
1042
+ * - 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).
1043
+ * - 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).
1044
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1045
+ * ### Usage notes
1046
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1047
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1048
1048
  *
1049
1049
  * @param request - DeleteUserRequest
1050
1050
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1079,14 +1079,14 @@ class Client extends openapi_core_1.default {
1079
1079
  * Deletes a user.
1080
1080
  *
1081
1081
  * @remarks
1082
- * ### [](#)Prerequisites
1083
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1084
- * * 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).
1085
- * * 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).
1086
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1087
- * ### [](#)Precautions
1088
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1089
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1082
+ * ### Before you begin
1083
+ * 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:
1084
+ * - 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).
1085
+ * - 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).
1086
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1087
+ * ### Usage notes
1088
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1089
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1090
1090
  *
1091
1091
  * @param request - DeleteUserRequest
1092
1092
  * @returns DeleteUserResponse
@@ -1096,7 +1096,7 @@ class Client extends openapi_core_1.default {
1096
1096
  return await this.deleteUserWithOptions(request, runtime);
1097
1097
  }
1098
1098
  /**
1099
- * Deletes a Resource Access Management (RAM) user provisioning.
1099
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1100
1100
  *
1101
1101
  * @param request - DeleteUserProvisioningRequest
1102
1102
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1131,7 +1131,7 @@ class Client extends openapi_core_1.default {
1131
1131
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserProvisioningResponse({}));
1132
1132
  }
1133
1133
  /**
1134
- * Deletes a Resource Access Management (RAM) user provisioning.
1134
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1135
1135
  *
1136
1136
  * @param request - DeleteUserProvisioningRequest
1137
1137
  * @returns DeleteUserProvisioningResponse
@@ -1141,7 +1141,7 @@ class Client extends openapi_core_1.default {
1141
1141
  return await this.deleteUserProvisioningWithOptions(request, runtime);
1142
1142
  }
1143
1143
  /**
1144
- * Deletes a Resource Access Management (RAM) user provisioning event.
1144
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1145
1145
  *
1146
1146
  * @param request - DeleteUserProvisioningEventRequest
1147
1147
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1176,7 +1176,7 @@ class Client extends openapi_core_1.default {
1176
1176
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserProvisioningEventResponse({}));
1177
1177
  }
1178
1178
  /**
1179
- * Deletes a Resource Access Management (RAM) user provisioning event.
1179
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1180
1180
  *
1181
1181
  * @param request - DeleteUserProvisioningEventRequest
1182
1182
  * @returns DeleteUserProvisioningEventResponse
@@ -1186,11 +1186,11 @@ class Client extends openapi_core_1.default {
1186
1186
  return await this.deleteUserProvisioningEventWithOptions(request, runtime);
1187
1187
  }
1188
1188
  /**
1189
- * De-provisions an access configuration from an account in your resource directory.
1189
+ * Deprovisions an access configuration from an account in a resource directory.
1190
1190
  *
1191
1191
  * @remarks
1192
- * 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.
1193
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1192
+ * 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.
1193
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1194
1194
  *
1195
1195
  * @param request - DeprovisionAccessConfigurationRequest
1196
1196
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1231,11 +1231,11 @@ class Client extends openapi_core_1.default {
1231
1231
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprovisionAccessConfigurationResponse({}));
1232
1232
  }
1233
1233
  /**
1234
- * De-provisions an access configuration from an account in your resource directory.
1234
+ * Deprovisions an access configuration from an account in a resource directory.
1235
1235
  *
1236
1236
  * @remarks
1237
- * 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.
1238
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1237
+ * 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.
1238
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1239
1239
  *
1240
1240
  * @param request - DeprovisionAccessConfigurationRequest
1241
1241
  * @returns DeprovisionAccessConfigurationResponse
@@ -1319,11 +1319,11 @@ class Client extends openapi_core_1.default {
1319
1319
  return await this.disableServiceWithOptions(runtime);
1320
1320
  }
1321
1321
  /**
1322
- * Enables the delegated administrator account of CloudSSO.
1322
+ * Enables a CloudSSO delegated administrator account.
1323
1323
  *
1324
1324
  * @remarks
1325
- * 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).
1326
- * 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.
1325
+ * 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).
1326
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1327
1327
  *
1328
1328
  * @param request - EnableDelegateAccountRequest
1329
1329
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1352,11 +1352,11 @@ class Client extends openapi_core_1.default {
1352
1352
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableDelegateAccountResponse({}));
1353
1353
  }
1354
1354
  /**
1355
- * Enables the delegated administrator account of CloudSSO.
1355
+ * Enables a CloudSSO delegated administrator account.
1356
1356
  *
1357
1357
  * @remarks
1358
- * 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).
1359
- * 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.
1358
+ * 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).
1359
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1360
1360
  *
1361
1361
  * @param request - EnableDelegateAccountRequest
1362
1362
  * @returns EnableDelegateAccountResponse
@@ -1496,10 +1496,10 @@ class Client extends openapi_core_1.default {
1496
1496
  return await this.getAttributePassingSettingWithOptions(request, runtime);
1497
1497
  }
1498
1498
  /**
1499
- * Queries information about a directory.
1499
+ * Queries the details of a directory.
1500
1500
  *
1501
1501
  * @remarks
1502
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1502
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1503
1503
  *
1504
1504
  * @param request - GetDirectoryRequest
1505
1505
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1528,10 +1528,10 @@ class Client extends openapi_core_1.default {
1528
1528
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDirectoryResponse({}));
1529
1529
  }
1530
1530
  /**
1531
- * Queries information about a directory.
1531
+ * Queries the details of a directory.
1532
1532
  *
1533
1533
  * @remarks
1534
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1534
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1535
1535
  *
1536
1536
  * @param request - GetDirectoryRequest
1537
1537
  * @returns GetDirectoryResponse
@@ -2017,10 +2017,10 @@ class Client extends openapi_core_1.default {
2017
2017
  return await this.getServiceStatusWithOptions(runtime);
2018
2018
  }
2019
2019
  /**
2020
- * Queries information about an asynchronous task.
2020
+ * Queries the details of an asynchronous task.
2021
2021
  *
2022
2022
  * @remarks
2023
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2023
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2024
2024
  *
2025
2025
  * @param request - GetTaskRequest
2026
2026
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2052,10 +2052,10 @@ class Client extends openapi_core_1.default {
2052
2052
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTaskResponse({}));
2053
2053
  }
2054
2054
  /**
2055
- * Queries information about an asynchronous task.
2055
+ * Queries the details of an asynchronous task.
2056
2056
  *
2057
2057
  * @remarks
2058
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2058
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2059
2059
  *
2060
2060
  * @param request - GetTaskRequest
2061
2061
  * @returns GetTaskResponse
@@ -2459,10 +2459,10 @@ class Client extends openapi_core_1.default {
2459
2459
  return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
2460
2460
  }
2461
2461
  /**
2462
- * Queries the access permissions that are assigned.
2462
+ * Queries access assignments.
2463
2463
  *
2464
2464
  * @remarks
2465
- * 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.
2465
+ * 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.
2466
2466
  *
2467
2467
  * @param request - ListAccessAssignmentsRequest
2468
2468
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2515,10 +2515,10 @@ class Client extends openapi_core_1.default {
2515
2515
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAccessAssignmentsResponse({}));
2516
2516
  }
2517
2517
  /**
2518
- * Queries the access permissions that are assigned.
2518
+ * Queries access assignments.
2519
2519
  *
2520
2520
  * @remarks
2521
- * 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.
2521
+ * 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.
2522
2522
  *
2523
2523
  * @param request - ListAccessAssignmentsRequest
2524
2524
  * @returns ListAccessAssignmentsResponse
@@ -2528,10 +2528,10 @@ class Client extends openapi_core_1.default {
2528
2528
  return await this.listAccessAssignmentsWithOptions(request, runtime);
2529
2529
  }
2530
2530
  /**
2531
- * Queries the access configurations that are provisioned.
2531
+ * Queries access configuration provisionings.
2532
2532
  *
2533
2533
  * @remarks
2534
- * 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.
2534
+ * 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.
2535
2535
  *
2536
2536
  * @param request - ListAccessConfigurationProvisioningsRequest
2537
2537
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2581,10 +2581,10 @@ class Client extends openapi_core_1.default {
2581
2581
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAccessConfigurationProvisioningsResponse({}));
2582
2582
  }
2583
2583
  /**
2584
- * Queries the access configurations that are provisioned.
2584
+ * Queries access configuration provisionings.
2585
2585
  *
2586
2586
  * @remarks
2587
- * 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.
2587
+ * 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.
2588
2588
  *
2589
2589
  * @param request - ListAccessConfigurationProvisioningsRequest
2590
2590
  * @returns ListAccessConfigurationProvisioningsResponse
@@ -3043,11 +3043,61 @@ class Client extends openapi_core_1.default {
3043
3043
  return await this.listSCIMServerCredentialsWithOptions(request, runtime);
3044
3044
  }
3045
3045
  /**
3046
- * Queries asynchronous tasks.
3046
+ * Queries the relationships between resources and tags.
3047
+ *
3048
+ * @param request - ListTagResourcesRequest
3049
+ * @param runtime - runtime options for this request RuntimeOptions
3050
+ * @returns ListTagResourcesResponse
3051
+ */
3052
+ async listTagResourcesWithOptions(request, runtime) {
3053
+ request.validate();
3054
+ let query = {};
3055
+ if (!$dara.isNull(request.directoryId)) {
3056
+ query["DirectoryId"] = request.directoryId;
3057
+ }
3058
+ if (!$dara.isNull(request.nextToken)) {
3059
+ query["NextToken"] = request.nextToken;
3060
+ }
3061
+ if (!$dara.isNull(request.resourceId)) {
3062
+ query["ResourceId"] = request.resourceId;
3063
+ }
3064
+ if (!$dara.isNull(request.resourceType)) {
3065
+ query["ResourceType"] = request.resourceType;
3066
+ }
3067
+ if (!$dara.isNull(request.tag)) {
3068
+ query["Tag"] = request.tag;
3069
+ }
3070
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3071
+ query: openapi_core_2.OpenApiUtil.query(query),
3072
+ });
3073
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3074
+ action: "ListTagResources",
3075
+ version: "2021-05-15",
3076
+ protocol: "HTTPS",
3077
+ pathname: "/",
3078
+ method: "POST",
3079
+ authType: "AK",
3080
+ style: "RPC",
3081
+ reqBodyType: "formData",
3082
+ bodyType: "json",
3083
+ });
3084
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
3085
+ }
3086
+ /**
3087
+ * Queries the relationships between resources and tags.
3088
+ *
3089
+ * @param request - ListTagResourcesRequest
3090
+ * @returns ListTagResourcesResponse
3091
+ */
3092
+ async listTagResources(request) {
3093
+ let runtime = new $dara.RuntimeOptions({});
3094
+ return await this.listTagResourcesWithOptions(request, runtime);
3095
+ }
3096
+ /**
3097
+ * Queries a list of asynchronous tasks.
3047
3098
  *
3048
3099
  * @remarks
3049
- * 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`.
3050
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3100
+ * 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.
3051
3101
  *
3052
3102
  * @param request - ListTasksRequest
3053
3103
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3106,11 +3156,10 @@ class Client extends openapi_core_1.default {
3106
3156
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTasksResponse({}));
3107
3157
  }
3108
3158
  /**
3109
- * Queries asynchronous tasks.
3159
+ * Queries a list of asynchronous tasks.
3110
3160
  *
3111
3161
  * @remarks
3112
- * 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`.
3113
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3162
+ * 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.
3114
3163
  *
3115
3164
  * @param request - ListTasksRequest
3116
3165
  * @returns ListTasksResponse
@@ -3282,11 +3331,11 @@ class Client extends openapi_core_1.default {
3282
3331
  return await this.listUsersWithOptions(request, runtime);
3283
3332
  }
3284
3333
  /**
3285
- * Provisions an access configuration for an account in your resource directory.
3334
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3286
3335
  *
3287
3336
  * @remarks
3288
- * 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.
3289
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3337
+ * 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.
3338
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3290
3339
  *
3291
3340
  * @param request - ProvisionAccessConfigurationRequest
3292
3341
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3327,11 +3376,11 @@ class Client extends openapi_core_1.default {
3327
3376
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ProvisionAccessConfigurationResponse({}));
3328
3377
  }
3329
3378
  /**
3330
- * Provisions an access configuration for an account in your resource directory.
3379
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3331
3380
  *
3332
3381
  * @remarks
3333
- * 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.
3334
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3382
+ * 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.
3383
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3335
3384
  *
3336
3385
  * @param request - ProvisionAccessConfigurationRequest
3337
3386
  * @returns ProvisionAccessConfigurationResponse
@@ -3501,9 +3550,9 @@ class Client extends openapi_core_1.default {
3501
3550
  * Resets the password of a user.
3502
3551
  *
3503
3552
  * @remarks
3504
- * 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.
3505
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3506
- * 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.
3553
+ * 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.
3554
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3555
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3507
3556
  *
3508
3557
  * @param request - ResetUserPasswordRequest
3509
3558
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3547,9 +3596,9 @@ class Client extends openapi_core_1.default {
3547
3596
  * Resets the password of a user.
3548
3597
  *
3549
3598
  * @remarks
3550
- * 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.
3551
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3552
- * 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.
3599
+ * 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.
3600
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3601
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3553
3602
  *
3554
3603
  * @param request - ResetUserPasswordRequest
3555
3604
  * @returns ResetUserPasswordResponse
@@ -3891,6 +3940,105 @@ class Client extends openapi_core_1.default {
3891
3940
  let runtime = new $dara.RuntimeOptions({});
3892
3941
  return await this.setSCIMSynchronizationStatusWithOptions(request, runtime);
3893
3942
  }
3943
+ /**
3944
+ * Tags resources.
3945
+ *
3946
+ * @param request - TagResourcesRequest
3947
+ * @param runtime - runtime options for this request RuntimeOptions
3948
+ * @returns TagResourcesResponse
3949
+ */
3950
+ async tagResourcesWithOptions(request, runtime) {
3951
+ request.validate();
3952
+ let query = {};
3953
+ if (!$dara.isNull(request.directoryId)) {
3954
+ query["DirectoryId"] = request.directoryId;
3955
+ }
3956
+ if (!$dara.isNull(request.resourceId)) {
3957
+ query["ResourceId"] = request.resourceId;
3958
+ }
3959
+ if (!$dara.isNull(request.resourceType)) {
3960
+ query["ResourceType"] = request.resourceType;
3961
+ }
3962
+ if (!$dara.isNull(request.tag)) {
3963
+ query["Tag"] = request.tag;
3964
+ }
3965
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3966
+ query: openapi_core_2.OpenApiUtil.query(query),
3967
+ });
3968
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3969
+ action: "TagResources",
3970
+ version: "2021-05-15",
3971
+ protocol: "HTTPS",
3972
+ pathname: "/",
3973
+ method: "POST",
3974
+ authType: "AK",
3975
+ style: "RPC",
3976
+ reqBodyType: "formData",
3977
+ bodyType: "json",
3978
+ });
3979
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
3980
+ }
3981
+ /**
3982
+ * Tags resources.
3983
+ *
3984
+ * @param request - TagResourcesRequest
3985
+ * @returns TagResourcesResponse
3986
+ */
3987
+ async tagResources(request) {
3988
+ let runtime = new $dara.RuntimeOptions({});
3989
+ return await this.tagResourcesWithOptions(request, runtime);
3990
+ }
3991
+ /**
3992
+ * Untags resources.
3993
+ *
3994
+ * @param request - UntagResourcesRequest
3995
+ * @param runtime - runtime options for this request RuntimeOptions
3996
+ * @returns UntagResourcesResponse
3997
+ */
3998
+ async untagResourcesWithOptions(request, runtime) {
3999
+ request.validate();
4000
+ let query = {};
4001
+ if (!$dara.isNull(request.all)) {
4002
+ query["All"] = request.all;
4003
+ }
4004
+ if (!$dara.isNull(request.directoryId)) {
4005
+ query["DirectoryId"] = request.directoryId;
4006
+ }
4007
+ if (!$dara.isNull(request.resourceId)) {
4008
+ query["ResourceId"] = request.resourceId;
4009
+ }
4010
+ if (!$dara.isNull(request.resourceType)) {
4011
+ query["ResourceType"] = request.resourceType;
4012
+ }
4013
+ if (!$dara.isNull(request.tagKey)) {
4014
+ query["TagKey"] = request.tagKey;
4015
+ }
4016
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4017
+ query: openapi_core_2.OpenApiUtil.query(query),
4018
+ });
4019
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4020
+ action: "UntagResources",
4021
+ version: "2021-05-15",
4022
+ protocol: "HTTPS",
4023
+ pathname: "/",
4024
+ method: "POST",
4025
+ authType: "AK",
4026
+ style: "RPC",
4027
+ reqBodyType: "formData",
4028
+ bodyType: "json",
4029
+ });
4030
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
4031
+ }
4032
+ /**
4033
+ * Untags resources.
4034
+ *
4035
+ * @param request - UntagResourcesRequest
4036
+ * @returns UntagResourcesResponse
4037
+ */
4038
+ async untagResources(request) {
4039
+ let runtime = new $dara.RuntimeOptions({});
4040
+ return await this.untagResourcesWithOptions(request, runtime);
4041
+ }
3894
4042
  /**
3895
4043
  * Modifies information about an access configuration.
3896
4044
  *
@@ -4222,10 +4370,10 @@ class Client extends openapi_core_1.default {
4222
4370
  return await this.updateMFAAuthenticationSettingsWithOptions(request, runtime);
4223
4371
  }
4224
4372
  /**
4225
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4373
+ * Enables or disables a SCIM credential.
4226
4374
  *
4227
4375
  * @remarks
4228
- * 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.
4376
+ * 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.
4229
4377
  *
4230
4378
  * @param request - UpdateSCIMServerCredentialStatusRequest
4231
4379
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4260,10 +4408,10 @@ class Client extends openapi_core_1.default {
4260
4408
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSCIMServerCredentialStatusResponse({}));
4261
4409
  }
4262
4410
  /**
4263
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4411
+ * Enables or disables a SCIM credential.
4264
4412
  *
4265
4413
  * @remarks
4266
- * 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.
4414
+ * 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.
4267
4415
  *
4268
4416
  * @param request - UpdateSCIMServerCredentialStatusRequest
4269
4417
  * @returns UpdateSCIMServerCredentialStatusResponse