tencentcloud-sdk-nodejs-intl-en 3.0.410 → 3.0.413
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/package.json +1 -1
- package/tencentcloud/batch/v20170312/batch_client.js +0 -14
- package/tencentcloud/batch/v20170312/models.js +0 -206
- package/tencentcloud/cam/v20190116/cam_client.js +63 -24
- package/tencentcloud/cam/v20190116/models.js +445 -123
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +39 -12
- package/tencentcloud/cynosdb/v20190107/models.js +359 -498
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +50 -259
- package/tencentcloud/dcdb/v20180411/models.js +1490 -3771
- package/tencentcloud/es/v20180416/es_client.js +13 -0
- package/tencentcloud/es/v20180416/models.js +100 -0
- package/tencentcloud/live/v20180801/live_client.js +2 -29
- package/tencentcloud/live/v20180801/models.js +68 -476
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +43 -398
- package/tencentcloud/mariadb/v20170312/models.js +1356 -4749
- package/tencentcloud/monitor/v20180724/models.js +111 -0
- package/tencentcloud/monitor/v20180724/monitor_client.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +14 -0
- package/tencentcloud/privatedns/v20201028/models.js +199 -808
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +26 -92
- package/tencentcloud/redis/v20180412/models.js +838 -8348
- package/tencentcloud/redis/v20180412/redis_client.js +85 -819
- package/tencentcloud/ses/v20201002/models.js +66 -619
- package/tencentcloud/ses/v20201002/ses_client.js +109 -163
- package/tencentcloud/tke/v20180525/models.js +132 -30
- package/tencentcloud/tke/v20180525/tke_client.js +2 -1
- package/tencentcloud/vpc/v20170312/models.js +288 -1824
- package/tencentcloud/vpc/v20170312/vpc_client.js +58 -245
package/package.json
CHANGED
|
@@ -19,7 +19,6 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const EventVar = models.EventVar;
|
|
20
20
|
const AnonymousComputeEnv = models.AnonymousComputeEnv;
|
|
21
21
|
const DeleteComputeEnvResponse = models.DeleteComputeEnvResponse;
|
|
22
|
-
const SubmitJobRequest = models.SubmitJobRequest;
|
|
23
22
|
const ComputeEnvData = models.ComputeEnvData;
|
|
24
23
|
const Authentication = models.Authentication;
|
|
25
24
|
const RetryJobsResponse = models.RetryJobsResponse;
|
|
@@ -52,7 +51,6 @@ const TerminateComputeNodesRequest = models.TerminateComputeNodesRequest;
|
|
|
52
51
|
const LocalDiskType = models.LocalDiskType;
|
|
53
52
|
const DescribeComputeEnvActivitiesRequest = models.DescribeComputeEnvActivitiesRequest;
|
|
54
53
|
const CreateTaskTemplateRequest = models.CreateTaskTemplateRequest;
|
|
55
|
-
const Job = models.Job;
|
|
56
54
|
const DeleteComputeEnvRequest = models.DeleteComputeEnvRequest;
|
|
57
55
|
const CreateComputeEnvRequest = models.CreateComputeEnvRequest;
|
|
58
56
|
const DescribeComputeEnvCreateInfoResponse = models.DescribeComputeEnvCreateInfoResponse;
|
|
@@ -86,7 +84,6 @@ const DescribeJobRequest = models.DescribeJobRequest;
|
|
|
86
84
|
const RedirectInfo = models.RedirectInfo;
|
|
87
85
|
const DescribeInstanceCategoriesResponse = models.DescribeInstanceCategoriesResponse;
|
|
88
86
|
const ModifyTaskTemplateResponse = models.ModifyTaskTemplateResponse;
|
|
89
|
-
const SubmitJobResponse = models.SubmitJobResponse;
|
|
90
87
|
const InputMapping = models.InputMapping;
|
|
91
88
|
const RedirectLocalInfo = models.RedirectLocalInfo;
|
|
92
89
|
const DescribeJobSubmitInfoRequest = models.DescribeJobSubmitInfoRequest;
|
|
@@ -305,17 +302,6 @@ Instance termination is an asynchronous process, and the time it takes to comple
|
|
|
305
302
|
this.request("DescribeJob", req, resp, cb);
|
|
306
303
|
}
|
|
307
304
|
|
|
308
|
-
/**
|
|
309
|
-
* This API is used to submit a instance.
|
|
310
|
-
* @param {SubmitJobRequest} req
|
|
311
|
-
* @param {function(string, SubmitJobResponse):void} cb
|
|
312
|
-
* @public
|
|
313
|
-
*/
|
|
314
|
-
SubmitJob(req, cb) {
|
|
315
|
-
let resp = new SubmitJobResponse();
|
|
316
|
-
this.request("SubmitJob", req, resp, cb);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
305
|
/**
|
|
320
306
|
* This API is used to terminate compute nodes in batches. It is not allowed to repeatedly terminate the same node.
|
|
321
307
|
* @param {TerminateComputeNodesRequest} req
|
|
@@ -146,58 +146,6 @@ class DeleteComputeEnvResponse extends AbstractModel {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
/**
|
|
150
|
-
* SubmitJob request structure.
|
|
151
|
-
* @class
|
|
152
|
-
*/
|
|
153
|
-
class SubmitJobRequest extends AbstractModel {
|
|
154
|
-
constructor(){
|
|
155
|
-
super();
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Location information of the submitted job. This parameter allows you to specify information such as the availability zone of the CVM instance with which the job is associated.
|
|
159
|
-
* @type {Placement || null}
|
|
160
|
-
*/
|
|
161
|
-
this.Placement = null;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Job information
|
|
165
|
-
* @type {Job || null}
|
|
166
|
-
*/
|
|
167
|
-
this.Job = null;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
|
|
171
|
-
* @type {string || null}
|
|
172
|
-
*/
|
|
173
|
-
this.ClientToken = null;
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @private
|
|
179
|
-
*/
|
|
180
|
-
deserialize(params) {
|
|
181
|
-
if (!params) {
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
if (params.Placement) {
|
|
186
|
-
let obj = new Placement();
|
|
187
|
-
obj.deserialize(params.Placement)
|
|
188
|
-
this.Placement = obj;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
if (params.Job) {
|
|
192
|
-
let obj = new Job();
|
|
193
|
-
obj.deserialize(params.Job)
|
|
194
|
-
this.Job = obj;
|
|
195
|
-
}
|
|
196
|
-
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
149
|
/**
|
|
202
150
|
* Compute environment attributes
|
|
203
151
|
* @class
|
|
@@ -2107,122 +2055,6 @@ class CreateTaskTemplateRequest extends AbstractModel {
|
|
|
2107
2055
|
}
|
|
2108
2056
|
}
|
|
2109
2057
|
|
|
2110
|
-
/**
|
|
2111
|
-
* Instance
|
|
2112
|
-
* @class
|
|
2113
|
-
*/
|
|
2114
|
-
class Job extends AbstractModel {
|
|
2115
|
-
constructor(){
|
|
2116
|
-
super();
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* Job information
|
|
2120
|
-
* @type {Array.<Task> || null}
|
|
2121
|
-
*/
|
|
2122
|
-
this.Tasks = null;
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* Instance name
|
|
2126
|
-
* @type {string || null}
|
|
2127
|
-
*/
|
|
2128
|
-
this.JobName = null;
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* Instance description
|
|
2132
|
-
* @type {string || null}
|
|
2133
|
-
*/
|
|
2134
|
-
this.JobDescription = null;
|
|
2135
|
-
|
|
2136
|
-
/**
|
|
2137
|
-
* Instance priority. Tasks (Task) and task instances (TaskInstance) inherit the priority of the instance
|
|
2138
|
-
* @type {number || null}
|
|
2139
|
-
*/
|
|
2140
|
-
this.Priority = null;
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Dependency information
|
|
2144
|
-
* @type {Array.<Dependence> || null}
|
|
2145
|
-
*/
|
|
2146
|
-
this.Dependences = null;
|
|
2147
|
-
|
|
2148
|
-
/**
|
|
2149
|
-
* Notification information
|
|
2150
|
-
* @type {Array.<Notification> || null}
|
|
2151
|
-
*/
|
|
2152
|
-
this.Notifications = null;
|
|
2153
|
-
|
|
2154
|
-
/**
|
|
2155
|
-
* This is the dependency of the subsequent task on the previous task if there is a dependent relationship between them. Value range: PRE_TASK_SUCCEED, PRE_TASK_AT_LEAST_PARTLY_SUCCEED, PRE_TASK_FINISHED. Default value: PRE_TASK_SUCCEED.
|
|
2156
|
-
* @type {string || null}
|
|
2157
|
-
*/
|
|
2158
|
-
this.TaskExecutionDependOn = null;
|
|
2159
|
-
|
|
2160
|
-
/**
|
|
2161
|
-
* Indicates which policy will be used in case that CVM instance creation fails. Value range: FAILED, RUNNABLE. FAILED indicates that the CVM instance creation failure will be processed as an execution failure, while RUNNABLE indicates that the failure will be processed as "keep waiting". Default value: FAILED. StateIfCreateCvmFailed is not valid for submitted jobs for which a compute environment is specified.
|
|
2162
|
-
* @type {string || null}
|
|
2163
|
-
*/
|
|
2164
|
-
this.StateIfCreateCvmFailed = null;
|
|
2165
|
-
|
|
2166
|
-
/**
|
|
2167
|
-
* Tag list. By setting this parameter, you can bind tags to a job. Each job supports up to 10 tags.
|
|
2168
|
-
* @type {Array.<Tag> || null}
|
|
2169
|
-
*/
|
|
2170
|
-
this.Tags = null;
|
|
2171
|
-
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
/**
|
|
2175
|
-
* @private
|
|
2176
|
-
*/
|
|
2177
|
-
deserialize(params) {
|
|
2178
|
-
if (!params) {
|
|
2179
|
-
return;
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
if (params.Tasks) {
|
|
2183
|
-
this.Tasks = new Array();
|
|
2184
|
-
for (let z in params.Tasks) {
|
|
2185
|
-
let obj = new Task();
|
|
2186
|
-
obj.deserialize(params.Tasks[z]);
|
|
2187
|
-
this.Tasks.push(obj);
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
this.JobName = 'JobName' in params ? params.JobName : null;
|
|
2191
|
-
this.JobDescription = 'JobDescription' in params ? params.JobDescription : null;
|
|
2192
|
-
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
2193
|
-
|
|
2194
|
-
if (params.Dependences) {
|
|
2195
|
-
this.Dependences = new Array();
|
|
2196
|
-
for (let z in params.Dependences) {
|
|
2197
|
-
let obj = new Dependence();
|
|
2198
|
-
obj.deserialize(params.Dependences[z]);
|
|
2199
|
-
this.Dependences.push(obj);
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
if (params.Notifications) {
|
|
2204
|
-
this.Notifications = new Array();
|
|
2205
|
-
for (let z in params.Notifications) {
|
|
2206
|
-
let obj = new Notification();
|
|
2207
|
-
obj.deserialize(params.Notifications[z]);
|
|
2208
|
-
this.Notifications.push(obj);
|
|
2209
|
-
}
|
|
2210
|
-
}
|
|
2211
|
-
this.TaskExecutionDependOn = 'TaskExecutionDependOn' in params ? params.TaskExecutionDependOn : null;
|
|
2212
|
-
this.StateIfCreateCvmFailed = 'StateIfCreateCvmFailed' in params ? params.StateIfCreateCvmFailed : null;
|
|
2213
|
-
|
|
2214
|
-
if (params.Tags) {
|
|
2215
|
-
this.Tags = new Array();
|
|
2216
|
-
for (let z in params.Tags) {
|
|
2217
|
-
let obj = new Tag();
|
|
2218
|
-
obj.deserialize(params.Tags[z]);
|
|
2219
|
-
this.Tags.push(obj);
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
}
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2226
2058
|
/**
|
|
2227
2059
|
* DeleteComputeEnv request structure.
|
|
2228
2060
|
* @class
|
|
@@ -4099,41 +3931,6 @@ class ModifyTaskTemplateResponse extends AbstractModel {
|
|
|
4099
3931
|
}
|
|
4100
3932
|
}
|
|
4101
3933
|
|
|
4102
|
-
/**
|
|
4103
|
-
* SubmitJob response structure.
|
|
4104
|
-
* @class
|
|
4105
|
-
*/
|
|
4106
|
-
class SubmitJobResponse extends AbstractModel {
|
|
4107
|
-
constructor(){
|
|
4108
|
-
super();
|
|
4109
|
-
|
|
4110
|
-
/**
|
|
4111
|
-
* When a job is submitted through this API, this parameter is returned and indicates the job ID. Returning the list of job IDs does not mean that the job is parsed/executed successfully. The job state can be queried using the DescribeJob API.
|
|
4112
|
-
* @type {string || null}
|
|
4113
|
-
*/
|
|
4114
|
-
this.JobId = null;
|
|
4115
|
-
|
|
4116
|
-
/**
|
|
4117
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4118
|
-
* @type {string || null}
|
|
4119
|
-
*/
|
|
4120
|
-
this.RequestId = null;
|
|
4121
|
-
|
|
4122
|
-
}
|
|
4123
|
-
|
|
4124
|
-
/**
|
|
4125
|
-
* @private
|
|
4126
|
-
*/
|
|
4127
|
-
deserialize(params) {
|
|
4128
|
-
if (!params) {
|
|
4129
|
-
return;
|
|
4130
|
-
}
|
|
4131
|
-
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
4132
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4133
|
-
|
|
4134
|
-
}
|
|
4135
|
-
}
|
|
4136
|
-
|
|
4137
3934
|
/**
|
|
4138
3935
|
* Input mapping
|
|
4139
3936
|
* @class
|
|
@@ -6634,7 +6431,6 @@ module.exports = {
|
|
|
6634
6431
|
EventVar: EventVar,
|
|
6635
6432
|
AnonymousComputeEnv: AnonymousComputeEnv,
|
|
6636
6433
|
DeleteComputeEnvResponse: DeleteComputeEnvResponse,
|
|
6637
|
-
SubmitJobRequest: SubmitJobRequest,
|
|
6638
6434
|
ComputeEnvData: ComputeEnvData,
|
|
6639
6435
|
Authentication: Authentication,
|
|
6640
6436
|
RetryJobsResponse: RetryJobsResponse,
|
|
@@ -6667,7 +6463,6 @@ module.exports = {
|
|
|
6667
6463
|
LocalDiskType: LocalDiskType,
|
|
6668
6464
|
DescribeComputeEnvActivitiesRequest: DescribeComputeEnvActivitiesRequest,
|
|
6669
6465
|
CreateTaskTemplateRequest: CreateTaskTemplateRequest,
|
|
6670
|
-
Job: Job,
|
|
6671
6466
|
DeleteComputeEnvRequest: DeleteComputeEnvRequest,
|
|
6672
6467
|
CreateComputeEnvRequest: CreateComputeEnvRequest,
|
|
6673
6468
|
DescribeComputeEnvCreateInfoResponse: DescribeComputeEnvCreateInfoResponse,
|
|
@@ -6701,7 +6496,6 @@ module.exports = {
|
|
|
6701
6496
|
RedirectInfo: RedirectInfo,
|
|
6702
6497
|
DescribeInstanceCategoriesResponse: DescribeInstanceCategoriesResponse,
|
|
6703
6498
|
ModifyTaskTemplateResponse: ModifyTaskTemplateResponse,
|
|
6704
|
-
SubmitJobResponse: SubmitJobResponse,
|
|
6705
6499
|
InputMapping: InputMapping,
|
|
6706
6500
|
RedirectLocalInfo: RedirectLocalInfo,
|
|
6707
6501
|
DescribeJobSubmitInfoRequest: DescribeJobSubmitInfoRequest,
|
|
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const SubAccountUser = models.SubAccountUser;
|
|
20
20
|
const ListAttachedRolePoliciesResponse = models.ListAttachedRolePoliciesResponse;
|
|
21
21
|
const LoginActionFlagIntl = models.LoginActionFlagIntl;
|
|
22
|
+
const UpdateUserOIDCConfigResponse = models.UpdateUserOIDCConfigResponse;
|
|
22
23
|
const ListAccessKeysRequest = models.ListAccessKeysRequest;
|
|
23
24
|
const SetMfaFlagResponse = models.SetMfaFlagResponse;
|
|
24
25
|
const DeleteUserRequest = models.DeleteUserRequest;
|
|
@@ -30,6 +31,7 @@ const CreateServiceLinkedRoleRequest = models.CreateServiceLinkedRoleRequest;
|
|
|
30
31
|
const ListAttachedGroupPoliciesRequest = models.ListAttachedGroupPoliciesRequest;
|
|
31
32
|
const ListGroupsForUserRequest = models.ListGroupsForUserRequest;
|
|
32
33
|
const AttachRolePolicyResponse = models.AttachRolePolicyResponse;
|
|
34
|
+
const UpdatePolicyResponse = models.UpdatePolicyResponse;
|
|
33
35
|
const GetServiceLinkedRoleDeletionStatusResponse = models.GetServiceLinkedRoleDeletionStatusResponse;
|
|
34
36
|
const GetSecurityLastUsedRequest = models.GetSecurityLastUsedRequest;
|
|
35
37
|
const DescribeUserSAMLConfigResponse = models.DescribeUserSAMLConfigResponse;
|
|
@@ -45,6 +47,7 @@ const ListPolicyVersionsRequest = models.ListPolicyVersionsRequest;
|
|
|
45
47
|
const GetCustomMFATokenInfoRequest = models.GetCustomMFATokenInfoRequest;
|
|
46
48
|
const DescribeRoleListRequest = models.DescribeRoleListRequest;
|
|
47
49
|
const DescribeUserSAMLConfigRequest = models.DescribeUserSAMLConfigRequest;
|
|
50
|
+
const PutRolePermissionsBoundaryRequest = models.PutRolePermissionsBoundaryRequest;
|
|
48
51
|
const GetGroupRequest = models.GetGroupRequest;
|
|
49
52
|
const DeleteRoleResponse = models.DeleteRoleResponse;
|
|
50
53
|
const PolicyVersionItem = models.PolicyVersionItem;
|
|
@@ -64,11 +67,11 @@ const OffsiteFlag = models.OffsiteFlag;
|
|
|
64
67
|
const GroupIdOfUidInfo = models.GroupIdOfUidInfo;
|
|
65
68
|
const UpdateRoleDescriptionRequest = models.UpdateRoleDescriptionRequest;
|
|
66
69
|
const UpdateUserSAMLConfigRequest = models.UpdateUserSAMLConfigRequest;
|
|
67
|
-
const
|
|
70
|
+
const SetDefaultPolicyVersionRequest = models.SetDefaultPolicyVersionRequest;
|
|
68
71
|
const RoleInfo = models.RoleInfo;
|
|
69
|
-
const DescribeSafeAuthFlagResponse = models.DescribeSafeAuthFlagResponse;
|
|
70
72
|
const CreatePolicyVersionRequest = models.CreatePolicyVersionRequest;
|
|
71
73
|
const SecretIdLastUsed = models.SecretIdLastUsed;
|
|
74
|
+
const CreateUserOIDCConfigResponse = models.CreateUserOIDCConfigResponse;
|
|
72
75
|
const ListAttachedUserAllPoliciesResponse = models.ListAttachedUserAllPoliciesResponse;
|
|
73
76
|
const DeleteGroupRequest = models.DeleteGroupRequest;
|
|
74
77
|
const GetUserResponse = models.GetUserResponse;
|
|
@@ -76,6 +79,7 @@ const DeleteUserResponse = models.DeleteUserResponse;
|
|
|
76
79
|
const DetachRolePolicyRequest = models.DetachRolePolicyRequest;
|
|
77
80
|
const DeleteRolePermissionsBoundaryRequest = models.DeleteRolePermissionsBoundaryRequest;
|
|
78
81
|
const StrategyInfo = models.StrategyInfo;
|
|
82
|
+
const DescribeUserOIDCConfigResponse = models.DescribeUserOIDCConfigResponse;
|
|
79
83
|
const DeletePolicyRequest = models.DeletePolicyRequest;
|
|
80
84
|
const GroupInfo = models.GroupInfo;
|
|
81
85
|
const AddUserRequest = models.AddUserRequest;
|
|
@@ -93,11 +97,12 @@ const LoginActionMfaFlag = models.LoginActionMfaFlag;
|
|
|
93
97
|
const SubAccountInfo = models.SubAccountInfo;
|
|
94
98
|
const CreateGroupRequest = models.CreateGroupRequest;
|
|
95
99
|
const SAMLProviderInfo = models.SAMLProviderInfo;
|
|
100
|
+
const DisableUserSSORequest = models.DisableUserSSORequest;
|
|
96
101
|
const UpdateSAMLProviderResponse = models.UpdateSAMLProviderResponse;
|
|
97
102
|
const UpdateUserRequest = models.UpdateUserRequest;
|
|
98
103
|
const CreateSAMLProviderRequest = models.CreateSAMLProviderRequest;
|
|
99
104
|
const AttachPolicyInfo = models.AttachPolicyInfo;
|
|
100
|
-
const
|
|
105
|
+
const ConsumeCustomMFATokenRequest = models.ConsumeCustomMFATokenRequest;
|
|
101
106
|
const UpdateRoleConsoleLoginResponse = models.UpdateRoleConsoleLoginResponse;
|
|
102
107
|
const AttachRolePolicyRequest = models.AttachRolePolicyRequest;
|
|
103
108
|
const ConsumeCustomMFATokenResponse = models.ConsumeCustomMFATokenResponse;
|
|
@@ -106,7 +111,7 @@ const ListAttachedGroupPoliciesResponse = models.ListAttachedGroupPoliciesRespon
|
|
|
106
111
|
const ListAttachedUserPoliciesResponse = models.ListAttachedUserPoliciesResponse;
|
|
107
112
|
const PutUserPermissionsBoundaryResponse = models.PutUserPermissionsBoundaryResponse;
|
|
108
113
|
const DeletePolicyResponse = models.DeletePolicyResponse;
|
|
109
|
-
const
|
|
114
|
+
const DisableUserSSOResponse = models.DisableUserSSOResponse;
|
|
110
115
|
const AccessKey = models.AccessKey;
|
|
111
116
|
const GetGroupResponse = models.GetGroupResponse;
|
|
112
117
|
const DeleteSAMLProviderRequest = models.DeleteSAMLProviderRequest;
|
|
@@ -116,7 +121,7 @@ const GetAccountSummaryResponse = models.GetAccountSummaryResponse;
|
|
|
116
121
|
const CreateServiceLinkedRoleResponse = models.CreateServiceLinkedRoleResponse;
|
|
117
122
|
const ListUsersRequest = models.ListUsersRequest;
|
|
118
123
|
const ListCollaboratorsRequest = models.ListCollaboratorsRequest;
|
|
119
|
-
const
|
|
124
|
+
const CreateUserOIDCConfigRequest = models.CreateUserOIDCConfigRequest;
|
|
120
125
|
const AttachGroupPolicyResponse = models.AttachGroupPolicyResponse;
|
|
121
126
|
const UpdateGroupResponse = models.UpdateGroupResponse;
|
|
122
127
|
const ListEntitiesForPolicyRequest = models.ListEntitiesForPolicyRequest;
|
|
@@ -135,10 +140,11 @@ const DescribeSafeAuthFlagIntlResponse = models.DescribeSafeAuthFlagIntlResponse
|
|
|
135
140
|
const ListPolicyVersionsResponse = models.ListPolicyVersionsResponse;
|
|
136
141
|
const GetPolicyRequest = models.GetPolicyRequest;
|
|
137
142
|
const DescribeSafeAuthFlagIntlRequest = models.DescribeSafeAuthFlagIntlRequest;
|
|
138
|
-
const
|
|
143
|
+
const UpdateUserOIDCConfigRequest = models.UpdateUserOIDCConfigRequest;
|
|
139
144
|
const AddUserToGroupRequest = models.AddUserToGroupRequest;
|
|
140
145
|
const RemoveUserFromGroupResponse = models.RemoveUserFromGroupResponse;
|
|
141
146
|
const DetachRolePolicyResponse = models.DetachRolePolicyResponse;
|
|
147
|
+
const DescribeUserOIDCConfigRequest = models.DescribeUserOIDCConfigRequest;
|
|
142
148
|
const AttachedPolicyOfRole = models.AttachedPolicyOfRole;
|
|
143
149
|
const PutUserPermissionsBoundaryRequest = models.PutUserPermissionsBoundaryRequest;
|
|
144
150
|
const ListSAMLProvidersResponse = models.ListSAMLProvidersResponse;
|
|
@@ -151,7 +157,7 @@ const CreateRoleRequest = models.CreateRoleRequest;
|
|
|
151
157
|
const AttachedUserPolicy = models.AttachedUserPolicy;
|
|
152
158
|
const DeleteServiceLinkedRoleResponse = models.DeleteServiceLinkedRoleResponse;
|
|
153
159
|
const GetPolicyResponse = models.GetPolicyResponse;
|
|
154
|
-
const
|
|
160
|
+
const DeleteGroupResponse = models.DeleteGroupResponse;
|
|
155
161
|
const AttachGroupPolicyRequest = models.AttachGroupPolicyRequest;
|
|
156
162
|
const DeleteServiceLinkedRoleRequest = models.DeleteServiceLinkedRoleRequest;
|
|
157
163
|
const AttachEntityOfPolicy = models.AttachEntityOfPolicy;
|
|
@@ -297,6 +303,17 @@ class CamClient extends AbstractClient {
|
|
|
297
303
|
this.request("CreateRole", req, resp, cb);
|
|
298
304
|
}
|
|
299
305
|
|
|
306
|
+
/**
|
|
307
|
+
* This API is used to modify the user OIDC configuration.
|
|
308
|
+
* @param {UpdateUserOIDCConfigRequest} req
|
|
309
|
+
* @param {function(string, UpdateUserOIDCConfigResponse):void} cb
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
UpdateUserOIDCConfig(req, cb) {
|
|
313
|
+
let resp = new UpdateUserOIDCConfigResponse();
|
|
314
|
+
this.request("UpdateUserOIDCConfig", req, resp, cb);
|
|
315
|
+
}
|
|
316
|
+
|
|
300
317
|
/**
|
|
301
318
|
* This API is used to set a role permission boundary.
|
|
302
319
|
* @param {PutRolePermissionsBoundaryRequest} req
|
|
@@ -550,6 +567,17 @@ class CamClient extends AbstractClient {
|
|
|
550
567
|
this.request("GetServiceLinkedRoleDeletionStatus", req, resp, cb);
|
|
551
568
|
}
|
|
552
569
|
|
|
570
|
+
/**
|
|
571
|
+
* This API is used to query the user OIDC configuration.
|
|
572
|
+
* @param {DescribeUserOIDCConfigRequest} req
|
|
573
|
+
* @param {function(string, DescribeUserOIDCConfigResponse):void} cb
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
DescribeUserOIDCConfig(req, cb) {
|
|
577
|
+
let resp = new DescribeUserOIDCConfigResponse();
|
|
578
|
+
this.request("DescribeUserOIDCConfig", req, resp, cb);
|
|
579
|
+
}
|
|
580
|
+
|
|
553
581
|
/**
|
|
554
582
|
* This API is used to verify a custom multi-factor Token.
|
|
555
583
|
* @param {ConsumeCustomMFATokenRequest} req
|
|
@@ -682,17 +710,6 @@ class CamClient extends AbstractClient {
|
|
|
682
710
|
this.request("ListPolicyVersions", req, resp, cb);
|
|
683
711
|
}
|
|
684
712
|
|
|
685
|
-
/**
|
|
686
|
-
* This API is used to query security settings.
|
|
687
|
-
* @param {DescribeSafeAuthFlagRequest} req
|
|
688
|
-
* @param {function(string, DescribeSafeAuthFlagResponse):void} cb
|
|
689
|
-
* @public
|
|
690
|
-
*/
|
|
691
|
-
DescribeSafeAuthFlag(req, cb) {
|
|
692
|
-
let resp = new DescribeSafeAuthFlagResponse();
|
|
693
|
-
this.request("DescribeSafeAuthFlag", req, resp, cb);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
713
|
/**
|
|
697
714
|
* This API is used to query security settings.
|
|
698
715
|
* @param {DescribeSafeAuthFlagIntlRequest} req
|
|
@@ -704,6 +721,17 @@ class CamClient extends AbstractClient {
|
|
|
704
721
|
this.request("DescribeSafeAuthFlagIntl", req, resp, cb);
|
|
705
722
|
}
|
|
706
723
|
|
|
724
|
+
/**
|
|
725
|
+
* This API is used to update a user group.
|
|
726
|
+
* @param {UpdateGroupRequest} req
|
|
727
|
+
* @param {function(string, UpdateGroupResponse):void} cb
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
UpdateGroup(req, cb) {
|
|
731
|
+
let resp = new UpdateGroupResponse();
|
|
732
|
+
this.request("UpdateGroup", req, resp, cb);
|
|
733
|
+
}
|
|
734
|
+
|
|
707
735
|
/**
|
|
708
736
|
* This API (GetRole) is used to get the details of a specified role.
|
|
709
737
|
* @param {GetRoleRequest} req
|
|
@@ -847,6 +875,17 @@ class CamClient extends AbstractClient {
|
|
|
847
875
|
this.request("ListEntitiesForPolicy", req, resp, cb);
|
|
848
876
|
}
|
|
849
877
|
|
|
878
|
+
/**
|
|
879
|
+
* This API is used to create a user OIDC configuration. Only one user OIDC IdP can be created, and the user SAML SSO IdP will be automatically disabled after it is created.
|
|
880
|
+
* @param {CreateUserOIDCConfigRequest} req
|
|
881
|
+
* @param {function(string, CreateUserOIDCConfigResponse):void} cb
|
|
882
|
+
* @public
|
|
883
|
+
*/
|
|
884
|
+
CreateUserOIDCConfig(req, cb) {
|
|
885
|
+
let resp = new CreateUserOIDCConfigResponse();
|
|
886
|
+
this.request("CreateUserOIDCConfig", req, resp, cb);
|
|
887
|
+
}
|
|
888
|
+
|
|
850
889
|
/**
|
|
851
890
|
* This API is used to modify user SAML configurations.
|
|
852
891
|
* @param {UpdateUserSAMLConfigRequest} req
|
|
@@ -881,14 +920,14 @@ class CamClient extends AbstractClient {
|
|
|
881
920
|
}
|
|
882
921
|
|
|
883
922
|
/**
|
|
884
|
-
* This API is used to
|
|
885
|
-
* @param {
|
|
886
|
-
* @param {function(string,
|
|
923
|
+
* This API is used to disable user SSO.
|
|
924
|
+
* @param {DisableUserSSORequest} req
|
|
925
|
+
* @param {function(string, DisableUserSSOResponse):void} cb
|
|
887
926
|
* @public
|
|
888
927
|
*/
|
|
889
|
-
|
|
890
|
-
let resp = new
|
|
891
|
-
this.request("
|
|
928
|
+
DisableUserSSO(req, cb) {
|
|
929
|
+
let resp = new DisableUserSSOResponse();
|
|
930
|
+
this.request("DisableUserSSO", req, resp, cb);
|
|
892
931
|
}
|
|
893
932
|
|
|
894
933
|
/**
|