@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
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAttributePassingSettingResponseBody } from "./GetAttributePassingSettingResponseBody";
4
+
5
+
6
+ export class GetAttributePassingSettingResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAttributePassingSettingResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetAttributePassingSettingResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAttributePassingSettingResponseBodyAttributePassingSetting extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The SourceIdentity pass-through mode. If not configured, Disabled is returned by default. Valid values:
9
+ *
10
+ * - IdP: Uses the SourceIdentity attribute value carried in the SAML assertion from the external identity provider (IdP). The attribute value must be 2 to 64 characters in length and can contain only letters, digits, and the following special characters: =,.@-_.
11
+ * - UserName: Uses the CloudSSO username as the SourceIdentity. The system automatically adds a reserved prefix, resulting in the format acs:sso:<username>. The total length cannot exceed 64 characters.
12
+ * - Disabled: Does not pass through the SourceIdentity.
13
+ *
14
+ * @example
15
+ * Disabled
16
+ */
17
+ sourceIdentityPassing?: string;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ sourceIdentityPassing: 'SourceIdentityPassing',
21
+ };
22
+ }
23
+
24
+ static types(): { [key: string]: any } {
25
+ return {
26
+ sourceIdentityPassing: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetAttributePassingSettingResponseBody extends $dara.Model {
40
+ /**
41
+ * @remarks
42
+ * The attribute passing settings.
43
+ */
44
+ attributePassingSetting?: GetAttributePassingSettingResponseBodyAttributePassingSetting;
45
+ /**
46
+ * @remarks
47
+ * The request ID.
48
+ *
49
+ * @example
50
+ * F6F90F3D-4502-5877-B80B-97476F6AE2CC
51
+ */
52
+ requestId?: string;
53
+ static names(): { [key: string]: string } {
54
+ return {
55
+ attributePassingSetting: 'AttributePassingSetting',
56
+ requestId: 'RequestId',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ attributePassingSetting: GetAttributePassingSettingResponseBodyAttributePassingSetting,
63
+ requestId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(this.attributePassingSetting && typeof (this.attributePassingSetting as any).validate === 'function') {
69
+ (this.attributePassingSetting as any).validate();
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDirectoryRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the directory.
8
+ * The directory ID.
9
9
  *
10
10
  * @example
11
11
  * d-00fc2p61****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDirectoryResponseBodyDirectory extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The time when the directory was created.
8
+ * The time when the directory was created. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
9
9
  *
10
10
  * @example
11
11
  * 2021-06-30T08:35:26Z
@@ -13,7 +13,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
13
13
  createTime?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the directory.
16
+ * The directory ID.
17
17
  *
18
18
  * @example
19
19
  * d-00fc2p61****
@@ -29,7 +29,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
29
29
  directoryName?: string;
30
30
  /**
31
31
  * @remarks
32
- * The region ID of the directory.
32
+ * The ID of the region where the directory is located.
33
33
  *
34
34
  * @example
35
35
  * cn-shanghai
@@ -37,7 +37,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
37
37
  region?: string;
38
38
  /**
39
39
  * @remarks
40
- * The time when the directory was modified.
40
+ * The time when the directory was updated. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
41
41
  *
42
42
  * @example
43
43
  * 2021-10-25T07:18:46Z
@@ -75,7 +75,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
75
75
  export class GetDirectoryResponseBody extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * The information about the directory.
78
+ * The directory information.
79
79
  */
80
80
  directory?: GetDirectoryResponseBodyDirectory;
81
81
  /**
@@ -21,7 +21,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
21
21
  accessConfigurationName?: string;
22
22
  /**
23
23
  * @remarks
24
- * The end time of the task.
24
+ * The end time of the task. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
25
25
  *
26
26
  * @example
27
27
  * 2021-11-05T02:58:08Z
@@ -29,15 +29,18 @@ export class GetTaskResponseBodyTask extends $dara.Model {
29
29
  endTime?: string;
30
30
  /**
31
31
  * @remarks
32
- * The cause of the task failure.
32
+ * The reason why the task failed.
33
33
  *
34
- * > This parameter is returned only when the value of `Status` is `Failed`.
34
+ * > This parameter is returned only when `Status` is `Failed`.
35
35
  *
36
36
  * @example
37
37
  * No Permission.
38
38
  */
39
39
  failureReason?: string;
40
40
  /**
41
+ * @remarks
42
+ * The ID of the Alibaba Cloud account to which the target belongs.
43
+ *
41
44
  * @example
42
45
  * 17xxxxxxxxxxxx73
43
46
  */
@@ -60,10 +63,10 @@ export class GetTaskResponseBodyTask extends $dara.Model {
60
63
  principalName?: string;
61
64
  /**
62
65
  * @remarks
63
- * The type of the CloudSSO identity. Valid values:
66
+ * The CloudSSO identity type. Valid values:
64
67
  *
65
- * * User
66
- * * Group
68
+ * - User: user.
69
+ * - Group: user group.
67
70
  *
68
71
  * @example
69
72
  * User
@@ -71,7 +74,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
71
74
  principalType?: string;
72
75
  /**
73
76
  * @remarks
74
- * The start time of the task.
77
+ * The start time of the task. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
75
78
  *
76
79
  * @example
77
80
  * 2021-11-05T02:58:07Z
@@ -81,9 +84,9 @@ export class GetTaskResponseBodyTask extends $dara.Model {
81
84
  * @remarks
82
85
  * The task status. Valid values:
83
86
  *
84
- * * InProgress: The task is running.
85
- * * Success: The task is successful.
86
- * * Failed: The task failed.
87
+ * - InProgress: The task is in progress.
88
+ * - Success: The task succeeded.
89
+ * - Failed: The task failed.
87
90
  *
88
91
  * @example
89
92
  * Success
@@ -91,7 +94,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
91
94
  status?: string;
92
95
  /**
93
96
  * @remarks
94
- * The ID of the task object.
97
+ * The ID of the task target.
95
98
  *
96
99
  * @example
97
100
  * 114240524784****
@@ -99,7 +102,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
99
102
  targetId?: string;
100
103
  /**
101
104
  * @remarks
102
- * The name of the task object.
105
+ * The name of the task target.
103
106
  *
104
107
  * @example
105
108
  * dev-test
@@ -107,17 +110,17 @@ export class GetTaskResponseBodyTask extends $dara.Model {
107
110
  targetName?: string;
108
111
  /**
109
112
  * @remarks
110
- * The path ID of the task object in the resource directory.
113
+ * The path ID of the task target in the resource directory.
111
114
  */
112
115
  targetPath?: string;
113
116
  /**
114
117
  * @remarks
115
- * The path name of the task object in the resource directory.
118
+ * The path name of the task target in the resource directory.
116
119
  */
117
120
  targetPathName?: string;
118
121
  /**
119
122
  * @remarks
120
- * The type of the task object. The value is fixed as RD-Account, which indicates the accounts in the resource directory.
123
+ * The task target type. Valid values: RD-Account, which indicates that the task target is an account in a resource directory.
121
124
  *
122
125
  * @example
123
126
  * RD-Account
@@ -135,10 +138,10 @@ export class GetTaskResponseBodyTask extends $dara.Model {
135
138
  * @remarks
136
139
  * The task type. Valid values:
137
140
  *
138
- * * ProvisionAccessConfiguration: An access configuration is provisioned.
139
- * * DeprovisionAccessConfiguration: An access configuration is de-provisioned.
140
- * * CreateAccessAssignment: Access permissions on an account in the resource directory are assigned.
141
- * * DeleteAccessAssignment: Access permissions on an account in the resource directory are removed.
141
+ * - ProvisionAccessConfiguration: Deploys the access configuration.
142
+ * - DeprovisionAccessConfiguration: Removes the access configuration deployment.
143
+ * - CreateAccessAssignment: Grants authorization to an account in a resource directory.
144
+ * - DeleteAccessAssignment: Revokes authorization from an account in a resource directory.
142
145
  *
143
146
  * @example
144
147
  * DeleteAccessAssignment
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAccessAssignmentsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the access configuration. The ID can be used to filter access permissions.
8
+ * The ID of the access configuration. This parameter is used as a filter condition for the query.
9
9
  *
10
10
  * @example
11
11
  * ac-00jhtfl8thteu6uj****
@@ -13,7 +13,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
13
13
  accessConfigurationId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The directory ID.
16
+ * The ID of the directory.
17
17
  *
18
18
  * @example
19
19
  * d-00fc2p61****
@@ -21,7 +21,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
21
21
  directoryId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The maximum number of entries per page.
24
+ * The maximum number of entries to return on each page.
25
25
  *
26
26
  * Valid values: 1 to 20.
27
27
  *
@@ -33,28 +33,30 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
33
33
  maxResults?: number;
34
34
  /**
35
35
  * @remarks
36
- * The pagination token that is used in the next request to retrieve a new page of results. If this is your first time to call this operation, you do not need to specify the `NextToken` parameter.
36
+ * The token for the next page of query results. You do not need to specify `NextToken` when you call this operation for the first time.
37
37
  *
38
- * When you call this operation for the first time, if the total number of entries to return exceeds the value of `MaxResults`, the entries are truncated. Only the entries that match the value of `MaxResults` are returned, and the excess entries are not returned. In this case, the value of the response parameter `IsTruncated` is `true`, and `NextToken` is returned. In the next call, you can use the value of `NextToken` and maintain the settings of the other request parameters to query the excess entries. You can repeat the call until the value of `IsTruncated` becomes `false`. This way, all entries are returned.
38
+ * When you call this operation for the first time, if the total number of returned entries exceeds the value of `MaxResults`, the returned entries are truncated. Only the number of entries specified by `MaxResults` is returned, the `IsTruncated` parameter is set to `true`, and a `NextToken` value is returned. You can use the returned `NextToken` value to call this operation again to query the truncated entries while keeping other request parameters unchanged. You can repeat this process until `IsTruncated` is set to `false`, which indicates that all entries are returned.
39
39
  *
40
40
  * @example
41
41
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
42
42
  */
43
43
  nextToken?: string;
44
44
  /**
45
+ * @remarks
46
+ * The ID of the Alibaba Cloud account to which the authorization target belongs.
47
+ *
45
48
  * @example
46
49
  * 114240524784****
47
50
  */
48
51
  originTargetId?: string;
49
52
  /**
50
53
  * @remarks
51
- * The ID of the CloudSSO identity. The ID can be used to filter access permissions.
54
+ * The ID of the CloudSSO identity, which is used as a filter condition for the query. Details:
52
55
  *
53
- * - If you set `PrincipalType` to User, set `PrincipalId` to the ID of the CloudSSO user.
56
+ * - If `PrincipalType` is set to User, `PrincipalId` is the ID of the CloudSSO user.
57
+ * - If `PrincipalType` is set to Group, `PrincipalId` is the ID of the CloudSSO group.
54
58
  *
55
- * - If you set `PrincipalType` to Group, set `PrincipalId` to the ID of the CloudSSO group.
56
- *
57
- * > You can use the type to filter access permissions only if you specify both PrincipalId and `PrincipalType`.\\`\\`
59
+ * > You must specify both `PrincipalId` and `PrincipalType` for the filter condition to take effect.
58
60
  *
59
61
  * @example
60
62
  * u-00q8wbq42wiltcrk****
@@ -62,13 +64,12 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
62
64
  principalId?: string;
63
65
  /**
64
66
  * @remarks
65
- * The type of the CloudSSO identity. The type can be used to filter access permissions. Valid values:
66
- *
67
- * - User
67
+ * The type of the CloudSSO identity, which is used as a filter condition for the query. Valid values:
68
68
  *
69
- * - Group
69
+ * - User: user.
70
+ * - Group: group.
70
71
  *
71
- * > You can use the type to filter access permissions only if you specify both PrincipalId and `PrincipalType`.\\`\\`
72
+ * > You must specify both `PrincipalId` and `PrincipalType` for the filter condition to take effect.
72
73
  *
73
74
  * @example
74
75
  * User
@@ -76,9 +77,9 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
76
77
  principalType?: string;
77
78
  /**
78
79
  * @remarks
79
- * The ID of the task object. The ID can be used to filter access permissions.
80
+ * The ID of the task target, which is used as a filter condition for the query.
80
81
  *
81
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
82
+ * > You must specify both `TargetId` and `TargetType` for the filter condition to take effect.
82
83
  *
83
84
  * @example
84
85
  * 114240524784****
@@ -86,11 +87,12 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
86
87
  targetId?: string;
87
88
  /**
88
89
  * @remarks
89
- * The type of the task object. The type can be used to filter access permissions.
90
+ * The type of the task target, which is used as a filter condition for the query.
90
91
  *
91
- * Set the value to RD-Account, which specifies the accounts in the resource directory.
92
+ * Valid values:
93
+ * - RD-Account: The task target is an account in a resource directory.
92
94
  *
93
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
95
+ * > You must specify both `TargetId` and `TargetType` for the filter condition to take effect.
94
96
  *
95
97
  * @example
96
98
  * RD-Account
@@ -21,13 +21,16 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
21
21
  accessConfigurationName?: string;
22
22
  /**
23
23
  * @remarks
24
- * The time when the access permissions were assigned.
24
+ * The time when the access assignment was successful. The time follows the RFC 3339 standard and is displayed in UTC in the YYYY-MM-DDTHH:mm:ssZ format.
25
25
  *
26
26
  * @example
27
27
  * 2021-11-04T10:03:08Z
28
28
  */
29
29
  createTime?: string;
30
30
  /**
31
+ * @remarks
32
+ * The ID of the Alibaba Cloud account to which the authorization target belongs.
33
+ *
31
34
  * @example
32
35
  * 114240524784****
33
36
  */
@@ -52,9 +55,8 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
52
55
  * @remarks
53
56
  * The type of the CloudSSO identity. Valid values:
54
57
  *
55
- * - User
56
- *
57
- * - Group
58
+ * - User: user.
59
+ * - Group: group.
58
60
  *
59
61
  * @example
60
62
  * User
@@ -62,7 +64,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
62
64
  principalType?: string;
63
65
  /**
64
66
  * @remarks
65
- * The ID of the task object.
67
+ * The ID of the task target.
66
68
  *
67
69
  * @example
68
70
  * 114240524784****
@@ -70,7 +72,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
70
72
  targetId?: string;
71
73
  /**
72
74
  * @remarks
73
- * The name of the task object.
75
+ * The name of the task target.
74
76
  *
75
77
  * @example
76
78
  * dev-test
@@ -78,19 +80,20 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
78
80
  targetName?: string;
79
81
  /**
80
82
  * @remarks
81
- * The path ID of the task object in the resource directory.
83
+ * The path ID of the task target in the resource directory.
82
84
  */
83
85
  targetPath?: string;
84
86
  /**
85
87
  * @remarks
86
- * The path name of the task object in the resource directory.
88
+ * The path name of the task target in the resource directory.
87
89
  */
88
90
  targetPathName?: string;
89
91
  /**
90
92
  * @remarks
91
- * The type of the task object.
93
+ * The type of the task target.
92
94
  *
93
- * The value is fixed as RD-Account, which indicates the accounts in the resource directory.
95
+ * Valid values:
96
+ * - RD-Account: The task target is an account in a resource directory.
94
97
  *
95
98
  * @example
96
99
  * RD-Account
@@ -142,16 +145,15 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
142
145
  export class ListAccessAssignmentsResponseBody extends $dara.Model {
143
146
  /**
144
147
  * @remarks
145
- * The access permissions that are assigned.
148
+ * The list of access assignments.
146
149
  */
147
150
  accessAssignments?: ListAccessAssignmentsResponseBodyAccessAssignments[];
148
151
  /**
149
152
  * @remarks
150
- * Indicates whether the queried entries are truncated. Valid values:
151
- *
152
- * - true
153
+ * Indicates whether the returned result is truncated. Valid values:
153
154
  *
154
- * - false
155
+ * - true: The result is truncated.
156
+ * - false: The result is not truncated.
155
157
  *
156
158
  * @example
157
159
  * false
@@ -159,7 +161,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
159
161
  isTruncated?: boolean;
160
162
  /**
161
163
  * @remarks
162
- * The maximum number of entries returned per page.
164
+ * The maximum number of entries returned on each page.
163
165
  *
164
166
  * @example
165
167
  * 10
@@ -167,9 +169,9 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
167
169
  maxResults?: number;
168
170
  /**
169
171
  * @remarks
170
- * The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.
172
+ * The token for the next page of query results.
171
173
  *
172
- * > This parameter is returned only when the value of IsTruncated is `true`.\\`\\`
174
+ * > This parameter is returned only when `IsTruncated` is set to `true`.
173
175
  *
174
176
  * @example
175
177
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
@@ -177,7 +179,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
177
179
  nextToken?: string;
178
180
  /**
179
181
  * @remarks
180
- * The request ID.
182
+ * The ID of the request.
181
183
  *
182
184
  * @example
183
185
  * 66898413-EB80-556D-9429-06FE3548F672
@@ -185,7 +187,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
185
187
  requestId?: string;
186
188
  /**
187
189
  * @remarks
188
- * The total number of entries returned.
190
+ * The total number of entries that meet the filter conditions specified in the request parameters.
189
191
  *
190
192
  * @example
191
193
  * 1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the access configuration. The ID can be used to filter access permissions.
8
+ * The access configuration ID used as a filter condition for the query.
9
9
  *
10
10
  * @example
11
11
  * ac-00ccule7tadaijxc****
@@ -13,7 +13,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
13
13
  accessConfigurationId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the directory.
16
+ * The directory ID.
17
17
  *
18
18
  * @example
19
19
  * d-00fc2p61****
@@ -21,7 +21,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
21
21
  directoryId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The maximum number of entries per page.
24
+ * The maximum number of entries to return on each page.
25
25
  *
26
26
  * Valid values: 1 to 20.
27
27
  *
@@ -33,28 +33,29 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
33
33
  maxResults?: number;
34
34
  /**
35
35
  * @remarks
36
- * The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. If this is your first time to call this operation, you do not need to specify the `NextToken` parameter.
36
+ * The token used to return the next page of query results. You do not need to specify NextToken when you call this operation for the first time.
37
37
  *
38
- * When you call this operation for the first time, if the total number of entries to return exceeds the value of `MaxResults`, the entries are truncated. Only the entries that match the value of `MaxResults` are returned, and the excess entries are not returned. In this case, the value of the response parameter `IsTruncated` is `true`, and `NextToken` is returned. In the next call, you can use the value of `NextToken` and maintain the settings of the other request parameters to query the excess entries. You can repeat the call until the value of `IsTruncated` becomes `false`. This way, all entries are returned.
38
+ * When you call this operation for the first time, if the total number of returned entries exceeds the value of MaxResults, the returned results are truncated. Only the number of entries specified by MaxResults is returned, the IsTruncated parameter is set to true, and a NextToken is returned. You can use the returned NextToken to call this operation again to query the truncated entries while keeping other request parameters unchanged. You can repeat this process until IsTruncated is set to false, which indicates that all entries are returned.
39
39
  *
40
40
  * @example
41
41
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
42
42
  */
43
43
  nextToken?: string;
44
44
  /**
45
+ * @remarks
46
+ * The Alibaba Cloud account ID of the provisioning target.
47
+ *
45
48
  * @example
46
49
  * 114240524784****
47
50
  */
48
51
  originTargetId?: string;
49
52
  /**
50
53
  * @remarks
51
- * The status of the access configuration. The value can be used to filter accounts. Valid values:
52
- *
53
- * - Provisioned: The access configuration is provisioned.
54
- *
55
- * - ReprovisionRequired: The access configuration needs to be re-provisioned.
54
+ * The provisioning status used as a filter condition for the query. Valid values:
56
55
  *
57
- * - DeprovisionFailed: The access configuration failed to be provisioned.
56
+ * - Provisioned: The provisioning succeeded.
57
+ * - ReprovisionRequired: Reprovisioning is required.
58
+ * - DeprovisionFailed: The provisioning failed.
58
59
  *
59
60
  * @example
60
61
  * Provisioned
@@ -62,9 +63,9 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
62
63
  provisioningStatus?: string;
63
64
  /**
64
65
  * @remarks
65
- * The ID of the task object. The ID can be used to filter access permissions.
66
+ * The target ID used as a filter condition for the query.
66
67
  *
67
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
68
+ * > You must specify both TargetId and TargetType for them to take effect as filter conditions.
68
69
  *
69
70
  * @example
70
71
  * 114240524784****
@@ -72,11 +73,12 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
72
73
  targetId?: string;
73
74
  /**
74
75
  * @remarks
75
- * The type of the task object. The type can be used to filter access permissions.
76
+ * The target type used as a filter condition for the query.
76
77
  *
77
- * Set the value to RD-Account, which specifies the accounts in the resource directory.
78
+ * Valid values:
79
+ * - RD-Account: The target is an account in a resource directory.
78
80
  *
79
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
81
+ * > You must specify both TargetId and TargetType for them to take effect as filter conditions.
80
82
  *
81
83
  * @example
82
84
  * RD-Account