@alicloud/cloudsso20210515 1.5.3 → 1.6.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 +58 -16
- package/dist/client.js +127 -24
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAccessAssignmentRequest.d.ts +5 -0
- package/dist/models/CreateAccessAssignmentRequest.js +2 -0
- package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
- package/dist/models/CreateAccessAssignmentResponseBody.d.ts +5 -0
- package/dist/models/CreateAccessAssignmentResponseBody.js +2 -0
- package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +11 -12
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserResponseBody.d.ts +9 -11
- package/dist/models/CreateUserResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentRequest.d.ts +5 -0
- package/dist/models/DeleteAccessAssignmentRequest.js +2 -0
- package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +5 -0
- package/dist/models/DeleteAccessAssignmentResponseBody.js +2 -0
- package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +5 -0
- package/dist/models/DeprovisionAccessConfigurationRequest.js +2 -0
- package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +5 -0
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js +2 -0
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/GetAccessConfigurationRequest.d.ts +2 -2
- package/dist/models/GetAccessConfigurationResponseBody.d.ts +6 -6
- 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/GetTaskResponseBody.d.ts +5 -0
- package/dist/models/GetTaskResponseBody.js +2 -0
- package/dist/models/GetTaskResponseBody.js.map +1 -1
- package/dist/models/GetUserRequest.d.ts +1 -1
- package/dist/models/GetUserResponseBody.d.ts +13 -15
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/ListAccessAssignmentsRequest.d.ts +5 -0
- package/dist/models/ListAccessAssignmentsRequest.js +2 -0
- package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
- package/dist/models/ListAccessAssignmentsResponseBody.d.ts +5 -0
- package/dist/models/ListAccessAssignmentsResponseBody.js +2 -0
- package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +5 -0
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js +2 -0
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +5 -0
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js +2 -0
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationsRequest.d.ts +9 -11
- package/dist/models/ListAccessConfigurationsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationsResponseBody.d.ts +11 -12
- package/dist/models/ListAccessConfigurationsResponseBody.js.map +1 -1
- package/dist/models/ListMfadevicesForUserResponseBody.d.ts +13 -3
- package/dist/models/ListMfadevicesForUserResponseBody.js.map +1 -1
- package/dist/models/ListTasksResponseBody.d.ts +5 -0
- package/dist/models/ListTasksResponseBody.js +2 -0
- package/dist/models/ListTasksResponseBody.js.map +1 -1
- package/dist/models/ListUsersRequest.d.ts +11 -15
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +16 -19
- package/dist/models/ListUsersResponseBody.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationRequest.d.ts +5 -0
- package/dist/models/ProvisionAccessConfigurationRequest.js +2 -0
- package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +5 -0
- package/dist/models/ProvisionAccessConfigurationResponseBody.js +2 -0
- package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
- 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/model.d.ts +7 -0
- package/dist/models/model.js +21 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +140 -24
- package/src/models/CreateAccessAssignmentRequest.ts +7 -0
- package/src/models/CreateAccessAssignmentResponseBody.ts +7 -0
- package/src/models/CreateUserRequest.ts +11 -12
- package/src/models/CreateUserResponseBody.ts +9 -11
- package/src/models/DeleteAccessAssignmentRequest.ts +7 -0
- package/src/models/DeleteAccessAssignmentResponseBody.ts +7 -0
- package/src/models/DeprovisionAccessConfigurationRequest.ts +7 -0
- package/src/models/DeprovisionAccessConfigurationResponseBody.ts +7 -0
- package/src/models/GetAccessConfigurationRequest.ts +2 -2
- package/src/models/GetAccessConfigurationResponseBody.ts +6 -6
- package/src/models/GetAttributePassingSettingRequest.ts +34 -0
- package/src/models/GetAttributePassingSettingResponse.ts +40 -0
- package/src/models/GetAttributePassingSettingResponseBody.ts +78 -0
- package/src/models/GetTaskResponseBody.ts +7 -0
- package/src/models/GetUserRequest.ts +1 -1
- package/src/models/GetUserResponseBody.ts +13 -15
- package/src/models/ListAccessAssignmentsRequest.ts +7 -0
- package/src/models/ListAccessAssignmentsResponseBody.ts +7 -0
- package/src/models/ListAccessConfigurationProvisioningsRequest.ts +7 -0
- package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +7 -0
- package/src/models/ListAccessConfigurationsRequest.ts +9 -11
- package/src/models/ListAccessConfigurationsResponseBody.ts +11 -12
- package/src/models/ListMfadevicesForUserResponseBody.ts +13 -3
- package/src/models/ListTasksResponseBody.ts +7 -0
- package/src/models/ListUsersRequest.ts +11 -15
- package/src/models/ListUsersResponseBody.ts +16 -19
- package/src/models/ProvisionAccessConfigurationRequest.ts +7 -0
- package/src/models/ProvisionAccessConfigurationResponseBody.ts +7 -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/model.ts +7 -0
|
@@ -45,7 +45,7 @@ export class ListAccessConfigurationsRequestTags extends $dara.Model {
|
|
|
45
45
|
export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The ID
|
|
48
|
+
* The directory ID.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* d-00fc2p61****
|
|
@@ -55,11 +55,9 @@ export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
|
55
55
|
* @remarks
|
|
56
56
|
* The filter condition.
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
* Format: <Attribute> <Operator> <Value>. The filter is case-insensitive. Currently, <Attribute> supports only AccessConfigurationName, and <Operator> supports only eq (Equals) and sw (Start With).
|
|
59
59
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* If you configure this parameter to `AccessConfigurationName sw test`, the system queries all access configurations whose names start with `test`. If you configure this parameter to `AccessConfigurationName eq TestAccessConfiguration`, the system queries the access configuration named `TestAccessConfiguration`.
|
|
60
|
+
* Example: Filter = "AccessConfigurationName sw test" queries all access configurations whose names start with test. Filter = "AccessConfigurationName eq TestAccessConfiguration" queries the access configuration named TestAccessConfiguration.
|
|
63
61
|
*
|
|
64
62
|
* @example
|
|
65
63
|
* AccessConfigurationName sw test
|
|
@@ -67,7 +65,7 @@ export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
|
67
65
|
filter?: string;
|
|
68
66
|
/**
|
|
69
67
|
* @remarks
|
|
70
|
-
* The maximum number of entries
|
|
68
|
+
* The maximum number of entries per page.
|
|
71
69
|
*
|
|
72
70
|
* Valid values: 1 to 100.
|
|
73
71
|
*
|
|
@@ -79,9 +77,9 @@ export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
|
79
77
|
maxResults?: number;
|
|
80
78
|
/**
|
|
81
79
|
* @remarks
|
|
82
|
-
* The
|
|
80
|
+
* The token for the next page of results. You do not need to specify `NextToken` for the first API call.
|
|
83
81
|
*
|
|
84
|
-
*
|
|
82
|
+
* When you call this API operation for the first time, if the total number of results exceeds the `MaxResults` limit, the results are truncated and only `MaxResults` entries are returned. In this case, the `IsTruncated` parameter is set to `true` and a `NextToken` is returned. You can use the `NextToken` returned from the previous call to continue calling this API operation while keeping other request parameters unchanged to query the truncated results. You can repeat this process until `IsTruncated` is `false`, which indicates that all data has been retrieved.
|
|
85
83
|
*
|
|
86
84
|
* @example
|
|
87
85
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -89,9 +87,9 @@ export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
|
89
87
|
nextToken?: string;
|
|
90
88
|
/**
|
|
91
89
|
* @remarks
|
|
92
|
-
* The status notification, which is used as a filter condition.
|
|
90
|
+
* The status notification information, which is used as a filter condition for the query.
|
|
93
91
|
*
|
|
94
|
-
*
|
|
92
|
+
* Valid values: ReprovisionRequired, which queries access configurations that need to be reprovisioned.
|
|
95
93
|
*
|
|
96
94
|
* @example
|
|
97
95
|
* ReprovisionRequired
|
|
@@ -99,7 +97,7 @@ export class ListAccessConfigurationsRequest extends $dara.Model {
|
|
|
99
97
|
statusNotifications?: string;
|
|
100
98
|
/**
|
|
101
99
|
* @remarks
|
|
102
|
-
* The
|
|
100
|
+
* The list of tags.
|
|
103
101
|
*/
|
|
104
102
|
tags?: ListAccessConfigurationsRequestTags[];
|
|
105
103
|
static names(): { [key: string]: string } {
|
|
@@ -79,7 +79,7 @@ export class ListAccessConfigurationsResponseBodyAccessConfigurations extends $d
|
|
|
79
79
|
* @remarks
|
|
80
80
|
* The initial access page.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* The URL of the initial page that is displayed when a CloudSSO user uses the access configuration to access an account in a resource directory.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* https://cloudsso.console.aliyun.com
|
|
@@ -89,7 +89,7 @@ export class ListAccessConfigurationsResponseBodyAccessConfigurations extends $d
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* The session duration.
|
|
91
91
|
*
|
|
92
|
-
* The maximum
|
|
92
|
+
* The maximum duration of a session when a CloudSSO user uses the access configuration to access an account in a resource directory.
|
|
93
93
|
*
|
|
94
94
|
* Unit: seconds.
|
|
95
95
|
*
|
|
@@ -99,12 +99,12 @@ export class ListAccessConfigurationsResponseBodyAccessConfigurations extends $d
|
|
|
99
99
|
sessionDuration?: number;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The status
|
|
102
|
+
* The status notification information.
|
|
103
103
|
*/
|
|
104
104
|
statusNotifications?: string[];
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The
|
|
107
|
+
* The list of tags.
|
|
108
108
|
*/
|
|
109
109
|
tags?: ListAccessConfigurationsResponseBodyAccessConfigurationsTags[];
|
|
110
110
|
/**
|
|
@@ -166,11 +166,10 @@ export class ListAccessConfigurationsResponseBody extends $dara.Model {
|
|
|
166
166
|
accessConfigurations?: ListAccessConfigurationsResponseBodyAccessConfigurations[];
|
|
167
167
|
/**
|
|
168
168
|
* @remarks
|
|
169
|
-
* Indicates whether the
|
|
169
|
+
* Indicates whether the results are truncated. Valid values:
|
|
170
170
|
*
|
|
171
|
-
* - true: The
|
|
172
|
-
*
|
|
173
|
-
* - false: The response was not truncated.
|
|
171
|
+
* - true: The results are truncated.
|
|
172
|
+
* - false: The results are not truncated.
|
|
174
173
|
*
|
|
175
174
|
* @example
|
|
176
175
|
* false
|
|
@@ -178,7 +177,7 @@ export class ListAccessConfigurationsResponseBody extends $dara.Model {
|
|
|
178
177
|
isTruncated?: boolean;
|
|
179
178
|
/**
|
|
180
179
|
* @remarks
|
|
181
|
-
* The maximum number of entries
|
|
180
|
+
* The maximum number of entries per page.
|
|
182
181
|
*
|
|
183
182
|
* @example
|
|
184
183
|
* 10
|
|
@@ -186,9 +185,9 @@ export class ListAccessConfigurationsResponseBody extends $dara.Model {
|
|
|
186
185
|
maxResults?: number;
|
|
187
186
|
/**
|
|
188
187
|
* @remarks
|
|
189
|
-
*
|
|
188
|
+
* The token for the next page of results.
|
|
190
189
|
*
|
|
191
|
-
* > This parameter is returned only when `IsTruncated` is
|
|
190
|
+
* > This parameter is returned only when `IsTruncated` is `true`.
|
|
192
191
|
*
|
|
193
192
|
* @example
|
|
194
193
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -204,7 +203,7 @@ export class ListAccessConfigurationsResponseBody extends $dara.Model {
|
|
|
204
203
|
requestId?: string;
|
|
205
204
|
/**
|
|
206
205
|
* @remarks
|
|
207
|
-
* The total number of entries that
|
|
206
|
+
* The total number of entries that match the request parameters.
|
|
208
207
|
*
|
|
209
208
|
* @example
|
|
210
209
|
* 2
|
|
@@ -21,7 +21,10 @@ export class ListMFADevicesForUserResponseBodyMFADevices extends $dara.Model {
|
|
|
21
21
|
deviceName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The MFA device type. Valid values:
|
|
24
|
+
* The MFA device type. Valid values:
|
|
25
|
+
* - TOTP: a virtual MFA device based on the Time-based One-Time Password algorithm.
|
|
26
|
+
* - CrossPlatformPasskey: a cross-platform passkey.
|
|
27
|
+
* - PlatformPasskey: a platform built-in passkey.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* TOTP
|
|
@@ -29,12 +32,19 @@ export class ListMFADevicesForUserResponseBodyMFADevices extends $dara.Model {
|
|
|
29
32
|
deviceType?: string;
|
|
30
33
|
/**
|
|
31
34
|
* @remarks
|
|
32
|
-
* The effective period. The time is
|
|
35
|
+
* The effective period. The time is in UTC and follows the RFC 3339 format (YYYY-MM-DDTHH:mm:ssZ).
|
|
33
36
|
*
|
|
34
37
|
* @example
|
|
35
38
|
* 2021-10-29T09:14:06Z
|
|
36
39
|
*/
|
|
37
40
|
effectiveTime?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The last time the MFA device was used.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 2026-08-12T07:26:12Z
|
|
47
|
+
*/
|
|
38
48
|
lastUseTime?: string;
|
|
39
49
|
/**
|
|
40
50
|
* @remarks
|
|
@@ -78,7 +88,7 @@ export class ListMFADevicesForUserResponseBodyMFADevices extends $dara.Model {
|
|
|
78
88
|
export class ListMFADevicesForUserResponseBody extends $dara.Model {
|
|
79
89
|
/**
|
|
80
90
|
* @remarks
|
|
81
|
-
* The
|
|
91
|
+
* The MFA device list.
|
|
82
92
|
*/
|
|
83
93
|
MFADevices?: ListMFADevicesForUserResponseBodyMFADevices[];
|
|
84
94
|
/**
|
|
@@ -37,6 +37,11 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
37
37
|
* No Permission.
|
|
38
38
|
*/
|
|
39
39
|
failureReason?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 114240524784****
|
|
43
|
+
*/
|
|
44
|
+
originTargetId?: string;
|
|
40
45
|
/**
|
|
41
46
|
* @remarks
|
|
42
47
|
* The ID of the CloudSSO identity.
|
|
@@ -153,6 +158,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
153
158
|
accessConfigurationName: 'AccessConfigurationName',
|
|
154
159
|
endTime: 'EndTime',
|
|
155
160
|
failureReason: 'FailureReason',
|
|
161
|
+
originTargetId: 'OriginTargetId',
|
|
156
162
|
principalId: 'PrincipalId',
|
|
157
163
|
principalName: 'PrincipalName',
|
|
158
164
|
principalType: 'PrincipalType',
|
|
@@ -174,6 +180,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
174
180
|
accessConfigurationName: 'string',
|
|
175
181
|
endTime: 'string',
|
|
176
182
|
failureReason: 'string',
|
|
183
|
+
originTargetId: 'string',
|
|
177
184
|
principalId: 'string',
|
|
178
185
|
principalName: 'string',
|
|
179
186
|
principalType: 'string',
|
|
@@ -45,7 +45,7 @@ export class ListUsersRequestTags extends $dara.Model {
|
|
|
45
45
|
export class ListUsersRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The directory ID.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* d-00fc2p61****
|
|
@@ -55,11 +55,9 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
55
55
|
* @remarks
|
|
56
56
|
* The filter condition.
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
* Format: `<Attribute> <Operator> <Value>`. This value is case-insensitive. Currently, `<Attribute>` supports only `UserName`, and `Operator` supports only `eq` (Equals) and `sw` (Start With).
|
|
59
59
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* If you configure this parameter to `UserName sw test`, the system queries all users whose usernames start with `test`. If you configure this parameter to `UserName eq testuser`, the system queries the user whose username is `testuser`.
|
|
60
|
+
* Example: Filter = "UserName sw test" queries all users whose usernames start with test. Filter = "UserName eq testuser" queries the user whose username is `testuser`.
|
|
63
61
|
*
|
|
64
62
|
* @example
|
|
65
63
|
* UserName sw test
|
|
@@ -67,7 +65,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
67
65
|
filter?: string;
|
|
68
66
|
/**
|
|
69
67
|
* @remarks
|
|
70
|
-
* The maximum number of entries
|
|
68
|
+
* The maximum number of entries per page.
|
|
71
69
|
*
|
|
72
70
|
* Valid values: 1 to 100.
|
|
73
71
|
*
|
|
@@ -79,9 +77,9 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
79
77
|
maxResults?: number;
|
|
80
78
|
/**
|
|
81
79
|
* @remarks
|
|
82
|
-
* The
|
|
80
|
+
* The token for the next page of results. You do not need to specify `NextToken` for the first API call.
|
|
83
81
|
*
|
|
84
|
-
*
|
|
82
|
+
* When you call the API for the first time, if the total number of entries exceeds the `MaxResults` limit, the data is truncated and only `MaxResults` entries are returned. In this case, the response parameter `IsTruncated` is `true` and a `NextToken` is returned. You can use the `NextToken` returned from the previous call to continue calling the API while keeping other request parameters unchanged to query the truncated data. You can repeat this process until `IsTruncated` is `false`, which indicates that all data has been retrieved.
|
|
85
83
|
*
|
|
86
84
|
* @example
|
|
87
85
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -91,9 +89,8 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
91
89
|
* @remarks
|
|
92
90
|
* The user type. This parameter is used as a filter condition. Valid values:
|
|
93
91
|
*
|
|
94
|
-
* - Manual: The user
|
|
95
|
-
*
|
|
96
|
-
* - Synchronized: The user was synchronized from an external IdP.
|
|
92
|
+
* - Manual: The user is manually created.
|
|
93
|
+
* - Synchronized: The user is synchronized from an external identity provider.
|
|
97
94
|
*
|
|
98
95
|
* @example
|
|
99
96
|
* Manual
|
|
@@ -103,9 +100,8 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
103
100
|
* @remarks
|
|
104
101
|
* The user status. This parameter is used as a filter condition. Valid values:
|
|
105
102
|
*
|
|
106
|
-
* - Enabled
|
|
107
|
-
*
|
|
108
|
-
* - Disabled
|
|
103
|
+
* - Enabled: The user is enabled.
|
|
104
|
+
* - Disabled: The user is disabled.
|
|
109
105
|
*
|
|
110
106
|
* @example
|
|
111
107
|
* Enabled
|
|
@@ -113,7 +109,7 @@ export class ListUsersRequest extends $dara.Model {
|
|
|
113
109
|
status?: string;
|
|
114
110
|
/**
|
|
115
111
|
* @remarks
|
|
116
|
-
* The
|
|
112
|
+
* The tag list.
|
|
117
113
|
*/
|
|
118
114
|
tags?: ListUsersRequestTags[];
|
|
119
115
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListUsersResponseBodyUsersExternalId extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The identifier
|
|
8
|
+
* The user identifier from the external identity provider.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* c73******a5fdd5
|
|
@@ -13,7 +13,7 @@ export class ListUsersResponseBodyUsersExternalId extends $dara.Model {
|
|
|
13
13
|
id?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The external identity synchronization channel. Currently, only SCIM-based user synchronization is supported.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* SCIM
|
|
@@ -85,7 +85,7 @@ export class ListUsersResponseBodyUsersTags extends $dara.Model {
|
|
|
85
85
|
export class ListUsersResponseBodyUsers extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The time when the user was created
|
|
88
|
+
* The time when the user was created (UTC).
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 2021-06-30T09:20:08Z
|
|
@@ -117,7 +117,7 @@ export class ListUsersResponseBodyUsers extends $dara.Model {
|
|
|
117
117
|
email?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The identifier of the user
|
|
120
|
+
* The identifier information of the user from the external identity provider.
|
|
121
121
|
*/
|
|
122
122
|
externalId?: ListUsersResponseBodyUsersExternalId;
|
|
123
123
|
/**
|
|
@@ -140,9 +140,8 @@ export class ListUsersResponseBodyUsers extends $dara.Model {
|
|
|
140
140
|
* @remarks
|
|
141
141
|
* The type of the user. Valid values:
|
|
142
142
|
*
|
|
143
|
-
* - Manual: The user
|
|
144
|
-
*
|
|
145
|
-
* - Synchronized: The user was synchronized from an external IdP.
|
|
143
|
+
* - Manual: The user is manually created.
|
|
144
|
+
* - Synchronized: The user is synchronized from an external identity provider.
|
|
146
145
|
*
|
|
147
146
|
* @example
|
|
148
147
|
* Synchronized
|
|
@@ -152,9 +151,8 @@ export class ListUsersResponseBodyUsers extends $dara.Model {
|
|
|
152
151
|
* @remarks
|
|
153
152
|
* The status of the user. Valid values:
|
|
154
153
|
*
|
|
155
|
-
* - Enabled
|
|
156
|
-
*
|
|
157
|
-
* - Disabled
|
|
154
|
+
* - Enabled: The user is enabled.
|
|
155
|
+
* - Disabled: The user is disabled.
|
|
158
156
|
*
|
|
159
157
|
* @example
|
|
160
158
|
* Enabled
|
|
@@ -162,12 +160,12 @@ export class ListUsersResponseBodyUsers extends $dara.Model {
|
|
|
162
160
|
status?: string;
|
|
163
161
|
/**
|
|
164
162
|
* @remarks
|
|
165
|
-
* The
|
|
163
|
+
* The tag list.
|
|
166
164
|
*/
|
|
167
165
|
tags?: ListUsersResponseBodyUsersTags[];
|
|
168
166
|
/**
|
|
169
167
|
* @remarks
|
|
170
|
-
* The time when the user was last modified
|
|
168
|
+
* The time when the user was last modified (UTC).
|
|
171
169
|
*
|
|
172
170
|
* @example
|
|
173
171
|
* 2021-06-30T09:20:08Z
|
|
@@ -245,9 +243,8 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
245
243
|
* @remarks
|
|
246
244
|
* Indicates whether the results are truncated. Valid values:
|
|
247
245
|
*
|
|
248
|
-
* - true
|
|
249
|
-
*
|
|
250
|
-
* - false
|
|
246
|
+
* - true: The results are truncated.
|
|
247
|
+
* - false: The results are not truncated.
|
|
251
248
|
*
|
|
252
249
|
* @example
|
|
253
250
|
* false
|
|
@@ -255,7 +252,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
255
252
|
isTruncated?: boolean;
|
|
256
253
|
/**
|
|
257
254
|
* @remarks
|
|
258
|
-
* The maximum number of entries
|
|
255
|
+
* The maximum number of entries per page.
|
|
259
256
|
*
|
|
260
257
|
* @example
|
|
261
258
|
* 10
|
|
@@ -263,7 +260,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
263
260
|
maxResults?: number;
|
|
264
261
|
/**
|
|
265
262
|
* @remarks
|
|
266
|
-
*
|
|
263
|
+
* The token for the next page of results.
|
|
267
264
|
*
|
|
268
265
|
* > This parameter is returned only when `IsTruncated` is `true`.
|
|
269
266
|
*
|
|
@@ -281,7 +278,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
281
278
|
requestId?: string;
|
|
282
279
|
/**
|
|
283
280
|
* @remarks
|
|
284
|
-
* The total number of entries that
|
|
281
|
+
* The total number of entries that match the request parameters.
|
|
285
282
|
*
|
|
286
283
|
* @example
|
|
287
284
|
* 2
|
|
@@ -289,7 +286,7 @@ export class ListUsersResponseBody extends $dara.Model {
|
|
|
289
286
|
totalCounts?: number;
|
|
290
287
|
/**
|
|
291
288
|
* @remarks
|
|
292
|
-
* The list
|
|
289
|
+
* The user list.
|
|
293
290
|
*/
|
|
294
291
|
users?: ListUsersResponseBodyUsers[];
|
|
295
292
|
static names(): { [key: string]: string } {
|
|
@@ -19,6 +19,11 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
|
19
19
|
* d-00fc2p61****
|
|
20
20
|
*/
|
|
21
21
|
directoryId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The ID of the task object.
|
|
@@ -39,6 +44,7 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
|
39
44
|
return {
|
|
40
45
|
accessConfigurationId: 'AccessConfigurationId',
|
|
41
46
|
directoryId: 'DirectoryId',
|
|
47
|
+
originTargetId: 'OriginTargetId',
|
|
42
48
|
targetId: 'TargetId',
|
|
43
49
|
targetType: 'TargetType',
|
|
44
50
|
};
|
|
@@ -48,6 +54,7 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
|
48
54
|
return {
|
|
49
55
|
accessConfigurationId: 'string',
|
|
50
56
|
directoryId: 'string',
|
|
57
|
+
originTargetId: 'string',
|
|
51
58
|
targetId: 'string',
|
|
52
59
|
targetType: 'string',
|
|
53
60
|
};
|
|
@@ -19,6 +19,11 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
19
19
|
* ECS-Admin
|
|
20
20
|
*/
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The task status. Valid values:
|
|
@@ -87,6 +92,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
87
92
|
return {
|
|
88
93
|
accessConfigurationId: 'AccessConfigurationId',
|
|
89
94
|
accessConfigurationName: 'AccessConfigurationName',
|
|
95
|
+
originTargetId: 'OriginTargetId',
|
|
90
96
|
status: 'Status',
|
|
91
97
|
targetId: 'TargetId',
|
|
92
98
|
targetName: 'TargetName',
|
|
@@ -102,6 +108,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
102
108
|
return {
|
|
103
109
|
accessConfigurationId: 'string',
|
|
104
110
|
accessConfigurationName: 'string',
|
|
111
|
+
originTargetId: 'string',
|
|
105
112
|
status: 'string',
|
|
106
113
|
targetId: 'string',
|
|
107
114
|
targetName: 'string',
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateAttributePassingSettingRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The directory ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* d-00fc2p61****
|
|
12
|
+
*/
|
|
13
|
+
directoryId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The SourceIdentity pass-through mode. Three pass-through modes are supported. If this parameter is not specified, the existing configuration is not modified.
|
|
17
|
+
*
|
|
18
|
+
* Valid values:
|
|
19
|
+
*
|
|
20
|
+
* - 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: =,.@-_.
|
|
21
|
+
* - UserName: Uses the CloudSSO username as the SourceIdentity. The system automatically adds a reserved prefix, resulting in the format acs:sso:<username>, with a total length of no more than 64 characters.
|
|
22
|
+
* - Disabled: Does not pass through SourceIdentity.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* Disabled
|
|
26
|
+
*/
|
|
27
|
+
sourceIdentityPassing?: string;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
directoryId: 'DirectoryId',
|
|
31
|
+
sourceIdentityPassing: 'SourceIdentityPassing',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
directoryId: 'string',
|
|
38
|
+
sourceIdentityPassing: 'string',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
validate() {
|
|
43
|
+
super.validate();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
constructor(map?: { [key: string]: any }) {
|
|
47
|
+
super(map);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateAttributePassingSettingResponseBody } from "./UpdateAttributePassingSettingResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateAttributePassingSettingResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateAttributePassingSettingResponseBody;
|
|
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: UpdateAttributePassingSettingResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateAttributePassingSettingResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 63160579-2E1B-57B0-8273-B27427172385
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { DeleteAccessAssignmentResponseBodyTask } from './DeleteAccessAssignment
|
|
|
13
13
|
export { DeprovisionAccessConfigurationResponseBodyTasks } from './DeprovisionAccessConfigurationResponseBody';
|
|
14
14
|
export { GetAccessConfigurationResponseBodyAccessConfigurationTags } from './GetAccessConfigurationResponseBody';
|
|
15
15
|
export { GetAccessConfigurationResponseBodyAccessConfiguration } from './GetAccessConfigurationResponseBody';
|
|
16
|
+
export { GetAttributePassingSettingResponseBodyAttributePassingSetting } from './GetAttributePassingSettingResponseBody';
|
|
16
17
|
export { GetDirectoryResponseBodyDirectory } from './GetDirectoryResponseBody';
|
|
17
18
|
export { GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider } from './GetDirectorySamlserviceProviderInfoResponseBody';
|
|
18
19
|
export { GetDirectoryStatisticsResponseBodyDirectoryStatistics } from './GetDirectoryStatisticsResponseBody';
|
|
@@ -138,6 +139,9 @@ export { EnableServiceResponse } from './EnableServiceResponse';
|
|
|
138
139
|
export { GetAccessConfigurationRequest } from './GetAccessConfigurationRequest';
|
|
139
140
|
export { GetAccessConfigurationResponseBody } from './GetAccessConfigurationResponseBody';
|
|
140
141
|
export { GetAccessConfigurationResponse } from './GetAccessConfigurationResponse';
|
|
142
|
+
export { GetAttributePassingSettingRequest } from './GetAttributePassingSettingRequest';
|
|
143
|
+
export { GetAttributePassingSettingResponseBody } from './GetAttributePassingSettingResponseBody';
|
|
144
|
+
export { GetAttributePassingSettingResponse } from './GetAttributePassingSettingResponse';
|
|
141
145
|
export { GetDirectoryRequest } from './GetDirectoryRequest';
|
|
142
146
|
export { GetDirectoryResponseBody } from './GetDirectoryResponseBody';
|
|
143
147
|
export { GetDirectoryResponse } from './GetDirectoryResponse';
|
|
@@ -284,6 +288,9 @@ export { SetSCIMSynchronizationStatusResponse } from './SetScimsynchronizationSt
|
|
|
284
288
|
export { UpdateAccessConfigurationRequest } from './UpdateAccessConfigurationRequest';
|
|
285
289
|
export { UpdateAccessConfigurationResponseBody } from './UpdateAccessConfigurationResponseBody';
|
|
286
290
|
export { UpdateAccessConfigurationResponse } from './UpdateAccessConfigurationResponse';
|
|
291
|
+
export { UpdateAttributePassingSettingRequest } from './UpdateAttributePassingSettingRequest';
|
|
292
|
+
export { UpdateAttributePassingSettingResponseBody } from './UpdateAttributePassingSettingResponseBody';
|
|
293
|
+
export { UpdateAttributePassingSettingResponse } from './UpdateAttributePassingSettingResponse';
|
|
287
294
|
export { UpdateDirectoryRequest } from './UpdateDirectoryRequest';
|
|
288
295
|
export { UpdateDirectoryResponseBody } from './UpdateDirectoryResponseBody';
|
|
289
296
|
export { UpdateDirectoryResponse } from './UpdateDirectoryResponse';
|