@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.
Files changed (119) hide show
  1. package/dist/client.d.ts +58 -16
  2. package/dist/client.js +127 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAccessAssignmentRequest.d.ts +5 -0
  5. package/dist/models/CreateAccessAssignmentRequest.js +2 -0
  6. package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
  7. package/dist/models/CreateAccessAssignmentResponseBody.d.ts +5 -0
  8. package/dist/models/CreateAccessAssignmentResponseBody.js +2 -0
  9. package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
  10. package/dist/models/CreateUserRequest.d.ts +11 -12
  11. package/dist/models/CreateUserRequest.js.map +1 -1
  12. package/dist/models/CreateUserResponseBody.d.ts +9 -11
  13. package/dist/models/CreateUserResponseBody.js.map +1 -1
  14. package/dist/models/DeleteAccessAssignmentRequest.d.ts +5 -0
  15. package/dist/models/DeleteAccessAssignmentRequest.js +2 -0
  16. package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
  17. package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +5 -0
  18. package/dist/models/DeleteAccessAssignmentResponseBody.js +2 -0
  19. package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
  20. package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +5 -0
  21. package/dist/models/DeprovisionAccessConfigurationRequest.js +2 -0
  22. package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
  23. package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +5 -0
  24. package/dist/models/DeprovisionAccessConfigurationResponseBody.js +2 -0
  25. package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
  26. package/dist/models/GetAccessConfigurationRequest.d.ts +2 -2
  27. package/dist/models/GetAccessConfigurationResponseBody.d.ts +6 -6
  28. package/dist/models/GetAttributePassingSettingRequest.d.ts +21 -0
  29. package/dist/models/GetAttributePassingSettingRequest.js +58 -0
  30. package/dist/models/GetAttributePassingSettingRequest.js.map +1 -0
  31. package/dist/models/GetAttributePassingSettingResponse.d.ts +19 -0
  32. package/dist/models/GetAttributePassingSettingResponse.js +69 -0
  33. package/dist/models/GetAttributePassingSettingResponse.js.map +1 -0
  34. package/dist/models/GetAttributePassingSettingResponseBody.d.ts +50 -0
  35. package/dist/models/GetAttributePassingSettingResponseBody.js +82 -0
  36. package/dist/models/GetAttributePassingSettingResponseBody.js.map +1 -0
  37. package/dist/models/GetTaskResponseBody.d.ts +5 -0
  38. package/dist/models/GetTaskResponseBody.js +2 -0
  39. package/dist/models/GetTaskResponseBody.js.map +1 -1
  40. package/dist/models/GetUserRequest.d.ts +1 -1
  41. package/dist/models/GetUserResponseBody.d.ts +13 -15
  42. package/dist/models/GetUserResponseBody.js.map +1 -1
  43. package/dist/models/ListAccessAssignmentsRequest.d.ts +5 -0
  44. package/dist/models/ListAccessAssignmentsRequest.js +2 -0
  45. package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
  46. package/dist/models/ListAccessAssignmentsResponseBody.d.ts +5 -0
  47. package/dist/models/ListAccessAssignmentsResponseBody.js +2 -0
  48. package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
  49. package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +5 -0
  50. package/dist/models/ListAccessConfigurationProvisioningsRequest.js +2 -0
  51. package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
  52. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +5 -0
  53. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js +2 -0
  54. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
  55. package/dist/models/ListAccessConfigurationsRequest.d.ts +9 -11
  56. package/dist/models/ListAccessConfigurationsRequest.js.map +1 -1
  57. package/dist/models/ListAccessConfigurationsResponseBody.d.ts +11 -12
  58. package/dist/models/ListAccessConfigurationsResponseBody.js.map +1 -1
  59. package/dist/models/ListMfadevicesForUserResponseBody.d.ts +13 -3
  60. package/dist/models/ListMfadevicesForUserResponseBody.js.map +1 -1
  61. package/dist/models/ListTasksResponseBody.d.ts +5 -0
  62. package/dist/models/ListTasksResponseBody.js +2 -0
  63. package/dist/models/ListTasksResponseBody.js.map +1 -1
  64. package/dist/models/ListUsersRequest.d.ts +11 -15
  65. package/dist/models/ListUsersRequest.js.map +1 -1
  66. package/dist/models/ListUsersResponseBody.d.ts +16 -19
  67. package/dist/models/ListUsersResponseBody.js.map +1 -1
  68. package/dist/models/ProvisionAccessConfigurationRequest.d.ts +5 -0
  69. package/dist/models/ProvisionAccessConfigurationRequest.js +2 -0
  70. package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
  71. package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +5 -0
  72. package/dist/models/ProvisionAccessConfigurationResponseBody.js +2 -0
  73. package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
  74. package/dist/models/UpdateAttributePassingSettingRequest.d.ts +35 -0
  75. package/dist/models/UpdateAttributePassingSettingRequest.js +60 -0
  76. package/dist/models/UpdateAttributePassingSettingRequest.js.map +1 -0
  77. package/dist/models/UpdateAttributePassingSettingResponse.d.ts +19 -0
  78. package/dist/models/UpdateAttributePassingSettingResponse.js +69 -0
  79. package/dist/models/UpdateAttributePassingSettingResponse.js.map +1 -0
  80. package/dist/models/UpdateAttributePassingSettingResponseBody.d.ts +21 -0
  81. package/dist/models/UpdateAttributePassingSettingResponseBody.js +58 -0
  82. package/dist/models/UpdateAttributePassingSettingResponseBody.js.map +1 -0
  83. package/dist/models/model.d.ts +7 -0
  84. package/dist/models/model.js +21 -7
  85. package/dist/models/model.js.map +1 -1
  86. package/package.json +1 -1
  87. package/src/client.ts +140 -24
  88. package/src/models/CreateAccessAssignmentRequest.ts +7 -0
  89. package/src/models/CreateAccessAssignmentResponseBody.ts +7 -0
  90. package/src/models/CreateUserRequest.ts +11 -12
  91. package/src/models/CreateUserResponseBody.ts +9 -11
  92. package/src/models/DeleteAccessAssignmentRequest.ts +7 -0
  93. package/src/models/DeleteAccessAssignmentResponseBody.ts +7 -0
  94. package/src/models/DeprovisionAccessConfigurationRequest.ts +7 -0
  95. package/src/models/DeprovisionAccessConfigurationResponseBody.ts +7 -0
  96. package/src/models/GetAccessConfigurationRequest.ts +2 -2
  97. package/src/models/GetAccessConfigurationResponseBody.ts +6 -6
  98. package/src/models/GetAttributePassingSettingRequest.ts +34 -0
  99. package/src/models/GetAttributePassingSettingResponse.ts +40 -0
  100. package/src/models/GetAttributePassingSettingResponseBody.ts +78 -0
  101. package/src/models/GetTaskResponseBody.ts +7 -0
  102. package/src/models/GetUserRequest.ts +1 -1
  103. package/src/models/GetUserResponseBody.ts +13 -15
  104. package/src/models/ListAccessAssignmentsRequest.ts +7 -0
  105. package/src/models/ListAccessAssignmentsResponseBody.ts +7 -0
  106. package/src/models/ListAccessConfigurationProvisioningsRequest.ts +7 -0
  107. package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +7 -0
  108. package/src/models/ListAccessConfigurationsRequest.ts +9 -11
  109. package/src/models/ListAccessConfigurationsResponseBody.ts +11 -12
  110. package/src/models/ListMfadevicesForUserResponseBody.ts +13 -3
  111. package/src/models/ListTasksResponseBody.ts +7 -0
  112. package/src/models/ListUsersRequest.ts +11 -15
  113. package/src/models/ListUsersResponseBody.ts +16 -19
  114. package/src/models/ProvisionAccessConfigurationRequest.ts +7 -0
  115. package/src/models/ProvisionAccessConfigurationResponseBody.ts +7 -0
  116. package/src/models/UpdateAttributePassingSettingRequest.ts +50 -0
  117. package/src/models/UpdateAttributePassingSettingResponse.ts +40 -0
  118. package/src/models/UpdateAttributePassingSettingResponseBody.ts +34 -0
  119. package/src/models/model.ts +7 -0
@@ -45,7 +45,7 @@ export class CreateUserResponseBodyUserTags extends $dara.Model {
45
45
  export class CreateUserResponseBodyUser extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The time when the user was created. The time is displayed in ISO 8601 format in UTC.
48
+ * The time when the user was created (UTC).
49
49
  *
50
50
  * @example
51
51
  * 2021-10-26T03:03:42Z
@@ -93,11 +93,10 @@ export class CreateUserResponseBodyUser extends $dara.Model {
93
93
  lastName?: string;
94
94
  /**
95
95
  * @remarks
96
- * The provisioning type of the user. Valid values:
96
+ * The type of the user. Valid values:
97
97
  *
98
- * - Manual: The user was created manually.
99
- *
100
- * - Synchronized: The user was synchronized from an external IdP.
98
+ * - Manual: Manually created.
99
+ * - Synchronized: Synchronized from an external source.
101
100
  *
102
101
  * @example
103
102
  * Manual
@@ -107,9 +106,8 @@ export class CreateUserResponseBodyUser extends $dara.Model {
107
106
  * @remarks
108
107
  * The status of the user. Valid values:
109
108
  *
110
- * - Enabled: The user is enabled.
111
- *
112
- * - Disabled: The user is disabled.
109
+ * - Enabled: Enabled.
110
+ * - Disabled: Disabled.
113
111
  *
114
112
  * @example
115
113
  * Enabled
@@ -117,12 +115,12 @@ export class CreateUserResponseBodyUser extends $dara.Model {
117
115
  status?: string;
118
116
  /**
119
117
  * @remarks
120
- * The tags.
118
+ * The list of tags.
121
119
  */
122
120
  tags?: CreateUserResponseBodyUserTags[];
123
121
  /**
124
122
  * @remarks
125
- * The time when the user was last modified. The time is displayed in ISO 8601 format in UTC.
123
+ * The time when the user was last modified (UTC).
126
124
  *
127
125
  * @example
128
126
  * 2021-10-26T03:03:42Z
@@ -201,7 +199,7 @@ export class CreateUserResponseBody extends $dara.Model {
201
199
  requestId?: string;
202
200
  /**
203
201
  * @remarks
204
- * The details of the user.
202
+ * The user information.
205
203
  */
206
204
  user?: CreateUserResponseBodyUser;
207
205
  static names(): { [key: string]: string } {
@@ -31,6 +31,11 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
31
31
  * d-00fc2p61****
32
32
  */
33
33
  directoryId?: string;
34
+ /**
35
+ * @example
36
+ * 114240524784****
37
+ */
38
+ originTargetId?: string;
34
39
  /**
35
40
  * @remarks
36
41
  * The ID of the CloudSSO identity.
@@ -76,6 +81,7 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
76
81
  accessConfigurationId: 'AccessConfigurationId',
77
82
  deprovisionStrategy: 'DeprovisionStrategy',
78
83
  directoryId: 'DirectoryId',
84
+ originTargetId: 'OriginTargetId',
79
85
  principalId: 'PrincipalId',
80
86
  principalType: 'PrincipalType',
81
87
  targetId: 'TargetId',
@@ -88,6 +94,7 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
88
94
  accessConfigurationId: 'string',
89
95
  deprovisionStrategy: 'string',
90
96
  directoryId: 'string',
97
+ originTargetId: 'string',
91
98
  principalId: 'string',
92
99
  principalType: 'string',
93
100
  targetId: 'string',
@@ -19,6 +19,11 @@ export class DeleteAccessAssignmentResponseBodyTask 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 ID of the CloudSSO identity.
@@ -115,6 +120,7 @@ export class DeleteAccessAssignmentResponseBodyTask extends $dara.Model {
115
120
  return {
116
121
  accessConfigurationId: 'AccessConfigurationId',
117
122
  accessConfigurationName: 'AccessConfigurationName',
123
+ originTargetId: 'OriginTargetId',
118
124
  principalId: 'PrincipalId',
119
125
  principalName: 'PrincipalName',
120
126
  principalType: 'PrincipalType',
@@ -133,6 +139,7 @@ export class DeleteAccessAssignmentResponseBodyTask extends $dara.Model {
133
139
  return {
134
140
  accessConfigurationId: 'string',
135
141
  accessConfigurationName: 'string',
142
+ originTargetId: 'string',
136
143
  principalId: 'string',
137
144
  principalName: 'string',
138
145
  principalType: 'string',
@@ -19,6 +19,11 @@ export class DeprovisionAccessConfigurationRequest 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 DeprovisionAccessConfigurationRequest 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 DeprovisionAccessConfigurationRequest 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 DeprovisionAccessConfigurationResponseBodyTasks 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 DeprovisionAccessConfigurationResponseBodyTasks 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 DeprovisionAccessConfigurationResponseBodyTasks 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',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAccessConfigurationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the access configuration.
8
+ * The access configuration ID.
9
9
  *
10
10
  * @example
11
11
  * ac-00ccule7tadaijxc****
@@ -13,7 +13,7 @@ export class GetAccessConfigurationRequest extends $dara.Model {
13
13
  accessConfigurationId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the CloudSSO directory.
16
+ * The directory ID.
17
17
  *
18
18
  * @example
19
19
  * d-00fc2p61****
@@ -45,7 +45,7 @@ export class GetAccessConfigurationResponseBodyAccessConfigurationTags extends $
45
45
  export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The ID of the access configuration.
48
+ * The access configuration ID.
49
49
  *
50
50
  * @example
51
51
  * ac-00ccule7tadaijxc****
@@ -79,7 +79,7 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
79
79
  * @remarks
80
80
  * The initial access page.
81
81
  *
82
- * This is the page that a CloudSSO user is redirected to after they uses the access configuration to access an account in your resource directory.
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 GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
89
89
  * @remarks
90
90
  * The session duration.
91
91
  *
92
- * The maximum duration of a session when a CloudSSO user uses the access configuration to access an account in the resource directory.
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 GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
99
99
  sessionDuration?: number;
100
100
  /**
101
101
  * @remarks
102
- * The status notifications.
102
+ * The status notification information.
103
103
  */
104
104
  statusNotifications?: string[];
105
105
  /**
106
106
  * @remarks
107
- * The tags attached to the access configuration.
107
+ * The tags.
108
108
  */
109
109
  tags?: GetAccessConfigurationResponseBodyAccessConfigurationTags[];
110
110
  /**
@@ -161,7 +161,7 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
161
161
  export class GetAccessConfigurationResponseBody extends $dara.Model {
162
162
  /**
163
163
  * @remarks
164
- * The information about the access configuration.
164
+ * The access configuration information.
165
165
  */
166
166
  accessConfiguration?: GetAccessConfigurationResponseBodyAccessConfiguration;
167
167
  /**
@@ -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 GetAttributePassingSettingRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The directory ID.
9
+ *
10
+ * @example
11
+ * d-003qew84****
12
+ */
13
+ directoryId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ directoryId: 'DirectoryId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ directoryId: '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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAttributePassingSettingResponseBody } from "./GetAttributePassingSettingResponseBody";
4
+
5
+
6
+ export class GetAttributePassingSettingResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAttributePassingSettingResponseBody;
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: GetAttributePassingSettingResponseBody,
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,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAttributePassingSettingResponseBodyAttributePassingSetting extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The SourceIdentity pass-through mode. If not configured, Disabled is returned by default. Valid values:
9
+ *
10
+ * - 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: =,.@-_.
11
+ * - UserName: Uses the CloudSSO username as the SourceIdentity. The system automatically adds a reserved prefix, resulting in the format acs:sso:<username>. The total length cannot exceed 64 characters.
12
+ * - Disabled: Does not pass through the SourceIdentity.
13
+ *
14
+ * @example
15
+ * Disabled
16
+ */
17
+ sourceIdentityPassing?: string;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ sourceIdentityPassing: 'SourceIdentityPassing',
21
+ };
22
+ }
23
+
24
+ static types(): { [key: string]: any } {
25
+ return {
26
+ sourceIdentityPassing: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetAttributePassingSettingResponseBody extends $dara.Model {
40
+ /**
41
+ * @remarks
42
+ * The attribute passing settings.
43
+ */
44
+ attributePassingSetting?: GetAttributePassingSettingResponseBodyAttributePassingSetting;
45
+ /**
46
+ * @remarks
47
+ * The request ID.
48
+ *
49
+ * @example
50
+ * F6F90F3D-4502-5877-B80B-97476F6AE2CC
51
+ */
52
+ requestId?: string;
53
+ static names(): { [key: string]: string } {
54
+ return {
55
+ attributePassingSetting: 'AttributePassingSetting',
56
+ requestId: 'RequestId',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ attributePassingSetting: GetAttributePassingSettingResponseBodyAttributePassingSetting,
63
+ requestId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(this.attributePassingSetting && typeof (this.attributePassingSetting as any).validate === 'function') {
69
+ (this.attributePassingSetting as any).validate();
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -37,6 +37,11 @@ export class GetTaskResponseBodyTask extends $dara.Model {
37
37
  * No Permission.
38
38
  */
39
39
  failureReason?: string;
40
+ /**
41
+ * @example
42
+ * 17xxxxxxxxxxxx73
43
+ */
44
+ originTargetId?: string;
40
45
  /**
41
46
  * @remarks
42
47
  * The ID of the CloudSSO identity.
@@ -145,6 +150,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
145
150
  accessConfigurationName: 'AccessConfigurationName',
146
151
  endTime: 'EndTime',
147
152
  failureReason: 'FailureReason',
153
+ originTargetId: 'OriginTargetId',
148
154
  principalId: 'PrincipalId',
149
155
  principalName: 'PrincipalName',
150
156
  principalType: 'PrincipalType',
@@ -166,6 +172,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
166
172
  accessConfigurationName: 'string',
167
173
  endTime: 'string',
168
174
  failureReason: 'string',
175
+ originTargetId: 'string',
169
176
  principalId: 'string',
170
177
  principalName: 'string',
171
178
  principalType: 'string',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetUserRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The CloudSSO directory ID.
8
+ * The directory ID.
9
9
  *
10
10
  * @example
11
11
  * d-00fc2p61****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetUserResponseBodyUserExternalId extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The user identifier from the external IdP.
8
+ * The user identifier of the external identity provider.
9
9
  *
10
10
  * @example
11
11
  * c73******a5fdd5
@@ -13,7 +13,7 @@ export class GetUserResponseBodyUserExternalId extends $dara.Model {
13
13
  id?: string;
14
14
  /**
15
15
  * @remarks
16
- * The channel for external user synchronization. Only SCIM synchronization is supported.
16
+ * The external identity synchronization channel. Currently, only SCIM synchronization is supported.
17
17
  *
18
18
  * @example
19
19
  * SCIM
@@ -85,7 +85,7 @@ export class GetUserResponseBodyUserTags extends $dara.Model {
85
85
  export class GetUserResponseBodyUser extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
- * The time when the user was created. The time is in UTC.
88
+ * The time when the user was created (in UTC).
89
89
  *
90
90
  * @example
91
91
  * 2021-10-26T03:03:42Z
@@ -117,7 +117,7 @@ export class GetUserResponseBodyUser extends $dara.Model {
117
117
  email?: string;
118
118
  /**
119
119
  * @remarks
120
- * The information about the user identifier from an external IdP.
120
+ * The user identifier information of the external identity provider.
121
121
  */
122
122
  externalId?: GetUserResponseBodyUserExternalId;
123
123
  /**
@@ -140,9 +140,8 @@ export class GetUserResponseBodyUser extends $dara.Model {
140
140
  * @remarks
141
141
  * The type of the user. Valid values:
142
142
  *
143
- * - Manual: The user was created manually.
144
- *
145
- * - Synchronized: The user was synchronized from an external IdP.
143
+ * - Manual: Manually created.
144
+ * - Synchronized: Synchronized from an external identity provider.
146
145
  *
147
146
  * @example
148
147
  * Manual
@@ -152,9 +151,8 @@ export class GetUserResponseBodyUser extends $dara.Model {
152
151
  * @remarks
153
152
  * The status of the user. Valid values:
154
153
  *
155
- * - Enabled
156
- *
157
- * - Disabled
154
+ * - Enabled: Enabled.
155
+ * - Disabled: Disabled.
158
156
  *
159
157
  * @example
160
158
  * Enabled
@@ -162,12 +160,12 @@ export class GetUserResponseBodyUser extends $dara.Model {
162
160
  status?: string;
163
161
  /**
164
162
  * @remarks
165
- * The tags attached to the user.
163
+ * The list of tags.
166
164
  */
167
165
  tags?: GetUserResponseBodyUserTags[];
168
166
  /**
169
167
  * @remarks
170
- * The time when the user was last modified. The time is in UTC.
168
+ * The time when the user was last modified (in UTC).
171
169
  *
172
170
  * @example
173
171
  * 2021-10-26T06:43:55Z
@@ -175,7 +173,7 @@ export class GetUserResponseBodyUser extends $dara.Model {
175
173
  updateTime?: string;
176
174
  /**
177
175
  * @remarks
178
- * The ID of the user.
176
+ * The user ID.
179
177
  *
180
178
  * @example
181
179
  * u-00q8wbq42wiltcrk****
@@ -183,7 +181,7 @@ export class GetUserResponseBodyUser extends $dara.Model {
183
181
  userId?: string;
184
182
  /**
185
183
  * @remarks
186
- * The username.
184
+ * The username of the user.
187
185
  *
188
186
  * @example
189
187
  * Alice
@@ -251,7 +249,7 @@ export class GetUserResponseBody extends $dara.Model {
251
249
  requestId?: string;
252
250
  /**
253
251
  * @remarks
254
- * The information about the user.
252
+ * The user information.
255
253
  */
256
254
  user?: GetUserResponseBodyUser;
257
255
  static names(): { [key: string]: string } {
@@ -41,6 +41,11 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
41
41
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
42
42
  */
43
43
  nextToken?: string;
44
+ /**
45
+ * @example
46
+ * 114240524784****
47
+ */
48
+ originTargetId?: string;
44
49
  /**
45
50
  * @remarks
46
51
  * The ID of the CloudSSO identity. The ID can be used to filter access permissions.
@@ -97,6 +102,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
97
102
  directoryId: 'DirectoryId',
98
103
  maxResults: 'MaxResults',
99
104
  nextToken: 'NextToken',
105
+ originTargetId: 'OriginTargetId',
100
106
  principalId: 'PrincipalId',
101
107
  principalType: 'PrincipalType',
102
108
  targetId: 'TargetId',
@@ -110,6 +116,7 @@ export class ListAccessAssignmentsRequest extends $dara.Model {
110
116
  directoryId: 'string',
111
117
  maxResults: 'number',
112
118
  nextToken: 'string',
119
+ originTargetId: 'string',
113
120
  principalId: 'string',
114
121
  principalType: 'string',
115
122
  targetId: 'string',
@@ -27,6 +27,11 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
27
27
  * 2021-11-04T10:03:08Z
28
28
  */
29
29
  createTime?: string;
30
+ /**
31
+ * @example
32
+ * 114240524784****
33
+ */
34
+ originTargetId?: string;
30
35
  /**
31
36
  * @remarks
32
37
  * The ID of the CloudSSO identity.
@@ -96,6 +101,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
96
101
  accessConfigurationId: 'AccessConfigurationId',
97
102
  accessConfigurationName: 'AccessConfigurationName',
98
103
  createTime: 'CreateTime',
104
+ originTargetId: 'OriginTargetId',
99
105
  principalId: 'PrincipalId',
100
106
  principalName: 'PrincipalName',
101
107
  principalType: 'PrincipalType',
@@ -112,6 +118,7 @@ export class ListAccessAssignmentsResponseBodyAccessAssignments extends $dara.Mo
112
118
  accessConfigurationId: 'string',
113
119
  accessConfigurationName: 'string',
114
120
  createTime: 'string',
121
+ originTargetId: 'string',
115
122
  principalId: 'string',
116
123
  principalName: 'string',
117
124
  principalType: 'string',
@@ -41,6 +41,11 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
41
41
  * K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
42
42
  */
43
43
  nextToken?: string;
44
+ /**
45
+ * @example
46
+ * 114240524784****
47
+ */
48
+ originTargetId?: string;
44
49
  /**
45
50
  * @remarks
46
51
  * The status of the access configuration. The value can be used to filter accounts. Valid values:
@@ -83,6 +88,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
83
88
  directoryId: 'DirectoryId',
84
89
  maxResults: 'MaxResults',
85
90
  nextToken: 'NextToken',
91
+ originTargetId: 'OriginTargetId',
86
92
  provisioningStatus: 'ProvisioningStatus',
87
93
  targetId: 'TargetId',
88
94
  targetType: 'TargetType',
@@ -95,6 +101,7 @@ export class ListAccessConfigurationProvisioningsRequest extends $dara.Model {
95
101
  directoryId: 'string',
96
102
  maxResults: 'number',
97
103
  nextToken: 'string',
104
+ originTargetId: 'string',
98
105
  provisioningStatus: 'string',
99
106
  targetId: 'string',
100
107
  targetType: 'string',
@@ -27,6 +27,11 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
27
27
  * 2021-07-26T08:54:14Z
28
28
  */
29
29
  createTime?: string;
30
+ /**
31
+ * @example
32
+ * 114240524784****
33
+ */
34
+ originTargetId?: string;
30
35
  /**
31
36
  * @remarks
32
37
  * The name of the custom policy that is created for an account in the resource directory.
@@ -113,6 +118,7 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
113
118
  accessConfigurationId: 'AccessConfigurationId',
114
119
  accessConfigurationName: 'AccessConfigurationName',
115
120
  createTime: 'CreateTime',
121
+ originTargetId: 'OriginTargetId',
116
122
  RAMPolicyNames: 'RAMPolicyNames',
117
123
  RAMRoleName: 'RAMRoleName',
118
124
  SAMLProviderName: 'SAMLProviderName',
@@ -131,6 +137,7 @@ export class ListAccessConfigurationProvisioningsResponseBodyAccessConfiguration
131
137
  accessConfigurationId: 'string',
132
138
  accessConfigurationName: 'string',
133
139
  createTime: 'string',
140
+ originTargetId: 'string',
134
141
  RAMPolicyNames: { 'type': 'array', 'itemType': 'string' },
135
142
  RAMRoleName: 'string',
136
143
  SAMLProviderName: 'string',