@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.
- package/dist/client.d.ts +263 -178
- package/dist/client.js +419 -186
- package/dist/client.js.map +1 -1
- package/dist/models/AddExternalSamlidPcertificateRequest.d.ts +3 -3
- package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.d.ts +11 -14
- package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.js.map +1 -1
- package/dist/models/AddUserToGroupResponseBody.d.ts +1 -1
- package/dist/models/ClearExternalSamlidentityProviderRequest.d.ts +1 -1
- package/dist/models/CreateAccessAssignmentRequest.d.ts +13 -14
- package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
- package/dist/models/CreateAccessAssignmentResponseBody.d.ts +20 -22
- package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/CreateDirectoryRequest.d.ts +3 -3
- package/dist/models/CreateDirectoryResponseBody.d.ts +3 -3
- package/dist/models/CreateGroupRequest.d.ts +6 -6
- package/dist/models/CreateGroupResponseBody.d.ts +8 -7
- package/dist/models/CreateGroupResponseBody.js.map +1 -1
- package/dist/models/CreateScimserverCredentialRequest.d.ts +1 -1
- package/dist/models/CreateScimserverCredentialResponseBody.d.ts +8 -7
- package/dist/models/CreateScimserverCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateUserProvisioningRequest.d.ts +15 -20
- package/dist/models/CreateUserProvisioningRequest.js.map +1 -1
- package/dist/models/CreateUserProvisioningResponseBody.d.ts +27 -35
- package/dist/models/CreateUserProvisioningResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentRequest.d.ts +17 -16
- package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +19 -17
- package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessConfigurationRequest.d.ts +2 -3
- package/dist/models/DeleteAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeleteAccessConfigurationResponseBody.d.ts +1 -1
- package/dist/models/DeleteDirectoryRequest.d.ts +1 -1
- package/dist/models/DeleteGroupRequest.d.ts +1 -1
- package/dist/models/DeleteScimserverCredentialRequest.d.ts +1 -1
- package/dist/models/DeleteUserProvisioningEventRequest.d.ts +4 -4
- package/dist/models/DeleteUserProvisioningRequest.d.ts +6 -7
- package/dist/models/DeleteUserProvisioningRequest.js.map +1 -1
- package/dist/models/DeleteUserRequest.d.ts +2 -2
- package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +6 -2
- package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +13 -10
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/EnableDelegateAccountRequest.d.ts +1 -1
- package/dist/models/GetAttributePassingSettingRequest.d.ts +21 -0
- package/dist/models/GetAttributePassingSettingRequest.js +58 -0
- package/dist/models/GetAttributePassingSettingRequest.js.map +1 -0
- package/dist/models/GetAttributePassingSettingResponse.d.ts +19 -0
- package/dist/models/GetAttributePassingSettingResponse.js +69 -0
- package/dist/models/GetAttributePassingSettingResponse.js.map +1 -0
- package/dist/models/GetAttributePassingSettingResponseBody.d.ts +50 -0
- package/dist/models/GetAttributePassingSettingResponseBody.js +82 -0
- package/dist/models/GetAttributePassingSettingResponseBody.js.map +1 -0
- package/dist/models/GetDirectoryRequest.d.ts +1 -1
- package/dist/models/GetDirectoryResponseBody.d.ts +5 -5
- package/dist/models/GetTaskResponseBody.d.ts +22 -19
- package/dist/models/GetTaskResponseBody.js.map +1 -1
- package/dist/models/ListAccessAssignmentsRequest.d.ts +22 -20
- package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
- package/dist/models/ListAccessAssignmentsResponseBody.d.ts +22 -20
- package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +18 -16
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +29 -28
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +87 -0
- package/dist/models/ListTagResourcesRequest.js +93 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +80 -0
- package/dist/models/ListTagResourcesResponseBody.js +90 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTasksRequest.d.ts +27 -34
- package/dist/models/ListTasksRequest.js.map +1 -1
- package/dist/models/ListTasksResponseBody.d.ts +34 -36
- package/dist/models/ListTasksResponseBody.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationRequest.d.ts +7 -3
- package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +15 -12
- package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +11 -13
- package/dist/models/ResetUserPasswordRequest.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
- package/dist/models/TagResourcesRequest.d.ts +95 -0
- package/dist/models/TagResourcesRequest.js +91 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +21 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +59 -0
- package/dist/models/UntagResourcesRequest.js +72 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UpdateAttributePassingSettingRequest.d.ts +35 -0
- package/dist/models/UpdateAttributePassingSettingRequest.js +60 -0
- package/dist/models/UpdateAttributePassingSettingRequest.js.map +1 -0
- package/dist/models/UpdateAttributePassingSettingResponse.d.ts +19 -0
- package/dist/models/UpdateAttributePassingSettingResponse.js +69 -0
- package/dist/models/UpdateAttributePassingSettingResponse.js.map +1 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.d.ts +21 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.js +58 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.js.map +1 -0
- package/dist/models/UpdateScimserverCredentialStatusRequest.d.ts +4 -5
- package/dist/models/UpdateScimserverCredentialStatusRequest.js.map +1 -1
- package/dist/models/UpdateScimserverCredentialStatusResponseBody.d.ts +6 -7
- package/dist/models/UpdateScimserverCredentialStatusResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +45 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +446 -186
- package/src/models/AddExternalSamlidPcertificateRequest.ts +3 -3
- package/src/models/AddPermissionPolicyToAccessConfigurationRequest.ts +11 -14
- package/src/models/AddUserToGroupResponseBody.ts +1 -1
- package/src/models/ClearExternalSamlidentityProviderRequest.ts +1 -1
- package/src/models/CreateAccessAssignmentRequest.ts +13 -14
- package/src/models/CreateAccessAssignmentResponseBody.ts +20 -22
- package/src/models/CreateDirectoryRequest.ts +3 -3
- package/src/models/CreateDirectoryResponseBody.ts +3 -3
- package/src/models/CreateGroupRequest.ts +6 -6
- package/src/models/CreateGroupResponseBody.ts +8 -7
- package/src/models/CreateScimserverCredentialRequest.ts +1 -1
- package/src/models/CreateScimserverCredentialResponseBody.ts +8 -7
- package/src/models/CreateUserProvisioningRequest.ts +15 -20
- package/src/models/CreateUserProvisioningResponseBody.ts +27 -35
- package/src/models/DeleteAccessAssignmentRequest.ts +17 -16
- package/src/models/DeleteAccessAssignmentResponseBody.ts +19 -17
- package/src/models/DeleteAccessConfigurationRequest.ts +2 -3
- package/src/models/DeleteAccessConfigurationResponseBody.ts +1 -1
- package/src/models/DeleteDirectoryRequest.ts +1 -1
- package/src/models/DeleteGroupRequest.ts +1 -1
- package/src/models/DeleteScimserverCredentialRequest.ts +1 -1
- package/src/models/DeleteUserProvisioningEventRequest.ts +4 -4
- package/src/models/DeleteUserProvisioningRequest.ts +6 -7
- package/src/models/DeleteUserRequest.ts +2 -2
- package/src/models/DeprovisionAccessConfigurationRequest.ts +6 -2
- package/src/models/DeprovisionAccessConfigurationResponseBody.ts +13 -10
- package/src/models/EnableDelegateAccountRequest.ts +1 -1
- package/src/models/GetAttributePassingSettingRequest.ts +34 -0
- package/src/models/GetAttributePassingSettingResponse.ts +40 -0
- package/src/models/GetAttributePassingSettingResponseBody.ts +78 -0
- package/src/models/GetDirectoryRequest.ts +1 -1
- package/src/models/GetDirectoryResponseBody.ts +5 -5
- package/src/models/GetTaskResponseBody.ts +22 -19
- package/src/models/ListAccessAssignmentsRequest.ts +22 -20
- package/src/models/ListAccessAssignmentsResponseBody.ts +22 -20
- package/src/models/ListAccessConfigurationProvisioningsRequest.ts +18 -16
- package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +29 -28
- package/src/models/ListTagResourcesRequest.ts +126 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +116 -0
- package/src/models/ListTasksRequest.ts +27 -34
- package/src/models/ListTasksResponseBody.ts +34 -36
- package/src/models/ProvisionAccessConfigurationRequest.ts +7 -3
- package/src/models/ProvisionAccessConfigurationResponseBody.ts +15 -12
- package/src/models/ResetUserPasswordRequest.ts +11 -13
- package/src/models/ResetUserPasswordResponseBody.ts +1 -1
- package/src/models/TagResourcesRequest.ts +132 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +34 -0
- package/src/models/UntagResourcesRequest.ts +86 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +34 -0
- package/src/models/UpdateAttributePassingSettingRequest.ts +50 -0
- package/src/models/UpdateAttributePassingSettingResponse.ts +40 -0
- package/src/models/UpdateAttributePassingSettingResponseBody.ts +34 -0
- package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
- package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
- package/src/models/model.ts +19 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00ccule7tadaijxc****
|
|
@@ -21,25 +21,28 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The first time
|
|
24
|
+
* The time when the first provisioning succeeded. 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-07-26T08:54:14Z
|
|
28
28
|
*/
|
|
29
29
|
createTime?: string;
|
|
30
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The Alibaba Cloud account ID of the provisioning target.
|
|
33
|
+
*
|
|
31
34
|
* @example
|
|
32
35
|
* 114240524784****
|
|
33
36
|
*/
|
|
34
37
|
originTargetId?: string;
|
|
35
38
|
/**
|
|
36
39
|
* @remarks
|
|
37
|
-
* The
|
|
40
|
+
* The Policy Name of the custom policy created in the account in a resource directory.
|
|
38
41
|
*/
|
|
39
42
|
RAMPolicyNames?: string[];
|
|
40
43
|
/**
|
|
41
44
|
* @remarks
|
|
42
|
-
* The name of the RAM role
|
|
45
|
+
* The name of the RAM role created in the account in a resource directory.
|
|
43
46
|
*
|
|
44
47
|
* @example
|
|
45
48
|
* AliyunReservedSSO-VPC-Admin
|
|
@@ -47,7 +50,7 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
47
50
|
RAMRoleName?: string;
|
|
48
51
|
/**
|
|
49
52
|
* @remarks
|
|
50
|
-
* The name of the
|
|
53
|
+
* The name of the SAML IdP created in the account in a resource directory.
|
|
51
54
|
*
|
|
52
55
|
* @example
|
|
53
56
|
* AliyunReservedSSO-d-00fc2p61****
|
|
@@ -55,13 +58,11 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
55
58
|
SAMLProviderName?: string;
|
|
56
59
|
/**
|
|
57
60
|
* @remarks
|
|
58
|
-
* The status
|
|
59
|
-
*
|
|
60
|
-
* - Provisioned: The access configuration is provisioned.
|
|
61
|
+
* The provisioning status. Valid values:
|
|
61
62
|
*
|
|
62
|
-
* -
|
|
63
|
-
*
|
|
64
|
-
* - DeprovisionFailed: The
|
|
63
|
+
* - Provisioned: The provisioning succeeded.
|
|
64
|
+
* - ReprovisionRequired: Reprovisioning is required.
|
|
65
|
+
* - DeprovisionFailed: The provisioning failed.
|
|
65
66
|
*
|
|
66
67
|
* @example
|
|
67
68
|
* Provisioned
|
|
@@ -69,9 +70,9 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
69
70
|
status?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
|
-
* The ID
|
|
73
|
+
* The target ID.
|
|
73
74
|
*
|
|
74
|
-
* If the
|
|
75
|
+
* If the target type is RD-Account, this parameter indicates the UID of the account in a resource directory.
|
|
75
76
|
*
|
|
76
77
|
* @example
|
|
77
78
|
* 101522521960****
|
|
@@ -79,7 +80,7 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
79
80
|
targetId?: string;
|
|
80
81
|
/**
|
|
81
82
|
* @remarks
|
|
82
|
-
* The name of the
|
|
83
|
+
* The name of the target.
|
|
83
84
|
*
|
|
84
85
|
* @example
|
|
85
86
|
* SharedServices_5009****
|
|
@@ -87,19 +88,20 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
87
88
|
targetName?: string;
|
|
88
89
|
/**
|
|
89
90
|
* @remarks
|
|
90
|
-
* The path ID of the
|
|
91
|
+
* The path ID of the target in the resource directory.
|
|
91
92
|
*/
|
|
92
93
|
targetPath?: string;
|
|
93
94
|
/**
|
|
94
95
|
* @remarks
|
|
95
|
-
* The path name of the
|
|
96
|
+
* The path name of the target in the resource directory.
|
|
96
97
|
*/
|
|
97
98
|
targetPathName?: string;
|
|
98
99
|
/**
|
|
99
100
|
* @remarks
|
|
100
|
-
* The type
|
|
101
|
+
* The target type.
|
|
101
102
|
*
|
|
102
|
-
*
|
|
103
|
+
* Valid values:
|
|
104
|
+
* - RD-Account: The target is an account in a resource directory.
|
|
103
105
|
*
|
|
104
106
|
* @example
|
|
105
107
|
* RD-Account
|
|
@@ -107,7 +109,7 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
107
109
|
targetType?: string;
|
|
108
110
|
/**
|
|
109
111
|
* @remarks
|
|
110
|
-
* The
|
|
112
|
+
* The time when the latest provisioning succeeded. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
111
113
|
*
|
|
112
114
|
* @example
|
|
113
115
|
* 2021-07-26T08:54:18Z
|
|
@@ -166,16 +168,15 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
|
|
|
166
168
|
export class ListAccessConfigurationProvisioningsResponseBody extends $dara.Model {
|
|
167
169
|
/**
|
|
168
170
|
* @remarks
|
|
169
|
-
* The
|
|
171
|
+
* The list of access configuration provisionings.
|
|
170
172
|
*/
|
|
171
173
|
accessConfigurationProvisionings?: ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings[];
|
|
172
174
|
/**
|
|
173
175
|
* @remarks
|
|
174
|
-
* Indicates whether the
|
|
175
|
-
*
|
|
176
|
-
* - true
|
|
176
|
+
* Indicates whether the returned results are truncated. Valid values:
|
|
177
177
|
*
|
|
178
|
-
* -
|
|
178
|
+
* - true: The results are truncated.
|
|
179
|
+
* - false: The results are not truncated.
|
|
179
180
|
*
|
|
180
181
|
* @example
|
|
181
182
|
* false
|
|
@@ -183,7 +184,7 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $dara.Mode
|
|
|
183
184
|
isTruncated?: boolean;
|
|
184
185
|
/**
|
|
185
186
|
* @remarks
|
|
186
|
-
* The maximum number of entries returned
|
|
187
|
+
* The maximum number of entries returned on each page.
|
|
187
188
|
*
|
|
188
189
|
* @example
|
|
189
190
|
* 10
|
|
@@ -191,9 +192,9 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $dara.Mode
|
|
|
191
192
|
maxResults?: number;
|
|
192
193
|
/**
|
|
193
194
|
* @remarks
|
|
194
|
-
* The
|
|
195
|
+
* The token used to return the next page of query results.
|
|
195
196
|
*
|
|
196
|
-
* > This parameter is returned only when
|
|
197
|
+
* > This parameter is returned only when IsTruncated is set to true.
|
|
197
198
|
*
|
|
198
199
|
* @example
|
|
199
200
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -209,7 +210,7 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $dara.Mode
|
|
|
209
210
|
requestId?: string;
|
|
210
211
|
/**
|
|
211
212
|
* @remarks
|
|
212
|
-
* The total number of entries
|
|
213
|
+
* The total number of entries that meet the filter conditions specified in the request parameters.
|
|
213
214
|
*
|
|
214
215
|
* @example
|
|
215
216
|
* 2
|
|
@@ -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.
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
60
|
+
* The ID of the CloudSSO identity. This parameter is used as a filter condition for the query. Details:
|
|
61
61
|
*
|
|
62
|
-
* - If
|
|
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
|
-
*
|
|
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.
|
|
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
|
-
* -
|
|
75
|
+
* - User: The CloudSSO user.
|
|
76
|
+
* - Group: The CloudSSO group.
|
|
79
77
|
*
|
|
80
|
-
* >
|
|
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
|
|
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
|
|
98
|
+
* The ID of the task target. This parameter is used as a filter condition for the query.
|
|
103
99
|
*
|
|
104
|
-
* >
|
|
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
|
|
108
|
+
* The type of the task target. This parameter is used as a filter condition for the query. Valid values:
|
|
113
109
|
*
|
|
114
|
-
*
|
|
110
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
115
111
|
*
|
|
116
|
-
* >
|
|
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
|
|
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
|
-
* -
|
|
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
|