@alicloud/cloudsso20210515 1.5.4 → 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 (178) hide show
  1. package/dist/client.d.ts +263 -178
  2. package/dist/client.js +419 -186
  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/GetAttributePassingSettingRequest.d.ts +21 -0
  45. package/dist/models/GetAttributePassingSettingRequest.js +58 -0
  46. package/dist/models/GetAttributePassingSettingRequest.js.map +1 -0
  47. package/dist/models/GetAttributePassingSettingResponse.d.ts +19 -0
  48. package/dist/models/GetAttributePassingSettingResponse.js +69 -0
  49. package/dist/models/GetAttributePassingSettingResponse.js.map +1 -0
  50. package/dist/models/GetAttributePassingSettingResponseBody.d.ts +50 -0
  51. package/dist/models/GetAttributePassingSettingResponseBody.js +82 -0
  52. package/dist/models/GetAttributePassingSettingResponseBody.js.map +1 -0
  53. package/dist/models/GetDirectoryRequest.d.ts +1 -1
  54. package/dist/models/GetDirectoryResponseBody.d.ts +5 -5
  55. package/dist/models/GetTaskResponseBody.d.ts +22 -19
  56. package/dist/models/GetTaskResponseBody.js.map +1 -1
  57. package/dist/models/ListAccessAssignmentsRequest.d.ts +22 -20
  58. package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
  59. package/dist/models/ListAccessAssignmentsResponseBody.d.ts +22 -20
  60. package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
  61. package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +18 -16
  62. package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
  63. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +29 -28
  64. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
  65. package/dist/models/ListTagResourcesRequest.d.ts +87 -0
  66. package/dist/models/ListTagResourcesRequest.js +93 -0
  67. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  68. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  69. package/dist/models/ListTagResourcesResponse.js +69 -0
  70. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  71. package/dist/models/ListTagResourcesResponseBody.d.ts +80 -0
  72. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  73. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  74. package/dist/models/ListTasksRequest.d.ts +27 -34
  75. package/dist/models/ListTasksRequest.js.map +1 -1
  76. package/dist/models/ListTasksResponseBody.d.ts +34 -36
  77. package/dist/models/ListTasksResponseBody.js.map +1 -1
  78. package/dist/models/ProvisionAccessConfigurationRequest.d.ts +7 -3
  79. package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
  80. package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +15 -12
  81. package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
  82. package/dist/models/ResetUserPasswordRequest.d.ts +11 -13
  83. package/dist/models/ResetUserPasswordRequest.js.map +1 -1
  84. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  85. package/dist/models/TagResourcesRequest.d.ts +95 -0
  86. package/dist/models/TagResourcesRequest.js +91 -0
  87. package/dist/models/TagResourcesRequest.js.map +1 -0
  88. package/dist/models/TagResourcesResponse.d.ts +19 -0
  89. package/dist/models/TagResourcesResponse.js +69 -0
  90. package/dist/models/TagResourcesResponse.js.map +1 -0
  91. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  92. package/dist/models/TagResourcesResponseBody.js +58 -0
  93. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  94. package/dist/models/UntagResourcesRequest.d.ts +59 -0
  95. package/dist/models/UntagResourcesRequest.js +72 -0
  96. package/dist/models/UntagResourcesRequest.js.map +1 -0
  97. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  98. package/dist/models/UntagResourcesResponse.js +69 -0
  99. package/dist/models/UntagResourcesResponse.js.map +1 -0
  100. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  101. package/dist/models/UntagResourcesResponseBody.js +58 -0
  102. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  103. package/dist/models/UpdateAttributePassingSettingRequest.d.ts +35 -0
  104. package/dist/models/UpdateAttributePassingSettingRequest.js +60 -0
  105. package/dist/models/UpdateAttributePassingSettingRequest.js.map +1 -0
  106. package/dist/models/UpdateAttributePassingSettingResponse.d.ts +19 -0
  107. package/dist/models/UpdateAttributePassingSettingResponse.js +69 -0
  108. package/dist/models/UpdateAttributePassingSettingResponse.js.map +1 -0
  109. package/dist/models/UpdateAttributePassingSettingResponseBody.d.ts +21 -0
  110. package/dist/models/UpdateAttributePassingSettingResponseBody.js +58 -0
  111. package/dist/models/UpdateAttributePassingSettingResponseBody.js.map +1 -0
  112. package/dist/models/UpdateScimserverCredentialStatusRequest.d.ts +4 -5
  113. package/dist/models/UpdateScimserverCredentialStatusRequest.js.map +1 -1
  114. package/dist/models/UpdateScimserverCredentialStatusResponseBody.d.ts +6 -7
  115. package/dist/models/UpdateScimserverCredentialStatusResponseBody.js.map +1 -1
  116. package/dist/models/model.d.ts +19 -0
  117. package/dist/models/model.js +45 -7
  118. package/dist/models/model.js.map +1 -1
  119. package/package.json +1 -1
  120. package/src/client.ts +446 -186
  121. package/src/models/AddExternalSamlidPcertificateRequest.ts +3 -3
  122. package/src/models/AddPermissionPolicyToAccessConfigurationRequest.ts +11 -14
  123. package/src/models/AddUserToGroupResponseBody.ts +1 -1
  124. package/src/models/ClearExternalSamlidentityProviderRequest.ts +1 -1
  125. package/src/models/CreateAccessAssignmentRequest.ts +13 -14
  126. package/src/models/CreateAccessAssignmentResponseBody.ts +20 -22
  127. package/src/models/CreateDirectoryRequest.ts +3 -3
  128. package/src/models/CreateDirectoryResponseBody.ts +3 -3
  129. package/src/models/CreateGroupRequest.ts +6 -6
  130. package/src/models/CreateGroupResponseBody.ts +8 -7
  131. package/src/models/CreateScimserverCredentialRequest.ts +1 -1
  132. package/src/models/CreateScimserverCredentialResponseBody.ts +8 -7
  133. package/src/models/CreateUserProvisioningRequest.ts +15 -20
  134. package/src/models/CreateUserProvisioningResponseBody.ts +27 -35
  135. package/src/models/DeleteAccessAssignmentRequest.ts +17 -16
  136. package/src/models/DeleteAccessAssignmentResponseBody.ts +19 -17
  137. package/src/models/DeleteAccessConfigurationRequest.ts +2 -3
  138. package/src/models/DeleteAccessConfigurationResponseBody.ts +1 -1
  139. package/src/models/DeleteDirectoryRequest.ts +1 -1
  140. package/src/models/DeleteGroupRequest.ts +1 -1
  141. package/src/models/DeleteScimserverCredentialRequest.ts +1 -1
  142. package/src/models/DeleteUserProvisioningEventRequest.ts +4 -4
  143. package/src/models/DeleteUserProvisioningRequest.ts +6 -7
  144. package/src/models/DeleteUserRequest.ts +2 -2
  145. package/src/models/DeprovisionAccessConfigurationRequest.ts +6 -2
  146. package/src/models/DeprovisionAccessConfigurationResponseBody.ts +13 -10
  147. package/src/models/EnableDelegateAccountRequest.ts +1 -1
  148. package/src/models/GetAttributePassingSettingRequest.ts +34 -0
  149. package/src/models/GetAttributePassingSettingResponse.ts +40 -0
  150. package/src/models/GetAttributePassingSettingResponseBody.ts +78 -0
  151. package/src/models/GetDirectoryRequest.ts +1 -1
  152. package/src/models/GetDirectoryResponseBody.ts +5 -5
  153. package/src/models/GetTaskResponseBody.ts +22 -19
  154. package/src/models/ListAccessAssignmentsRequest.ts +22 -20
  155. package/src/models/ListAccessAssignmentsResponseBody.ts +22 -20
  156. package/src/models/ListAccessConfigurationProvisioningsRequest.ts +18 -16
  157. package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +29 -28
  158. package/src/models/ListTagResourcesRequest.ts +126 -0
  159. package/src/models/ListTagResourcesResponse.ts +40 -0
  160. package/src/models/ListTagResourcesResponseBody.ts +116 -0
  161. package/src/models/ListTasksRequest.ts +27 -34
  162. package/src/models/ListTasksResponseBody.ts +34 -36
  163. package/src/models/ProvisionAccessConfigurationRequest.ts +7 -3
  164. package/src/models/ProvisionAccessConfigurationResponseBody.ts +15 -12
  165. package/src/models/ResetUserPasswordRequest.ts +11 -13
  166. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  167. package/src/models/TagResourcesRequest.ts +132 -0
  168. package/src/models/TagResourcesResponse.ts +40 -0
  169. package/src/models/TagResourcesResponseBody.ts +34 -0
  170. package/src/models/UntagResourcesRequest.ts +86 -0
  171. package/src/models/UntagResourcesResponse.ts +40 -0
  172. package/src/models/UntagResourcesResponseBody.ts +34 -0
  173. package/src/models/UpdateAttributePassingSettingRequest.ts +50 -0
  174. package/src/models/UpdateAttributePassingSettingResponse.ts +40 -0
  175. package/src/models/UpdateAttributePassingSettingResponseBody.ts +34 -0
  176. package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
  177. package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
  178. package/src/models/model.ts +19 -0
package/dist/client.js CHANGED
@@ -49,14 +49,6 @@ class Client extends openapi_core_1.default {
49
49
  constructor(config) {
50
50
  super(config);
51
51
  this._endpointRule = "regional";
52
- this._endpointMap = {
53
- 'cn-shanghai': "cloudsso.cn-shanghai.aliyuncs.com",
54
- 'cn-hongkong': "cloudsso.cn-hongkong.aliyuncs.com",
55
- 'ap-northeast-2': "cloudsso.ap-northeast-2.aliyuncs.com",
56
- 'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
57
- 'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
58
- 'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
59
- };
60
52
  this.checkConfig(config);
61
53
  this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
62
54
  }
@@ -70,11 +62,11 @@ class Client extends openapi_core_1.default {
70
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
71
63
  }
72
64
  /**
73
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
65
+ * Adds a SAML signing certificate.
74
66
  *
75
67
  * @remarks
76
68
  * You can add up to two SAML signing certificates.
77
- * 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.
78
70
  *
79
71
  * @param request - AddExternalSAMLIdPCertificateRequest
80
72
  * @param runtime - runtime options for this request RuntimeOptions
@@ -106,11 +98,11 @@ class Client extends openapi_core_1.default {
106
98
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddExternalSAMLIdPCertificateResponse({}));
107
99
  }
108
100
  /**
109
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
101
+ * Adds a SAML signing certificate.
110
102
  *
111
103
  * @remarks
112
104
  * You can add up to two SAML signing certificates.
113
- * 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.
114
106
  *
115
107
  * @param request - AddExternalSAMLIdPCertificateRequest
116
108
  * @returns AddExternalSAMLIdPCertificateResponse
@@ -120,10 +112,10 @@ class Client extends openapi_core_1.default {
120
112
  return await this.addExternalSAMLIdPCertificateWithOptions(request, runtime);
121
113
  }
122
114
  /**
123
- * Adds a policy to an access configuration.
115
+ * Adds an access policy to an access configuration.
124
116
  *
125
117
  * @remarks
126
- * 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****`.
127
119
  *
128
120
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
129
121
  * @param runtime - runtime options for this request RuntimeOptions
@@ -164,10 +156,10 @@ class Client extends openapi_core_1.default {
164
156
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddPermissionPolicyToAccessConfigurationResponse({}));
165
157
  }
166
158
  /**
167
- * Adds a policy to an access configuration.
159
+ * Adds an access policy to an access configuration.
168
160
  *
169
161
  * @remarks
170
- * 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****`.
171
163
  *
172
164
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
173
165
  * @returns AddPermissionPolicyToAccessConfigurationResponse
@@ -180,8 +172,8 @@ class Client extends openapi_core_1.default {
180
172
  * Adds a user to a group.
181
173
  *
182
174
  * @remarks
183
- * 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.
184
- * 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****`.
185
177
  *
186
178
  * @param request - AddUserToGroupRequest
187
179
  * @param runtime - runtime options for this request RuntimeOptions
@@ -219,8 +211,8 @@ class Client extends openapi_core_1.default {
219
211
  * Adds a user to a group.
220
212
  *
221
213
  * @remarks
222
- * 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.
223
- * 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****`.
224
216
  *
225
217
  * @param request - AddUserToGroupRequest
226
218
  * @returns AddUserToGroupResponse
@@ -230,11 +222,11 @@ class Client extends openapi_core_1.default {
230
222
  return await this.addUserToGroupWithOptions(request, runtime);
231
223
  }
232
224
  /**
233
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
225
+ * Clears the configuration of the SAML IdP.
234
226
  *
235
227
  * @remarks
236
- * 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.
237
- * 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.
238
230
  *
239
231
  * @param request - ClearExternalSAMLIdentityProviderRequest
240
232
  * @param runtime - runtime options for this request RuntimeOptions
@@ -263,11 +255,11 @@ class Client extends openapi_core_1.default {
263
255
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ClearExternalSAMLIdentityProviderResponse({}));
264
256
  }
265
257
  /**
266
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
258
+ * Clears the configuration of the SAML IdP.
267
259
  *
268
260
  * @remarks
269
- * 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.
270
- * 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.
271
263
  *
272
264
  * @param request - ClearExternalSAMLIdentityProviderRequest
273
265
  * @returns ClearExternalSAMLIdentityProviderResponse
@@ -277,12 +269,12 @@ class Client extends openapi_core_1.default {
277
269
  return await this.clearExternalSAMLIdentityProviderWithOptions(request, runtime);
278
270
  }
279
271
  /**
280
- * 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).
281
273
  *
282
274
  * @remarks
283
- * 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.
284
- * 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).
285
- * 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.
286
278
  *
287
279
  * @param request - CreateAccessAssignmentRequest
288
280
  * @param runtime - runtime options for this request RuntimeOptions
@@ -329,12 +321,12 @@ class Client extends openapi_core_1.default {
329
321
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAccessAssignmentResponse({}));
330
322
  }
331
323
  /**
332
- * 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).
333
325
  *
334
326
  * @remarks
335
- * 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.
336
- * 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).
337
- * 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.
338
330
  *
339
331
  * @param request - CreateAccessAssignmentRequest
340
332
  * @returns CreateAccessAssignmentResponse
@@ -409,13 +401,13 @@ class Client extends openapi_core_1.default {
409
401
  * Creates a directory.
410
402
  *
411
403
  * @remarks
412
- * ### [](#)Operation description
413
- * 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.
414
- * 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).
415
407
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
416
- * ### [](#)Limits
417
- * * You can create only one directory for a management account.
418
- * * 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.
419
411
  *
420
412
  * @param request - CreateDirectoryRequest
421
413
  * @param runtime - runtime options for this request RuntimeOptions
@@ -447,13 +439,13 @@ class Client extends openapi_core_1.default {
447
439
  * Creates a directory.
448
440
  *
449
441
  * @remarks
450
- * ### [](#)Operation description
451
- * 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.
452
- * 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).
453
445
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
454
- * ### [](#)Limits
455
- * * You can create only one directory for a management account.
456
- * * 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.
457
449
  *
458
450
  * @param request - CreateDirectoryRequest
459
451
  * @returns CreateDirectoryResponse
@@ -463,10 +455,10 @@ class Client extends openapi_core_1.default {
463
455
  return await this.createDirectoryWithOptions(request, runtime);
464
456
  }
465
457
  /**
466
- * Creates a group.
458
+ * Creates a user group.
467
459
  *
468
460
  * @remarks
469
- * 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`.
470
462
  *
471
463
  * @param request - CreateGroupRequest
472
464
  * @param runtime - runtime options for this request RuntimeOptions
@@ -501,10 +493,10 @@ class Client extends openapi_core_1.default {
501
493
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGroupResponse({}));
502
494
  }
503
495
  /**
504
- * Creates a group.
496
+ * Creates a user group.
505
497
  *
506
498
  * @remarks
507
- * 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`.
508
500
  *
509
501
  * @param request - CreateGroupRequest
510
502
  * @returns CreateGroupResponse
@@ -514,11 +506,11 @@ class Client extends openapi_core_1.default {
514
506
  return await this.createGroupWithOptions(request, runtime);
515
507
  }
516
508
  /**
517
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
509
+ * Creates a SCIM credential.
518
510
  *
519
511
  * @remarks
520
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
521
- * 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****`.
522
514
  *
523
515
  * @param request - CreateSCIMServerCredentialRequest
524
516
  * @param runtime - runtime options for this request RuntimeOptions
@@ -547,11 +539,11 @@ class Client extends openapi_core_1.default {
547
539
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSCIMServerCredentialResponse({}));
548
540
  }
549
541
  /**
550
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
542
+ * Creates a SCIM credential.
551
543
  *
552
544
  * @remarks
553
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
554
- * 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****`.
555
547
  *
556
548
  * @param request - CreateSCIMServerCredentialRequest
557
549
  * @returns CreateSCIMServerCredentialResponse
@@ -624,10 +616,10 @@ class Client extends openapi_core_1.default {
624
616
  return await this.createUserWithOptions(request, runtime);
625
617
  }
626
618
  /**
627
- * Creates a Resource Access Management (RAM) user provisioning.
619
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
628
620
  *
629
621
  * @remarks
630
- * 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.
631
623
  *
632
624
  * @param request - CreateUserProvisioningRequest
633
625
  * @param runtime - runtime options for this request RuntimeOptions
@@ -677,10 +669,10 @@ class Client extends openapi_core_1.default {
677
669
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserProvisioningResponse({}));
678
670
  }
679
671
  /**
680
- * Creates a Resource Access Management (RAM) user provisioning.
672
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
681
673
  *
682
674
  * @remarks
683
- * 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.
684
676
  *
685
677
  * @param request - CreateUserProvisioningRequest
686
678
  * @returns CreateUserProvisioningResponse
@@ -690,11 +682,11 @@ class Client extends openapi_core_1.default {
690
682
  return await this.createUserProvisioningWithOptions(request, runtime);
691
683
  }
692
684
  /**
693
- * Removes the access permissions on an account in a resource directory.
685
+ * Removes the authorization from an account in a resource directory.
694
686
  *
695
687
  * @remarks
696
- * 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.
697
- * 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****`.
698
690
  *
699
691
  * @param request - DeleteAccessAssignmentRequest
700
692
  * @param runtime - runtime options for this request RuntimeOptions
@@ -744,11 +736,11 @@ class Client extends openapi_core_1.default {
744
736
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAccessAssignmentResponse({}));
745
737
  }
746
738
  /**
747
- * Removes the access permissions on an account in a resource directory.
739
+ * Removes the authorization from an account in a resource directory.
748
740
  *
749
741
  * @remarks
750
- * 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.
751
- * 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****`.
752
744
  *
753
745
  * @param request - DeleteAccessAssignmentRequest
754
746
  * @returns DeleteAccessAssignmentResponse
@@ -761,10 +753,10 @@ class Client extends openapi_core_1.default {
761
753
  * Deletes an access configuration.
762
754
  *
763
755
  * @remarks
764
- * ### [](#)Prerequisites
765
- * 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).
766
- * ### [](#)Operation description
767
- * 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****`.
768
760
  *
769
761
  * @param request - DeleteAccessConfigurationRequest
770
762
  * @param runtime - runtime options for this request RuntimeOptions
@@ -802,10 +794,10 @@ class Client extends openapi_core_1.default {
802
794
  * Deletes an access configuration.
803
795
  *
804
796
  * @remarks
805
- * ### [](#)Prerequisites
806
- * 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).
807
- * ### [](#)Operation description
808
- * 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****`.
809
801
  *
810
802
  * @param request - DeleteAccessConfigurationRequest
811
803
  * @returns DeleteAccessConfigurationResponse
@@ -818,16 +810,16 @@ class Client extends openapi_core_1.default {
818
810
  * Deletes a directory.
819
811
  *
820
812
  * @remarks
821
- * ### [](#)Prerequisites
822
- * No resources are contained in the directory that you want to delete.
823
- * * 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).
824
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
825
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
826
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
827
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
828
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
829
- * ### [](#)Operation description
830
- * 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****`.
831
823
  *
832
824
  * @param request - DeleteDirectoryRequest
833
825
  * @param runtime - runtime options for this request RuntimeOptions
@@ -859,16 +851,16 @@ class Client extends openapi_core_1.default {
859
851
  * Deletes a directory.
860
852
  *
861
853
  * @remarks
862
- * ### [](#)Prerequisites
863
- * No resources are contained in the directory that you want to delete.
864
- * * 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).
865
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
866
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
867
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
868
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
869
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
870
- * ### [](#)Operation description
871
- * 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****`.
872
864
  *
873
865
  * @param request - DeleteDirectoryRequest
874
866
  * @returns DeleteDirectoryResponse
@@ -878,16 +870,16 @@ class Client extends openapi_core_1.default {
878
870
  return await this.deleteDirectoryWithOptions(request, runtime);
879
871
  }
880
872
  /**
881
- * Deletes a group.
873
+ * Deletes a specified group.
882
874
  *
883
875
  * @remarks
884
- * ### [](#)Prerequisites
885
- * 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.
886
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
887
- * - 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).
888
- * ### [](#)Operation description
889
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
890
- * 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****`.
891
883
  *
892
884
  * @param request - DeleteGroupRequest
893
885
  * @param runtime - runtime options for this request RuntimeOptions
@@ -919,16 +911,16 @@ class Client extends openapi_core_1.default {
919
911
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupResponse({}));
920
912
  }
921
913
  /**
922
- * Deletes a group.
914
+ * Deletes a specified group.
923
915
  *
924
916
  * @remarks
925
- * ### [](#)Prerequisites
926
- * 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.
927
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
928
- * - 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).
929
- * ### [](#)Operation description
930
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
931
- * 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****`.
932
924
  *
933
925
  * @param request - DeleteGroupRequest
934
926
  * @returns DeleteGroupResponse
@@ -992,11 +984,11 @@ class Client extends openapi_core_1.default {
992
984
  return await this.deleteMFADeviceForUserWithOptions(request, runtime);
993
985
  }
994
986
  /**
995
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
987
+ * Deletes a SCIM credential.
996
988
  *
997
989
  * @remarks
998
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
999
- * 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****`.
1000
992
  *
1001
993
  * @param request - DeleteSCIMServerCredentialRequest
1002
994
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1028,11 +1020,11 @@ class Client extends openapi_core_1.default {
1028
1020
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSCIMServerCredentialResponse({}));
1029
1021
  }
1030
1022
  /**
1031
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1023
+ * Deletes a SCIM credential.
1032
1024
  *
1033
1025
  * @remarks
1034
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1035
- * 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****`.
1036
1028
  *
1037
1029
  * @param request - DeleteSCIMServerCredentialRequest
1038
1030
  * @returns DeleteSCIMServerCredentialResponse
@@ -1045,14 +1037,14 @@ class Client extends openapi_core_1.default {
1045
1037
  * Deletes a user.
1046
1038
  *
1047
1039
  * @remarks
1048
- * ### [](#)Prerequisites
1049
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1050
- * * 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).
1051
- * * 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).
1052
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1053
- * ### [](#)Precautions
1054
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1055
- * 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****`.
1056
1048
  *
1057
1049
  * @param request - DeleteUserRequest
1058
1050
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1087,14 +1079,14 @@ class Client extends openapi_core_1.default {
1087
1079
  * Deletes a user.
1088
1080
  *
1089
1081
  * @remarks
1090
- * ### [](#)Prerequisites
1091
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1092
- * * 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).
1093
- * * 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).
1094
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1095
- * ### [](#)Precautions
1096
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1097
- * 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****`.
1098
1090
  *
1099
1091
  * @param request - DeleteUserRequest
1100
1092
  * @returns DeleteUserResponse
@@ -1104,7 +1096,7 @@ class Client extends openapi_core_1.default {
1104
1096
  return await this.deleteUserWithOptions(request, runtime);
1105
1097
  }
1106
1098
  /**
1107
- * Deletes a Resource Access Management (RAM) user provisioning.
1099
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1108
1100
  *
1109
1101
  * @param request - DeleteUserProvisioningRequest
1110
1102
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1139,7 +1131,7 @@ class Client extends openapi_core_1.default {
1139
1131
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserProvisioningResponse({}));
1140
1132
  }
1141
1133
  /**
1142
- * Deletes a Resource Access Management (RAM) user provisioning.
1134
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1143
1135
  *
1144
1136
  * @param request - DeleteUserProvisioningRequest
1145
1137
  * @returns DeleteUserProvisioningResponse
@@ -1149,7 +1141,7 @@ class Client extends openapi_core_1.default {
1149
1141
  return await this.deleteUserProvisioningWithOptions(request, runtime);
1150
1142
  }
1151
1143
  /**
1152
- * 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.
1153
1145
  *
1154
1146
  * @param request - DeleteUserProvisioningEventRequest
1155
1147
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1184,7 +1176,7 @@ class Client extends openapi_core_1.default {
1184
1176
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserProvisioningEventResponse({}));
1185
1177
  }
1186
1178
  /**
1187
- * 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.
1188
1180
  *
1189
1181
  * @param request - DeleteUserProvisioningEventRequest
1190
1182
  * @returns DeleteUserProvisioningEventResponse
@@ -1194,11 +1186,11 @@ class Client extends openapi_core_1.default {
1194
1186
  return await this.deleteUserProvisioningEventWithOptions(request, runtime);
1195
1187
  }
1196
1188
  /**
1197
- * De-provisions an access configuration from an account in your resource directory.
1189
+ * Deprovisions an access configuration from an account in a resource directory.
1198
1190
  *
1199
1191
  * @remarks
1200
- * 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.
1201
- * 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****`.
1202
1194
  *
1203
1195
  * @param request - DeprovisionAccessConfigurationRequest
1204
1196
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1239,11 +1231,11 @@ class Client extends openapi_core_1.default {
1239
1231
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprovisionAccessConfigurationResponse({}));
1240
1232
  }
1241
1233
  /**
1242
- * De-provisions an access configuration from an account in your resource directory.
1234
+ * Deprovisions an access configuration from an account in a resource directory.
1243
1235
  *
1244
1236
  * @remarks
1245
- * 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.
1246
- * 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****`.
1247
1239
  *
1248
1240
  * @param request - DeprovisionAccessConfigurationRequest
1249
1241
  * @returns DeprovisionAccessConfigurationResponse
@@ -1327,11 +1319,11 @@ class Client extends openapi_core_1.default {
1327
1319
  return await this.disableServiceWithOptions(runtime);
1328
1320
  }
1329
1321
  /**
1330
- * Enables the delegated administrator account of CloudSSO.
1322
+ * Enables a CloudSSO delegated administrator account.
1331
1323
  *
1332
1324
  * @remarks
1333
- * 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).
1334
- * 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.
1335
1327
  *
1336
1328
  * @param request - EnableDelegateAccountRequest
1337
1329
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1360,11 +1352,11 @@ class Client extends openapi_core_1.default {
1360
1352
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableDelegateAccountResponse({}));
1361
1353
  }
1362
1354
  /**
1363
- * Enables the delegated administrator account of CloudSSO.
1355
+ * Enables a CloudSSO delegated administrator account.
1364
1356
  *
1365
1357
  * @remarks
1366
- * 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).
1367
- * 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.
1368
1360
  *
1369
1361
  * @param request - EnableDelegateAccountRequest
1370
1362
  * @returns EnableDelegateAccountResponse
@@ -1459,10 +1451,55 @@ class Client extends openapi_core_1.default {
1459
1451
  return await this.getAccessConfigurationWithOptions(request, runtime);
1460
1452
  }
1461
1453
  /**
1462
- * Queries information about a directory.
1454
+ * Queries the attribute passing settings of a specified directory to retrieve the current configuration of the SourceIdentity pass-through mode.
1455
+ *
1456
+ * @remarks
1457
+ * You must have the cloudsso:GetAttributePassingSetting permission to call this operation. If the directory is not explicitly configured, SourceIdentityPassing returns Disabled by default.
1458
+ *
1459
+ * @param request - GetAttributePassingSettingRequest
1460
+ * @param runtime - runtime options for this request RuntimeOptions
1461
+ * @returns GetAttributePassingSettingResponse
1462
+ */
1463
+ async getAttributePassingSettingWithOptions(request, runtime) {
1464
+ request.validate();
1465
+ let query = {};
1466
+ if (!$dara.isNull(request.directoryId)) {
1467
+ query["DirectoryId"] = request.directoryId;
1468
+ }
1469
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1470
+ query: openapi_core_2.OpenApiUtil.query(query),
1471
+ });
1472
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1473
+ action: "GetAttributePassingSetting",
1474
+ version: "2021-05-15",
1475
+ protocol: "HTTPS",
1476
+ pathname: "/",
1477
+ method: "POST",
1478
+ authType: "AK",
1479
+ style: "RPC",
1480
+ reqBodyType: "formData",
1481
+ bodyType: "json",
1482
+ });
1483
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAttributePassingSettingResponse({}));
1484
+ }
1485
+ /**
1486
+ * Queries the attribute passing settings of a specified directory to retrieve the current configuration of the SourceIdentity pass-through mode.
1463
1487
  *
1464
1488
  * @remarks
1465
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1489
+ * You must have the cloudsso:GetAttributePassingSetting permission to call this operation. If the directory is not explicitly configured, SourceIdentityPassing returns Disabled by default.
1490
+ *
1491
+ * @param request - GetAttributePassingSettingRequest
1492
+ * @returns GetAttributePassingSettingResponse
1493
+ */
1494
+ async getAttributePassingSetting(request) {
1495
+ let runtime = new $dara.RuntimeOptions({});
1496
+ return await this.getAttributePassingSettingWithOptions(request, runtime);
1497
+ }
1498
+ /**
1499
+ * Queries the details of a directory.
1500
+ *
1501
+ * @remarks
1502
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1466
1503
  *
1467
1504
  * @param request - GetDirectoryRequest
1468
1505
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1491,10 +1528,10 @@ class Client extends openapi_core_1.default {
1491
1528
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDirectoryResponse({}));
1492
1529
  }
1493
1530
  /**
1494
- * Queries information about a directory.
1531
+ * Queries the details of a directory.
1495
1532
  *
1496
1533
  * @remarks
1497
- * 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****`.
1498
1535
  *
1499
1536
  * @param request - GetDirectoryRequest
1500
1537
  * @returns GetDirectoryResponse
@@ -1980,10 +2017,10 @@ class Client extends openapi_core_1.default {
1980
2017
  return await this.getServiceStatusWithOptions(runtime);
1981
2018
  }
1982
2019
  /**
1983
- * Queries information about an asynchronous task.
2020
+ * Queries the details of an asynchronous task.
1984
2021
  *
1985
2022
  * @remarks
1986
- * 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****`.
1987
2024
  *
1988
2025
  * @param request - GetTaskRequest
1989
2026
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2015,10 +2052,10 @@ class Client extends openapi_core_1.default {
2015
2052
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTaskResponse({}));
2016
2053
  }
2017
2054
  /**
2018
- * Queries information about an asynchronous task.
2055
+ * Queries the details of an asynchronous task.
2019
2056
  *
2020
2057
  * @remarks
2021
- * 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****`.
2022
2059
  *
2023
2060
  * @param request - GetTaskRequest
2024
2061
  * @returns GetTaskResponse
@@ -2422,10 +2459,10 @@ class Client extends openapi_core_1.default {
2422
2459
  return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
2423
2460
  }
2424
2461
  /**
2425
- * Queries the access permissions that are assigned.
2462
+ * Queries access assignments.
2426
2463
  *
2427
2464
  * @remarks
2428
- * 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.
2429
2466
  *
2430
2467
  * @param request - ListAccessAssignmentsRequest
2431
2468
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2478,10 +2515,10 @@ class Client extends openapi_core_1.default {
2478
2515
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAccessAssignmentsResponse({}));
2479
2516
  }
2480
2517
  /**
2481
- * Queries the access permissions that are assigned.
2518
+ * Queries access assignments.
2482
2519
  *
2483
2520
  * @remarks
2484
- * 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.
2485
2522
  *
2486
2523
  * @param request - ListAccessAssignmentsRequest
2487
2524
  * @returns ListAccessAssignmentsResponse
@@ -2491,10 +2528,10 @@ class Client extends openapi_core_1.default {
2491
2528
  return await this.listAccessAssignmentsWithOptions(request, runtime);
2492
2529
  }
2493
2530
  /**
2494
- * Queries the access configurations that are provisioned.
2531
+ * Queries access configuration provisionings.
2495
2532
  *
2496
2533
  * @remarks
2497
- * 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.
2498
2535
  *
2499
2536
  * @param request - ListAccessConfigurationProvisioningsRequest
2500
2537
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2544,10 +2581,10 @@ class Client extends openapi_core_1.default {
2544
2581
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAccessConfigurationProvisioningsResponse({}));
2545
2582
  }
2546
2583
  /**
2547
- * Queries the access configurations that are provisioned.
2584
+ * Queries access configuration provisionings.
2548
2585
  *
2549
2586
  * @remarks
2550
- * 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.
2551
2588
  *
2552
2589
  * @param request - ListAccessConfigurationProvisioningsRequest
2553
2590
  * @returns ListAccessConfigurationProvisioningsResponse
@@ -3006,11 +3043,61 @@ class Client extends openapi_core_1.default {
3006
3043
  return await this.listSCIMServerCredentialsWithOptions(request, runtime);
3007
3044
  }
3008
3045
  /**
3009
- * 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.
3010
3098
  *
3011
3099
  * @remarks
3012
- * 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`.
3013
- * 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.
3014
3101
  *
3015
3102
  * @param request - ListTasksRequest
3016
3103
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3069,11 +3156,10 @@ class Client extends openapi_core_1.default {
3069
3156
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTasksResponse({}));
3070
3157
  }
3071
3158
  /**
3072
- * Queries asynchronous tasks.
3159
+ * Queries a list of asynchronous tasks.
3073
3160
  *
3074
3161
  * @remarks
3075
- * 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`.
3076
- * 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.
3077
3163
  *
3078
3164
  * @param request - ListTasksRequest
3079
3165
  * @returns ListTasksResponse
@@ -3245,11 +3331,11 @@ class Client extends openapi_core_1.default {
3245
3331
  return await this.listUsersWithOptions(request, runtime);
3246
3332
  }
3247
3333
  /**
3248
- * 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.
3249
3335
  *
3250
3336
  * @remarks
3251
- * 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.
3252
- * 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****`.
3253
3339
  *
3254
3340
  * @param request - ProvisionAccessConfigurationRequest
3255
3341
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3290,11 +3376,11 @@ class Client extends openapi_core_1.default {
3290
3376
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ProvisionAccessConfigurationResponse({}));
3291
3377
  }
3292
3378
  /**
3293
- * 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.
3294
3380
  *
3295
3381
  * @remarks
3296
- * 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.
3297
- * 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****`.
3298
3384
  *
3299
3385
  * @param request - ProvisionAccessConfigurationRequest
3300
3386
  * @returns ProvisionAccessConfigurationResponse
@@ -3464,9 +3550,9 @@ class Client extends openapi_core_1.default {
3464
3550
  * Resets the password of a user.
3465
3551
  *
3466
3552
  * @remarks
3467
- * 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.
3468
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3469
- * 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.
3470
3556
  *
3471
3557
  * @param request - ResetUserPasswordRequest
3472
3558
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3510,9 +3596,9 @@ class Client extends openapi_core_1.default {
3510
3596
  * Resets the password of a user.
3511
3597
  *
3512
3598
  * @remarks
3513
- * 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.
3514
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3515
- * 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.
3516
3602
  *
3517
3603
  * @param request - ResetUserPasswordRequest
3518
3604
  * @returns ResetUserPasswordResponse
@@ -3854,6 +3940,105 @@ class Client extends openapi_core_1.default {
3854
3940
  let runtime = new $dara.RuntimeOptions({});
3855
3941
  return await this.setSCIMSynchronizationStatusWithOptions(request, runtime);
3856
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
+ }
3857
4042
  /**
3858
4043
  * Modifies information about an access configuration.
3859
4044
  *
@@ -3913,6 +4098,54 @@ class Client extends openapi_core_1.default {
3913
4098
  let runtime = new $dara.RuntimeOptions({});
3914
4099
  return await this.updateAccessConfigurationWithOptions(request, runtime);
3915
4100
  }
4101
+ /**
4102
+ * Updates the attribute passing settings for a specified directory, allowing you to set the SourceIdentity pass-through mode to IdP, UserName, or Disabled.
4103
+ *
4104
+ * @remarks
4105
+ * You must have the cloudsso:UpdateAttributePassingSetting permission to call this operation. If the SourceIdentityPassing request parameter is not specified, the existing value is retained. If an invalid enum value is specified, the InvalidParameter.SourceIdentityPassing error is returned.
4106
+ *
4107
+ * @param request - UpdateAttributePassingSettingRequest
4108
+ * @param runtime - runtime options for this request RuntimeOptions
4109
+ * @returns UpdateAttributePassingSettingResponse
4110
+ */
4111
+ async updateAttributePassingSettingWithOptions(request, runtime) {
4112
+ request.validate();
4113
+ let query = {};
4114
+ if (!$dara.isNull(request.directoryId)) {
4115
+ query["DirectoryId"] = request.directoryId;
4116
+ }
4117
+ if (!$dara.isNull(request.sourceIdentityPassing)) {
4118
+ query["SourceIdentityPassing"] = request.sourceIdentityPassing;
4119
+ }
4120
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4121
+ query: openapi_core_2.OpenApiUtil.query(query),
4122
+ });
4123
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4124
+ action: "UpdateAttributePassingSetting",
4125
+ version: "2021-05-15",
4126
+ protocol: "HTTPS",
4127
+ pathname: "/",
4128
+ method: "POST",
4129
+ authType: "AK",
4130
+ style: "RPC",
4131
+ reqBodyType: "formData",
4132
+ bodyType: "json",
4133
+ });
4134
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAttributePassingSettingResponse({}));
4135
+ }
4136
+ /**
4137
+ * Updates the attribute passing settings for a specified directory, allowing you to set the SourceIdentity pass-through mode to IdP, UserName, or Disabled.
4138
+ *
4139
+ * @remarks
4140
+ * You must have the cloudsso:UpdateAttributePassingSetting permission to call this operation. If the SourceIdentityPassing request parameter is not specified, the existing value is retained. If an invalid enum value is specified, the InvalidParameter.SourceIdentityPassing error is returned.
4141
+ *
4142
+ * @param request - UpdateAttributePassingSettingRequest
4143
+ * @returns UpdateAttributePassingSettingResponse
4144
+ */
4145
+ async updateAttributePassingSetting(request) {
4146
+ let runtime = new $dara.RuntimeOptions({});
4147
+ return await this.updateAttributePassingSettingWithOptions(request, runtime);
4148
+ }
3916
4149
  /**
3917
4150
  * Changes the name of a directory.
3918
4151
  *
@@ -4137,10 +4370,10 @@ class Client extends openapi_core_1.default {
4137
4370
  return await this.updateMFAAuthenticationSettingsWithOptions(request, runtime);
4138
4371
  }
4139
4372
  /**
4140
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4373
+ * Enables or disables a SCIM credential.
4141
4374
  *
4142
4375
  * @remarks
4143
- * 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.
4144
4377
  *
4145
4378
  * @param request - UpdateSCIMServerCredentialStatusRequest
4146
4379
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4175,10 +4408,10 @@ class Client extends openapi_core_1.default {
4175
4408
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSCIMServerCredentialStatusResponse({}));
4176
4409
  }
4177
4410
  /**
4178
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4411
+ * Enables or disables a SCIM credential.
4179
4412
  *
4180
4413
  * @remarks
4181
- * 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.
4182
4415
  *
4183
4416
  * @param request - UpdateSCIMServerCredentialStatusRequest
4184
4417
  * @returns UpdateSCIMServerCredentialStatusResponse