@alicloud/eiam20211201 2.3.0 → 2.5.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 +195 -0
- package/dist/client.js +624 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.d.ts +40 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js +65 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js.map +1 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.d.ts +19 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js +69 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js.map +1 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.d.ts +18 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js +58 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.d.ts +53 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.js +64 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.d.ts +19 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.js +69 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.d.ts +18 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.js +58 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.d.ts +128 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.js +120 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.d.ts +23 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.js +60 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.d.ts +33 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.d.ts +31 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.d.ts +31 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.d.ts +33 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.d.ts +107 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.js +144 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.d.ts +57 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js +66 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.d.ts +19 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js +69 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.d.ts +68 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js +90 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.d.ts +55 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.js +66 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.d.ts +19 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.js +69 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.d.ts +108 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.js +100 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.d.ts +73 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.js +70 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.d.ts +19 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.js +69 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.d.ts +116 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.js +102 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.d.ts +40 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js +65 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.d.ts +19 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js +69 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.d.ts +18 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js +58 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.d.ts +53 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.js +64 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.d.ts +19 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.js +69 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.d.ts +18 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js +58 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.d.ts +92 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.js +118 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +49 -0
- package/dist/models/model.js +116 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +724 -22
- package/src/models/AddCustomPrivacyPoliciesToBrandRequest.ts +60 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponse.ts +40 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponseBody.ts +31 -0
- package/src/models/BindUserAuthnSourceMappingRequest.ts +72 -0
- package/src/models/BindUserAuthnSourceMappingResponse.ts +40 -0
- package/src/models/BindUserAuthnSourceMappingResponseBody.ts +31 -0
- package/src/models/CreateCustomPrivacyPolicyRequest.ts +185 -0
- package/src/models/CreateCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/CreateCustomPrivacyPolicyResponseBody.ts +38 -0
- package/src/models/DeleteCustomPrivacyPolicyRequest.ts +48 -0
- package/src/models/DeleteCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/DeleteCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/DisableCustomPrivacyPolicyRequest.ts +46 -0
- package/src/models/DisableCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/DisableCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/EnableCustomPrivacyPolicyRequest.ts +46 -0
- package/src/models/EnableCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/EnableCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/GetCustomPrivacyPolicyRequest.ts +48 -0
- package/src/models/GetCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/GetCustomPrivacyPolicyResponseBody.ts +179 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandRequest.ts +78 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandResponse.ts +40 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandResponseBody.ts +104 -0
- package/src/models/ListCustomPrivacyPoliciesRequest.ts +76 -0
- package/src/models/ListCustomPrivacyPoliciesResponse.ts +40 -0
- package/src/models/ListCustomPrivacyPoliciesResponseBody.ts +154 -0
- package/src/models/ListUserAuthnSourceMappingsRequest.ts +98 -0
- package/src/models/ListUserAuthnSourceMappingsResponse.ts +40 -0
- package/src/models/ListUserAuthnSourceMappingsResponseBody.ts +164 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandRequest.ts +60 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponse.ts +40 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.ts +31 -0
- package/src/models/UnbindUserAuthnSourceMappingRequest.ts +72 -0
- package/src/models/UnbindUserAuthnSourceMappingResponse.ts +40 -0
- package/src/models/UnbindUserAuthnSourceMappingResponseBody.ts +31 -0
- package/src/models/UpdateCustomPrivacyPolicyRequest.ts +147 -0
- package/src/models/UpdateCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/UpdateCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/model.ts +49 -0
package/src/client.ts
CHANGED
|
@@ -83,6 +83,56 @@ export default class Client extends OpenApi {
|
|
|
83
83
|
return await this.addApplicationAccountToUserWithOptions(request, runtime);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* 添加条款到品牌
|
|
88
|
+
*
|
|
89
|
+
* @param request - AddCustomPrivacyPoliciesToBrandRequest
|
|
90
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
91
|
+
* @returns AddCustomPrivacyPoliciesToBrandResponse
|
|
92
|
+
*/
|
|
93
|
+
async addCustomPrivacyPoliciesToBrandWithOptions(request: $_model.AddCustomPrivacyPoliciesToBrandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddCustomPrivacyPoliciesToBrandResponse> {
|
|
94
|
+
request.validate();
|
|
95
|
+
let query = { };
|
|
96
|
+
if (!$dara.isNull(request.brandId)) {
|
|
97
|
+
query["BrandId"] = request.brandId;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
101
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
105
|
+
query["InstanceId"] = request.instanceId;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
109
|
+
query: OpenApiUtil.query(query),
|
|
110
|
+
});
|
|
111
|
+
let params = new $OpenApiUtil.Params({
|
|
112
|
+
action: "AddCustomPrivacyPoliciesToBrand",
|
|
113
|
+
version: "2021-12-01",
|
|
114
|
+
protocol: "HTTPS",
|
|
115
|
+
pathname: "/",
|
|
116
|
+
method: "POST",
|
|
117
|
+
authType: "AK",
|
|
118
|
+
style: "RPC",
|
|
119
|
+
reqBodyType: "formData",
|
|
120
|
+
bodyType: "json",
|
|
121
|
+
});
|
|
122
|
+
return $dara.cast<$_model.AddCustomPrivacyPoliciesToBrandResponse>(await this.callApi(params, req, runtime), new $_model.AddCustomPrivacyPoliciesToBrandResponse({}));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 添加条款到品牌
|
|
127
|
+
*
|
|
128
|
+
* @param request - AddCustomPrivacyPoliciesToBrandRequest
|
|
129
|
+
* @returns AddCustomPrivacyPoliciesToBrandResponse
|
|
130
|
+
*/
|
|
131
|
+
async addCustomPrivacyPoliciesToBrand(request: $_model.AddCustomPrivacyPoliciesToBrandRequest): Promise<$_model.AddCustomPrivacyPoliciesToBrandResponse> {
|
|
132
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
133
|
+
return await this.addCustomPrivacyPoliciesToBrandWithOptions(request, runtime);
|
|
134
|
+
}
|
|
135
|
+
|
|
86
136
|
/**
|
|
87
137
|
* Adds an Employee Identity and Access Management (EIAM) account to multiple EIAM organizations of Identity as a Service (IDaaS). If the account already exists in the organizational unit, the system directly returns a success response.
|
|
88
138
|
*
|
|
@@ -333,6 +383,60 @@ export default class Client extends OpenApi {
|
|
|
333
383
|
return await this.authorizeApplicationToUsersWithOptions(request, runtime);
|
|
334
384
|
}
|
|
335
385
|
|
|
386
|
+
/**
|
|
387
|
+
* 绑定三方登录账户
|
|
388
|
+
*
|
|
389
|
+
* @param request - BindUserAuthnSourceMappingRequest
|
|
390
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
391
|
+
* @returns BindUserAuthnSourceMappingResponse
|
|
392
|
+
*/
|
|
393
|
+
async bindUserAuthnSourceMappingWithOptions(request: $_model.BindUserAuthnSourceMappingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BindUserAuthnSourceMappingResponse> {
|
|
394
|
+
request.validate();
|
|
395
|
+
let query = { };
|
|
396
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
397
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
401
|
+
query["InstanceId"] = request.instanceId;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
405
|
+
query["UserExternalId"] = request.userExternalId;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
if (!$dara.isNull(request.userId)) {
|
|
409
|
+
query["UserId"] = request.userId;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
413
|
+
query: OpenApiUtil.query(query),
|
|
414
|
+
});
|
|
415
|
+
let params = new $OpenApiUtil.Params({
|
|
416
|
+
action: "BindUserAuthnSourceMapping",
|
|
417
|
+
version: "2021-12-01",
|
|
418
|
+
protocol: "HTTPS",
|
|
419
|
+
pathname: "/",
|
|
420
|
+
method: "POST",
|
|
421
|
+
authType: "AK",
|
|
422
|
+
style: "RPC",
|
|
423
|
+
reqBodyType: "formData",
|
|
424
|
+
bodyType: "json",
|
|
425
|
+
});
|
|
426
|
+
return $dara.cast<$_model.BindUserAuthnSourceMappingResponse>(await this.callApi(params, req, runtime), new $_model.BindUserAuthnSourceMappingResponse({}));
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* 绑定三方登录账户
|
|
431
|
+
*
|
|
432
|
+
* @param request - BindUserAuthnSourceMappingRequest
|
|
433
|
+
* @returns BindUserAuthnSourceMappingResponse
|
|
434
|
+
*/
|
|
435
|
+
async bindUserAuthnSourceMapping(request: $_model.BindUserAuthnSourceMappingRequest): Promise<$_model.BindUserAuthnSourceMappingResponse> {
|
|
436
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
437
|
+
return await this.bindUserAuthnSourceMappingWithOptions(request, runtime);
|
|
438
|
+
}
|
|
439
|
+
|
|
336
440
|
/**
|
|
337
441
|
* Adds an application to an Enterprise Identity Access Management (EIAM) instance of Identity as a Service (IDaaS).
|
|
338
442
|
*
|
|
@@ -709,6 +813,72 @@ export default class Client extends OpenApi {
|
|
|
709
813
|
return await this.createConditionalAccessPolicyWithOptions(request, runtime);
|
|
710
814
|
}
|
|
711
815
|
|
|
816
|
+
/**
|
|
817
|
+
* 创建自定义条款
|
|
818
|
+
*
|
|
819
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
820
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
821
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
822
|
+
*/
|
|
823
|
+
async createCustomPrivacyPolicyWithOptions(request: $_model.CreateCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomPrivacyPolicyResponse> {
|
|
824
|
+
request.validate();
|
|
825
|
+
let query = { };
|
|
826
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
827
|
+
query["ClientToken"] = request.clientToken;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
831
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
835
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
839
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
843
|
+
query["InstanceId"] = request.instanceId;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
if (!$dara.isNull(request.status)) {
|
|
847
|
+
query["Status"] = request.status;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
851
|
+
query["UserConsentType"] = request.userConsentType;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
855
|
+
query: OpenApiUtil.query(query),
|
|
856
|
+
});
|
|
857
|
+
let params = new $OpenApiUtil.Params({
|
|
858
|
+
action: "CreateCustomPrivacyPolicy",
|
|
859
|
+
version: "2021-12-01",
|
|
860
|
+
protocol: "HTTPS",
|
|
861
|
+
pathname: "/",
|
|
862
|
+
method: "POST",
|
|
863
|
+
authType: "AK",
|
|
864
|
+
style: "RPC",
|
|
865
|
+
reqBodyType: "formData",
|
|
866
|
+
bodyType: "json",
|
|
867
|
+
});
|
|
868
|
+
return $dara.cast<$_model.CreateCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.CreateCustomPrivacyPolicyResponse({}));
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* 创建自定义条款
|
|
873
|
+
*
|
|
874
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
875
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
876
|
+
*/
|
|
877
|
+
async createCustomPrivacyPolicy(request: $_model.CreateCustomPrivacyPolicyRequest): Promise<$_model.CreateCustomPrivacyPolicyResponse> {
|
|
878
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
879
|
+
return await this.createCustomPrivacyPolicyWithOptions(request, runtime);
|
|
880
|
+
}
|
|
881
|
+
|
|
712
882
|
/**
|
|
713
883
|
* Creates a custom domain name for an Employee Identity and Access Management (EIAM) instance.
|
|
714
884
|
*
|
|
@@ -1669,6 +1839,52 @@ export default class Client extends OpenApi {
|
|
|
1669
1839
|
return await this.deleteConditionalAccessPolicyWithOptions(request, runtime);
|
|
1670
1840
|
}
|
|
1671
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
* 删除自定义条款
|
|
1844
|
+
*
|
|
1845
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1846
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1847
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1848
|
+
*/
|
|
1849
|
+
async deleteCustomPrivacyPolicyWithOptions(request: $_model.DeleteCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomPrivacyPolicyResponse> {
|
|
1850
|
+
request.validate();
|
|
1851
|
+
let query = { };
|
|
1852
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
1853
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1857
|
+
query["InstanceId"] = request.instanceId;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1861
|
+
query: OpenApiUtil.query(query),
|
|
1862
|
+
});
|
|
1863
|
+
let params = new $OpenApiUtil.Params({
|
|
1864
|
+
action: "DeleteCustomPrivacyPolicy",
|
|
1865
|
+
version: "2021-12-01",
|
|
1866
|
+
protocol: "HTTPS",
|
|
1867
|
+
pathname: "/",
|
|
1868
|
+
method: "POST",
|
|
1869
|
+
authType: "AK",
|
|
1870
|
+
style: "RPC",
|
|
1871
|
+
reqBodyType: "formData",
|
|
1872
|
+
bodyType: "json",
|
|
1873
|
+
});
|
|
1874
|
+
return $dara.cast<$_model.DeleteCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCustomPrivacyPolicyResponse({}));
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* 删除自定义条款
|
|
1879
|
+
*
|
|
1880
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1881
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1882
|
+
*/
|
|
1883
|
+
async deleteCustomPrivacyPolicy(request: $_model.DeleteCustomPrivacyPolicyRequest): Promise<$_model.DeleteCustomPrivacyPolicyResponse> {
|
|
1884
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1885
|
+
return await this.deleteCustomPrivacyPolicyWithOptions(request, runtime);
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1672
1888
|
/**
|
|
1673
1889
|
* Deletes a custom domain name of an Employee Identity and Access Management (EIAM) instance. You cannot delete the initial domain name and default domain name of the instance.
|
|
1674
1890
|
*
|
|
@@ -2619,6 +2835,52 @@ export default class Client extends OpenApi {
|
|
|
2619
2835
|
return await this.disableConditionalAccessPolicyWithOptions(request, runtime);
|
|
2620
2836
|
}
|
|
2621
2837
|
|
|
2838
|
+
/**
|
|
2839
|
+
* 禁用自定义条款
|
|
2840
|
+
*
|
|
2841
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2842
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2843
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2844
|
+
*/
|
|
2845
|
+
async disableCustomPrivacyPolicyWithOptions(request: $_model.DisableCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCustomPrivacyPolicyResponse> {
|
|
2846
|
+
request.validate();
|
|
2847
|
+
let query = { };
|
|
2848
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
2849
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2853
|
+
query["InstanceId"] = request.instanceId;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2857
|
+
query: OpenApiUtil.query(query),
|
|
2858
|
+
});
|
|
2859
|
+
let params = new $OpenApiUtil.Params({
|
|
2860
|
+
action: "DisableCustomPrivacyPolicy",
|
|
2861
|
+
version: "2021-12-01",
|
|
2862
|
+
protocol: "HTTPS",
|
|
2863
|
+
pathname: "/",
|
|
2864
|
+
method: "POST",
|
|
2865
|
+
authType: "AK",
|
|
2866
|
+
style: "RPC",
|
|
2867
|
+
reqBodyType: "formData",
|
|
2868
|
+
bodyType: "json",
|
|
2869
|
+
});
|
|
2870
|
+
return $dara.cast<$_model.DisableCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DisableCustomPrivacyPolicyResponse({}));
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* 禁用自定义条款
|
|
2875
|
+
*
|
|
2876
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2877
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2878
|
+
*/
|
|
2879
|
+
async disableCustomPrivacyPolicy(request: $_model.DisableCustomPrivacyPolicyRequest): Promise<$_model.DisableCustomPrivacyPolicyResponse> {
|
|
2880
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2881
|
+
return await this.disableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2622
2884
|
/**
|
|
2623
2885
|
* Disables a proxy token for a domain name of an Employee Identity and Access Management (EIAM) instance. After the proxy token is disabled, the domain name may not be used as expected.
|
|
2624
2886
|
*
|
|
@@ -3327,6 +3589,52 @@ export default class Client extends OpenApi {
|
|
|
3327
3589
|
return await this.enableConditionalAccessPolicyWithOptions(request, runtime);
|
|
3328
3590
|
}
|
|
3329
3591
|
|
|
3592
|
+
/**
|
|
3593
|
+
* 启用自定义条款
|
|
3594
|
+
*
|
|
3595
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3596
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3597
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3598
|
+
*/
|
|
3599
|
+
async enableCustomPrivacyPolicyWithOptions(request: $_model.EnableCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCustomPrivacyPolicyResponse> {
|
|
3600
|
+
request.validate();
|
|
3601
|
+
let query = { };
|
|
3602
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
3603
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3607
|
+
query["InstanceId"] = request.instanceId;
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3611
|
+
query: OpenApiUtil.query(query),
|
|
3612
|
+
});
|
|
3613
|
+
let params = new $OpenApiUtil.Params({
|
|
3614
|
+
action: "EnableCustomPrivacyPolicy",
|
|
3615
|
+
version: "2021-12-01",
|
|
3616
|
+
protocol: "HTTPS",
|
|
3617
|
+
pathname: "/",
|
|
3618
|
+
method: "POST",
|
|
3619
|
+
authType: "AK",
|
|
3620
|
+
style: "RPC",
|
|
3621
|
+
reqBodyType: "formData",
|
|
3622
|
+
bodyType: "json",
|
|
3623
|
+
});
|
|
3624
|
+
return $dara.cast<$_model.EnableCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.EnableCustomPrivacyPolicyResponse({}));
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* 启用自定义条款
|
|
3629
|
+
*
|
|
3630
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3631
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3632
|
+
*/
|
|
3633
|
+
async enableCustomPrivacyPolicy(request: $_model.EnableCustomPrivacyPolicyRequest): Promise<$_model.EnableCustomPrivacyPolicyResponse> {
|
|
3634
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3635
|
+
return await this.enableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3330
3638
|
/**
|
|
3331
3639
|
* Enables a proxy token for a domain name of an Employee Identity and Access Management (EIAM) instance. The proxy token is used to verify the security of the domain name.
|
|
3332
3640
|
*
|
|
@@ -4024,17 +4332,17 @@ export default class Client extends OpenApi {
|
|
|
4024
4332
|
}
|
|
4025
4333
|
|
|
4026
4334
|
/**
|
|
4027
|
-
*
|
|
4335
|
+
* 获取自定义条款
|
|
4028
4336
|
*
|
|
4029
|
-
* @param request -
|
|
4337
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
4030
4338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4031
|
-
* @returns
|
|
4339
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
4032
4340
|
*/
|
|
4033
|
-
async
|
|
4341
|
+
async getCustomPrivacyPolicyWithOptions(request: $_model.GetCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomPrivacyPolicyResponse> {
|
|
4034
4342
|
request.validate();
|
|
4035
4343
|
let query = { };
|
|
4036
|
-
if (!$dara.isNull(request.
|
|
4037
|
-
query["
|
|
4344
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
4345
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
4038
4346
|
}
|
|
4039
4347
|
|
|
4040
4348
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4045,7 +4353,7 @@ export default class Client extends OpenApi {
|
|
|
4045
4353
|
query: OpenApiUtil.query(query),
|
|
4046
4354
|
});
|
|
4047
4355
|
let params = new $OpenApiUtil.Params({
|
|
4048
|
-
action: "
|
|
4356
|
+
action: "GetCustomPrivacyPolicy",
|
|
4049
4357
|
version: "2021-12-01",
|
|
4050
4358
|
protocol: "HTTPS",
|
|
4051
4359
|
pathname: "/",
|
|
@@ -4055,32 +4363,32 @@ export default class Client extends OpenApi {
|
|
|
4055
4363
|
reqBodyType: "formData",
|
|
4056
4364
|
bodyType: "json",
|
|
4057
4365
|
});
|
|
4058
|
-
return $dara.cast<$_model.
|
|
4366
|
+
return $dara.cast<$_model.GetCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.GetCustomPrivacyPolicyResponse({}));
|
|
4059
4367
|
}
|
|
4060
4368
|
|
|
4061
4369
|
/**
|
|
4062
|
-
*
|
|
4370
|
+
* 获取自定义条款
|
|
4063
4371
|
*
|
|
4064
|
-
* @param request -
|
|
4065
|
-
* @returns
|
|
4372
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
4373
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
4066
4374
|
*/
|
|
4067
|
-
async
|
|
4375
|
+
async getCustomPrivacyPolicy(request: $_model.GetCustomPrivacyPolicyRequest): Promise<$_model.GetCustomPrivacyPolicyResponse> {
|
|
4068
4376
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4069
|
-
return await this.
|
|
4377
|
+
return await this.getCustomPrivacyPolicyWithOptions(request, runtime);
|
|
4070
4378
|
}
|
|
4071
4379
|
|
|
4072
4380
|
/**
|
|
4073
|
-
* Queries the
|
|
4381
|
+
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
4074
4382
|
*
|
|
4075
|
-
* @param request -
|
|
4383
|
+
* @param request - GetDomainRequest
|
|
4076
4384
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4077
|
-
* @returns
|
|
4385
|
+
* @returns GetDomainResponse
|
|
4078
4386
|
*/
|
|
4079
|
-
async
|
|
4387
|
+
async getDomainWithOptions(request: $_model.GetDomainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDomainResponse> {
|
|
4080
4388
|
request.validate();
|
|
4081
4389
|
let query = { };
|
|
4082
|
-
if (!$dara.isNull(request.
|
|
4083
|
-
query["
|
|
4390
|
+
if (!$dara.isNull(request.domainId)) {
|
|
4391
|
+
query["DomainId"] = request.domainId;
|
|
4084
4392
|
}
|
|
4085
4393
|
|
|
4086
4394
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4091,7 +4399,7 @@ export default class Client extends OpenApi {
|
|
|
4091
4399
|
query: OpenApiUtil.query(query),
|
|
4092
4400
|
});
|
|
4093
4401
|
let params = new $OpenApiUtil.Params({
|
|
4094
|
-
action: "
|
|
4402
|
+
action: "GetDomain",
|
|
4095
4403
|
version: "2021-12-01",
|
|
4096
4404
|
protocol: "HTTPS",
|
|
4097
4405
|
pathname: "/",
|
|
@@ -4101,11 +4409,57 @@ export default class Client extends OpenApi {
|
|
|
4101
4409
|
reqBodyType: "formData",
|
|
4102
4410
|
bodyType: "json",
|
|
4103
4411
|
});
|
|
4104
|
-
return $dara.cast<$_model.
|
|
4412
|
+
return $dara.cast<$_model.GetDomainResponse>(await this.callApi(params, req, runtime), new $_model.GetDomainResponse({}));
|
|
4105
4413
|
}
|
|
4106
4414
|
|
|
4107
4415
|
/**
|
|
4108
|
-
* Queries the
|
|
4416
|
+
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
4417
|
+
*
|
|
4418
|
+
* @param request - GetDomainRequest
|
|
4419
|
+
* @returns GetDomainResponse
|
|
4420
|
+
*/
|
|
4421
|
+
async getDomain(request: $_model.GetDomainRequest): Promise<$_model.GetDomainResponse> {
|
|
4422
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4423
|
+
return await this.getDomainWithOptions(request, runtime);
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4426
|
+
/**
|
|
4427
|
+
* Queries the domain name system (DNS) challenge records of a domain name of an Employee Identity and Access Management (EIAM) instance. The generated records are used to verify the ownership of the domain name.
|
|
4428
|
+
*
|
|
4429
|
+
* @param request - GetDomainDnsChallengeRequest
|
|
4430
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4431
|
+
* @returns GetDomainDnsChallengeResponse
|
|
4432
|
+
*/
|
|
4433
|
+
async getDomainDnsChallengeWithOptions(request: $_model.GetDomainDnsChallengeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDomainDnsChallengeResponse> {
|
|
4434
|
+
request.validate();
|
|
4435
|
+
let query = { };
|
|
4436
|
+
if (!$dara.isNull(request.domain)) {
|
|
4437
|
+
query["Domain"] = request.domain;
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4440
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
4441
|
+
query["InstanceId"] = request.instanceId;
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4445
|
+
query: OpenApiUtil.query(query),
|
|
4446
|
+
});
|
|
4447
|
+
let params = new $OpenApiUtil.Params({
|
|
4448
|
+
action: "GetDomainDnsChallenge",
|
|
4449
|
+
version: "2021-12-01",
|
|
4450
|
+
protocol: "HTTPS",
|
|
4451
|
+
pathname: "/",
|
|
4452
|
+
method: "POST",
|
|
4453
|
+
authType: "AK",
|
|
4454
|
+
style: "RPC",
|
|
4455
|
+
reqBodyType: "formData",
|
|
4456
|
+
bodyType: "json",
|
|
4457
|
+
});
|
|
4458
|
+
return $dara.cast<$_model.GetDomainDnsChallengeResponse>(await this.callApi(params, req, runtime), new $_model.GetDomainDnsChallengeResponse({}));
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
/**
|
|
4462
|
+
* Queries the domain name system (DNS) challenge records of a domain name of an Employee Identity and Access Management (EIAM) instance. The generated records are used to verify the ownership of the domain name.
|
|
4109
4463
|
*
|
|
4110
4464
|
* @param request - GetDomainDnsChallengeRequest
|
|
4111
4465
|
* @returns GetDomainDnsChallengeResponse
|
|
@@ -5915,6 +6269,122 @@ export default class Client extends OpenApi {
|
|
|
5915
6269
|
return await this.listConditionalAccessPoliciesForUserWithOptions(request, runtime);
|
|
5916
6270
|
}
|
|
5917
6271
|
|
|
6272
|
+
/**
|
|
6273
|
+
* 自定义条款列表查询。
|
|
6274
|
+
*
|
|
6275
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
6276
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6277
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
6278
|
+
*/
|
|
6279
|
+
async listCustomPrivacyPoliciesWithOptions(request: $_model.ListCustomPrivacyPoliciesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomPrivacyPoliciesResponse> {
|
|
6280
|
+
request.validate();
|
|
6281
|
+
let query = { };
|
|
6282
|
+
if (!$dara.isNull(request.customPrivacyPolicyNameStartsWith)) {
|
|
6283
|
+
query["CustomPrivacyPolicyNameStartsWith"] = request.customPrivacyPolicyNameStartsWith;
|
|
6284
|
+
}
|
|
6285
|
+
|
|
6286
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6287
|
+
query["InstanceId"] = request.instanceId;
|
|
6288
|
+
}
|
|
6289
|
+
|
|
6290
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6291
|
+
query["MaxResults"] = request.maxResults;
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6294
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6295
|
+
query["NextToken"] = request.nextToken;
|
|
6296
|
+
}
|
|
6297
|
+
|
|
6298
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
6299
|
+
query["PreviousToken"] = request.previousToken;
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6303
|
+
query: OpenApiUtil.query(query),
|
|
6304
|
+
});
|
|
6305
|
+
let params = new $OpenApiUtil.Params({
|
|
6306
|
+
action: "ListCustomPrivacyPolicies",
|
|
6307
|
+
version: "2021-12-01",
|
|
6308
|
+
protocol: "HTTPS",
|
|
6309
|
+
pathname: "/",
|
|
6310
|
+
method: "POST",
|
|
6311
|
+
authType: "AK",
|
|
6312
|
+
style: "RPC",
|
|
6313
|
+
reqBodyType: "formData",
|
|
6314
|
+
bodyType: "json",
|
|
6315
|
+
});
|
|
6316
|
+
return $dara.cast<$_model.ListCustomPrivacyPoliciesResponse>(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesResponse({}));
|
|
6317
|
+
}
|
|
6318
|
+
|
|
6319
|
+
/**
|
|
6320
|
+
* 自定义条款列表查询。
|
|
6321
|
+
*
|
|
6322
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
6323
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
6324
|
+
*/
|
|
6325
|
+
async listCustomPrivacyPolicies(request: $_model.ListCustomPrivacyPoliciesRequest): Promise<$_model.ListCustomPrivacyPoliciesResponse> {
|
|
6326
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6327
|
+
return await this.listCustomPrivacyPoliciesWithOptions(request, runtime);
|
|
6328
|
+
}
|
|
6329
|
+
|
|
6330
|
+
/**
|
|
6331
|
+
* 获取品牌关联资源的资源
|
|
6332
|
+
*
|
|
6333
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
6334
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6335
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
6336
|
+
*/
|
|
6337
|
+
async listCustomPrivacyPoliciesForBrandWithOptions(request: $_model.ListCustomPrivacyPoliciesForBrandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomPrivacyPoliciesForBrandResponse> {
|
|
6338
|
+
request.validate();
|
|
6339
|
+
let query = { };
|
|
6340
|
+
if (!$dara.isNull(request.brandId)) {
|
|
6341
|
+
query["BrandId"] = request.brandId;
|
|
6342
|
+
}
|
|
6343
|
+
|
|
6344
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6345
|
+
query["InstanceId"] = request.instanceId;
|
|
6346
|
+
}
|
|
6347
|
+
|
|
6348
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6349
|
+
query["MaxResults"] = request.maxResults;
|
|
6350
|
+
}
|
|
6351
|
+
|
|
6352
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6353
|
+
query["NextToken"] = request.nextToken;
|
|
6354
|
+
}
|
|
6355
|
+
|
|
6356
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
6357
|
+
query["PreviousToken"] = request.previousToken;
|
|
6358
|
+
}
|
|
6359
|
+
|
|
6360
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6361
|
+
query: OpenApiUtil.query(query),
|
|
6362
|
+
});
|
|
6363
|
+
let params = new $OpenApiUtil.Params({
|
|
6364
|
+
action: "ListCustomPrivacyPoliciesForBrand",
|
|
6365
|
+
version: "2021-12-01",
|
|
6366
|
+
protocol: "HTTPS",
|
|
6367
|
+
pathname: "/",
|
|
6368
|
+
method: "POST",
|
|
6369
|
+
authType: "AK",
|
|
6370
|
+
style: "RPC",
|
|
6371
|
+
reqBodyType: "formData",
|
|
6372
|
+
bodyType: "json",
|
|
6373
|
+
});
|
|
6374
|
+
return $dara.cast<$_model.ListCustomPrivacyPoliciesForBrandResponse>(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesForBrandResponse({}));
|
|
6375
|
+
}
|
|
6376
|
+
|
|
6377
|
+
/**
|
|
6378
|
+
* 获取品牌关联资源的资源
|
|
6379
|
+
*
|
|
6380
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
6381
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
6382
|
+
*/
|
|
6383
|
+
async listCustomPrivacyPoliciesForBrand(request: $_model.ListCustomPrivacyPoliciesForBrandRequest): Promise<$_model.ListCustomPrivacyPoliciesForBrandResponse> {
|
|
6384
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6385
|
+
return await this.listCustomPrivacyPoliciesForBrandWithOptions(request, runtime);
|
|
6386
|
+
}
|
|
6387
|
+
|
|
5918
6388
|
/**
|
|
5919
6389
|
* Queries the proxy tokens of a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
5920
6390
|
*
|
|
@@ -7015,6 +7485,72 @@ export default class Client extends OpenApi {
|
|
|
7015
7485
|
return await this.listSynchronizationJobsWithOptions(request, runtime);
|
|
7016
7486
|
}
|
|
7017
7487
|
|
|
7488
|
+
/**
|
|
7489
|
+
* 查询三方登录账户绑定关系
|
|
7490
|
+
*
|
|
7491
|
+
* @param request - ListUserAuthnSourceMappingsRequest
|
|
7492
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7493
|
+
* @returns ListUserAuthnSourceMappingsResponse
|
|
7494
|
+
*/
|
|
7495
|
+
async listUserAuthnSourceMappingsWithOptions(request: $_model.ListUserAuthnSourceMappingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserAuthnSourceMappingsResponse> {
|
|
7496
|
+
request.validate();
|
|
7497
|
+
let query = { };
|
|
7498
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
7499
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
7500
|
+
}
|
|
7501
|
+
|
|
7502
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7503
|
+
query["InstanceId"] = request.instanceId;
|
|
7504
|
+
}
|
|
7505
|
+
|
|
7506
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
7507
|
+
query["MaxResults"] = request.maxResults;
|
|
7508
|
+
}
|
|
7509
|
+
|
|
7510
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
7511
|
+
query["NextToken"] = request.nextToken;
|
|
7512
|
+
}
|
|
7513
|
+
|
|
7514
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
7515
|
+
query["PreviousToken"] = request.previousToken;
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7518
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
7519
|
+
query["UserExternalId"] = request.userExternalId;
|
|
7520
|
+
}
|
|
7521
|
+
|
|
7522
|
+
if (!$dara.isNull(request.userId)) {
|
|
7523
|
+
query["UserId"] = request.userId;
|
|
7524
|
+
}
|
|
7525
|
+
|
|
7526
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7527
|
+
query: OpenApiUtil.query(query),
|
|
7528
|
+
});
|
|
7529
|
+
let params = new $OpenApiUtil.Params({
|
|
7530
|
+
action: "ListUserAuthnSourceMappings",
|
|
7531
|
+
version: "2021-12-01",
|
|
7532
|
+
protocol: "HTTPS",
|
|
7533
|
+
pathname: "/",
|
|
7534
|
+
method: "POST",
|
|
7535
|
+
authType: "AK",
|
|
7536
|
+
style: "RPC",
|
|
7537
|
+
reqBodyType: "formData",
|
|
7538
|
+
bodyType: "json",
|
|
7539
|
+
});
|
|
7540
|
+
return $dara.cast<$_model.ListUserAuthnSourceMappingsResponse>(await this.callApi(params, req, runtime), new $_model.ListUserAuthnSourceMappingsResponse({}));
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
/**
|
|
7544
|
+
* 查询三方登录账户绑定关系
|
|
7545
|
+
*
|
|
7546
|
+
* @param request - ListUserAuthnSourceMappingsRequest
|
|
7547
|
+
* @returns ListUserAuthnSourceMappingsResponse
|
|
7548
|
+
*/
|
|
7549
|
+
async listUserAuthnSourceMappings(request: $_model.ListUserAuthnSourceMappingsRequest): Promise<$_model.ListUserAuthnSourceMappingsResponse> {
|
|
7550
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7551
|
+
return await this.listUserAuthnSourceMappingsWithOptions(request, runtime);
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7018
7554
|
/**
|
|
7019
7555
|
* Queries the details of accounts in Identity as a Service (IDaaS) Employee IAM (EIAM) by page.
|
|
7020
7556
|
*
|
|
@@ -7429,6 +7965,56 @@ export default class Client extends OpenApi {
|
|
|
7429
7965
|
return await this.removeApplicationAccountFromUserWithOptions(request, runtime);
|
|
7430
7966
|
}
|
|
7431
7967
|
|
|
7968
|
+
/**
|
|
7969
|
+
* 移除品牌关联条款
|
|
7970
|
+
*
|
|
7971
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
7972
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7973
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
7974
|
+
*/
|
|
7975
|
+
async removeCustomPrivacyPoliciesFromBrandWithOptions(request: $_model.RemoveCustomPrivacyPoliciesFromBrandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse> {
|
|
7976
|
+
request.validate();
|
|
7977
|
+
let query = { };
|
|
7978
|
+
if (!$dara.isNull(request.brandId)) {
|
|
7979
|
+
query["BrandId"] = request.brandId;
|
|
7980
|
+
}
|
|
7981
|
+
|
|
7982
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
7983
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
7984
|
+
}
|
|
7985
|
+
|
|
7986
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7987
|
+
query["InstanceId"] = request.instanceId;
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7990
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7991
|
+
query: OpenApiUtil.query(query),
|
|
7992
|
+
});
|
|
7993
|
+
let params = new $OpenApiUtil.Params({
|
|
7994
|
+
action: "RemoveCustomPrivacyPoliciesFromBrand",
|
|
7995
|
+
version: "2021-12-01",
|
|
7996
|
+
protocol: "HTTPS",
|
|
7997
|
+
pathname: "/",
|
|
7998
|
+
method: "POST",
|
|
7999
|
+
authType: "AK",
|
|
8000
|
+
style: "RPC",
|
|
8001
|
+
reqBodyType: "formData",
|
|
8002
|
+
bodyType: "json",
|
|
8003
|
+
});
|
|
8004
|
+
return $dara.cast<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse>(await this.callApi(params, req, runtime), new $_model.RemoveCustomPrivacyPoliciesFromBrandResponse({}));
|
|
8005
|
+
}
|
|
8006
|
+
|
|
8007
|
+
/**
|
|
8008
|
+
* 移除品牌关联条款
|
|
8009
|
+
*
|
|
8010
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
8011
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
8012
|
+
*/
|
|
8013
|
+
async removeCustomPrivacyPoliciesFromBrand(request: $_model.RemoveCustomPrivacyPoliciesFromBrandRequest): Promise<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse> {
|
|
8014
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8015
|
+
return await this.removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime);
|
|
8016
|
+
}
|
|
8017
|
+
|
|
7432
8018
|
/**
|
|
7433
8019
|
* Removes an Employee Identity and Access Management (EIAM) account from multiple EIAM organizations of Identity as a Service (IDaaS). You cannot remove an account from a primary organization.
|
|
7434
8020
|
*
|
|
@@ -8489,6 +9075,60 @@ export default class Client extends OpenApi {
|
|
|
8489
9075
|
return await this.setUserPrimaryOrganizationalUnitWithOptions(request, runtime);
|
|
8490
9076
|
}
|
|
8491
9077
|
|
|
9078
|
+
/**
|
|
9079
|
+
* 解绑三方登录账户
|
|
9080
|
+
*
|
|
9081
|
+
* @param request - UnbindUserAuthnSourceMappingRequest
|
|
9082
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9083
|
+
* @returns UnbindUserAuthnSourceMappingResponse
|
|
9084
|
+
*/
|
|
9085
|
+
async unbindUserAuthnSourceMappingWithOptions(request: $_model.UnbindUserAuthnSourceMappingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UnbindUserAuthnSourceMappingResponse> {
|
|
9086
|
+
request.validate();
|
|
9087
|
+
let query = { };
|
|
9088
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
9089
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9092
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9093
|
+
query["InstanceId"] = request.instanceId;
|
|
9094
|
+
}
|
|
9095
|
+
|
|
9096
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
9097
|
+
query["UserExternalId"] = request.userExternalId;
|
|
9098
|
+
}
|
|
9099
|
+
|
|
9100
|
+
if (!$dara.isNull(request.userId)) {
|
|
9101
|
+
query["UserId"] = request.userId;
|
|
9102
|
+
}
|
|
9103
|
+
|
|
9104
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9105
|
+
query: OpenApiUtil.query(query),
|
|
9106
|
+
});
|
|
9107
|
+
let params = new $OpenApiUtil.Params({
|
|
9108
|
+
action: "UnbindUserAuthnSourceMapping",
|
|
9109
|
+
version: "2021-12-01",
|
|
9110
|
+
protocol: "HTTPS",
|
|
9111
|
+
pathname: "/",
|
|
9112
|
+
method: "POST",
|
|
9113
|
+
authType: "AK",
|
|
9114
|
+
style: "RPC",
|
|
9115
|
+
reqBodyType: "formData",
|
|
9116
|
+
bodyType: "json",
|
|
9117
|
+
});
|
|
9118
|
+
return $dara.cast<$_model.UnbindUserAuthnSourceMappingResponse>(await this.callApi(params, req, runtime), new $_model.UnbindUserAuthnSourceMappingResponse({}));
|
|
9119
|
+
}
|
|
9120
|
+
|
|
9121
|
+
/**
|
|
9122
|
+
* 解绑三方登录账户
|
|
9123
|
+
*
|
|
9124
|
+
* @param request - UnbindUserAuthnSourceMappingRequest
|
|
9125
|
+
* @returns UnbindUserAuthnSourceMappingResponse
|
|
9126
|
+
*/
|
|
9127
|
+
async unbindUserAuthnSourceMapping(request: $_model.UnbindUserAuthnSourceMappingRequest): Promise<$_model.UnbindUserAuthnSourceMappingResponse> {
|
|
9128
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9129
|
+
return await this.unbindUserAuthnSourceMappingWithOptions(request, runtime);
|
|
9130
|
+
}
|
|
9131
|
+
|
|
8492
9132
|
/**
|
|
8493
9133
|
* Unlocks an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS) that is locked.
|
|
8494
9134
|
*
|
|
@@ -9103,6 +9743,68 @@ export default class Client extends OpenApi {
|
|
|
9103
9743
|
return await this.updateConditionalAccessPolicyDescriptionWithOptions(request, runtime);
|
|
9104
9744
|
}
|
|
9105
9745
|
|
|
9746
|
+
/**
|
|
9747
|
+
* 更新自定义条款
|
|
9748
|
+
*
|
|
9749
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
9750
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9751
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
9752
|
+
*/
|
|
9753
|
+
async updateCustomPrivacyPolicyWithOptions(request: $_model.UpdateCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCustomPrivacyPolicyResponse> {
|
|
9754
|
+
request.validate();
|
|
9755
|
+
let query = { };
|
|
9756
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
9757
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
9758
|
+
}
|
|
9759
|
+
|
|
9760
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
9761
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
9762
|
+
}
|
|
9763
|
+
|
|
9764
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
9765
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
9766
|
+
}
|
|
9767
|
+
|
|
9768
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
9769
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
9770
|
+
}
|
|
9771
|
+
|
|
9772
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9773
|
+
query["InstanceId"] = request.instanceId;
|
|
9774
|
+
}
|
|
9775
|
+
|
|
9776
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
9777
|
+
query["UserConsentType"] = request.userConsentType;
|
|
9778
|
+
}
|
|
9779
|
+
|
|
9780
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9781
|
+
query: OpenApiUtil.query(query),
|
|
9782
|
+
});
|
|
9783
|
+
let params = new $OpenApiUtil.Params({
|
|
9784
|
+
action: "UpdateCustomPrivacyPolicy",
|
|
9785
|
+
version: "2021-12-01",
|
|
9786
|
+
protocol: "HTTPS",
|
|
9787
|
+
pathname: "/",
|
|
9788
|
+
method: "POST",
|
|
9789
|
+
authType: "AK",
|
|
9790
|
+
style: "RPC",
|
|
9791
|
+
reqBodyType: "formData",
|
|
9792
|
+
bodyType: "json",
|
|
9793
|
+
});
|
|
9794
|
+
return $dara.cast<$_model.UpdateCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.UpdateCustomPrivacyPolicyResponse({}));
|
|
9795
|
+
}
|
|
9796
|
+
|
|
9797
|
+
/**
|
|
9798
|
+
* 更新自定义条款
|
|
9799
|
+
*
|
|
9800
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
9801
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
9802
|
+
*/
|
|
9803
|
+
async updateCustomPrivacyPolicy(request: $_model.UpdateCustomPrivacyPolicyRequest): Promise<$_model.UpdateCustomPrivacyPolicyResponse> {
|
|
9804
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9805
|
+
return await this.updateCustomPrivacyPolicyWithOptions(request, runtime);
|
|
9806
|
+
}
|
|
9807
|
+
|
|
9106
9808
|
/**
|
|
9107
9809
|
* 修改域名关联的品牌。
|
|
9108
9810
|
*
|