@alicloud/cloudsso20210515 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/client.d.ts +221 -178
  2. package/dist/client.js +326 -178
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddExternalSamlidPcertificateRequest.d.ts +3 -3
  5. package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.d.ts +11 -14
  6. package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.js.map +1 -1
  7. package/dist/models/AddUserToGroupResponseBody.d.ts +1 -1
  8. package/dist/models/ClearExternalSamlidentityProviderRequest.d.ts +1 -1
  9. package/dist/models/CreateAccessAssignmentRequest.d.ts +13 -14
  10. package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
  11. package/dist/models/CreateAccessAssignmentResponseBody.d.ts +20 -22
  12. package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
  13. package/dist/models/CreateDirectoryRequest.d.ts +3 -3
  14. package/dist/models/CreateDirectoryResponseBody.d.ts +3 -3
  15. package/dist/models/CreateGroupRequest.d.ts +6 -6
  16. package/dist/models/CreateGroupResponseBody.d.ts +8 -7
  17. package/dist/models/CreateGroupResponseBody.js.map +1 -1
  18. package/dist/models/CreateScimserverCredentialRequest.d.ts +1 -1
  19. package/dist/models/CreateScimserverCredentialResponseBody.d.ts +8 -7
  20. package/dist/models/CreateScimserverCredentialResponseBody.js.map +1 -1
  21. package/dist/models/CreateUserProvisioningRequest.d.ts +15 -20
  22. package/dist/models/CreateUserProvisioningRequest.js.map +1 -1
  23. package/dist/models/CreateUserProvisioningResponseBody.d.ts +27 -35
  24. package/dist/models/CreateUserProvisioningResponseBody.js.map +1 -1
  25. package/dist/models/DeleteAccessAssignmentRequest.d.ts +17 -16
  26. package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
  27. package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +19 -17
  28. package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
  29. package/dist/models/DeleteAccessConfigurationRequest.d.ts +2 -3
  30. package/dist/models/DeleteAccessConfigurationRequest.js.map +1 -1
  31. package/dist/models/DeleteAccessConfigurationResponseBody.d.ts +1 -1
  32. package/dist/models/DeleteDirectoryRequest.d.ts +1 -1
  33. package/dist/models/DeleteGroupRequest.d.ts +1 -1
  34. package/dist/models/DeleteScimserverCredentialRequest.d.ts +1 -1
  35. package/dist/models/DeleteUserProvisioningEventRequest.d.ts +4 -4
  36. package/dist/models/DeleteUserProvisioningRequest.d.ts +6 -7
  37. package/dist/models/DeleteUserProvisioningRequest.js.map +1 -1
  38. package/dist/models/DeleteUserRequest.d.ts +2 -2
  39. package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +6 -2
  40. package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
  41. package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +13 -10
  42. package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
  43. package/dist/models/EnableDelegateAccountRequest.d.ts +1 -1
  44. package/dist/models/GetDirectoryRequest.d.ts +1 -1
  45. package/dist/models/GetDirectoryResponseBody.d.ts +5 -5
  46. package/dist/models/GetTaskResponseBody.d.ts +22 -19
  47. package/dist/models/GetTaskResponseBody.js.map +1 -1
  48. package/dist/models/ListAccessAssignmentsRequest.d.ts +22 -20
  49. package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
  50. package/dist/models/ListAccessAssignmentsResponseBody.d.ts +22 -20
  51. package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
  52. package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +18 -16
  53. package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
  54. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +29 -28
  55. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
  56. package/dist/models/ListTagResourcesRequest.d.ts +87 -0
  57. package/dist/models/ListTagResourcesRequest.js +93 -0
  58. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  59. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  60. package/dist/models/ListTagResourcesResponse.js +69 -0
  61. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  62. package/dist/models/ListTagResourcesResponseBody.d.ts +80 -0
  63. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  64. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  65. package/dist/models/ListTasksRequest.d.ts +27 -34
  66. package/dist/models/ListTasksRequest.js.map +1 -1
  67. package/dist/models/ListTasksResponseBody.d.ts +34 -36
  68. package/dist/models/ListTasksResponseBody.js.map +1 -1
  69. package/dist/models/ProvisionAccessConfigurationRequest.d.ts +7 -3
  70. package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
  71. package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +15 -12
  72. package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
  73. package/dist/models/ResetUserPasswordRequest.d.ts +11 -13
  74. package/dist/models/ResetUserPasswordRequest.js.map +1 -1
  75. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  76. package/dist/models/TagResourcesRequest.d.ts +95 -0
  77. package/dist/models/TagResourcesRequest.js +91 -0
  78. package/dist/models/TagResourcesRequest.js.map +1 -0
  79. package/dist/models/TagResourcesResponse.d.ts +19 -0
  80. package/dist/models/TagResourcesResponse.js +69 -0
  81. package/dist/models/TagResourcesResponse.js.map +1 -0
  82. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  83. package/dist/models/TagResourcesResponseBody.js +58 -0
  84. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  85. package/dist/models/UntagResourcesRequest.d.ts +59 -0
  86. package/dist/models/UntagResourcesRequest.js +72 -0
  87. package/dist/models/UntagResourcesRequest.js.map +1 -0
  88. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  89. package/dist/models/UntagResourcesResponse.js +69 -0
  90. package/dist/models/UntagResourcesResponse.js.map +1 -0
  91. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  92. package/dist/models/UntagResourcesResponseBody.js +58 -0
  93. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  94. package/dist/models/UpdateScimserverCredentialStatusRequest.d.ts +4 -5
  95. package/dist/models/UpdateScimserverCredentialStatusRequest.js.map +1 -1
  96. package/dist/models/UpdateScimserverCredentialStatusResponseBody.d.ts +6 -7
  97. package/dist/models/UpdateScimserverCredentialStatusResponseBody.js.map +1 -1
  98. package/dist/models/model.d.ts +12 -0
  99. package/dist/models/model.js +31 -7
  100. package/dist/models/model.js.map +1 -1
  101. package/package.json +1 -1
  102. package/src/client.ts +346 -178
  103. package/src/models/AddExternalSamlidPcertificateRequest.ts +3 -3
  104. package/src/models/AddPermissionPolicyToAccessConfigurationRequest.ts +11 -14
  105. package/src/models/AddUserToGroupResponseBody.ts +1 -1
  106. package/src/models/ClearExternalSamlidentityProviderRequest.ts +1 -1
  107. package/src/models/CreateAccessAssignmentRequest.ts +13 -14
  108. package/src/models/CreateAccessAssignmentResponseBody.ts +20 -22
  109. package/src/models/CreateDirectoryRequest.ts +3 -3
  110. package/src/models/CreateDirectoryResponseBody.ts +3 -3
  111. package/src/models/CreateGroupRequest.ts +6 -6
  112. package/src/models/CreateGroupResponseBody.ts +8 -7
  113. package/src/models/CreateScimserverCredentialRequest.ts +1 -1
  114. package/src/models/CreateScimserverCredentialResponseBody.ts +8 -7
  115. package/src/models/CreateUserProvisioningRequest.ts +15 -20
  116. package/src/models/CreateUserProvisioningResponseBody.ts +27 -35
  117. package/src/models/DeleteAccessAssignmentRequest.ts +17 -16
  118. package/src/models/DeleteAccessAssignmentResponseBody.ts +19 -17
  119. package/src/models/DeleteAccessConfigurationRequest.ts +2 -3
  120. package/src/models/DeleteAccessConfigurationResponseBody.ts +1 -1
  121. package/src/models/DeleteDirectoryRequest.ts +1 -1
  122. package/src/models/DeleteGroupRequest.ts +1 -1
  123. package/src/models/DeleteScimserverCredentialRequest.ts +1 -1
  124. package/src/models/DeleteUserProvisioningEventRequest.ts +4 -4
  125. package/src/models/DeleteUserProvisioningRequest.ts +6 -7
  126. package/src/models/DeleteUserRequest.ts +2 -2
  127. package/src/models/DeprovisionAccessConfigurationRequest.ts +6 -2
  128. package/src/models/DeprovisionAccessConfigurationResponseBody.ts +13 -10
  129. package/src/models/EnableDelegateAccountRequest.ts +1 -1
  130. package/src/models/GetDirectoryRequest.ts +1 -1
  131. package/src/models/GetDirectoryResponseBody.ts +5 -5
  132. package/src/models/GetTaskResponseBody.ts +22 -19
  133. package/src/models/ListAccessAssignmentsRequest.ts +22 -20
  134. package/src/models/ListAccessAssignmentsResponseBody.ts +22 -20
  135. package/src/models/ListAccessConfigurationProvisioningsRequest.ts +18 -16
  136. package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +29 -28
  137. package/src/models/ListTagResourcesRequest.ts +126 -0
  138. package/src/models/ListTagResourcesResponse.ts +40 -0
  139. package/src/models/ListTagResourcesResponseBody.ts +116 -0
  140. package/src/models/ListTasksRequest.ts +27 -34
  141. package/src/models/ListTasksResponseBody.ts +34 -36
  142. package/src/models/ProvisionAccessConfigurationRequest.ts +7 -3
  143. package/src/models/ProvisionAccessConfigurationResponseBody.ts +15 -12
  144. package/src/models/ResetUserPasswordRequest.ts +11 -13
  145. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  146. package/src/models/TagResourcesRequest.ts +132 -0
  147. package/src/models/TagResourcesResponse.ts +40 -0
  148. package/src/models/TagResourcesResponseBody.ts +34 -0
  149. package/src/models/UntagResourcesRequest.ts +86 -0
  150. package/src/models/UntagResourcesResponse.ts +40 -0
  151. package/src/models/UntagResourcesResponseBody.ts +34 -0
  152. package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
  153. package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
  154. package/src/models/model.ts +12 -0
@@ -0,0 +1,126 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesRequestTag extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * > - - The tag key cannot be an empty string.
11
+ *
12
+ * @example
13
+ * key
14
+ */
15
+ key?: string;
16
+ /**
17
+ * @remarks
18
+ * The tag value.
19
+ *
20
+ * @example
21
+ * value
22
+ */
23
+ value?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ key: 'Key',
27
+ value: 'Value',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ key: 'string',
34
+ value: 'string',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
47
+ export class ListTagResourcesRequest extends $dara.Model {
48
+ /**
49
+ * @remarks
50
+ * The directory ID.
51
+ *
52
+ * @example
53
+ * d-00fc2p61****
54
+ */
55
+ directoryId?: string;
56
+ /**
57
+ * @remarks
58
+ * The token that is used to retrieve the next page of results when the response is truncated.
59
+ *
60
+ * @example
61
+ * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
62
+ */
63
+ nextToken?: string;
64
+ /**
65
+ * @remarks
66
+ * The list of resource IDs. You can specify up to 50 resource IDs in a single call.
67
+ * >
68
+ * > - Supported resource types include users and access configurations:
69
+ * > - - If the resource type is user, specify the user ID.
70
+ * > - - If the resource type is access configuration, specify the access configuration ID.
71
+ *
72
+ * <notice>If the DirectoryId parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID.</notice>
73
+ */
74
+ resourceId?: string[];
75
+ /**
76
+ * @remarks
77
+ * The resource type. Valid values:
78
+ * - user: The resource is a user.
79
+ * - accessConfiguration: The resource is an access configuration.
80
+ *
81
+ * This parameter is required.
82
+ *
83
+ * @example
84
+ * accessConfiguration
85
+ */
86
+ resourceType?: string;
87
+ /**
88
+ * @remarks
89
+ * The list of tags. You can specify up to 20 tags in a single call.
90
+ */
91
+ tag?: ListTagResourcesRequestTag[];
92
+ static names(): { [key: string]: string } {
93
+ return {
94
+ directoryId: 'DirectoryId',
95
+ nextToken: 'NextToken',
96
+ resourceId: 'ResourceId',
97
+ resourceType: 'ResourceType',
98
+ tag: 'Tag',
99
+ };
100
+ }
101
+
102
+ static types(): { [key: string]: any } {
103
+ return {
104
+ directoryId: 'string',
105
+ nextToken: 'string',
106
+ resourceId: { 'type': 'array', 'itemType': 'string' },
107
+ resourceType: 'string',
108
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ if(Array.isArray(this.resourceId)) {
114
+ $dara.Model.validateArray(this.resourceId);
115
+ }
116
+ if(Array.isArray(this.tag)) {
117
+ $dara.Model.validateArray(this.tag);
118
+ }
119
+ super.validate();
120
+ }
121
+
122
+ constructor(map?: { [key: string]: any }) {
123
+ super(map);
124
+ }
125
+ }
126
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
4
+
5
+
6
+ export class ListTagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListTagResourcesResponseBody;
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: ListTagResourcesResponseBody,
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,116 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesResponseBodyTagResources extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The resource ID.
9
+ *
10
+ * @example
11
+ * u-00a542dx4fp21i7uig48
12
+ */
13
+ resourceId?: string;
14
+ /**
15
+ * @remarks
16
+ * The resource type.
17
+ *
18
+ * @example
19
+ * user
20
+ */
21
+ resourceType?: string;
22
+ /**
23
+ * @remarks
24
+ * The tag key.
25
+ *
26
+ * @example
27
+ * key
28
+ */
29
+ tagKey?: string;
30
+ /**
31
+ * @remarks
32
+ * The tag value.
33
+ *
34
+ * @example
35
+ * value
36
+ */
37
+ tagValue?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ resourceId: 'ResourceId',
41
+ resourceType: 'ResourceType',
42
+ tagKey: 'TagKey',
43
+ tagValue: 'TagValue',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ resourceId: 'string',
50
+ resourceType: 'string',
51
+ tagKey: 'string',
52
+ tagValue: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class ListTagResourcesResponseBody extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The token that is used to retrieve the next page of query results.
69
+ *
70
+ * If NextToken is empty, it indicates that the results are not truncated.
71
+ *
72
+ * @example
73
+ * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
74
+ */
75
+ nextToken?: string;
76
+ /**
77
+ * @remarks
78
+ * The request ID.
79
+ *
80
+ * @example
81
+ * 20E9650E-EC23-593E-933F-EA0D280D040C
82
+ */
83
+ requestId?: string;
84
+ /**
85
+ * @remarks
86
+ * The list of tag-resource relationships.
87
+ */
88
+ tagResources?: ListTagResourcesResponseBodyTagResources[];
89
+ static names(): { [key: string]: string } {
90
+ return {
91
+ nextToken: 'NextToken',
92
+ requestId: 'RequestId',
93
+ tagResources: 'TagResources',
94
+ };
95
+ }
96
+
97
+ static types(): { [key: string]: any } {
98
+ return {
99
+ nextToken: 'string',
100
+ requestId: 'string',
101
+ tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
102
+ };
103
+ }
104
+
105
+ validate() {
106
+ if(Array.isArray(this.tagResources)) {
107
+ $dara.Model.validateArray(this.tagResources);
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListTasksRequest 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****
@@ -23,11 +23,11 @@ export class ListTasksRequest extends $dara.Model {
23
23
  * @remarks
24
24
  * The filter condition.
25
25
  *
26
- * The condition is not case-sensitive. The condition must be in the StartTime ge YYYY-MM-DDTHH:mm:SSZ format. You must set YYYY-MM-DDTHH:mm:SSZ to a value that is no more than 7 days from the current time. ge indicates Greater Than or Equals.
26
+ * Format: <Attribute> <Operator> <Value>. The format is not case-sensitive. <Attribute> only supports StartTime. <Operator> only supports ge (greater than or equal to). <Value> must be in the YYYY-MM-DDTHH:mm:ssZ format and can only be a time within the last 7 days.
27
27
  *
28
- * For example, if you set the Filter parameter to StartTime ge 2021-03-15T01:12:23Z, the operation queries the tasks from 2021-03-15T01:12:23 GMT.
28
+ * Example: Filter = "StartTime ge 2021-03-15T01:12:23Z". This example queries the list of tasks starting from 2021-03-15T01:12:23Z.
29
29
  *
30
- * > If you do not specify this parameter, the operation queries the tasks within the previous 24 hours by default.
30
+ * > If you do not specify this parameter, the list of tasks created within the last 24 hours is returned by default.
31
31
  *
32
32
  * @example
33
33
  * StartTime ge 2021-03-15T01:12:23Z
@@ -35,7 +35,7 @@ export class ListTasksRequest extends $dara.Model {
35
35
  filter?: string;
36
36
  /**
37
37
  * @remarks
38
- * The maximum number of entries per page.
38
+ * The maximum number of entries to return on each page.
39
39
  *
40
40
  * Valid values: 1 to 20.
41
41
  *
@@ -47,9 +47,9 @@ export class ListTasksRequest extends $dara.Model {
47
47
  maxResults?: number;
48
48
  /**
49
49
  * @remarks
50
- * 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.
50
+ * The token used to return the next page of the query results. You do not need to specify NextToken when you call this operation for the first time.
51
51
  *
52
- * 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.
52
+ * When you call this operation for the first time, if the total number of returned entries exceeds the value of MaxResults, the returned data is truncated. Only the number of entries specified by MaxResults is returned, the IsTruncated response parameter is set to true, and a NextToken value is returned. You can use the returned NextToken value to call this operation again while keeping other request parameters unchanged to query the truncated data. You can repeat this process until IsTruncated is set to false, which indicates that all data is returned.
53
53
  *
54
54
  * @example
55
55
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
@@ -57,13 +57,12 @@ export class ListTasksRequest extends $dara.Model {
57
57
  nextToken?: string;
58
58
  /**
59
59
  * @remarks
60
- * The ID of the CloudSSO identity. The ID can be used to filter access permissions.
60
+ * The ID of the CloudSSO identity. This parameter is used as a filter condition for the query. Details:
61
61
  *
62
- * - If you set `PrincipalType` to `User`, set `PrincipalId` to the ID of the CloudSSO user.
62
+ * - If PrincipalType is set to User, PrincipalId is the ID of the CloudSSO user.
63
+ * - If PrincipalType is set to Group, PrincipalId is the ID of the CloudSSO group.
63
64
  *
64
- * - If you set `PrincipalType` to `Group`, set `PrincipalId` to the ID of the CloudSSO group.
65
- *
66
- * > You can use the type to filter access permissions only if you specify both `PrincipalId` and `PrincipalType`.
65
+ * > PrincipalId and PrincipalType must be specified at the same time to serve as a valid filter condition.
67
66
  *
68
67
  * @example
69
68
  * u-00q8wbq42wiltcrk****
@@ -71,13 +70,12 @@ export class ListTasksRequest extends $dara.Model {
71
70
  principalId?: string;
72
71
  /**
73
72
  * @remarks
74
- * The type of the CloudSSO identity. The type can be used to filter access permissions. Valid values:
75
- *
76
- * - User
73
+ * The type of the CloudSSO identity. This parameter is used as a filter condition for the query. Valid values:
77
74
  *
78
- * - Group
75
+ * - User: The CloudSSO user.
76
+ * - Group: The CloudSSO group.
79
77
  *
80
- * > You can use the type to filter access permissions only if you specify both `PrincipalId` and `PrincipalType`.
78
+ * > PrincipalId and PrincipalType must be specified at the same time to serve as a valid filter condition.
81
79
  *
82
80
  * @example
83
81
  * User
@@ -85,12 +83,10 @@ export class ListTasksRequest extends $dara.Model {
85
83
  principalType?: string;
86
84
  /**
87
85
  * @remarks
88
- * The ID of the task. The ID can be used to filter tasks. Valid values:
86
+ * The status of the task. This parameter is used as a filter condition for the query. Valid values:
89
87
  *
90
88
  * - InProgress: The task is running.
91
- *
92
- * - Success: The task is successful.
93
- *
89
+ * - Success: The task succeeded.
94
90
  * - Failed: The task failed.
95
91
  *
96
92
  * @example
@@ -99,9 +95,9 @@ export class ListTasksRequest extends $dara.Model {
99
95
  status?: string;
100
96
  /**
101
97
  * @remarks
102
- * The ID of the task object. The ID can be used to filter access permissions.
98
+ * The ID of the task target. This parameter is used as a filter condition for the query.
103
99
  *
104
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
100
+ * > TargetId and TargetType must be specified at the same time to serve as a valid filter condition.
105
101
  *
106
102
  * @example
107
103
  * 114240524784****
@@ -109,11 +105,11 @@ export class ListTasksRequest extends $dara.Model {
109
105
  targetId?: string;
110
106
  /**
111
107
  * @remarks
112
- * The type of the task object. The type can be used to filter access permissions.
108
+ * The type of the task target. This parameter is used as a filter condition for the query. Valid values:
113
109
  *
114
- * Set the value to RD-Account, which specifies the accounts in the resource directory.
110
+ * - RD-Account: The task target is an account in a resource directory.
115
111
  *
116
- * > You can use the type to filter access permissions only if you specify both `TargetId` and `TargetType`.
112
+ * > TargetId and TargetType must be specified at the same time to serve as a valid filter condition.
117
113
  *
118
114
  * @example
119
115
  * RD-Account
@@ -121,15 +117,12 @@ export class ListTasksRequest extends $dara.Model {
121
117
  targetType?: string;
122
118
  /**
123
119
  * @remarks
124
- * The type of the task. The type can be used to filter tasks. Valid values:
125
- *
126
- * - ProvisionAccessConfiguration: An access configuration is provisioned.
127
- *
128
- * - DeprovisionAccessConfiguration: An access configuration is de-provisioned.
129
- *
130
- * - CreateAccessAssignment: Access permissions on an account in the resource directory are assigned.
120
+ * The type of the node. This parameter is used as a filter condition for the query. Valid values:
131
121
  *
132
- * - DeleteAccessAssignment: Access permissions on an account in the resource directory are removed.
122
+ * - ProvisionAccessConfiguration: Access configuration deployment.
123
+ * - DeprovisionAccessConfiguration: Removes access configuration provisioning.
124
+ * - CreateAccessAssignment: Grants authorization to an account in a resource directory.
125
+ * - DeleteAccessAssignment: Removes authorization from an account in a resource directory.
133
126
  *
134
127
  * @example
135
128
  * CreateAccessAssignment
@@ -21,7 +21,7 @@ export class ListTasksResponseBodyTasks 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 displayed 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-09T05:50:50Z
@@ -29,15 +29,18 @@ export class ListTasksResponseBodyTasks 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 if Status is set to 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 authorization target belongs.
43
+ *
41
44
  * @example
42
45
  * 114240524784****
43
46
  */
@@ -62,9 +65,8 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
62
65
  * @remarks
63
66
  * The type of the CloudSSO identity. Valid values:
64
67
  *
65
- * - User
66
- *
67
- * - Group
68
+ * - User: The CloudSSO user.
69
+ * - Group: The CloudSSO group.
68
70
  *
69
71
  * @example
70
72
  * User
@@ -72,7 +74,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
72
74
  principalType?: string;
73
75
  /**
74
76
  * @remarks
75
- * The start time of the task.
77
+ * The start time of the task. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
76
78
  *
77
79
  * @example
78
80
  * 2021-11-09T05:50:50Z
@@ -80,12 +82,10 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
80
82
  startTime?: string;
81
83
  /**
82
84
  * @remarks
83
- * The task status. Valid values:
85
+ * The status of the task. Valid values:
84
86
  *
85
87
  * - InProgress: The task is running.
86
- *
87
- * - Success: The task is successful.
88
- *
88
+ * - Success: The task succeeded.
89
89
  * - Failed: The task failed.
90
90
  *
91
91
  * @example
@@ -94,7 +94,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
94
94
  status?: string;
95
95
  /**
96
96
  * @remarks
97
- * The ID of the task object.
97
+ * The ID of the task target.
98
98
  *
99
99
  * @example
100
100
  * 114240524784****
@@ -102,7 +102,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
102
102
  targetId?: string;
103
103
  /**
104
104
  * @remarks
105
- * The name of the task object.
105
+ * The name of the task target.
106
106
  *
107
107
  * @example
108
108
  * dev-test
@@ -110,19 +110,21 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
110
110
  targetName?: string;
111
111
  /**
112
112
  * @remarks
113
- * The path ID of the task object in the resource directory.
113
+ * The path ID of the task target in the resource directory.
114
114
  */
115
115
  targetPath?: string;
116
116
  /**
117
117
  * @remarks
118
- * The path name of the task object in the resource directory.
118
+ * The path name of the task target in the resource directory.
119
119
  */
120
120
  targetPathName?: string;
121
121
  /**
122
122
  * @remarks
123
- * The type of the task object.
123
+ * The type of the task target.
124
124
  *
125
- * The value is fixed as RD-Account, which indicates the accounts in the resource directory.
125
+ * Valid values:
126
+ *
127
+ * - RD-Account: The task target is an account in a resource directory.
126
128
  *
127
129
  * @example
128
130
  * RD-Account
@@ -130,7 +132,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
130
132
  targetType?: string;
131
133
  /**
132
134
  * @remarks
133
- * The ID of the job.
135
+ * The ID of the task.
134
136
  *
135
137
  * @example
136
138
  * t-sh5k4gesm6twlrqb****
@@ -138,15 +140,12 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
138
140
  taskId?: string;
139
141
  /**
140
142
  * @remarks
141
- * The task type. Valid values:
142
- *
143
- * - ProvisionAccessConfiguration: An access configuration is provisioned.
144
- *
145
- * - DeprovisionAccessConfiguration: An access configuration is de-provisioned.
143
+ * The type of the node. Valid values:
146
144
  *
147
- * - CreateAccessAssignment: Access permissions on an account in the resource directory are assigned.
148
- *
149
- * - DeleteAccessAssignment: Access permissions on an account in the resource directory are removed.
145
+ * - ProvisionAccessConfiguration: Access configuration deployment.
146
+ * - DeprovisionAccessConfiguration: Removes access configuration provisioning.
147
+ * - CreateAccessAssignment: Grants authorization to an account in a resource directory.
148
+ * - DeleteAccessAssignment: Removes authorization from an account in a resource directory.
150
149
  *
151
150
  * @example
152
151
  * CreateAccessAssignment
@@ -208,11 +207,10 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
208
207
  export class ListTasksResponseBody extends $dara.Model {
209
208
  /**
210
209
  * @remarks
211
- * Indicates whether the queried entries are truncated. Valid values:
212
- *
213
- * - true
210
+ * Indicates whether the returned results are truncated. Valid values:
214
211
  *
215
- * - false
212
+ * - true: The returned results are truncated.
213
+ * - false: The returned results are not truncated.
216
214
  *
217
215
  * @example
218
216
  * false
@@ -220,7 +218,7 @@ export class ListTasksResponseBody extends $dara.Model {
220
218
  isTruncated?: boolean;
221
219
  /**
222
220
  * @remarks
223
- * The maximum number of entries returned per page.
221
+ * The maximum number of entries returned on each page.
224
222
  *
225
223
  * @example
226
224
  * 10
@@ -228,9 +226,9 @@ export class ListTasksResponseBody extends $dara.Model {
228
226
  maxResults?: number;
229
227
  /**
230
228
  * @remarks
231
- * The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.
229
+ * The token used to return the next page of the query results.
232
230
  *
233
- * > This parameter is returned only when the value of `IsTruncated` is `true`.
231
+ * > This parameter is returned only if IsTruncated is set to true.
234
232
  *
235
233
  * @example
236
234
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
@@ -238,7 +236,7 @@ export class ListTasksResponseBody extends $dara.Model {
238
236
  nextToken?: string;
239
237
  /**
240
238
  * @remarks
241
- * The request ID.
239
+ * The ID of the request.
242
240
  *
243
241
  * @example
244
242
  * C0DA2DFC-EB18-59EF-BD82-C30862EBA3A3
@@ -246,12 +244,12 @@ export class ListTasksResponseBody extends $dara.Model {
246
244
  requestId?: string;
247
245
  /**
248
246
  * @remarks
249
- * The tasks.
247
+ * The list of tasks.
250
248
  */
251
249
  tasks?: ListTasksResponseBodyTasks[];
252
250
  /**
253
251
  * @remarks
254
- * The total number of entries returned.
252
+ * The total number of entries that meet the conditional request parameter.
255
253
  *
256
254
  * @example
257
255
  * 1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ProvisionAccessConfigurationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the access configuration.
8
+ * The access configuration ID.
9
9
  *
10
10
  * @example
11
11
  * ac-00jhtfl8thteu6uj****
@@ -20,13 +20,16 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
20
20
  */
21
21
  directoryId?: string;
22
22
  /**
23
+ * @remarks
24
+ * The ID of the Alibaba Cloud account to which the deployment target belongs.
25
+ *
23
26
  * @example
24
27
  * 114240524784****
25
28
  */
26
29
  originTargetId?: string;
27
30
  /**
28
31
  * @remarks
29
- * The ID of the task object.
32
+ * The ID of the task target.
30
33
  *
31
34
  * @example
32
35
  * 114240524784****
@@ -34,7 +37,8 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
34
37
  targetId?: string;
35
38
  /**
36
39
  * @remarks
37
- * The type of the task object. Set the value to RD-Account, which specifies the accounts in the resource directory.
40
+ * The target type of the task. Valid values:
41
+ * - RD-Account: The task target is an account in a resource directory.
38
42
  *
39
43
  * @example
40
44
  * RD-Account