@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 ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -20,18 +20,19 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
20
20
|
*/
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the Alibaba Cloud account to which the deployment target belongs.
|
|
25
|
+
*
|
|
23
26
|
* @example
|
|
24
27
|
* 114240524784****
|
|
25
28
|
*/
|
|
26
29
|
originTargetId?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The task
|
|
30
|
-
*
|
|
31
|
-
* - InProgress: The task is running.
|
|
32
|
-
*
|
|
33
|
-
* - Success: The task is successful.
|
|
32
|
+
* The status of the task. Valid values:
|
|
34
33
|
*
|
|
34
|
+
* - InProgress: The task is in progress.
|
|
35
|
+
* - Success: The task succeeded.
|
|
35
36
|
* - Failed: The task failed.
|
|
36
37
|
*
|
|
37
38
|
* @example
|
|
@@ -40,7 +41,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
40
41
|
status?: string;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
|
-
* The ID of the
|
|
44
|
+
* The ID of the deployment target.
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* 114240524784****
|
|
@@ -48,7 +49,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
48
49
|
targetId?: string;
|
|
49
50
|
/**
|
|
50
51
|
* @remarks
|
|
51
|
-
* The name of the task
|
|
52
|
+
* The name of the task target.
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* dev-test
|
|
@@ -56,17 +57,18 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
56
57
|
targetName?: string;
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
|
-
* The path ID of the task
|
|
60
|
+
* The path ID of the task target in the resource directory.
|
|
60
61
|
*/
|
|
61
62
|
targetPath?: string;
|
|
62
63
|
/**
|
|
63
64
|
* @remarks
|
|
64
|
-
* The path name of the task
|
|
65
|
+
* The path name of the task target in the resource directory.
|
|
65
66
|
*/
|
|
66
67
|
targetPathName?: string;
|
|
67
68
|
/**
|
|
68
69
|
* @remarks
|
|
69
|
-
* The type of the task
|
|
70
|
+
* The target type of the task. Valid values:
|
|
71
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
70
72
|
*
|
|
71
73
|
* @example
|
|
72
74
|
* RD-Account
|
|
@@ -82,7 +84,8 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
82
84
|
taskId?: string;
|
|
83
85
|
/**
|
|
84
86
|
* @remarks
|
|
85
|
-
* The task type.
|
|
87
|
+
* The task type. Valid values:
|
|
88
|
+
* - ProvisionAccessConfiguration: The task provisions an access configuration.
|
|
86
89
|
*
|
|
87
90
|
* @example
|
|
88
91
|
* ProvisionAccessConfiguration
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ResetUserPasswordRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The directory ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* d-00fc2p61****
|
|
@@ -13,11 +13,10 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
13
13
|
directoryId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to
|
|
16
|
+
* Specifies whether to automatically generate a password. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - True: The
|
|
19
|
-
*
|
|
20
|
-
* - False: The new password must be manually specified. This is the default value.
|
|
18
|
+
* - True: The password is automatically generated.
|
|
19
|
+
* - False (default): The password is manually specified.
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
22
|
* True
|
|
@@ -27,11 +26,11 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
27
26
|
* @remarks
|
|
28
27
|
* The new password.
|
|
29
28
|
*
|
|
30
|
-
* The password must contain
|
|
29
|
+
* Format: The password must contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
|
|
31
30
|
*
|
|
32
|
-
*
|
|
31
|
+
* Length: 8 to 32 characters.
|
|
33
32
|
*
|
|
34
|
-
* > If
|
|
33
|
+
* > If GenerateRandomPassword is set to False, you must specify Password.
|
|
35
34
|
*
|
|
36
35
|
* @example
|
|
37
36
|
* uc)XK$?ictf72CKFDy9vtWaFmISl****
|
|
@@ -39,11 +38,10 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
39
38
|
password?: string;
|
|
40
39
|
/**
|
|
41
40
|
* @remarks
|
|
42
|
-
* Specifies whether
|
|
43
|
-
*
|
|
44
|
-
* - True: Password reset is required upon the next logon.
|
|
41
|
+
* Specifies whether the user must reset the password upon the next logon. Valid values:
|
|
45
42
|
*
|
|
46
|
-
* -
|
|
43
|
+
* - True: The user must reset the password.
|
|
44
|
+
* - False (default): The user does not need to reset the password.
|
|
47
45
|
*
|
|
48
46
|
* @example
|
|
49
47
|
* False
|
|
@@ -51,7 +49,7 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
51
49
|
requirePasswordResetForNextLogin?: boolean;
|
|
52
50
|
/**
|
|
53
51
|
* @remarks
|
|
54
|
-
* The ID
|
|
52
|
+
* The user ID.
|
|
55
53
|
*
|
|
56
54
|
* @example
|
|
57
55
|
* u-00q8wbq42wiltcrk****
|
|
@@ -7,7 +7,7 @@ export class ResetUserPasswordResponseBody extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The new password.
|
|
9
9
|
*
|
|
10
|
-
* > This parameter is returned only when the
|
|
10
|
+
* > This parameter is returned only when the password is automatically generated by the system.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* W2koInFIm0Wy2wVZ$oB)MzD$nY!G****
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagResourcesRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
10
|
+
* >
|
|
11
|
+
* > - - The key cannot start with aliyun or acs: (case-insensitive).
|
|
12
|
+
* > - - The key cannot contain http:// or https:// (case-insensitive).
|
|
13
|
+
* > - - The key cannot be an empty string.
|
|
14
|
+
*
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* key
|
|
19
|
+
*/
|
|
20
|
+
key?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The tag value.
|
|
24
|
+
* >
|
|
25
|
+
* > - - The value cannot contain http:// or https:// (case-insensitive).
|
|
26
|
+
* > - - The value cannot be an empty string.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* value
|
|
32
|
+
*/
|
|
33
|
+
value?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
key: 'Key',
|
|
37
|
+
value: 'Value',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
key: 'string',
|
|
44
|
+
value: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class TagResourcesRequest extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The directory ID.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* d-00fc2p61****
|
|
64
|
+
*/
|
|
65
|
+
directoryId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The list of resource IDs. You can specify up to 50 resource IDs in a single call.
|
|
69
|
+
* >
|
|
70
|
+
* > - Supported resource types include users and access configurations:
|
|
71
|
+
* > - - If the resource type is user, specify the user ID.
|
|
72
|
+
* > - - If the resource type is access configuration, specify the access configuration ID.
|
|
73
|
+
*
|
|
74
|
+
* <notice>If the directory ID parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID.</notice>
|
|
75
|
+
*
|
|
76
|
+
* This parameter is required.
|
|
77
|
+
*/
|
|
78
|
+
resourceId?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The resource type. Users and access configurations are supported.
|
|
82
|
+
*
|
|
83
|
+
* - If the resource type is user, set the value to user.
|
|
84
|
+
*
|
|
85
|
+
* - If the resource type is access configuration, set the value to accessConfiguration.
|
|
86
|
+
*
|
|
87
|
+
* This parameter is required.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* user
|
|
91
|
+
*/
|
|
92
|
+
resourceType?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The list of tags. You can add up to 20 tags in a single call.
|
|
96
|
+
*
|
|
97
|
+
* This parameter is required.
|
|
98
|
+
*/
|
|
99
|
+
tag?: TagResourcesRequestTag[];
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
directoryId: 'DirectoryId',
|
|
103
|
+
resourceId: 'ResourceId',
|
|
104
|
+
resourceType: 'ResourceType',
|
|
105
|
+
tag: 'Tag',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
directoryId: 'string',
|
|
112
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
113
|
+
resourceType: 'string',
|
|
114
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
if(Array.isArray(this.resourceId)) {
|
|
120
|
+
$dara.Model.validateArray(this.resourceId);
|
|
121
|
+
}
|
|
122
|
+
if(Array.isArray(this.tag)) {
|
|
123
|
+
$dara.Model.validateArray(this.tag);
|
|
124
|
+
}
|
|
125
|
+
super.validate();
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
constructor(map?: { [key: string]: any }) {
|
|
129
|
+
super(map);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: TagResourcesResponseBody;
|
|
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: TagResourcesResponseBody,
|
|
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 TagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* B182C041-8C64-5F2F-A07B-FC67FAF89CF9
|
|
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
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UntagResourcesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to remove all tags. This parameter takes effect only when the list of tag keys is empty.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
12
|
+
*/
|
|
13
|
+
all?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The directory ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* d-00fc2p61****
|
|
20
|
+
*/
|
|
21
|
+
directoryId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The list of resource IDs. You can specify up to 50 resource IDs in a single call.
|
|
25
|
+
* >
|
|
26
|
+
* > - Supported resource types include users and access configurations:
|
|
27
|
+
* > - - If the resource type is user, specify the user ID.
|
|
28
|
+
* > - - If the resource type is access configuration, specify the access configuration ID.
|
|
29
|
+
*
|
|
30
|
+
* <notice>If the DirectoryId parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID.</notice>
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*/
|
|
34
|
+
resourceId?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The resource type. Users and access configurations are supported. Valid values:
|
|
38
|
+
* - user: user
|
|
39
|
+
* - accessConfiguration: access configuration
|
|
40
|
+
*
|
|
41
|
+
* This parameter is required.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* user
|
|
45
|
+
*/
|
|
46
|
+
resourceType?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The list of tag keys. You can specify up to 20 tag keys in a single call.
|
|
50
|
+
*/
|
|
51
|
+
tagKey?: string[];
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
all: 'All',
|
|
55
|
+
directoryId: 'DirectoryId',
|
|
56
|
+
resourceId: 'ResourceId',
|
|
57
|
+
resourceType: 'ResourceType',
|
|
58
|
+
tagKey: 'TagKey',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
all: 'boolean',
|
|
65
|
+
directoryId: 'string',
|
|
66
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
67
|
+
resourceType: 'string',
|
|
68
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
if(Array.isArray(this.resourceId)) {
|
|
74
|
+
$dara.Model.validateArray(this.resourceId);
|
|
75
|
+
}
|
|
76
|
+
if(Array.isArray(this.tagKey)) {
|
|
77
|
+
$dara.Model.validateArray(this.tagKey);
|
|
78
|
+
}
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UntagResourcesResponseBody } from "./UntagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UntagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UntagResourcesResponseBody;
|
|
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: UntagResourcesResponseBody,
|
|
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 UntagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 66898413-EB80-556D-9429-06FE3548F672
|
|
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
|
+
|
|
@@ -13,7 +13,7 @@ export class UpdateSCIMServerCredentialStatusRequest extends $dara.Model {
|
|
|
13
13
|
credentialId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -21,11 +21,10 @@ export class UpdateSCIMServerCredentialStatusRequest extends $dara.Model {
|
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The status of the SCIM credential. Valid values:
|
|
25
25
|
*
|
|
26
|
-
* - Enabled:
|
|
27
|
-
*
|
|
28
|
-
* - Disabled: The SCIM credential is disabled.
|
|
26
|
+
* - Enabled: Enabled.
|
|
27
|
+
* - Disabled: Disabled.
|
|
29
28
|
*
|
|
30
29
|
* @example
|
|
31
30
|
* Disabled
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time
|
|
8
|
+
* The creation time of the SCIM credential. 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-11-09T08:12:52Z
|
|
@@ -29,7 +29,7 @@ export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential ex
|
|
|
29
29
|
credentialType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The ID
|
|
32
|
+
* The directory ID.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* d-00fc2p61****
|
|
@@ -37,7 +37,7 @@ export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential ex
|
|
|
37
37
|
directoryId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time
|
|
40
|
+
* The expiration time of the SCIM credential. 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
|
* 2022-11-09T08:12:52Z
|
|
@@ -47,9 +47,8 @@ export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential ex
|
|
|
47
47
|
* @remarks
|
|
48
48
|
* The status of the SCIM credential. Valid values:
|
|
49
49
|
*
|
|
50
|
-
* - Enabled:
|
|
51
|
-
*
|
|
52
|
-
* - Disabled: The SCIM credential is disabled.
|
|
50
|
+
* - Enabled: Enabled.
|
|
51
|
+
* - Disabled: Disabled.
|
|
53
52
|
*
|
|
54
53
|
* @example
|
|
55
54
|
* Disabled
|
|
@@ -97,7 +96,7 @@ export class UpdateSCIMServerCredentialStatusResponseBody extends $dara.Model {
|
|
|
97
96
|
requestId?: string;
|
|
98
97
|
/**
|
|
99
98
|
* @remarks
|
|
100
|
-
* The
|
|
99
|
+
* The SCIM credential information.
|
|
101
100
|
*/
|
|
102
101
|
SCIMServerCredential?: UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential;
|
|
103
102
|
static names(): { [key: string]: string } {
|
package/src/models/model.ts
CHANGED
|
@@ -47,6 +47,8 @@ export { ListJoinedGroupsForUserResponseBodyJoinedGroups } from './ListJoinedGro
|
|
|
47
47
|
export { ListMFADevicesForUserResponseBodyMFADevices } from './ListMfadevicesForUserResponseBody';
|
|
48
48
|
export { ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies } from './ListPermissionPoliciesInAccessConfigurationResponseBody';
|
|
49
49
|
export { ListSCIMServerCredentialsResponseBodySCIMServerCredentials } from './ListScimserverCredentialsResponseBody';
|
|
50
|
+
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
51
|
+
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
50
52
|
export { ListTasksResponseBodyTasks } from './ListTasksResponseBody';
|
|
51
53
|
export { ListUserProvisioningEventsResponseBodyUserProvisioningEvents } from './ListUserProvisioningEventsResponseBody';
|
|
52
54
|
export { ListUserProvisioningsResponseBodyUserProvisionings } from './ListUserProvisioningsResponseBody';
|
|
@@ -56,6 +58,7 @@ export { ListUsersResponseBodyUsersTags } from './ListUsersResponseBody';
|
|
|
56
58
|
export { ListUsersResponseBodyUsers } from './ListUsersResponseBody';
|
|
57
59
|
export { ProvisionAccessConfigurationResponseBodyTasks } from './ProvisionAccessConfigurationResponseBody';
|
|
58
60
|
export { SetExternalSAMLIdentityProviderResponseBodySAMLIdentityProviderConfiguration } from './SetExternalSamlidentityProviderResponseBody';
|
|
61
|
+
export { TagResourcesRequestTag } from './TagResourcesRequest';
|
|
59
62
|
export { UpdateAccessConfigurationResponseBodyAccessConfiguration } from './UpdateAccessConfigurationResponseBody';
|
|
60
63
|
export { UpdateDirectoryResponseBodyDirectory } from './UpdateDirectoryResponseBody';
|
|
61
64
|
export { UpdateGroupResponseBodyGroup } from './UpdateGroupResponseBody';
|
|
@@ -240,6 +243,9 @@ export { ListPermissionPoliciesInAccessConfigurationResponse } from './ListPermi
|
|
|
240
243
|
export { ListSCIMServerCredentialsRequest } from './ListScimserverCredentialsRequest';
|
|
241
244
|
export { ListSCIMServerCredentialsResponseBody } from './ListScimserverCredentialsResponseBody';
|
|
242
245
|
export { ListSCIMServerCredentialsResponse } from './ListScimserverCredentialsResponse';
|
|
246
|
+
export { ListTagResourcesRequest } from './ListTagResourcesRequest';
|
|
247
|
+
export { ListTagResourcesResponseBody } from './ListTagResourcesResponseBody';
|
|
248
|
+
export { ListTagResourcesResponse } from './ListTagResourcesResponse';
|
|
243
249
|
export { ListTasksRequest } from './ListTasksRequest';
|
|
244
250
|
export { ListTasksResponseBody } from './ListTasksResponseBody';
|
|
245
251
|
export { ListTasksResponse } from './ListTasksResponse';
|
|
@@ -285,6 +291,12 @@ export { SetPasswordPolicyResponse } from './SetPasswordPolicyResponse';
|
|
|
285
291
|
export { SetSCIMSynchronizationStatusRequest } from './SetScimsynchronizationStatusRequest';
|
|
286
292
|
export { SetSCIMSynchronizationStatusResponseBody } from './SetScimsynchronizationStatusResponseBody';
|
|
287
293
|
export { SetSCIMSynchronizationStatusResponse } from './SetScimsynchronizationStatusResponse';
|
|
294
|
+
export { TagResourcesRequest } from './TagResourcesRequest';
|
|
295
|
+
export { TagResourcesResponseBody } from './TagResourcesResponseBody';
|
|
296
|
+
export { TagResourcesResponse } from './TagResourcesResponse';
|
|
297
|
+
export { UntagResourcesRequest } from './UntagResourcesRequest';
|
|
298
|
+
export { UntagResourcesResponseBody } from './UntagResourcesResponseBody';
|
|
299
|
+
export { UntagResourcesResponse } from './UntagResourcesResponse';
|
|
288
300
|
export { UpdateAccessConfigurationRequest } from './UpdateAccessConfigurationRequest';
|
|
289
301
|
export { UpdateAccessConfigurationResponseBody } from './UpdateAccessConfigurationResponseBody';
|
|
290
302
|
export { UpdateAccessConfigurationResponse } from './UpdateAccessConfigurationResponse';
|