@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/src/client.ts CHANGED
@@ -12,14 +12,6 @@ export default class Client extends OpenApi {
12
12
  constructor(config: $OpenApiUtil.Config) {
13
13
  super(config);
14
14
  this._endpointRule = "regional";
15
- this._endpointMap = {
16
- 'cn-shanghai': "cloudsso.cn-shanghai.aliyuncs.com",
17
- 'cn-hongkong': "cloudsso.cn-hongkong.aliyuncs.com",
18
- 'ap-northeast-2': "cloudsso.ap-northeast-2.aliyuncs.com",
19
- 'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
20
- 'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
21
- 'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
22
- };
23
15
  this.checkConfig(config);
24
16
  this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
25
17
  }
@@ -38,11 +30,11 @@ export default class Client extends OpenApi {
38
30
  }
39
31
 
40
32
  /**
41
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
33
+ * Adds a SAML signing certificate.
42
34
  *
43
35
  * @remarks
44
36
  * You can add up to two SAML signing certificates.
45
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
37
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
46
38
  *
47
39
  * @param request - AddExternalSAMLIdPCertificateRequest
48
40
  * @param runtime - runtime options for this request RuntimeOptions
@@ -77,11 +69,11 @@ export default class Client extends OpenApi {
77
69
  }
78
70
 
79
71
  /**
80
- * Adds a Security Assertion Markup Language (SAML) signing certificate.
72
+ * Adds a SAML signing certificate.
81
73
  *
82
74
  * @remarks
83
75
  * You can add up to two SAML signing certificates.
84
- * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
76
+ * This topic provides an example of adding a new SAML signing certificate to the `d-00fc2p61****` directory.
85
77
  *
86
78
  * @param request - AddExternalSAMLIdPCertificateRequest
87
79
  * @returns AddExternalSAMLIdPCertificateResponse
@@ -92,10 +84,10 @@ export default class Client extends OpenApi {
92
84
  }
93
85
 
94
86
  /**
95
- * Adds a policy to an access configuration.
87
+ * Adds an access policy to an access configuration.
96
88
  *
97
89
  * @remarks
98
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
90
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
99
91
  *
100
92
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
101
93
  * @param runtime - runtime options for this request RuntimeOptions
@@ -142,10 +134,10 @@ export default class Client extends OpenApi {
142
134
  }
143
135
 
144
136
  /**
145
- * Adds a policy to an access configuration.
137
+ * Adds an access policy to an access configuration.
146
138
  *
147
139
  * @remarks
148
- * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
140
+ * This topic provides an example of adding a system policy named `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
149
141
  *
150
142
  * @param request - AddPermissionPolicyToAccessConfigurationRequest
151
143
  * @returns AddPermissionPolicyToAccessConfigurationResponse
@@ -159,8 +151,8 @@ export default class Client extends OpenApi {
159
151
  * Adds a user to a group.
160
152
  *
161
153
  * @remarks
162
- * 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.
163
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
154
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
155
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
164
156
  *
165
157
  * @param request - AddUserToGroupRequest
166
158
  * @param runtime - runtime options for this request RuntimeOptions
@@ -202,8 +194,8 @@ export default class Client extends OpenApi {
202
194
  * Adds a user to a group.
203
195
  *
204
196
  * @remarks
205
- * 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.
206
- * This topic provides an example on how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
197
+ * After SCIM synchronization is enabled, you cannot add users to SCIM-synchronized groups.
198
+ * This topic provides an example of adding the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
207
199
  *
208
200
  * @param request - AddUserToGroupRequest
209
201
  * @returns AddUserToGroupResponse
@@ -214,11 +206,11 @@ export default class Client extends OpenApi {
214
206
  }
215
207
 
216
208
  /**
217
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
209
+ * Clears the configuration of the SAML IdP.
218
210
  *
219
211
  * @remarks
220
- * 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.
221
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
212
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
213
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
222
214
  *
223
215
  * @param request - ClearExternalSAMLIdentityProviderRequest
224
216
  * @param runtime - runtime options for this request RuntimeOptions
@@ -249,11 +241,11 @@ export default class Client extends OpenApi {
249
241
  }
250
242
 
251
243
  /**
252
- * Clears the configurations of a Security Assertion Markup Language (SAML) identity provider (IdP).
244
+ * Clears the configuration of the SAML IdP.
253
245
  *
254
246
  * @remarks
255
- * 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.
256
- * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
247
+ * You can clear the SAML IdP information only when SSO logon is disabled. Otherwise, you cannot perform this operation.
248
+ * This topic provides an example of clearing the configuration of the SAML IdP for the `d-00fc2p61****` directory.
257
249
  *
258
250
  * @param request - ClearExternalSAMLIdentityProviderRequest
259
251
  * @returns ClearExternalSAMLIdentityProviderResponse
@@ -264,12 +256,12 @@ export default class Client extends OpenApi {
264
256
  }
265
257
 
266
258
  /**
267
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
259
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
268
260
  *
269
261
  * @remarks
270
- * 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.
271
- * 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).
272
- * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
262
+ * This API operation is asynchronous. You can use the TaskId returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
263
+ * For more information about granting access to an account in a resource directory, see [Multi-account authorization overview](https://help.aliyun.com/document_detail/266726.html).
264
+ * This topic provides an example on how to assign the access configuration `ac-00jhtfl8thteu6uj****` to the CloudSSO user `u-00q8wbq42wiltcrk****` for the account `114240524784****` in a resource directory. This allows the CloudSSO user to access authorized resources in the account.
273
265
  *
274
266
  * @param request - CreateAccessAssignmentRequest
275
267
  * @param runtime - runtime options for this request RuntimeOptions
@@ -324,12 +316,12 @@ export default class Client extends OpenApi {
324
316
  }
325
317
 
326
318
  /**
327
- * Assigns access permissions on an account in your resource directory to a user or a group by using an access configuration.
319
+ * Configures the settings for the users or groups allowed to access an account in a resource directory, and the corresponding access permissions (access configurations).
328
320
  *
329
321
  * @remarks
330
- * 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.
331
- * 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).
332
- * This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
322
+ * This API operation is asynchronous. You can use the TaskId returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
323
+ * For more information about granting access to an account in a resource directory, see [Multi-account authorization overview](https://help.aliyun.com/document_detail/266726.html).
324
+ * This topic provides an example on how to assign the access configuration `ac-00jhtfl8thteu6uj****` to the CloudSSO user `u-00q8wbq42wiltcrk****` for the account `114240524784****` in a resource directory. This allows the CloudSSO user to access authorized resources in the account.
333
325
  *
334
326
  * @param request - CreateAccessAssignmentRequest
335
327
  * @returns CreateAccessAssignmentResponse
@@ -413,13 +405,13 @@ export default class Client extends OpenApi {
413
405
  * Creates a directory.
414
406
  *
415
407
  * @remarks
416
- * ### [](#)Operation description
417
- * 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.
418
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
408
+ * ### Usage notes
409
+ * A directory is an instance in CloudSSO. You must create a directory before you use CloudSSO. All CloudSSO resources must be maintained in the directory.
410
+ * You must select a region for the CloudSSO directory. Alibaba Cloud ensures that all CloudSSO-related data is stored only in this region. This is independent of where you deploy cloud resources such as ECS and ApsaraDB RDS. You can log on to and access cloud resources in any region from anywhere in the world. You can select a region based on your security and compliance requirements and the geographic location of your target users. If you do not have special security and compliance requirements, select the region closest to your target users to improve access speed. Currently, you can create directories in the following four regions: China (Shanghai), China (Hong Kong), US (Silicon Valley), and Germany (Frankfurt).
419
411
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
420
- * ### [](#)Limits
421
- * * You can create only one directory for a management account.
422
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
412
+ * ### Limits
413
+ * - A management account can create only one directory.
414
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
423
415
  *
424
416
  * @param request - CreateDirectoryRequest
425
417
  * @param runtime - runtime options for this request RuntimeOptions
@@ -453,13 +445,13 @@ export default class Client extends OpenApi {
453
445
  * Creates a directory.
454
446
  *
455
447
  * @remarks
456
- * ### [](#)Operation description
457
- * 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.
458
- * To create a directory, you must select a region. Alibaba Cloud stores data in the directory only in the region that you select. However, you can deploy Alibaba Cloud resources including Elastic Compute Service (ECS) instances and ApsaraDB RDS instances in other regions. You can also use your cloud account for logons and access the Alibaba Cloud resources in other regions. You can select a region to create a directory based on your security compliance requirements and the geographic location of specific users. If you do not have strict security compliance requirements, we recommend that you select a region that is the closest to the geographical location of the specific users. This way, access to cloud resources is accelerated. You can create the CloudSSO directory in the China (Shanghai), China (Hong Kong), US (Silicon Valley), or Germany (Frankfurt) region.
448
+ * ### Usage notes
449
+ * A directory is an instance in CloudSSO. You must create a directory before you use CloudSSO. All CloudSSO resources must be maintained in the directory.
450
+ * You must select a region for the CloudSSO directory. Alibaba Cloud ensures that all CloudSSO-related data is stored only in this region. This is independent of where you deploy cloud resources such as ECS and ApsaraDB RDS. You can log on to and access cloud resources in any region from anywhere in the world. You can select a region based on your security and compliance requirements and the geographic location of your target users. If you do not have special security and compliance requirements, select the region closest to your target users to improve access speed. Currently, you can create directories in the following four regions: China (Shanghai), China (Hong Kong), US (Silicon Valley), and Germany (Frankfurt).
459
451
  * This topic provides an example on how to create a directory named `example` in the China (Shanghai) region.
460
- * ### [](#)Limits
461
- * * You can create only one directory for a management account.
462
- * * If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
452
+ * ### Limits
453
+ * - A management account can create only one directory.
454
+ * - To change the region of the directory, you must delete the existing directory and create a new one in another region.
463
455
  *
464
456
  * @param request - CreateDirectoryRequest
465
457
  * @returns CreateDirectoryResponse
@@ -470,10 +462,10 @@ export default class Client extends OpenApi {
470
462
  }
471
463
 
472
464
  /**
473
- * Creates a group.
465
+ * Creates a user group.
474
466
  *
475
467
  * @remarks
476
- * This topic provides an example on how to create a group named `TestGroup`.
468
+ * This topic provides an example of creating a user group named `TestGroup`.
477
469
  *
478
470
  * @param request - CreateGroupRequest
479
471
  * @param runtime - runtime options for this request RuntimeOptions
@@ -512,10 +504,10 @@ export default class Client extends OpenApi {
512
504
  }
513
505
 
514
506
  /**
515
- * Creates a group.
507
+ * Creates a user group.
516
508
  *
517
509
  * @remarks
518
- * This topic provides an example on how to create a group named `TestGroup`.
510
+ * This topic provides an example of creating a user group named `TestGroup`.
519
511
  *
520
512
  * @param request - CreateGroupRequest
521
513
  * @returns CreateGroupResponse
@@ -526,11 +518,11 @@ export default class Client extends OpenApi {
526
518
  }
527
519
 
528
520
  /**
529
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
521
+ * Creates a SCIM credential.
530
522
  *
531
523
  * @remarks
532
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
533
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
524
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
525
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
534
526
  *
535
527
  * @param request - CreateSCIMServerCredentialRequest
536
528
  * @param runtime - runtime options for this request RuntimeOptions
@@ -561,11 +553,11 @@ export default class Client extends OpenApi {
561
553
  }
562
554
 
563
555
  /**
564
- * Creates a System for Cross-domain Identity Management (SCIM) credential.
556
+ * Creates a SCIM credential.
565
557
  *
566
558
  * @remarks
567
- * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
568
- * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
559
+ * A SCIM credential is required for SCIM synchronization. You can create up to two SCIM credentials.
560
+ * This topic provides an example on how to create a SCIM credential in the directory `d-00fc2p61****`.
569
561
  *
570
562
  * @param request - CreateSCIMServerCredentialRequest
571
563
  * @returns CreateSCIMServerCredentialResponse
@@ -650,10 +642,10 @@ export default class Client extends OpenApi {
650
642
  }
651
643
 
652
644
  /**
653
- * Creates a Resource Access Management (RAM) user provisioning.
645
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
654
646
  *
655
647
  * @remarks
656
- * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
648
+ * You can create a Resource Access Management (RAM) user synchronization to synchronously create a Resource Access Management (RAM) user that has the same name as a CloudSSO user in a destination account in a resource directory. You can then use the Resource Access Management (RAM) user to access resources in the account.
657
649
  *
658
650
  * @param request - CreateUserProvisioningRequest
659
651
  * @param runtime - runtime options for this request RuntimeOptions
@@ -712,10 +704,10 @@ export default class Client extends OpenApi {
712
704
  }
713
705
 
714
706
  /**
715
- * Creates a Resource Access Management (RAM) user provisioning.
707
+ * Invokes CreateUserProvisioning to create a Resource Access Management (RAM) user synchronization.
716
708
  *
717
709
  * @remarks
718
- * You can create a RAM user provisioning for a member in your resource directory to create a RAM user that has the same username as a CloudSSO user. This way, the CloudSSO user can access the resources of the member as the RAM user.
710
+ * You can create a Resource Access Management (RAM) user synchronization to synchronously create a Resource Access Management (RAM) user that has the same name as a CloudSSO user in a destination account in a resource directory. You can then use the Resource Access Management (RAM) user to access resources in the account.
719
711
  *
720
712
  * @param request - CreateUserProvisioningRequest
721
713
  * @returns CreateUserProvisioningResponse
@@ -726,11 +718,11 @@ export default class Client extends OpenApi {
726
718
  }
727
719
 
728
720
  /**
729
- * Removes the access permissions on an account in a resource directory.
721
+ * Removes the authorization from an account in a resource directory.
730
722
  *
731
723
  * @remarks
732
- * 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.
733
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
724
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
725
+ * This topic provides an example of removing the authorization for the CloudSSO user `u-00q8wbq42wiltcrk****` to use the access configuration `ac-00jhtfl8thteu6uj****` on the account in a resource directory `114240524784****`.
734
726
  *
735
727
  * @param request - DeleteAccessAssignmentRequest
736
728
  * @param runtime - runtime options for this request RuntimeOptions
@@ -789,11 +781,11 @@ export default class Client extends OpenApi {
789
781
  }
790
782
 
791
783
  /**
792
- * Removes the access permissions on an account in a resource directory.
784
+ * Removes the authorization from an account in a resource directory.
793
785
  *
794
786
  * @remarks
795
- * 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.
796
- * This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
787
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) to query the task execution status.
788
+ * This topic provides an example of removing the authorization for the CloudSSO user `u-00q8wbq42wiltcrk****` to use the access configuration `ac-00jhtfl8thteu6uj****` on the account in a resource directory `114240524784****`.
797
789
  *
798
790
  * @param request - DeleteAccessAssignmentRequest
799
791
  * @returns DeleteAccessAssignmentResponse
@@ -807,10 +799,10 @@ export default class Client extends OpenApi {
807
799
  * Deletes an access configuration.
808
800
  *
809
801
  * @remarks
810
- * ### [](#)Prerequisites
811
- * 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).
812
- * ### [](#)Operation description
813
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
802
+ * ### Before you begin
803
+ * Before you delete an access configuration, you must deprovision the access configuration from the members of the resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
804
+ * ### Usage notes
805
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
814
806
  *
815
807
  * @param request - DeleteAccessConfigurationRequest
816
808
  * @param runtime - runtime options for this request RuntimeOptions
@@ -852,10 +844,10 @@ export default class Client extends OpenApi {
852
844
  * Deletes an access configuration.
853
845
  *
854
846
  * @remarks
855
- * ### [](#)Prerequisites
856
- * 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).
857
- * ### [](#)Operation description
858
- * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
847
+ * ### Before you begin
848
+ * Before you delete an access configuration, you must deprovision the access configuration from the members of the resource directory. For more information, see [DeprovisionAccessConfiguration](https://help.aliyun.com/document_detail/338352.html).
849
+ * ### Usage notes
850
+ * This topic provides an example on how to delete an access configuration whose ID is `ac-001j9mcm3k7335bc****`.
859
851
  *
860
852
  * @param request - DeleteAccessConfigurationRequest
861
853
  * @returns DeleteAccessConfigurationResponse
@@ -869,16 +861,16 @@ export default class Client extends OpenApi {
869
861
  * Deletes a directory.
870
862
  *
871
863
  * @remarks
872
- * ### [](#)Prerequisites
873
- * No resources are contained in the directory that you want to delete.
874
- * * 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).
875
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
876
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
877
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
878
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
879
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
880
- * ### [](#)Operation description
881
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
864
+ * ### Before you begin
865
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
866
+ * - Remove all authorizations for users and groups on an account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
867
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
868
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
869
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
870
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
871
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
872
+ * ### Usage notes
873
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
882
874
  *
883
875
  * @param request - DeleteDirectoryRequest
884
876
  * @param runtime - runtime options for this request RuntimeOptions
@@ -912,16 +904,16 @@ export default class Client extends OpenApi {
912
904
  * Deletes a directory.
913
905
  *
914
906
  * @remarks
915
- * ### [](#)Prerequisites
916
- * No resources are contained in the directory that you want to delete.
917
- * * 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).
918
- * * Users are deleted. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
919
- * * Groups are deleted. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
920
- * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
921
- * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
922
- * * Single sign-on (SSO) logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
923
- * ### [](#)Operation description
924
- * This topic provides an example on how to delete a directory whose ID is `d-00fc2p61****`.
907
+ * ### Before you begin
908
+ * Before you delete a directory, make sure that the directory does not contain any resources. Specifically:
909
+ * - Remove all authorizations for users and groups on an account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
910
+ * - Delete users. For more information, see [DeleteUser](https://help.aliyun.com/document_detail/341671.html).
911
+ * - Delete groups. For more information, see [DeleteGroup](https://help.aliyun.com/document_detail/341821.html).
912
+ * - Delete access configurations. For more information, see [DeleteAccessConfiguration](https://help.aliyun.com/document_detail/336907.html).
913
+ * - Delete SCIM credentials. For more information, see [DeleteSCIMServerCredential](https://help.aliyun.com/document_detail/341842.html).
914
+ * - Delete single sign-on configurations. For more information, see [ClearExternalSAMLIdentityProvider](https://help.aliyun.com/document_detail/341573.html).
915
+ * ### Usage notes
916
+ * This topic provides an example on how to delete a directory with the ID `d-00fc2p61****`.
925
917
  *
926
918
  * @param request - DeleteDirectoryRequest
927
919
  * @returns DeleteDirectoryResponse
@@ -932,16 +924,16 @@ export default class Client extends OpenApi {
932
924
  }
933
925
 
934
926
  /**
935
- * Deletes a group.
927
+ * Deletes a specified group.
936
928
  *
937
929
  * @remarks
938
- * ### [](#)Prerequisites
939
- * 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.
940
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
941
- * - 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).
942
- * ### [](#)Operation description
943
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
944
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
930
+ * ### Before you begin
931
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
932
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
933
+ * - Authorization: You must remove the authorization of the user group on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
934
+ * ### Usage notes
935
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
936
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
945
937
  *
946
938
  * @param request - DeleteGroupRequest
947
939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -976,16 +968,16 @@ export default class Client extends OpenApi {
976
968
  }
977
969
 
978
970
  /**
979
- * Deletes a group.
971
+ * Deletes a specified group.
980
972
  *
981
973
  * @remarks
982
- * ### [](#)Prerequisites
983
- * 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.
984
- * - Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
985
- * - 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).
986
- * ### [](#)Operation description
987
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a group that is synchronized by using SCIM.
988
- * This topic provides an example on how to delete the group `g-00jqzghi2n3o5hkh****`.
974
+ * ### Before you begin
975
+ * Before you delete a user group, make sure that the user group is not associated with the following resources. Otherwise, the deletion failed.
976
+ * - Users: You must remove users from the user group. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
977
+ * - Authorization: You must remove the authorization of the user group on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
978
+ * ### Usage notes
979
+ * If SCIM synchronization is enabled, you cannot delete user groups that are synchronized by using SCIM.
980
+ * This topic provides an example on how to delete the user group `g-00jqzghi2n3o5hkh****`.
989
981
  *
990
982
  * @param request - DeleteGroupRequest
991
983
  * @returns DeleteGroupResponse
@@ -1056,11 +1048,11 @@ export default class Client extends OpenApi {
1056
1048
  }
1057
1049
 
1058
1050
  /**
1059
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1051
+ * Deletes a SCIM credential.
1060
1052
  *
1061
1053
  * @remarks
1062
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1063
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1054
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
1055
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1064
1056
  *
1065
1057
  * @param request - DeleteSCIMServerCredentialRequest
1066
1058
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1095,11 +1087,11 @@ export default class Client extends OpenApi {
1095
1087
  }
1096
1088
 
1097
1089
  /**
1098
- * Deletes a System for Cross-domain Identity Management (SCIM) credential.
1090
+ * Deletes a SCIM credential.
1099
1091
  *
1100
1092
  * @remarks
1101
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
1102
- * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1093
+ * After a SCIM credential is deleted, synchronization tasks that use the SCIM credential will fail.
1094
+ * This topic provides an example of deleting a SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
1103
1095
  *
1104
1096
  * @param request - DeleteSCIMServerCredentialRequest
1105
1097
  * @returns DeleteSCIMServerCredentialResponse
@@ -1113,14 +1105,14 @@ export default class Client extends OpenApi {
1113
1105
  * Deletes a user.
1114
1106
  *
1115
1107
  * @remarks
1116
- * ### [](#)Prerequisites
1117
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1118
- * * 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).
1119
- * * 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).
1120
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1121
- * ### [](#)Precautions
1122
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1123
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1108
+ * ### Before you begin
1109
+ * Before you delete a user, ensure that the user is not associated with the following resources. Otherwise, the deletion will result in a failed state:
1110
+ * - MFA devices: You must delete the MFA device attached to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1111
+ * - Authorization: You must remove the authorization of the user on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1112
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1113
+ * ### Usage notes
1114
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1115
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1124
1116
  *
1125
1117
  * @param request - DeleteUserRequest
1126
1118
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1158,14 +1150,14 @@ export default class Client extends OpenApi {
1158
1150
  * Deletes a user.
1159
1151
  *
1160
1152
  * @remarks
1161
- * ### [](#)Prerequisites
1162
- * Before you delete a user, make sure that the user is not associated with the following resources. Otherwise, the deletion fails.
1163
- * * 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).
1164
- * * 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).
1165
- * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1166
- * ### [](#)Precautions
1167
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
1168
- * This topic provides an example on how to delete the user whose ID is `u-00q8wbq42wiltcrk****`.
1153
+ * ### Before you begin
1154
+ * Before you delete a user, ensure that the user is not associated with the following resources. Otherwise, the deletion will result in a failed state:
1155
+ * - MFA devices: You must delete the MFA device attached to the user. For more information, see [DeleteMFADeviceForUser](https://help.aliyun.com/document_detail/341675.html).
1156
+ * - Authorization: You must remove the authorization of the user on the account in a resource directory. For more information, see [DeleteAccessAssignment](https://help.aliyun.com/document_detail/338350.html).
1157
+ * - Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](https://help.aliyun.com/document_detail/335116.html).
1158
+ * ### Usage notes
1159
+ * You cannot delete a SCIM-synchronized user when SCIM synchronization is enabled.
1160
+ * This topic provides an example of deleting a user whose ID is `u-00q8wbq42wiltcrk****`.
1169
1161
  *
1170
1162
  * @param request - DeleteUserRequest
1171
1163
  * @returns DeleteUserResponse
@@ -1176,7 +1168,7 @@ export default class Client extends OpenApi {
1176
1168
  }
1177
1169
 
1178
1170
  /**
1179
- * Deletes a Resource Access Management (RAM) user provisioning.
1171
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1180
1172
  *
1181
1173
  * @param request - DeleteUserProvisioningRequest
1182
1174
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1215,7 +1207,7 @@ export default class Client extends OpenApi {
1215
1207
  }
1216
1208
 
1217
1209
  /**
1218
- * Deletes a Resource Access Management (RAM) user provisioning.
1210
+ * Invokes DeleteUserProvisioning to delete a Resource Access Management (RAM) user synchronization.
1219
1211
  *
1220
1212
  * @param request - DeleteUserProvisioningRequest
1221
1213
  * @returns DeleteUserProvisioningResponse
@@ -1226,7 +1218,7 @@ export default class Client extends OpenApi {
1226
1218
  }
1227
1219
 
1228
1220
  /**
1229
- * Deletes a Resource Access Management (RAM) user provisioning event.
1221
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1230
1222
  *
1231
1223
  * @param request - DeleteUserProvisioningEventRequest
1232
1224
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1265,7 +1257,7 @@ export default class Client extends OpenApi {
1265
1257
  }
1266
1258
 
1267
1259
  /**
1268
- * Deletes a Resource Access Management (RAM) user provisioning event.
1260
+ * Invokes DeleteUserProvisioningEvent to delete a Resource Access Management (RAM) user synchronization event that failed to execute.
1269
1261
  *
1270
1262
  * @param request - DeleteUserProvisioningEventRequest
1271
1263
  * @returns DeleteUserProvisioningEventResponse
@@ -1276,11 +1268,11 @@ export default class Client extends OpenApi {
1276
1268
  }
1277
1269
 
1278
1270
  /**
1279
- * De-provisions an access configuration from an account in your resource directory.
1271
+ * Deprovisions an access configuration from an account in a resource directory.
1280
1272
  *
1281
1273
  * @remarks
1282
- * 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.
1283
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1274
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response parameters to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
1275
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1284
1276
  *
1285
1277
  * @param request - DeprovisionAccessConfigurationRequest
1286
1278
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1327,11 +1319,11 @@ export default class Client extends OpenApi {
1327
1319
  }
1328
1320
 
1329
1321
  /**
1330
- * De-provisions an access configuration from an account in your resource directory.
1322
+ * Deprovisions an access configuration from an account in a resource directory.
1331
1323
  *
1332
1324
  * @remarks
1333
- * 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.
1334
- * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
1325
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response parameters to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
1326
+ * This topic provides an example of deprovisioning the access configuration `ac-00jhtfl8thteu6uj****` from the account in a resource directory `114240524784****`.
1335
1327
  *
1336
1328
  * @param request - DeprovisionAccessConfigurationRequest
1337
1329
  * @returns DeprovisionAccessConfigurationResponse
@@ -1421,11 +1413,11 @@ export default class Client extends OpenApi {
1421
1413
  }
1422
1414
 
1423
1415
  /**
1424
- * Enables the delegated administrator account of CloudSSO.
1416
+ * Enables a CloudSSO delegated administrator account.
1425
1417
  *
1426
1418
  * @remarks
1427
- * 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).
1428
- * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
1419
+ * The management account of a resource directory can set a member of the resource directory as a CloudSSO delegated administrator account. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1420
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1429
1421
  *
1430
1422
  * @param request - EnableDelegateAccountRequest
1431
1423
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1456,11 +1448,11 @@ export default class Client extends OpenApi {
1456
1448
  }
1457
1449
 
1458
1450
  /**
1459
- * Enables the delegated administrator account of CloudSSO.
1451
+ * Enables a CloudSSO delegated administrator account.
1460
1452
  *
1461
1453
  * @remarks
1462
- * 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).
1463
- * After the delegated administrator account of CloudSSO is specified, you can call this operation to enable the delegated administrator account of CloudSSO to manage CloudSSO resources.
1454
+ * The management account of a resource directory can set a member of the resource directory as a CloudSSO delegated administrator account. For more information, see [Add a delegated administrator account](https://help.aliyun.com/document_detail/208117.html).
1455
+ * After the configuration is complete, you can call this operation to enable the CloudSSO delegated administrator account to manage CloudSSO.
1464
1456
  *
1465
1457
  * @param request - EnableDelegateAccountRequest
1466
1458
  * @returns EnableDelegateAccountResponse
@@ -1562,10 +1554,58 @@ export default class Client extends OpenApi {
1562
1554
  }
1563
1555
 
1564
1556
  /**
1565
- * Queries information about a directory.
1557
+ * Queries the attribute passing settings of a specified directory to retrieve the current configuration of the SourceIdentity pass-through mode.
1566
1558
  *
1567
1559
  * @remarks
1568
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1560
+ * You must have the cloudsso:GetAttributePassingSetting permission to call this operation. If the directory is not explicitly configured, SourceIdentityPassing returns Disabled by default.
1561
+ *
1562
+ * @param request - GetAttributePassingSettingRequest
1563
+ * @param runtime - runtime options for this request RuntimeOptions
1564
+ * @returns GetAttributePassingSettingResponse
1565
+ */
1566
+ async getAttributePassingSettingWithOptions(request: $_model.GetAttributePassingSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAttributePassingSettingResponse> {
1567
+ request.validate();
1568
+ let query = { };
1569
+ if (!$dara.isNull(request.directoryId)) {
1570
+ query["DirectoryId"] = request.directoryId;
1571
+ }
1572
+
1573
+ let req = new $OpenApiUtil.OpenApiRequest({
1574
+ query: OpenApiUtil.query(query),
1575
+ });
1576
+ let params = new $OpenApiUtil.Params({
1577
+ action: "GetAttributePassingSetting",
1578
+ version: "2021-05-15",
1579
+ protocol: "HTTPS",
1580
+ pathname: "/",
1581
+ method: "POST",
1582
+ authType: "AK",
1583
+ style: "RPC",
1584
+ reqBodyType: "formData",
1585
+ bodyType: "json",
1586
+ });
1587
+ return $dara.cast<$_model.GetAttributePassingSettingResponse>(await this.callApi(params, req, runtime), new $_model.GetAttributePassingSettingResponse({}));
1588
+ }
1589
+
1590
+ /**
1591
+ * Queries the attribute passing settings of a specified directory to retrieve the current configuration of the SourceIdentity pass-through mode.
1592
+ *
1593
+ * @remarks
1594
+ * You must have the cloudsso:GetAttributePassingSetting permission to call this operation. If the directory is not explicitly configured, SourceIdentityPassing returns Disabled by default.
1595
+ *
1596
+ * @param request - GetAttributePassingSettingRequest
1597
+ * @returns GetAttributePassingSettingResponse
1598
+ */
1599
+ async getAttributePassingSetting(request: $_model.GetAttributePassingSettingRequest): Promise<$_model.GetAttributePassingSettingResponse> {
1600
+ let runtime = new $dara.RuntimeOptions({ });
1601
+ return await this.getAttributePassingSettingWithOptions(request, runtime);
1602
+ }
1603
+
1604
+ /**
1605
+ * Queries the details of a directory.
1606
+ *
1607
+ * @remarks
1608
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1569
1609
  *
1570
1610
  * @param request - GetDirectoryRequest
1571
1611
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1596,10 +1636,10 @@ export default class Client extends OpenApi {
1596
1636
  }
1597
1637
 
1598
1638
  /**
1599
- * Queries information about a directory.
1639
+ * Queries the details of a directory.
1600
1640
  *
1601
1641
  * @remarks
1602
- * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
1642
+ * This topic provides an example of querying the details of a directory whose ID is `d-00fc2p61****`.
1603
1643
  *
1604
1644
  * @param request - GetDirectoryRequest
1605
1645
  * @returns GetDirectoryResponse
@@ -2119,10 +2159,10 @@ export default class Client extends OpenApi {
2119
2159
  }
2120
2160
 
2121
2161
  /**
2122
- * Queries information about an asynchronous task.
2162
+ * Queries the details of an asynchronous task.
2123
2163
  *
2124
2164
  * @remarks
2125
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2165
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2126
2166
  *
2127
2167
  * @param request - GetTaskRequest
2128
2168
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2157,10 +2197,10 @@ export default class Client extends OpenApi {
2157
2197
  }
2158
2198
 
2159
2199
  /**
2160
- * Queries information about an asynchronous task.
2200
+ * Queries the details of an asynchronous task.
2161
2201
  *
2162
2202
  * @remarks
2163
- * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
2203
+ * This topic provides an example of querying the details of a task whose ID is `t-shfqw1u1edszvxw5****`.
2164
2204
  *
2165
2205
  * @param request - GetTaskRequest
2166
2206
  * @returns GetTaskResponse
@@ -2601,10 +2641,10 @@ export default class Client extends OpenApi {
2601
2641
  }
2602
2642
 
2603
2643
  /**
2604
- * Queries the access permissions that are assigned.
2644
+ * Queries access assignments.
2605
2645
  *
2606
2646
  * @remarks
2607
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
2647
+ * This topic provides an example of querying the access assignments on the account in a resource directory `114240524784****`. The response shows that one access assignment record exists on the account.
2608
2648
  *
2609
2649
  * @param request - ListAccessAssignmentsRequest
2610
2650
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2667,10 +2707,10 @@ export default class Client extends OpenApi {
2667
2707
  }
2668
2708
 
2669
2709
  /**
2670
- * Queries the access permissions that are assigned.
2710
+ * Queries access assignments.
2671
2711
  *
2672
2712
  * @remarks
2673
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
2713
+ * This topic provides an example of querying the access assignments on the account in a resource directory `114240524784****`. The response shows that one access assignment record exists on the account.
2674
2714
  *
2675
2715
  * @param request - ListAccessAssignmentsRequest
2676
2716
  * @returns ListAccessAssignmentsResponse
@@ -2681,10 +2721,10 @@ export default class Client extends OpenApi {
2681
2721
  }
2682
2722
 
2683
2723
  /**
2684
- * Queries the access configurations that are provisioned.
2724
+ * Queries access configuration provisionings.
2685
2725
  *
2686
2726
  * @remarks
2687
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
2727
+ * This topic provides an example of querying the deployment list of the access configuration `ac-00ccule7tadaijxc****`. The response shows that the access configuration is deployed in two accounts, each being an account in a resource directory.
2688
2728
  *
2689
2729
  * @param request - ListAccessConfigurationProvisioningsRequest
2690
2730
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2743,10 +2783,10 @@ export default class Client extends OpenApi {
2743
2783
  }
2744
2784
 
2745
2785
  /**
2746
- * Queries the access configurations that are provisioned.
2786
+ * Queries access configuration provisionings.
2747
2787
  *
2748
2788
  * @remarks
2749
- * This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
2789
+ * This topic provides an example of querying the deployment list of the access configuration `ac-00ccule7tadaijxc****`. The response shows that the access configuration is deployed in two accounts, each being an account in a resource directory.
2750
2790
  *
2751
2791
  * @param request - ListAccessConfigurationProvisioningsRequest
2752
2792
  * @returns ListAccessConfigurationProvisioningsResponse
@@ -3250,11 +3290,68 @@ export default class Client extends OpenApi {
3250
3290
  }
3251
3291
 
3252
3292
  /**
3253
- * Queries asynchronous tasks.
3293
+ * Queries the relationships between resources and tags.
3294
+ *
3295
+ * @param request - ListTagResourcesRequest
3296
+ * @param runtime - runtime options for this request RuntimeOptions
3297
+ * @returns ListTagResourcesResponse
3298
+ */
3299
+ async listTagResourcesWithOptions(request: $_model.ListTagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse> {
3300
+ request.validate();
3301
+ let query = { };
3302
+ if (!$dara.isNull(request.directoryId)) {
3303
+ query["DirectoryId"] = request.directoryId;
3304
+ }
3305
+
3306
+ if (!$dara.isNull(request.nextToken)) {
3307
+ query["NextToken"] = request.nextToken;
3308
+ }
3309
+
3310
+ if (!$dara.isNull(request.resourceId)) {
3311
+ query["ResourceId"] = request.resourceId;
3312
+ }
3313
+
3314
+ if (!$dara.isNull(request.resourceType)) {
3315
+ query["ResourceType"] = request.resourceType;
3316
+ }
3317
+
3318
+ if (!$dara.isNull(request.tag)) {
3319
+ query["Tag"] = request.tag;
3320
+ }
3321
+
3322
+ let req = new $OpenApiUtil.OpenApiRequest({
3323
+ query: OpenApiUtil.query(query),
3324
+ });
3325
+ let params = new $OpenApiUtil.Params({
3326
+ action: "ListTagResources",
3327
+ version: "2021-05-15",
3328
+ protocol: "HTTPS",
3329
+ pathname: "/",
3330
+ method: "POST",
3331
+ authType: "AK",
3332
+ style: "RPC",
3333
+ reqBodyType: "formData",
3334
+ bodyType: "json",
3335
+ });
3336
+ return $dara.cast<$_model.ListTagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
3337
+ }
3338
+
3339
+ /**
3340
+ * Queries the relationships between resources and tags.
3341
+ *
3342
+ * @param request - ListTagResourcesRequest
3343
+ * @returns ListTagResourcesResponse
3344
+ */
3345
+ async listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse> {
3346
+ let runtime = new $dara.RuntimeOptions({ });
3347
+ return await this.listTagResourcesWithOptions(request, runtime);
3348
+ }
3349
+
3350
+ /**
3351
+ * Queries a list of asynchronous tasks.
3254
3352
  *
3255
3353
  * @remarks
3256
- * 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`.
3257
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3354
+ * By default, this operation queries the list of tasks created within the last 24 hours. You can query tasks created within the last 7 days at most. You can use the Filter parameter to specify the start time of the query. This topic provides an example on how to query the list of tasks created within the last 24 hours.
3258
3355
  *
3259
3356
  * @param request - ListTasksRequest
3260
3357
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3325,11 +3422,10 @@ export default class Client extends OpenApi {
3325
3422
  }
3326
3423
 
3327
3424
  /**
3328
- * Queries asynchronous tasks.
3425
+ * Queries a list of asynchronous tasks.
3329
3426
  *
3330
3427
  * @remarks
3331
- * 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`.
3332
- * This topic provides an example on how to query the tasks within the previous 24 hours.
3428
+ * By default, this operation queries the list of tasks created within the last 24 hours. You can query tasks created within the last 7 days at most. You can use the Filter parameter to specify the start time of the query. This topic provides an example on how to query the list of tasks created within the last 24 hours.
3333
3429
  *
3334
3430
  * @param request - ListTasksRequest
3335
3431
  * @returns ListTasksResponse
@@ -3526,11 +3622,11 @@ export default class Client extends OpenApi {
3526
3622
  }
3527
3623
 
3528
3624
  /**
3529
- * Provisions an access configuration for an account in your resource directory.
3625
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3530
3626
  *
3531
3627
  * @remarks
3532
- * 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.
3533
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3628
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
3629
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3534
3630
  *
3535
3631
  * @param request - ProvisionAccessConfigurationRequest
3536
3632
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3577,11 +3673,11 @@ export default class Client extends OpenApi {
3577
3673
  }
3578
3674
 
3579
3675
  /**
3580
- * Provisions an access configuration for an account in your resource directory.
3676
+ * Invokes ProvisionAccessConfiguration to perform access configuration provisioning and deployment for an account in a resource directory.
3581
3677
  *
3582
3678
  * @remarks
3583
- * 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.
3584
- * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
3679
+ * This API operation is asynchronous. You can use the `TaskId` returned in the response to call [GetTask](https://help.aliyun.com/document_detail/340670.html) and query the task execution status.
3680
+ * This topic provides an example of provisioning the access configuration `ac-00jhtfl8thteu6uj****` to the account in a resource directory `114240524784****`.
3585
3681
  *
3586
3682
  * @param request - ProvisionAccessConfigurationRequest
3587
3683
  * @returns ProvisionAccessConfigurationResponse
@@ -3767,9 +3863,9 @@ export default class Client extends OpenApi {
3767
3863
  * Resets the password of a user.
3768
3864
  *
3769
3865
  * @remarks
3770
- * 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.
3771
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3772
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
3866
+ * A CloudSSO administrator can reset the password of a user when the user forgets the password, the password expires, or the password poses a security risk.
3867
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3868
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3773
3869
  *
3774
3870
  * @param request - ResetUserPasswordRequest
3775
3871
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3819,9 +3915,9 @@ export default class Client extends OpenApi {
3819
3915
  * Resets the password of a user.
3820
3916
  *
3821
3917
  * @remarks
3822
- * 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.
3823
- * > After you enable single sign-on (SSO) logon, the password of a user cannot be reset.
3824
- * This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
3918
+ * A CloudSSO administrator can reset the password of a user when the user forgets the password, the password expires, or the password poses a security risk.
3919
+ * > You cannot reset user passwords after single sign-on (SSO) is enabled.
3920
+ * This topic provides an example of resetting the password of the user u-00q8wbq42wiltcrk**** by using a system-generated password.
3825
3921
  *
3826
3922
  * @param request - ResetUserPasswordRequest
3827
3923
  * @returns ResetUserPasswordResponse
@@ -4201,6 +4297,118 @@ export default class Client extends OpenApi {
4201
4297
  return await this.setSCIMSynchronizationStatusWithOptions(request, runtime);
4202
4298
  }
4203
4299
 
4300
+ /**
4301
+ * Tags resources.
4302
+ *
4303
+ * @param request - TagResourcesRequest
4304
+ * @param runtime - runtime options for this request RuntimeOptions
4305
+ * @returns TagResourcesResponse
4306
+ */
4307
+ async tagResourcesWithOptions(request: $_model.TagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse> {
4308
+ request.validate();
4309
+ let query = { };
4310
+ if (!$dara.isNull(request.directoryId)) {
4311
+ query["DirectoryId"] = request.directoryId;
4312
+ }
4313
+
4314
+ if (!$dara.isNull(request.resourceId)) {
4315
+ query["ResourceId"] = request.resourceId;
4316
+ }
4317
+
4318
+ if (!$dara.isNull(request.resourceType)) {
4319
+ query["ResourceType"] = request.resourceType;
4320
+ }
4321
+
4322
+ if (!$dara.isNull(request.tag)) {
4323
+ query["Tag"] = request.tag;
4324
+ }
4325
+
4326
+ let req = new $OpenApiUtil.OpenApiRequest({
4327
+ query: OpenApiUtil.query(query),
4328
+ });
4329
+ let params = new $OpenApiUtil.Params({
4330
+ action: "TagResources",
4331
+ version: "2021-05-15",
4332
+ protocol: "HTTPS",
4333
+ pathname: "/",
4334
+ method: "POST",
4335
+ authType: "AK",
4336
+ style: "RPC",
4337
+ reqBodyType: "formData",
4338
+ bodyType: "json",
4339
+ });
4340
+ return $dara.cast<$_model.TagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
4341
+ }
4342
+
4343
+ /**
4344
+ * Tags resources.
4345
+ *
4346
+ * @param request - TagResourcesRequest
4347
+ * @returns TagResourcesResponse
4348
+ */
4349
+ async tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse> {
4350
+ let runtime = new $dara.RuntimeOptions({ });
4351
+ return await this.tagResourcesWithOptions(request, runtime);
4352
+ }
4353
+
4354
+ /**
4355
+ * Untags resources.
4356
+ *
4357
+ * @param request - UntagResourcesRequest
4358
+ * @param runtime - runtime options for this request RuntimeOptions
4359
+ * @returns UntagResourcesResponse
4360
+ */
4361
+ async untagResourcesWithOptions(request: $_model.UntagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse> {
4362
+ request.validate();
4363
+ let query = { };
4364
+ if (!$dara.isNull(request.all)) {
4365
+ query["All"] = request.all;
4366
+ }
4367
+
4368
+ if (!$dara.isNull(request.directoryId)) {
4369
+ query["DirectoryId"] = request.directoryId;
4370
+ }
4371
+
4372
+ if (!$dara.isNull(request.resourceId)) {
4373
+ query["ResourceId"] = request.resourceId;
4374
+ }
4375
+
4376
+ if (!$dara.isNull(request.resourceType)) {
4377
+ query["ResourceType"] = request.resourceType;
4378
+ }
4379
+
4380
+ if (!$dara.isNull(request.tagKey)) {
4381
+ query["TagKey"] = request.tagKey;
4382
+ }
4383
+
4384
+ let req = new $OpenApiUtil.OpenApiRequest({
4385
+ query: OpenApiUtil.query(query),
4386
+ });
4387
+ let params = new $OpenApiUtil.Params({
4388
+ action: "UntagResources",
4389
+ version: "2021-05-15",
4390
+ protocol: "HTTPS",
4391
+ pathname: "/",
4392
+ method: "POST",
4393
+ authType: "AK",
4394
+ style: "RPC",
4395
+ reqBodyType: "formData",
4396
+ bodyType: "json",
4397
+ });
4398
+ return $dara.cast<$_model.UntagResourcesResponse>(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
4399
+ }
4400
+
4401
+ /**
4402
+ * Untags resources.
4403
+ *
4404
+ * @param request - UntagResourcesRequest
4405
+ * @returns UntagResourcesResponse
4406
+ */
4407
+ async untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse> {
4408
+ let runtime = new $dara.RuntimeOptions({ });
4409
+ return await this.untagResourcesWithOptions(request, runtime);
4410
+ }
4411
+
4204
4412
  /**
4205
4413
  * Modifies information about an access configuration.
4206
4414
  *
@@ -4267,6 +4475,58 @@ export default class Client extends OpenApi {
4267
4475
  return await this.updateAccessConfigurationWithOptions(request, runtime);
4268
4476
  }
4269
4477
 
4478
+ /**
4479
+ * Updates the attribute passing settings for a specified directory, allowing you to set the SourceIdentity pass-through mode to IdP, UserName, or Disabled.
4480
+ *
4481
+ * @remarks
4482
+ * 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.
4483
+ *
4484
+ * @param request - UpdateAttributePassingSettingRequest
4485
+ * @param runtime - runtime options for this request RuntimeOptions
4486
+ * @returns UpdateAttributePassingSettingResponse
4487
+ */
4488
+ async updateAttributePassingSettingWithOptions(request: $_model.UpdateAttributePassingSettingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAttributePassingSettingResponse> {
4489
+ request.validate();
4490
+ let query = { };
4491
+ if (!$dara.isNull(request.directoryId)) {
4492
+ query["DirectoryId"] = request.directoryId;
4493
+ }
4494
+
4495
+ if (!$dara.isNull(request.sourceIdentityPassing)) {
4496
+ query["SourceIdentityPassing"] = request.sourceIdentityPassing;
4497
+ }
4498
+
4499
+ let req = new $OpenApiUtil.OpenApiRequest({
4500
+ query: OpenApiUtil.query(query),
4501
+ });
4502
+ let params = new $OpenApiUtil.Params({
4503
+ action: "UpdateAttributePassingSetting",
4504
+ version: "2021-05-15",
4505
+ protocol: "HTTPS",
4506
+ pathname: "/",
4507
+ method: "POST",
4508
+ authType: "AK",
4509
+ style: "RPC",
4510
+ reqBodyType: "formData",
4511
+ bodyType: "json",
4512
+ });
4513
+ return $dara.cast<$_model.UpdateAttributePassingSettingResponse>(await this.callApi(params, req, runtime), new $_model.UpdateAttributePassingSettingResponse({}));
4514
+ }
4515
+
4516
+ /**
4517
+ * Updates the attribute passing settings for a specified directory, allowing you to set the SourceIdentity pass-through mode to IdP, UserName, or Disabled.
4518
+ *
4519
+ * @remarks
4520
+ * 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.
4521
+ *
4522
+ * @param request - UpdateAttributePassingSettingRequest
4523
+ * @returns UpdateAttributePassingSettingResponse
4524
+ */
4525
+ async updateAttributePassingSetting(request: $_model.UpdateAttributePassingSettingRequest): Promise<$_model.UpdateAttributePassingSettingResponse> {
4526
+ let runtime = new $dara.RuntimeOptions({ });
4527
+ return await this.updateAttributePassingSettingWithOptions(request, runtime);
4528
+ }
4529
+
4270
4530
  /**
4271
4531
  * Changes the name of a directory.
4272
4532
  *
@@ -4514,10 +4774,10 @@ export default class Client extends OpenApi {
4514
4774
  }
4515
4775
 
4516
4776
  /**
4517
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4777
+ * Enables or disables a SCIM credential.
4518
4778
  *
4519
4779
  * @remarks
4520
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
4780
+ * This topic provides an example of disabling the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the credential is disabled, synchronization tasks that use this SCIM credential will fail. You can call this operation again to enable the SCIM credential.
4521
4781
  *
4522
4782
  * @param request - UpdateSCIMServerCredentialStatusRequest
4523
4783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4556,10 +4816,10 @@ export default class Client extends OpenApi {
4556
4816
  }
4557
4817
 
4558
4818
  /**
4559
- * Enables or disables a System for Cross-domain Identity Management (SCIM) credential.
4819
+ * Enables or disables a SCIM credential.
4560
4820
  *
4561
4821
  * @remarks
4562
- * This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
4822
+ * This topic provides an example of disabling the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the credential is disabled, synchronization tasks that use this SCIM credential will fail. You can call this operation again to enable the SCIM credential.
4563
4823
  *
4564
4824
  * @param request - UpdateSCIMServerCredentialStatusRequest
4565
4825
  * @returns UpdateSCIMServerCredentialStatusResponse