@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.
- package/dist/client.d.ts +221 -178
- package/dist/client.js +326 -178
- 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/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/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 +12 -0
- package/dist/models/model.js +31 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +346 -178
- 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/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/UpdateScimserverCredentialStatusRequest.ts +4 -5
- package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
- package/src/models/model.ts +12 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDirectoryResponseBodyDirectory extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time when the directory was created.
|
|
8
|
+
* The time when the directory was created. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2021-06-30T08:35:26Z
|
|
@@ -13,7 +13,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
13
13
|
createTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -29,7 +29,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
29
29
|
directoryName?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The ID of the region where the directory is located.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* cn-shanghai
|
|
@@ -37,7 +37,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
37
37
|
region?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time when the directory was
|
|
40
|
+
* The time when the directory was updated. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 2021-10-25T07:18:46Z
|
|
@@ -75,7 +75,7 @@ export class GetDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
75
75
|
export class GetDirectoryResponseBody extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The information
|
|
78
|
+
* The directory information.
|
|
79
79
|
*/
|
|
80
80
|
directory?: GetDirectoryResponseBodyDirectory;
|
|
81
81
|
/**
|
|
@@ -21,7 +21,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The end time of the task.
|
|
24
|
+
* The end time of the task. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2021-11-05T02:58:08Z
|
|
@@ -29,15 +29,18 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
29
29
|
endTime?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The reason why the task failed.
|
|
33
33
|
*
|
|
34
|
-
* >
|
|
34
|
+
* > This parameter is returned only when `Status` is `Failed`.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* No Permission.
|
|
38
38
|
*/
|
|
39
39
|
failureReason?: string;
|
|
40
40
|
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The ID of the Alibaba Cloud account to which the target belongs.
|
|
43
|
+
*
|
|
41
44
|
* @example
|
|
42
45
|
* 17xxxxxxxxxxxx73
|
|
43
46
|
*/
|
|
@@ -60,10 +63,10 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
60
63
|
principalName?: string;
|
|
61
64
|
/**
|
|
62
65
|
* @remarks
|
|
63
|
-
* The
|
|
66
|
+
* The CloudSSO identity type. Valid values:
|
|
64
67
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
68
|
+
* - User: user.
|
|
69
|
+
* - Group: user group.
|
|
67
70
|
*
|
|
68
71
|
* @example
|
|
69
72
|
* User
|
|
@@ -71,7 +74,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
71
74
|
principalType?: string;
|
|
72
75
|
/**
|
|
73
76
|
* @remarks
|
|
74
|
-
* The start time of the task.
|
|
77
|
+
* The start time of the task. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
75
78
|
*
|
|
76
79
|
* @example
|
|
77
80
|
* 2021-11-05T02:58:07Z
|
|
@@ -81,9 +84,9 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
81
84
|
* @remarks
|
|
82
85
|
* The task status. Valid values:
|
|
83
86
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
+
* - InProgress: The task is in progress.
|
|
88
|
+
* - Success: The task succeeded.
|
|
89
|
+
* - Failed: The task failed.
|
|
87
90
|
*
|
|
88
91
|
* @example
|
|
89
92
|
* Success
|
|
@@ -91,7 +94,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
91
94
|
status?: string;
|
|
92
95
|
/**
|
|
93
96
|
* @remarks
|
|
94
|
-
* The ID of the task
|
|
97
|
+
* The ID of the task target.
|
|
95
98
|
*
|
|
96
99
|
* @example
|
|
97
100
|
* 114240524784****
|
|
@@ -99,7 +102,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
99
102
|
targetId?: string;
|
|
100
103
|
/**
|
|
101
104
|
* @remarks
|
|
102
|
-
* The name of the task
|
|
105
|
+
* The name of the task target.
|
|
103
106
|
*
|
|
104
107
|
* @example
|
|
105
108
|
* dev-test
|
|
@@ -107,17 +110,17 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
107
110
|
targetName?: string;
|
|
108
111
|
/**
|
|
109
112
|
* @remarks
|
|
110
|
-
* The path ID of the task
|
|
113
|
+
* The path ID of the task target in the resource directory.
|
|
111
114
|
*/
|
|
112
115
|
targetPath?: string;
|
|
113
116
|
/**
|
|
114
117
|
* @remarks
|
|
115
|
-
* The path name of the task
|
|
118
|
+
* The path name of the task target in the resource directory.
|
|
116
119
|
*/
|
|
117
120
|
targetPathName?: string;
|
|
118
121
|
/**
|
|
119
122
|
* @remarks
|
|
120
|
-
* The
|
|
123
|
+
* The task target type. Valid values: RD-Account, which indicates that the task target is an account in a resource directory.
|
|
121
124
|
*
|
|
122
125
|
* @example
|
|
123
126
|
* RD-Account
|
|
@@ -135,10 +138,10 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
135
138
|
* @remarks
|
|
136
139
|
* The task type. Valid values:
|
|
137
140
|
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
141
|
+
* - ProvisionAccessConfiguration: Deploys the access configuration.
|
|
142
|
+
* - DeprovisionAccessConfiguration: Removes the access configuration deployment.
|
|
143
|
+
* - CreateAccessAssignment: Grants authorization to an account in a resource directory.
|
|
144
|
+
* - DeleteAccessAssignment: Revokes authorization from an account in a resource directory.
|
|
142
145
|
*
|
|
143
146
|
* @example
|
|
144
147
|
* DeleteAccessAssignment
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the access configuration.
|
|
8
|
+
* The ID of the access configuration. This parameter is used as a filter condition for the query.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -13,7 +13,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
13
13
|
accessConfigurationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The directory
|
|
16
|
+
* The ID of the directory.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -21,7 +21,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The maximum number of entries
|
|
24
|
+
* The maximum number of entries to return on each page.
|
|
25
25
|
*
|
|
26
26
|
* Valid values: 1 to 20.
|
|
27
27
|
*
|
|
@@ -33,28 +33,30 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
33
33
|
maxResults?: number;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The
|
|
36
|
+
* The token for the next page of query results. You do not need to specify `NextToken` when you call this operation for the first time.
|
|
37
37
|
*
|
|
38
|
-
* When you call this operation for the first time, if the total number of entries
|
|
38
|
+
* When you call this operation for the first time, if the total number of returned entries exceeds the value of `MaxResults`, the returned entries are truncated. Only the number of entries specified by `MaxResults` is returned, the `IsTruncated` parameter is set to `true`, and a `NextToken` value is returned. You can use the returned `NextToken` value to call this operation again to query the truncated entries while keeping other request parameters unchanged. You can repeat this process until `IsTruncated` is set to `false`, which indicates that all entries are returned.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
42
42
|
*/
|
|
43
43
|
nextToken?: string;
|
|
44
44
|
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The ID of the Alibaba Cloud account to which the authorization target belongs.
|
|
47
|
+
*
|
|
45
48
|
* @example
|
|
46
49
|
* 114240524784****
|
|
47
50
|
*/
|
|
48
51
|
originTargetId?: string;
|
|
49
52
|
/**
|
|
50
53
|
* @remarks
|
|
51
|
-
* The ID of the CloudSSO identity
|
|
54
|
+
* The ID of the CloudSSO identity, which is used as a filter condition for the query. Details:
|
|
52
55
|
*
|
|
53
|
-
* - If
|
|
56
|
+
* - If `PrincipalType` is set to User, `PrincipalId` is the ID of the CloudSSO user.
|
|
57
|
+
* - If `PrincipalType` is set to Group, `PrincipalId` is the ID of the CloudSSO group.
|
|
54
58
|
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* > You can use the type to filter access permissions only if you specify both PrincipalId and `PrincipalType`.\\`\\`
|
|
59
|
+
* > You must specify both `PrincipalId` and `PrincipalType` for the filter condition to take effect.
|
|
58
60
|
*
|
|
59
61
|
* @example
|
|
60
62
|
* u-00q8wbq42wiltcrk****
|
|
@@ -62,13 +64,12 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
62
64
|
principalId?: string;
|
|
63
65
|
/**
|
|
64
66
|
* @remarks
|
|
65
|
-
* The type of the CloudSSO identity
|
|
66
|
-
*
|
|
67
|
-
* - User
|
|
67
|
+
* The type of the CloudSSO identity, which is used as a filter condition for the query. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* -
|
|
69
|
+
* - User: user.
|
|
70
|
+
* - Group: group.
|
|
70
71
|
*
|
|
71
|
-
* > You
|
|
72
|
+
* > You must specify both `PrincipalId` and `PrincipalType` for the filter condition to take effect.
|
|
72
73
|
*
|
|
73
74
|
* @example
|
|
74
75
|
* User
|
|
@@ -76,9 +77,9 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
76
77
|
principalType?: string;
|
|
77
78
|
/**
|
|
78
79
|
* @remarks
|
|
79
|
-
* The ID of the task
|
|
80
|
+
* The ID of the task target, which is used as a filter condition for the query.
|
|
80
81
|
*
|
|
81
|
-
* > You
|
|
82
|
+
* > You must specify both `TargetId` and `TargetType` for the filter condition to take effect.
|
|
82
83
|
*
|
|
83
84
|
* @example
|
|
84
85
|
* 114240524784****
|
|
@@ -86,11 +87,12 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
|
|
|
86
87
|
targetId?: string;
|
|
87
88
|
/**
|
|
88
89
|
* @remarks
|
|
89
|
-
* The type of the task
|
|
90
|
+
* The type of the task target, which is used as a filter condition for the query.
|
|
90
91
|
*
|
|
91
|
-
*
|
|
92
|
+
* Valid values:
|
|
93
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
92
94
|
*
|
|
93
|
-
* > You
|
|
95
|
+
* > You must specify both `TargetId` and `TargetType` for the filter condition to take effect.
|
|
94
96
|
*
|
|
95
97
|
* @example
|
|
96
98
|
* RD-Account
|
|
@@ -21,13 +21,16 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The time when the access
|
|
24
|
+
* The time when the access assignment was successful. The time follows the RFC 3339 standard and is displayed in UTC in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2021-11-04T10:03:08Z
|
|
28
28
|
*/
|
|
29
29
|
createTime?: string;
|
|
30
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The ID of the Alibaba Cloud account to which the authorization target belongs.
|
|
33
|
+
*
|
|
31
34
|
* @example
|
|
32
35
|
* 114240524784****
|
|
33
36
|
*/
|
|
@@ -52,9 +55,8 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
52
55
|
* @remarks
|
|
53
56
|
* The type of the CloudSSO identity. Valid values:
|
|
54
57
|
*
|
|
55
|
-
* - User
|
|
56
|
-
*
|
|
57
|
-
* - Group
|
|
58
|
+
* - User: user.
|
|
59
|
+
* - Group: group.
|
|
58
60
|
*
|
|
59
61
|
* @example
|
|
60
62
|
* User
|
|
@@ -62,7 +64,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
62
64
|
principalType?: string;
|
|
63
65
|
/**
|
|
64
66
|
* @remarks
|
|
65
|
-
* The ID of the task
|
|
67
|
+
* The ID of the task target.
|
|
66
68
|
*
|
|
67
69
|
* @example
|
|
68
70
|
* 114240524784****
|
|
@@ -70,7 +72,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
70
72
|
targetId?: string;
|
|
71
73
|
/**
|
|
72
74
|
* @remarks
|
|
73
|
-
* The name of the task
|
|
75
|
+
* The name of the task target.
|
|
74
76
|
*
|
|
75
77
|
* @example
|
|
76
78
|
* dev-test
|
|
@@ -78,19 +80,20 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
78
80
|
targetName?: string;
|
|
79
81
|
/**
|
|
80
82
|
* @remarks
|
|
81
|
-
* The path ID of the task
|
|
83
|
+
* The path ID of the task target in the resource directory.
|
|
82
84
|
*/
|
|
83
85
|
targetPath?: string;
|
|
84
86
|
/**
|
|
85
87
|
* @remarks
|
|
86
|
-
* The path name of the task
|
|
88
|
+
* The path name of the task target in the resource directory.
|
|
87
89
|
*/
|
|
88
90
|
targetPathName?: string;
|
|
89
91
|
/**
|
|
90
92
|
* @remarks
|
|
91
|
-
* The type of the task
|
|
93
|
+
* The type of the task target.
|
|
92
94
|
*
|
|
93
|
-
*
|
|
95
|
+
* Valid values:
|
|
96
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
94
97
|
*
|
|
95
98
|
* @example
|
|
96
99
|
* RD-Account
|
|
@@ -142,16 +145,15 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
|
|
|
142
145
|
export class ListAccessAssignmentsResponseBody extends $dara.Model {
|
|
143
146
|
/**
|
|
144
147
|
* @remarks
|
|
145
|
-
* The
|
|
148
|
+
* The list of access assignments.
|
|
146
149
|
*/
|
|
147
150
|
accessAssignments?: ListAccessAssignmentsResponseBodyAccessAssignments[];
|
|
148
151
|
/**
|
|
149
152
|
* @remarks
|
|
150
|
-
* Indicates whether the
|
|
151
|
-
*
|
|
152
|
-
* - true
|
|
153
|
+
* Indicates whether the returned result is truncated. Valid values:
|
|
153
154
|
*
|
|
154
|
-
* -
|
|
155
|
+
* - true: The result is truncated.
|
|
156
|
+
* - false: The result is not truncated.
|
|
155
157
|
*
|
|
156
158
|
* @example
|
|
157
159
|
* false
|
|
@@ -159,7 +161,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
|
|
|
159
161
|
isTruncated?: boolean;
|
|
160
162
|
/**
|
|
161
163
|
* @remarks
|
|
162
|
-
* The maximum number of entries returned
|
|
164
|
+
* The maximum number of entries returned on each page.
|
|
163
165
|
*
|
|
164
166
|
* @example
|
|
165
167
|
* 10
|
|
@@ -167,9 +169,9 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
|
|
|
167
169
|
maxResults?: number;
|
|
168
170
|
/**
|
|
169
171
|
* @remarks
|
|
170
|
-
* The
|
|
172
|
+
* The token for the next page of query results.
|
|
171
173
|
*
|
|
172
|
-
* > This parameter is returned only when
|
|
174
|
+
* > This parameter is returned only when `IsTruncated` is set to `true`.
|
|
173
175
|
*
|
|
174
176
|
* @example
|
|
175
177
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -177,7 +179,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
|
|
|
177
179
|
nextToken?: string;
|
|
178
180
|
/**
|
|
179
181
|
* @remarks
|
|
180
|
-
* The request
|
|
182
|
+
* The ID of the request.
|
|
181
183
|
*
|
|
182
184
|
* @example
|
|
183
185
|
* 66898413-EB80-556D-9429-06FE3548F672
|
|
@@ -185,7 +187,7 @@ export class ListAccessAssignmentsResponseBody extends $dara.Model {
|
|
|
185
187
|
requestId?: string;
|
|
186
188
|
/**
|
|
187
189
|
* @remarks
|
|
188
|
-
* The total number of entries
|
|
190
|
+
* The total number of entries that meet the filter conditions specified in the request parameters.
|
|
189
191
|
*
|
|
190
192
|
* @example
|
|
191
193
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID used as a filter condition for the query.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00ccule7tadaijxc****
|
|
@@ -13,7 +13,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
|
13
13
|
accessConfigurationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -21,7 +21,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The maximum number of entries
|
|
24
|
+
* The maximum number of entries to return on each page.
|
|
25
25
|
*
|
|
26
26
|
* Valid values: 1 to 20.
|
|
27
27
|
*
|
|
@@ -33,28 +33,29 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
|
33
33
|
maxResults?: number;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The
|
|
36
|
+
* The token used to return the next page of query results. You do not need to specify NextToken when you call this operation for the first time.
|
|
37
37
|
*
|
|
38
|
-
* When you call this operation for the first time, if the total number of entries
|
|
38
|
+
* When you call this operation for the first time, if the total number of returned entries exceeds the value of MaxResults, the returned results are truncated. Only the number of entries specified by MaxResults is returned, the IsTruncated parameter is set to true, and a NextToken is returned. You can use the returned NextToken to call this operation again to query the truncated entries while keeping other request parameters unchanged. You can repeat this process until IsTruncated is set to false, which indicates that all entries are returned.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
42
42
|
*/
|
|
43
43
|
nextToken?: string;
|
|
44
44
|
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The Alibaba Cloud account ID of the provisioning target.
|
|
47
|
+
*
|
|
45
48
|
* @example
|
|
46
49
|
* 114240524784****
|
|
47
50
|
*/
|
|
48
51
|
originTargetId?: string;
|
|
49
52
|
/**
|
|
50
53
|
* @remarks
|
|
51
|
-
* The status
|
|
52
|
-
*
|
|
53
|
-
* - Provisioned: The access configuration is provisioned.
|
|
54
|
-
*
|
|
55
|
-
* - ReprovisionRequired: The access configuration needs to be re-provisioned.
|
|
54
|
+
* The provisioning status used as a filter condition for the query. Valid values:
|
|
56
55
|
*
|
|
57
|
-
* -
|
|
56
|
+
* - Provisioned: The provisioning succeeded.
|
|
57
|
+
* - ReprovisionRequired: Reprovisioning is required.
|
|
58
|
+
* - DeprovisionFailed: The provisioning failed.
|
|
58
59
|
*
|
|
59
60
|
* @example
|
|
60
61
|
* Provisioned
|
|
@@ -62,9 +63,9 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
|
62
63
|
provisioningStatus?: string;
|
|
63
64
|
/**
|
|
64
65
|
* @remarks
|
|
65
|
-
* The ID
|
|
66
|
+
* The target ID used as a filter condition for the query.
|
|
66
67
|
*
|
|
67
|
-
* > You
|
|
68
|
+
* > You must specify both TargetId and TargetType for them to take effect as filter conditions.
|
|
68
69
|
*
|
|
69
70
|
* @example
|
|
70
71
|
* 114240524784****
|
|
@@ -72,11 +73,12 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
|
|
|
72
73
|
targetId?: string;
|
|
73
74
|
/**
|
|
74
75
|
* @remarks
|
|
75
|
-
* The type
|
|
76
|
+
* The target type used as a filter condition for the query.
|
|
76
77
|
*
|
|
77
|
-
*
|
|
78
|
+
* Valid values:
|
|
79
|
+
* - RD-Account: The target is an account in a resource directory.
|
|
78
80
|
*
|
|
79
|
-
* > You
|
|
81
|
+
* > You must specify both TargetId and TargetType for them to take effect as filter conditions.
|
|
80
82
|
*
|
|
81
83
|
* @example
|
|
82
84
|
* RD-Account
|
|
@@ -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
|