@aws-sdk/client-amplifybackend 3.54.0 → 3.56.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/CHANGELOG.md +27 -0
- package/dist-cjs/AmplifyBackendClient.js +13 -13
- package/dist-cjs/commands/CloneBackendCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendAPICommand.js +3 -3
- package/dist-cjs/commands/CreateBackendAuthCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendStorageCommand.js +3 -3
- package/dist-cjs/commands/CreateTokenCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendAPICommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendAuthCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendStorageCommand.js +3 -3
- package/dist-cjs/commands/DeleteTokenCommand.js +3 -3
- package/dist-cjs/commands/GenerateBackendAPIModelsCommand.js +3 -3
- package/dist-cjs/commands/GetBackendAPICommand.js +3 -3
- package/dist-cjs/commands/GetBackendAPIModelsCommand.js +3 -3
- package/dist-cjs/commands/GetBackendAuthCommand.js +3 -3
- package/dist-cjs/commands/GetBackendCommand.js +3 -3
- package/dist-cjs/commands/GetBackendJobCommand.js +3 -3
- package/dist-cjs/commands/GetBackendStorageCommand.js +3 -3
- package/dist-cjs/commands/GetTokenCommand.js +3 -3
- package/dist-cjs/commands/ImportBackendAuthCommand.js +3 -3
- package/dist-cjs/commands/ImportBackendStorageCommand.js +3 -3
- package/dist-cjs/commands/ListBackendJobsCommand.js +3 -3
- package/dist-cjs/commands/ListS3BucketsCommand.js +3 -3
- package/dist-cjs/commands/RemoveAllBackendsCommand.js +3 -3
- package/dist-cjs/commands/RemoveBackendConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateBackendAPICommand.js +3 -3
- package/dist-cjs/commands/UpdateBackendAuthCommand.js +3 -3
- package/dist-cjs/commands/UpdateBackendConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateBackendJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateBackendStorageCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +15 -3
- package/dist-cjs/protocols/Aws_restJson1.js +371 -325
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/AmplifyBackend.js +31 -31
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +70 -34
- package/dist-types/models/models_0.d.ts +68 -14
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +30 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CloneBackendCommand = function (input, context)
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
17
17
|
"/backend/{AppId}/environments/{BackendEnvironmentName}/clone";
|
|
18
18
|
if (input.AppId !== undefined) {
|
|
19
19
|
labelValue = input.AppId;
|
|
@@ -59,7 +59,7 @@ export var serializeAws_restJson1CreateBackendCommand = function (input, context
|
|
|
59
59
|
headers = {
|
|
60
60
|
"content-type": "application/json",
|
|
61
61
|
};
|
|
62
|
-
resolvedPath = ""
|
|
62
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend";
|
|
63
63
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AppId !== undefined && input.AppId !== null && { appId: input.AppId })), (input.AppName !== undefined && input.AppName !== null && { appName: input.AppName })), (input.BackendEnvironmentName !== undefined &&
|
|
64
64
|
input.BackendEnvironmentName !== null && { backendEnvironmentName: input.BackendEnvironmentName })), (input.ResourceConfig !== undefined &&
|
|
65
65
|
input.ResourceConfig !== null && {
|
|
@@ -87,7 +87,7 @@ export var serializeAws_restJson1CreateBackendAPICommand = function (input, cont
|
|
|
87
87
|
headers = {
|
|
88
88
|
"content-type": "application/json",
|
|
89
89
|
};
|
|
90
|
-
resolvedPath = ""
|
|
90
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/api";
|
|
91
91
|
if (input.AppId !== undefined) {
|
|
92
92
|
labelValue = input.AppId;
|
|
93
93
|
if (labelValue.length <= 0) {
|
|
@@ -125,7 +125,7 @@ export var serializeAws_restJson1CreateBackendAuthCommand = function (input, con
|
|
|
125
125
|
headers = {
|
|
126
126
|
"content-type": "application/json",
|
|
127
127
|
};
|
|
128
|
-
resolvedPath = ""
|
|
128
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/auth";
|
|
129
129
|
if (input.AppId !== undefined) {
|
|
130
130
|
labelValue = input.AppId;
|
|
131
131
|
if (labelValue.length <= 0) {
|
|
@@ -163,7 +163,7 @@ export var serializeAws_restJson1CreateBackendConfigCommand = function (input, c
|
|
|
163
163
|
headers = {
|
|
164
164
|
"content-type": "application/json",
|
|
165
165
|
};
|
|
166
|
-
resolvedPath = ""
|
|
166
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/config";
|
|
167
167
|
if (input.AppId !== undefined) {
|
|
168
168
|
labelValue = input.AppId;
|
|
169
169
|
if (labelValue.length <= 0) {
|
|
@@ -198,7 +198,7 @@ export var serializeAws_restJson1CreateBackendStorageCommand = function (input,
|
|
|
198
198
|
headers = {
|
|
199
199
|
"content-type": "application/json",
|
|
200
200
|
};
|
|
201
|
-
resolvedPath = ""
|
|
201
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/storage";
|
|
202
202
|
if (input.AppId !== undefined) {
|
|
203
203
|
labelValue = input.AppId;
|
|
204
204
|
if (labelValue.length <= 0) {
|
|
@@ -234,7 +234,7 @@ export var serializeAws_restJson1CreateTokenCommand = function (input, context)
|
|
|
234
234
|
case 1:
|
|
235
235
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
236
236
|
headers = {};
|
|
237
|
-
resolvedPath = ""
|
|
237
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/challenge";
|
|
238
238
|
if (input.AppId !== undefined) {
|
|
239
239
|
labelValue = input.AppId;
|
|
240
240
|
if (labelValue.length <= 0) {
|
|
@@ -265,7 +265,7 @@ export var serializeAws_restJson1DeleteBackendCommand = function (input, context
|
|
|
265
265
|
case 1:
|
|
266
266
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
267
267
|
headers = {};
|
|
268
|
-
resolvedPath = ""
|
|
268
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
269
269
|
"/backend/{AppId}/environments/{BackendEnvironmentName}/remove";
|
|
270
270
|
if (input.AppId !== undefined) {
|
|
271
271
|
labelValue = input.AppId;
|
|
@@ -309,7 +309,7 @@ export var serializeAws_restJson1DeleteBackendAPICommand = function (input, cont
|
|
|
309
309
|
headers = {
|
|
310
310
|
"content-type": "application/json",
|
|
311
311
|
};
|
|
312
|
-
resolvedPath = ""
|
|
312
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
313
313
|
"/backend/{AppId}/api/{BackendEnvironmentName}/remove";
|
|
314
314
|
if (input.AppId !== undefined) {
|
|
315
315
|
labelValue = input.AppId;
|
|
@@ -357,7 +357,7 @@ export var serializeAws_restJson1DeleteBackendAuthCommand = function (input, con
|
|
|
357
357
|
headers = {
|
|
358
358
|
"content-type": "application/json",
|
|
359
359
|
};
|
|
360
|
-
resolvedPath = ""
|
|
360
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
361
361
|
"/backend/{AppId}/auth/{BackendEnvironmentName}/remove";
|
|
362
362
|
if (input.AppId !== undefined) {
|
|
363
363
|
labelValue = input.AppId;
|
|
@@ -402,7 +402,7 @@ export var serializeAws_restJson1DeleteBackendStorageCommand = function (input,
|
|
|
402
402
|
headers = {
|
|
403
403
|
"content-type": "application/json",
|
|
404
404
|
};
|
|
405
|
-
resolvedPath = ""
|
|
405
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
406
406
|
"/backend/{AppId}/storage/{BackendEnvironmentName}/remove";
|
|
407
407
|
if (input.AppId !== undefined) {
|
|
408
408
|
labelValue = input.AppId;
|
|
@@ -445,7 +445,7 @@ export var serializeAws_restJson1DeleteTokenCommand = function (input, context)
|
|
|
445
445
|
case 1:
|
|
446
446
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
447
447
|
headers = {};
|
|
448
|
-
resolvedPath = ""
|
|
448
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
449
449
|
"/backend/{AppId}/challenge/{SessionId}/remove";
|
|
450
450
|
if (input.AppId !== undefined) {
|
|
451
451
|
labelValue = input.AppId;
|
|
@@ -489,7 +489,7 @@ export var serializeAws_restJson1GenerateBackendAPIModelsCommand = function (inp
|
|
|
489
489
|
headers = {
|
|
490
490
|
"content-type": "application/json",
|
|
491
491
|
};
|
|
492
|
-
resolvedPath = ""
|
|
492
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
493
493
|
"/backend/{AppId}/api/{BackendEnvironmentName}/generateModels";
|
|
494
494
|
if (input.AppId !== undefined) {
|
|
495
495
|
labelValue = input.AppId;
|
|
@@ -534,7 +534,7 @@ export var serializeAws_restJson1GetBackendCommand = function (input, context) {
|
|
|
534
534
|
headers = {
|
|
535
535
|
"content-type": "application/json",
|
|
536
536
|
};
|
|
537
|
-
resolvedPath = ""
|
|
537
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/details";
|
|
538
538
|
if (input.AppId !== undefined) {
|
|
539
539
|
labelValue = input.AppId;
|
|
540
540
|
if (labelValue.length <= 0) {
|
|
@@ -569,7 +569,7 @@ export var serializeAws_restJson1GetBackendAPICommand = function (input, context
|
|
|
569
569
|
headers = {
|
|
570
570
|
"content-type": "application/json",
|
|
571
571
|
};
|
|
572
|
-
resolvedPath = ""
|
|
572
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
573
573
|
"/backend/{AppId}/api/{BackendEnvironmentName}/details";
|
|
574
574
|
if (input.AppId !== undefined) {
|
|
575
575
|
labelValue = input.AppId;
|
|
@@ -617,7 +617,7 @@ export var serializeAws_restJson1GetBackendAPIModelsCommand = function (input, c
|
|
|
617
617
|
headers = {
|
|
618
618
|
"content-type": "application/json",
|
|
619
619
|
};
|
|
620
|
-
resolvedPath = ""
|
|
620
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
621
621
|
"/backend/{AppId}/api/{BackendEnvironmentName}/getModels";
|
|
622
622
|
if (input.AppId !== undefined) {
|
|
623
623
|
labelValue = input.AppId;
|
|
@@ -662,7 +662,7 @@ export var serializeAws_restJson1GetBackendAuthCommand = function (input, contex
|
|
|
662
662
|
headers = {
|
|
663
663
|
"content-type": "application/json",
|
|
664
664
|
};
|
|
665
|
-
resolvedPath = ""
|
|
665
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
666
666
|
"/backend/{AppId}/auth/{BackendEnvironmentName}/details";
|
|
667
667
|
if (input.AppId !== undefined) {
|
|
668
668
|
labelValue = input.AppId;
|
|
@@ -705,7 +705,7 @@ export var serializeAws_restJson1GetBackendJobCommand = function (input, context
|
|
|
705
705
|
case 1:
|
|
706
706
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
707
707
|
headers = {};
|
|
708
|
-
resolvedPath = ""
|
|
708
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
709
709
|
"/backend/{AppId}/job/{BackendEnvironmentName}/{JobId}";
|
|
710
710
|
if (input.AppId !== undefined) {
|
|
711
711
|
labelValue = input.AppId;
|
|
@@ -759,7 +759,7 @@ export var serializeAws_restJson1GetBackendStorageCommand = function (input, con
|
|
|
759
759
|
headers = {
|
|
760
760
|
"content-type": "application/json",
|
|
761
761
|
};
|
|
762
|
-
resolvedPath = ""
|
|
762
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
763
763
|
"/backend/{AppId}/storage/{BackendEnvironmentName}/details";
|
|
764
764
|
if (input.AppId !== undefined) {
|
|
765
765
|
labelValue = input.AppId;
|
|
@@ -802,7 +802,7 @@ export var serializeAws_restJson1GetTokenCommand = function (input, context) { r
|
|
|
802
802
|
case 1:
|
|
803
803
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
804
804
|
headers = {};
|
|
805
|
-
resolvedPath = ""
|
|
805
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/challenge/{SessionId}";
|
|
806
806
|
if (input.AppId !== undefined) {
|
|
807
807
|
labelValue = input.AppId;
|
|
808
808
|
if (labelValue.length <= 0) {
|
|
@@ -845,7 +845,7 @@ export var serializeAws_restJson1ImportBackendAuthCommand = function (input, con
|
|
|
845
845
|
headers = {
|
|
846
846
|
"content-type": "application/json",
|
|
847
847
|
};
|
|
848
|
-
resolvedPath = ""
|
|
848
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
849
849
|
"/backend/{AppId}/auth/{BackendEnvironmentName}/import";
|
|
850
850
|
if (input.AppId !== undefined) {
|
|
851
851
|
labelValue = input.AppId;
|
|
@@ -892,7 +892,7 @@ export var serializeAws_restJson1ImportBackendStorageCommand = function (input,
|
|
|
892
892
|
headers = {
|
|
893
893
|
"content-type": "application/json",
|
|
894
894
|
};
|
|
895
|
-
resolvedPath = ""
|
|
895
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
896
896
|
"/backend/{AppId}/storage/{BackendEnvironmentName}/import";
|
|
897
897
|
if (input.AppId !== undefined) {
|
|
898
898
|
labelValue = input.AppId;
|
|
@@ -937,7 +937,7 @@ export var serializeAws_restJson1ListBackendJobsCommand = function (input, conte
|
|
|
937
937
|
headers = {
|
|
938
938
|
"content-type": "application/json",
|
|
939
939
|
};
|
|
940
|
-
resolvedPath = ""
|
|
940
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
941
941
|
"/backend/{AppId}/job/{BackendEnvironmentName}";
|
|
942
942
|
if (input.AppId !== undefined) {
|
|
943
943
|
labelValue = input.AppId;
|
|
@@ -982,7 +982,7 @@ export var serializeAws_restJson1ListS3BucketsCommand = function (input, context
|
|
|
982
982
|
headers = {
|
|
983
983
|
"content-type": "application/json",
|
|
984
984
|
};
|
|
985
|
-
resolvedPath = ""
|
|
985
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/s3Buckets";
|
|
986
986
|
body = JSON.stringify(__assign({}, (input.NextToken !== undefined && input.NextToken !== null && { nextToken: input.NextToken })));
|
|
987
987
|
return [2, new __HttpRequest({
|
|
988
988
|
protocol: protocol,
|
|
@@ -1006,7 +1006,7 @@ export var serializeAws_restJson1RemoveAllBackendsCommand = function (input, con
|
|
|
1006
1006
|
headers = {
|
|
1007
1007
|
"content-type": "application/json",
|
|
1008
1008
|
};
|
|
1009
|
-
resolvedPath = ""
|
|
1009
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/remove";
|
|
1010
1010
|
if (input.AppId !== undefined) {
|
|
1011
1011
|
labelValue = input.AppId;
|
|
1012
1012
|
if (labelValue.length <= 0) {
|
|
@@ -1039,7 +1039,7 @@ export var serializeAws_restJson1RemoveBackendConfigCommand = function (input, c
|
|
|
1039
1039
|
case 1:
|
|
1040
1040
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1041
1041
|
headers = {};
|
|
1042
|
-
resolvedPath = ""
|
|
1042
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/config/remove";
|
|
1043
1043
|
if (input.AppId !== undefined) {
|
|
1044
1044
|
labelValue = input.AppId;
|
|
1045
1045
|
if (labelValue.length <= 0) {
|
|
@@ -1072,7 +1072,7 @@ export var serializeAws_restJson1UpdateBackendAPICommand = function (input, cont
|
|
|
1072
1072
|
headers = {
|
|
1073
1073
|
"content-type": "application/json",
|
|
1074
1074
|
};
|
|
1075
|
-
resolvedPath = ""
|
|
1075
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1076
1076
|
"/backend/{AppId}/api/{BackendEnvironmentName}";
|
|
1077
1077
|
if (input.AppId !== undefined) {
|
|
1078
1078
|
labelValue = input.AppId;
|
|
@@ -1120,7 +1120,7 @@ export var serializeAws_restJson1UpdateBackendAuthCommand = function (input, con
|
|
|
1120
1120
|
headers = {
|
|
1121
1121
|
"content-type": "application/json",
|
|
1122
1122
|
};
|
|
1123
|
-
resolvedPath = ""
|
|
1123
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1124
1124
|
"/backend/{AppId}/auth/{BackendEnvironmentName}";
|
|
1125
1125
|
if (input.AppId !== undefined) {
|
|
1126
1126
|
labelValue = input.AppId;
|
|
@@ -1168,7 +1168,7 @@ export var serializeAws_restJson1UpdateBackendConfigCommand = function (input, c
|
|
|
1168
1168
|
headers = {
|
|
1169
1169
|
"content-type": "application/json",
|
|
1170
1170
|
};
|
|
1171
|
-
resolvedPath = ""
|
|
1171
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backend/{AppId}/config/update";
|
|
1172
1172
|
if (input.AppId !== undefined) {
|
|
1173
1173
|
labelValue = input.AppId;
|
|
1174
1174
|
if (labelValue.length <= 0) {
|
|
@@ -1205,7 +1205,7 @@ export var serializeAws_restJson1UpdateBackendJobCommand = function (input, cont
|
|
|
1205
1205
|
headers = {
|
|
1206
1206
|
"content-type": "application/json",
|
|
1207
1207
|
};
|
|
1208
|
-
resolvedPath = ""
|
|
1208
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1209
1209
|
"/backend/{AppId}/job/{BackendEnvironmentName}/{JobId}";
|
|
1210
1210
|
if (input.AppId !== undefined) {
|
|
1211
1211
|
labelValue = input.AppId;
|
|
@@ -1260,7 +1260,7 @@ export var serializeAws_restJson1UpdateBackendStorageCommand = function (input,
|
|
|
1260
1260
|
headers = {
|
|
1261
1261
|
"content-type": "application/json",
|
|
1262
1262
|
};
|
|
1263
|
-
resolvedPath = ""
|
|
1263
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1264
1264
|
"/backend/{AppId}/storage/{BackendEnvironmentName}";
|
|
1265
1265
|
if (input.AppId !== undefined) {
|
|
1266
1266
|
labelValue = input.AppId;
|
|
@@ -4024,7 +4024,7 @@ var serializeAws_restJson1CreateBackendAuthResourceConfig = function (input, con
|
|
|
4024
4024
|
}));
|
|
4025
4025
|
};
|
|
4026
4026
|
var serializeAws_restJson1CreateBackendAuthUserPoolConfig = function (input, context) {
|
|
4027
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ForgotPassword !== undefined &&
|
|
4027
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ForgotPassword !== undefined &&
|
|
4028
4028
|
input.ForgotPassword !== null && {
|
|
4029
4029
|
forgotPassword: serializeAws_restJson1CreateBackendAuthForgotPasswordConfig(input.ForgotPassword, context),
|
|
4030
4030
|
})), (input.Mfa !== undefined &&
|
|
@@ -4035,7 +4035,18 @@ var serializeAws_restJson1CreateBackendAuthUserPoolConfig = function (input, con
|
|
|
4035
4035
|
})), (input.RequiredSignUpAttributes !== undefined &&
|
|
4036
4036
|
input.RequiredSignUpAttributes !== null && {
|
|
4037
4037
|
requiredSignUpAttributes: serializeAws_restJson1ListOfRequiredSignUpAttributesElement(input.RequiredSignUpAttributes, context),
|
|
4038
|
-
})), (input.SignInMethod !== undefined && input.SignInMethod !== null && { signInMethod: input.SignInMethod })), (input.UserPoolName !== undefined && input.UserPoolName !== null && { userPoolName: input.UserPoolName }))
|
|
4038
|
+
})), (input.SignInMethod !== undefined && input.SignInMethod !== null && { signInMethod: input.SignInMethod })), (input.UserPoolName !== undefined && input.UserPoolName !== null && { userPoolName: input.UserPoolName })), (input.VerificationMessage !== undefined &&
|
|
4039
|
+
input.VerificationMessage !== null && {
|
|
4040
|
+
verificationMessage: serializeAws_restJson1CreateBackendAuthVerificationMessageConfig(input.VerificationMessage, context),
|
|
4041
|
+
}));
|
|
4042
|
+
};
|
|
4043
|
+
var serializeAws_restJson1CreateBackendAuthVerificationMessageConfig = function (input, context) {
|
|
4044
|
+
return __assign(__assign(__assign({}, (input.DeliveryMethod !== undefined &&
|
|
4045
|
+
input.DeliveryMethod !== null && { deliveryMethod: input.DeliveryMethod })), (input.EmailSettings !== undefined &&
|
|
4046
|
+
input.EmailSettings !== null && {
|
|
4047
|
+
emailSettings: serializeAws_restJson1EmailSettings(input.EmailSettings, context),
|
|
4048
|
+
})), (input.SmsSettings !== undefined &&
|
|
4049
|
+
input.SmsSettings !== null && { smsSettings: serializeAws_restJson1SmsSettings(input.SmsSettings, context) }));
|
|
4039
4050
|
};
|
|
4040
4051
|
var serializeAws_restJson1CreateBackendStorageResourceConfig = function (input, context) {
|
|
4041
4052
|
return __assign(__assign(__assign({}, (input.BucketName !== undefined && input.BucketName !== null && { bucketName: input.BucketName })), (input.Permissions !== undefined &&
|
|
@@ -4207,7 +4218,7 @@ var serializeAws_restJson1UpdateBackendAuthResourceConfig = function (input, con
|
|
|
4207
4218
|
}));
|
|
4208
4219
|
};
|
|
4209
4220
|
var serializeAws_restJson1UpdateBackendAuthUserPoolConfig = function (input, context) {
|
|
4210
|
-
return __assign(__assign(__assign(__assign({}, (input.ForgotPassword !== undefined &&
|
|
4221
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ForgotPassword !== undefined &&
|
|
4211
4222
|
input.ForgotPassword !== null && {
|
|
4212
4223
|
forgotPassword: serializeAws_restJson1UpdateBackendAuthForgotPasswordConfig(input.ForgotPassword, context),
|
|
4213
4224
|
})), (input.Mfa !== undefined &&
|
|
@@ -4215,8 +4226,19 @@ var serializeAws_restJson1UpdateBackendAuthUserPoolConfig = function (input, con
|
|
|
4215
4226
|
input.OAuth !== null && { oAuth: serializeAws_restJson1UpdateBackendAuthOAuthConfig(input.OAuth, context) })), (input.PasswordPolicy !== undefined &&
|
|
4216
4227
|
input.PasswordPolicy !== null && {
|
|
4217
4228
|
passwordPolicy: serializeAws_restJson1UpdateBackendAuthPasswordPolicyConfig(input.PasswordPolicy, context),
|
|
4229
|
+
})), (input.VerificationMessage !== undefined &&
|
|
4230
|
+
input.VerificationMessage !== null && {
|
|
4231
|
+
verificationMessage: serializeAws_restJson1UpdateBackendAuthVerificationMessageConfig(input.VerificationMessage, context),
|
|
4218
4232
|
}));
|
|
4219
4233
|
};
|
|
4234
|
+
var serializeAws_restJson1UpdateBackendAuthVerificationMessageConfig = function (input, context) {
|
|
4235
|
+
return __assign(__assign(__assign({}, (input.DeliveryMethod !== undefined &&
|
|
4236
|
+
input.DeliveryMethod !== null && { deliveryMethod: input.DeliveryMethod })), (input.EmailSettings !== undefined &&
|
|
4237
|
+
input.EmailSettings !== null && {
|
|
4238
|
+
emailSettings: serializeAws_restJson1EmailSettings(input.EmailSettings, context),
|
|
4239
|
+
})), (input.SmsSettings !== undefined &&
|
|
4240
|
+
input.SmsSettings !== null && { smsSettings: serializeAws_restJson1SmsSettings(input.SmsSettings, context) }));
|
|
4241
|
+
};
|
|
4220
4242
|
var serializeAws_restJson1UpdateBackendStorageResourceConfig = function (input, context) {
|
|
4221
4243
|
return __assign(__assign({}, (input.Permissions !== undefined &&
|
|
4222
4244
|
input.Permissions !== null && {
|
|
@@ -4382,6 +4404,20 @@ var deserializeAws_restJson1CreateBackendAuthUserPoolConfig = function (output,
|
|
|
4382
4404
|
: undefined,
|
|
4383
4405
|
SignInMethod: __expectString(output.signInMethod),
|
|
4384
4406
|
UserPoolName: __expectString(output.userPoolName),
|
|
4407
|
+
VerificationMessage: output.verificationMessage !== undefined && output.verificationMessage !== null
|
|
4408
|
+
? deserializeAws_restJson1CreateBackendAuthVerificationMessageConfig(output.verificationMessage, context)
|
|
4409
|
+
: undefined,
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
4412
|
+
var deserializeAws_restJson1CreateBackendAuthVerificationMessageConfig = function (output, context) {
|
|
4413
|
+
return {
|
|
4414
|
+
DeliveryMethod: __expectString(output.deliveryMethod),
|
|
4415
|
+
EmailSettings: output.emailSettings !== undefined && output.emailSettings !== null
|
|
4416
|
+
? deserializeAws_restJson1EmailSettings(output.emailSettings, context)
|
|
4417
|
+
: undefined,
|
|
4418
|
+
SmsSettings: output.smsSettings !== undefined && output.smsSettings !== null
|
|
4419
|
+
? deserializeAws_restJson1SmsSettings(output.smsSettings, context)
|
|
4420
|
+
: undefined,
|
|
4385
4421
|
};
|
|
4386
4422
|
};
|
|
4387
4423
|
var deserializeAws_restJson1EmailSettings = function (output, context) {
|
|
@@ -157,7 +157,7 @@ export interface CreateBackendRequest {
|
|
|
157
157
|
*/
|
|
158
158
|
BackendEnvironmentName: string | undefined;
|
|
159
159
|
/**
|
|
160
|
-
* <p>The resource configuration for creating backend
|
|
160
|
+
* <p>The resource configuration for creating a backend.</p>
|
|
161
161
|
*/
|
|
162
162
|
ResourceConfig?: ResourceConfig;
|
|
163
163
|
/**
|
|
@@ -421,11 +421,11 @@ export declare enum DeliveryMethod {
|
|
|
421
421
|
*/
|
|
422
422
|
export interface EmailSettings {
|
|
423
423
|
/**
|
|
424
|
-
* <p>The
|
|
424
|
+
* <p>The contents of the email message.</p>
|
|
425
425
|
*/
|
|
426
426
|
EmailMessage?: string;
|
|
427
427
|
/**
|
|
428
|
-
* <p>The subject of the email.</p>
|
|
428
|
+
* <p>The contents of the subject line of the email message.</p>
|
|
429
429
|
*/
|
|
430
430
|
EmailSubject?: string;
|
|
431
431
|
}
|
|
@@ -440,7 +440,7 @@ export declare namespace EmailSettings {
|
|
|
440
440
|
*/
|
|
441
441
|
export interface SmsSettings {
|
|
442
442
|
/**
|
|
443
|
-
* <p>The
|
|
443
|
+
* <p>The contents of the SMS message.</p>
|
|
444
444
|
*/
|
|
445
445
|
SmsMessage?: string;
|
|
446
446
|
}
|
|
@@ -451,19 +451,19 @@ export declare namespace SmsSettings {
|
|
|
451
451
|
const filterSensitiveLog: (obj: SmsSettings) => any;
|
|
452
452
|
}
|
|
453
453
|
/**
|
|
454
|
-
* <p>Describes the forgot password policy for authenticating into the Amplify app.</p>
|
|
454
|
+
* <p><b>(DEPRECATED)</b> Describes the forgot password policy for authenticating into the Amplify app.</p>
|
|
455
455
|
*/
|
|
456
456
|
export interface CreateBackendAuthForgotPasswordConfig {
|
|
457
457
|
/**
|
|
458
|
-
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.</p>
|
|
458
|
+
* <p><b>(DEPRECATED)</b> Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.</p>
|
|
459
459
|
*/
|
|
460
460
|
DeliveryMethod: DeliveryMethod | string | undefined;
|
|
461
461
|
/**
|
|
462
|
-
* <p>The configuration for the email sent when an app user forgets their password.</p>
|
|
462
|
+
* <p><b>(DEPRECATED)</b> The configuration for the email sent when an app user forgets their password.</p>
|
|
463
463
|
*/
|
|
464
464
|
EmailSettings?: EmailSettings;
|
|
465
465
|
/**
|
|
466
|
-
* <p>The configuration for the SMS message sent when an app user forgets their password.</p>
|
|
466
|
+
* <p><b>(DEPRECATED)</b> The configuration for the SMS message sent when an app user forgets their password.</p>
|
|
467
467
|
*/
|
|
468
468
|
SmsSettings?: SmsSettings;
|
|
469
469
|
}
|
|
@@ -683,12 +683,35 @@ export declare enum SignInMethod {
|
|
|
683
683
|
PHONE_NUMBER = "PHONE_NUMBER",
|
|
684
684
|
USERNAME = "USERNAME"
|
|
685
685
|
}
|
|
686
|
+
/**
|
|
687
|
+
* <p>Creates an email or SMS verification message for the auth resource configured for your Amplify project.</p>
|
|
688
|
+
*/
|
|
689
|
+
export interface CreateBackendAuthVerificationMessageConfig {
|
|
690
|
+
/**
|
|
691
|
+
* <p>The type of verification message to send.</p>
|
|
692
|
+
*/
|
|
693
|
+
DeliveryMethod: DeliveryMethod | string | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* <p>The settings for the email message.</p>
|
|
696
|
+
*/
|
|
697
|
+
EmailSettings?: EmailSettings;
|
|
698
|
+
/**
|
|
699
|
+
* <p>The settings for the SMS message.</p>
|
|
700
|
+
*/
|
|
701
|
+
SmsSettings?: SmsSettings;
|
|
702
|
+
}
|
|
703
|
+
export declare namespace CreateBackendAuthVerificationMessageConfig {
|
|
704
|
+
/**
|
|
705
|
+
* @internal
|
|
706
|
+
*/
|
|
707
|
+
const filterSensitiveLog: (obj: CreateBackendAuthVerificationMessageConfig) => any;
|
|
708
|
+
}
|
|
686
709
|
/**
|
|
687
710
|
* <p>Describes the Amazon Cognito user pool configuration for the auth resource to be configured for your Amplify project.</p>
|
|
688
711
|
*/
|
|
689
712
|
export interface CreateBackendAuthUserPoolConfig {
|
|
690
713
|
/**
|
|
691
|
-
* <p>Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
714
|
+
* <p><b>(DEPRECATED)</b> Describes the forgotten password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
692
715
|
*/
|
|
693
716
|
ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
|
|
694
717
|
/**
|
|
@@ -715,6 +738,10 @@ export interface CreateBackendAuthUserPoolConfig {
|
|
|
715
738
|
* <p>The Amazon Cognito user pool name.</p>
|
|
716
739
|
*/
|
|
717
740
|
UserPoolName: string | undefined;
|
|
741
|
+
/**
|
|
742
|
+
* <p>Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
743
|
+
*/
|
|
744
|
+
VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
|
|
718
745
|
}
|
|
719
746
|
export declare namespace CreateBackendAuthUserPoolConfig {
|
|
720
747
|
/**
|
|
@@ -2079,19 +2106,19 @@ export declare namespace UpdateBackendAuthIdentityPoolConfig {
|
|
|
2079
2106
|
const filterSensitiveLog: (obj: UpdateBackendAuthIdentityPoolConfig) => any;
|
|
2080
2107
|
}
|
|
2081
2108
|
/**
|
|
2082
|
-
* <p>Describes the forgot password policy for authenticating into the Amplify app.</p>
|
|
2109
|
+
* <p><b>(DEPRECATED)</b> Describes the forgot password policy for authenticating into the Amplify app.</p>
|
|
2083
2110
|
*/
|
|
2084
2111
|
export interface UpdateBackendAuthForgotPasswordConfig {
|
|
2085
2112
|
/**
|
|
2086
|
-
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.</p>
|
|
2113
|
+
* <p><b>(DEPRECATED)</b> Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.</p>
|
|
2087
2114
|
*/
|
|
2088
2115
|
DeliveryMethod?: DeliveryMethod | string;
|
|
2089
2116
|
/**
|
|
2090
|
-
* <p>The configuration for the email sent when an app user forgets their password.</p>
|
|
2117
|
+
* <p><b>(DEPRECATED)</b> The configuration for the email sent when an app user forgets their password.</p>
|
|
2091
2118
|
*/
|
|
2092
2119
|
EmailSettings?: EmailSettings;
|
|
2093
2120
|
/**
|
|
2094
|
-
* <p>The configuration for the SMS message sent when an Amplify app user forgets their password.</p>
|
|
2121
|
+
* <p><b>(DEPRECATED)</b> The configuration for the SMS message sent when an Amplify app user forgets their password.</p>
|
|
2095
2122
|
*/
|
|
2096
2123
|
SmsSettings?: SmsSettings;
|
|
2097
2124
|
}
|
|
@@ -2174,12 +2201,35 @@ export declare namespace UpdateBackendAuthPasswordPolicyConfig {
|
|
|
2174
2201
|
*/
|
|
2175
2202
|
const filterSensitiveLog: (obj: UpdateBackendAuthPasswordPolicyConfig) => any;
|
|
2176
2203
|
}
|
|
2204
|
+
/**
|
|
2205
|
+
* <p>Updates the configuration of the email or SMS message for the auth resource configured for your Amplify project.</p>
|
|
2206
|
+
*/
|
|
2207
|
+
export interface UpdateBackendAuthVerificationMessageConfig {
|
|
2208
|
+
/**
|
|
2209
|
+
* <p>The type of verification message to send.</p>
|
|
2210
|
+
*/
|
|
2211
|
+
DeliveryMethod: DeliveryMethod | string | undefined;
|
|
2212
|
+
/**
|
|
2213
|
+
* <p>The settings for the email message.</p>
|
|
2214
|
+
*/
|
|
2215
|
+
EmailSettings?: EmailSettings;
|
|
2216
|
+
/**
|
|
2217
|
+
* <p>The settings for the SMS message.</p>
|
|
2218
|
+
*/
|
|
2219
|
+
SmsSettings?: SmsSettings;
|
|
2220
|
+
}
|
|
2221
|
+
export declare namespace UpdateBackendAuthVerificationMessageConfig {
|
|
2222
|
+
/**
|
|
2223
|
+
* @internal
|
|
2224
|
+
*/
|
|
2225
|
+
const filterSensitiveLog: (obj: UpdateBackendAuthVerificationMessageConfig) => any;
|
|
2226
|
+
}
|
|
2177
2227
|
/**
|
|
2178
2228
|
* <p>Describes the Amazon Cognito user pool configuration for the authorization resource to be configured for your Amplify project on an update.</p>
|
|
2179
2229
|
*/
|
|
2180
2230
|
export interface UpdateBackendAuthUserPoolConfig {
|
|
2181
2231
|
/**
|
|
2182
|
-
* <p>Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
2232
|
+
* <p><b>(DEPRECATED)</b> Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
2183
2233
|
*/
|
|
2184
2234
|
ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
|
|
2185
2235
|
/**
|
|
@@ -2194,6 +2244,10 @@ export interface UpdateBackendAuthUserPoolConfig {
|
|
|
2194
2244
|
* <p>Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
2195
2245
|
*/
|
|
2196
2246
|
PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
|
|
2247
|
+
/**
|
|
2248
|
+
* <p>Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.</p>
|
|
2249
|
+
*/
|
|
2250
|
+
VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
|
|
2197
2251
|
}
|
|
2198
2252
|
export declare namespace UpdateBackendAuthUserPoolConfig {
|
|
2199
2253
|
/**
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -420,6 +420,19 @@ export declare enum SignInMethod {
|
|
|
420
420
|
USERNAME = "USERNAME"
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
+
export interface CreateBackendAuthVerificationMessageConfig {
|
|
424
|
+
|
|
425
|
+
DeliveryMethod: DeliveryMethod | string | undefined;
|
|
426
|
+
|
|
427
|
+
EmailSettings?: EmailSettings;
|
|
428
|
+
|
|
429
|
+
SmsSettings?: SmsSettings;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace CreateBackendAuthVerificationMessageConfig {
|
|
432
|
+
|
|
433
|
+
const filterSensitiveLog: (obj: CreateBackendAuthVerificationMessageConfig) => any;
|
|
434
|
+
}
|
|
435
|
+
|
|
423
436
|
export interface CreateBackendAuthUserPoolConfig {
|
|
424
437
|
|
|
425
438
|
ForgotPassword?: CreateBackendAuthForgotPasswordConfig;
|
|
@@ -435,6 +448,8 @@ export interface CreateBackendAuthUserPoolConfig {
|
|
|
435
448
|
SignInMethod: SignInMethod | string | undefined;
|
|
436
449
|
|
|
437
450
|
UserPoolName: string | undefined;
|
|
451
|
+
|
|
452
|
+
VerificationMessage?: CreateBackendAuthVerificationMessageConfig;
|
|
438
453
|
}
|
|
439
454
|
export declare namespace CreateBackendAuthUserPoolConfig {
|
|
440
455
|
|
|
@@ -1279,6 +1294,19 @@ export declare namespace UpdateBackendAuthPasswordPolicyConfig {
|
|
|
1279
1294
|
const filterSensitiveLog: (obj: UpdateBackendAuthPasswordPolicyConfig) => any;
|
|
1280
1295
|
}
|
|
1281
1296
|
|
|
1297
|
+
export interface UpdateBackendAuthVerificationMessageConfig {
|
|
1298
|
+
|
|
1299
|
+
DeliveryMethod: DeliveryMethod | string | undefined;
|
|
1300
|
+
|
|
1301
|
+
EmailSettings?: EmailSettings;
|
|
1302
|
+
|
|
1303
|
+
SmsSettings?: SmsSettings;
|
|
1304
|
+
}
|
|
1305
|
+
export declare namespace UpdateBackendAuthVerificationMessageConfig {
|
|
1306
|
+
|
|
1307
|
+
const filterSensitiveLog: (obj: UpdateBackendAuthVerificationMessageConfig) => any;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1282
1310
|
export interface UpdateBackendAuthUserPoolConfig {
|
|
1283
1311
|
|
|
1284
1312
|
ForgotPassword?: UpdateBackendAuthForgotPasswordConfig;
|
|
@@ -1288,6 +1316,8 @@ export interface UpdateBackendAuthUserPoolConfig {
|
|
|
1288
1316
|
OAuth?: UpdateBackendAuthOAuthConfig;
|
|
1289
1317
|
|
|
1290
1318
|
PasswordPolicy?: UpdateBackendAuthPasswordPolicyConfig;
|
|
1319
|
+
|
|
1320
|
+
VerificationMessage?: UpdateBackendAuthVerificationMessageConfig;
|
|
1291
1321
|
}
|
|
1292
1322
|
export declare namespace UpdateBackendAuthUserPoolConfig {
|
|
1293
1323
|
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: AmplifyBackendClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|