@aws-sdk/client-amplify 3.53.0 → 3.55.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/AmplifyClient.js +13 -13
- package/dist-cjs/commands/CreateAppCommand.js +3 -3
- package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/CreateBranchCommand.js +3 -3
- package/dist-cjs/commands/CreateDeploymentCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateWebhookCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteBranchCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteWebhookCommand.js +3 -3
- package/dist-cjs/commands/GenerateAccessLogsCommand.js +3 -3
- package/dist-cjs/commands/GetAppCommand.js +3 -3
- package/dist-cjs/commands/GetArtifactUrlCommand.js +3 -3
- package/dist-cjs/commands/GetBackendEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/GetBranchCommand.js +3 -3
- package/dist-cjs/commands/GetDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetWebhookCommand.js +3 -3
- package/dist-cjs/commands/ListAppsCommand.js +3 -3
- package/dist-cjs/commands/ListArtifactsCommand.js +3 -3
- package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +3 -3
- package/dist-cjs/commands/ListBranchesCommand.js +3 -3
- package/dist-cjs/commands/ListDomainAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWebhooksCommand.js +3 -3
- package/dist-cjs/commands/StartDeploymentCommand.js +3 -3
- package/dist-cjs/commands/StartJobCommand.js +3 -3
- package/dist-cjs/commands/StopJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppCommand.js +3 -3
- package/dist-cjs/commands/UpdateBranchCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateWebhookCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +17 -2
- package/dist-cjs/protocols/Aws_restJson1.js +265 -264
- 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/Amplify.js +37 -37
- package/dist-es/models/models_0.js +14 -7
- package/dist-es/protocols/Aws_restJson1.js +38 -37
- package/dist-types/AmplifyClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +51 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/AmplifyClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +10 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateAppCommand = 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 || "") + "/apps";
|
|
17
17
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.accessToken !== undefined && input.accessToken !== null && { accessToken: input.accessToken })), (input.autoBranchCreationConfig !== undefined &&
|
|
18
18
|
input.autoBranchCreationConfig !== null && {
|
|
19
19
|
autoBranchCreationConfig: serializeAws_restJson1AutoBranchCreationConfig(input.autoBranchCreationConfig, context),
|
|
@@ -53,7 +53,7 @@ export var serializeAws_restJson1CreateBackendEnvironmentCommand = function (inp
|
|
|
53
53
|
headers = {
|
|
54
54
|
"content-type": "application/json",
|
|
55
55
|
};
|
|
56
|
-
resolvedPath = ""
|
|
56
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/backendenvironments";
|
|
57
57
|
if (input.appId !== undefined) {
|
|
58
58
|
labelValue = input.appId;
|
|
59
59
|
if (labelValue.length <= 0) {
|
|
@@ -89,7 +89,7 @@ export var serializeAws_restJson1CreateBranchCommand = function (input, context)
|
|
|
89
89
|
headers = {
|
|
90
90
|
"content-type": "application/json",
|
|
91
91
|
};
|
|
92
|
-
resolvedPath = ""
|
|
92
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches";
|
|
93
93
|
if (input.appId !== undefined) {
|
|
94
94
|
labelValue = input.appId;
|
|
95
95
|
if (labelValue.length <= 0) {
|
|
@@ -134,7 +134,7 @@ export var serializeAws_restJson1CreateDeploymentCommand = function (input, cont
|
|
|
134
134
|
headers = {
|
|
135
135
|
"content-type": "application/json",
|
|
136
136
|
};
|
|
137
|
-
resolvedPath = ""
|
|
137
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
138
138
|
"/apps/{appId}/branches/{branchName}/deployments";
|
|
139
139
|
if (input.appId !== undefined) {
|
|
140
140
|
labelValue = input.appId;
|
|
@@ -180,7 +180,7 @@ export var serializeAws_restJson1CreateDomainAssociationCommand = function (inpu
|
|
|
180
180
|
headers = {
|
|
181
181
|
"content-type": "application/json",
|
|
182
182
|
};
|
|
183
|
-
resolvedPath = ""
|
|
183
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/domains";
|
|
184
184
|
if (input.appId !== undefined) {
|
|
185
185
|
labelValue = input.appId;
|
|
186
186
|
if (labelValue.length <= 0) {
|
|
@@ -222,7 +222,7 @@ export var serializeAws_restJson1CreateWebhookCommand = function (input, context
|
|
|
222
222
|
headers = {
|
|
223
223
|
"content-type": "application/json",
|
|
224
224
|
};
|
|
225
|
-
resolvedPath = ""
|
|
225
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/webhooks";
|
|
226
226
|
if (input.appId !== undefined) {
|
|
227
227
|
labelValue = input.appId;
|
|
228
228
|
if (labelValue.length <= 0) {
|
|
@@ -254,7 +254,7 @@ export var serializeAws_restJson1DeleteAppCommand = function (input, context) {
|
|
|
254
254
|
case 1:
|
|
255
255
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
256
256
|
headers = {};
|
|
257
|
-
resolvedPath = ""
|
|
257
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}";
|
|
258
258
|
if (input.appId !== undefined) {
|
|
259
259
|
labelValue = input.appId;
|
|
260
260
|
if (labelValue.length <= 0) {
|
|
@@ -285,7 +285,7 @@ export var serializeAws_restJson1DeleteBackendEnvironmentCommand = function (inp
|
|
|
285
285
|
case 1:
|
|
286
286
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
287
287
|
headers = {};
|
|
288
|
-
resolvedPath = ""
|
|
288
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
289
289
|
"/apps/{appId}/backendenvironments/{environmentName}";
|
|
290
290
|
if (input.appId !== undefined) {
|
|
291
291
|
labelValue = input.appId;
|
|
@@ -327,7 +327,7 @@ export var serializeAws_restJson1DeleteBranchCommand = function (input, context)
|
|
|
327
327
|
case 1:
|
|
328
328
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
329
329
|
headers = {};
|
|
330
|
-
resolvedPath = ""
|
|
330
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches/{branchName}";
|
|
331
331
|
if (input.appId !== undefined) {
|
|
332
332
|
labelValue = input.appId;
|
|
333
333
|
if (labelValue.length <= 0) {
|
|
@@ -368,7 +368,7 @@ export var serializeAws_restJson1DeleteDomainAssociationCommand = function (inpu
|
|
|
368
368
|
case 1:
|
|
369
369
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
370
370
|
headers = {};
|
|
371
|
-
resolvedPath = ""
|
|
371
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/domains/{domainName}";
|
|
372
372
|
if (input.appId !== undefined) {
|
|
373
373
|
labelValue = input.appId;
|
|
374
374
|
if (labelValue.length <= 0) {
|
|
@@ -409,7 +409,7 @@ export var serializeAws_restJson1DeleteJobCommand = function (input, context) {
|
|
|
409
409
|
case 1:
|
|
410
410
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
411
411
|
headers = {};
|
|
412
|
-
resolvedPath = ""
|
|
412
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
413
413
|
"/apps/{appId}/branches/{branchName}/jobs/{jobId}";
|
|
414
414
|
if (input.appId !== undefined) {
|
|
415
415
|
labelValue = input.appId;
|
|
@@ -461,7 +461,7 @@ export var serializeAws_restJson1DeleteWebhookCommand = function (input, context
|
|
|
461
461
|
case 1:
|
|
462
462
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
463
463
|
headers = {};
|
|
464
|
-
resolvedPath = ""
|
|
464
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/webhooks/{webhookId}";
|
|
465
465
|
if (input.webhookId !== undefined) {
|
|
466
466
|
labelValue = input.webhookId;
|
|
467
467
|
if (labelValue.length <= 0) {
|
|
@@ -494,7 +494,7 @@ export var serializeAws_restJson1GenerateAccessLogsCommand = function (input, co
|
|
|
494
494
|
headers = {
|
|
495
495
|
"content-type": "application/json",
|
|
496
496
|
};
|
|
497
|
-
resolvedPath = ""
|
|
497
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/accesslogs";
|
|
498
498
|
if (input.appId !== undefined) {
|
|
499
499
|
labelValue = input.appId;
|
|
500
500
|
if (labelValue.length <= 0) {
|
|
@@ -528,7 +528,7 @@ export var serializeAws_restJson1GetAppCommand = function (input, context) { ret
|
|
|
528
528
|
case 1:
|
|
529
529
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
530
530
|
headers = {};
|
|
531
|
-
resolvedPath = ""
|
|
531
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}";
|
|
532
532
|
if (input.appId !== undefined) {
|
|
533
533
|
labelValue = input.appId;
|
|
534
534
|
if (labelValue.length <= 0) {
|
|
@@ -559,7 +559,7 @@ export var serializeAws_restJson1GetArtifactUrlCommand = function (input, contex
|
|
|
559
559
|
case 1:
|
|
560
560
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
561
561
|
headers = {};
|
|
562
|
-
resolvedPath = ""
|
|
562
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/artifacts/{artifactId}";
|
|
563
563
|
if (input.artifactId !== undefined) {
|
|
564
564
|
labelValue = input.artifactId;
|
|
565
565
|
if (labelValue.length <= 0) {
|
|
@@ -590,7 +590,7 @@ export var serializeAws_restJson1GetBackendEnvironmentCommand = function (input,
|
|
|
590
590
|
case 1:
|
|
591
591
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
592
592
|
headers = {};
|
|
593
|
-
resolvedPath = ""
|
|
593
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
594
594
|
"/apps/{appId}/backendenvironments/{environmentName}";
|
|
595
595
|
if (input.appId !== undefined) {
|
|
596
596
|
labelValue = input.appId;
|
|
@@ -632,7 +632,7 @@ export var serializeAws_restJson1GetBranchCommand = function (input, context) {
|
|
|
632
632
|
case 1:
|
|
633
633
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
634
634
|
headers = {};
|
|
635
|
-
resolvedPath = ""
|
|
635
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches/{branchName}";
|
|
636
636
|
if (input.appId !== undefined) {
|
|
637
637
|
labelValue = input.appId;
|
|
638
638
|
if (labelValue.length <= 0) {
|
|
@@ -673,7 +673,7 @@ export var serializeAws_restJson1GetDomainAssociationCommand = function (input,
|
|
|
673
673
|
case 1:
|
|
674
674
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
675
675
|
headers = {};
|
|
676
|
-
resolvedPath = ""
|
|
676
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/domains/{domainName}";
|
|
677
677
|
if (input.appId !== undefined) {
|
|
678
678
|
labelValue = input.appId;
|
|
679
679
|
if (labelValue.length <= 0) {
|
|
@@ -714,7 +714,7 @@ export var serializeAws_restJson1GetJobCommand = function (input, context) { ret
|
|
|
714
714
|
case 1:
|
|
715
715
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
716
716
|
headers = {};
|
|
717
|
-
resolvedPath = ""
|
|
717
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
718
718
|
"/apps/{appId}/branches/{branchName}/jobs/{jobId}";
|
|
719
719
|
if (input.appId !== undefined) {
|
|
720
720
|
labelValue = input.appId;
|
|
@@ -766,7 +766,7 @@ export var serializeAws_restJson1GetWebhookCommand = function (input, context) {
|
|
|
766
766
|
case 1:
|
|
767
767
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
768
768
|
headers = {};
|
|
769
|
-
resolvedPath = ""
|
|
769
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/webhooks/{webhookId}";
|
|
770
770
|
if (input.webhookId !== undefined) {
|
|
771
771
|
labelValue = input.webhookId;
|
|
772
772
|
if (labelValue.length <= 0) {
|
|
@@ -797,7 +797,7 @@ export var serializeAws_restJson1ListAppsCommand = function (input, context) { r
|
|
|
797
797
|
case 1:
|
|
798
798
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
799
799
|
headers = {};
|
|
800
|
-
resolvedPath = ""
|
|
800
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps";
|
|
801
801
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
802
802
|
return [2, new __HttpRequest({
|
|
803
803
|
protocol: protocol,
|
|
@@ -820,7 +820,7 @@ export var serializeAws_restJson1ListArtifactsCommand = function (input, context
|
|
|
820
820
|
case 1:
|
|
821
821
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
822
822
|
headers = {};
|
|
823
|
-
resolvedPath = ""
|
|
823
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
824
824
|
"/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts";
|
|
825
825
|
if (input.appId !== undefined) {
|
|
826
826
|
labelValue = input.appId;
|
|
@@ -874,7 +874,7 @@ export var serializeAws_restJson1ListBackendEnvironmentsCommand = function (inpu
|
|
|
874
874
|
case 1:
|
|
875
875
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
876
876
|
headers = {};
|
|
877
|
-
resolvedPath = ""
|
|
877
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/backendenvironments";
|
|
878
878
|
if (input.appId !== undefined) {
|
|
879
879
|
labelValue = input.appId;
|
|
880
880
|
if (labelValue.length <= 0) {
|
|
@@ -907,7 +907,7 @@ export var serializeAws_restJson1ListBranchesCommand = function (input, context)
|
|
|
907
907
|
case 1:
|
|
908
908
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
909
909
|
headers = {};
|
|
910
|
-
resolvedPath = ""
|
|
910
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches";
|
|
911
911
|
if (input.appId !== undefined) {
|
|
912
912
|
labelValue = input.appId;
|
|
913
913
|
if (labelValue.length <= 0) {
|
|
@@ -940,7 +940,7 @@ export var serializeAws_restJson1ListDomainAssociationsCommand = function (input
|
|
|
940
940
|
case 1:
|
|
941
941
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
942
942
|
headers = {};
|
|
943
|
-
resolvedPath = ""
|
|
943
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/domains";
|
|
944
944
|
if (input.appId !== undefined) {
|
|
945
945
|
labelValue = input.appId;
|
|
946
946
|
if (labelValue.length <= 0) {
|
|
@@ -973,7 +973,7 @@ export var serializeAws_restJson1ListJobsCommand = function (input, context) { r
|
|
|
973
973
|
case 1:
|
|
974
974
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
975
975
|
headers = {};
|
|
976
|
-
resolvedPath = ""
|
|
976
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches/{branchName}/jobs";
|
|
977
977
|
if (input.appId !== undefined) {
|
|
978
978
|
labelValue = input.appId;
|
|
979
979
|
if (labelValue.length <= 0) {
|
|
@@ -1016,7 +1016,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1016
1016
|
case 1:
|
|
1017
1017
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1018
1018
|
headers = {};
|
|
1019
|
-
resolvedPath = ""
|
|
1019
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1020
1020
|
if (input.resourceArn !== undefined) {
|
|
1021
1021
|
labelValue = input.resourceArn;
|
|
1022
1022
|
if (labelValue.length <= 0) {
|
|
@@ -1047,7 +1047,7 @@ export var serializeAws_restJson1ListWebhooksCommand = function (input, context)
|
|
|
1047
1047
|
case 1:
|
|
1048
1048
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1049
1049
|
headers = {};
|
|
1050
|
-
resolvedPath = ""
|
|
1050
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/webhooks";
|
|
1051
1051
|
if (input.appId !== undefined) {
|
|
1052
1052
|
labelValue = input.appId;
|
|
1053
1053
|
if (labelValue.length <= 0) {
|
|
@@ -1082,7 +1082,7 @@ export var serializeAws_restJson1StartDeploymentCommand = function (input, conte
|
|
|
1082
1082
|
headers = {
|
|
1083
1083
|
"content-type": "application/json",
|
|
1084
1084
|
};
|
|
1085
|
-
resolvedPath = ""
|
|
1085
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1086
1086
|
"/apps/{appId}/branches/{branchName}/deployments/start";
|
|
1087
1087
|
if (input.appId !== undefined) {
|
|
1088
1088
|
labelValue = input.appId;
|
|
@@ -1127,7 +1127,7 @@ export var serializeAws_restJson1StartJobCommand = function (input, context) { r
|
|
|
1127
1127
|
headers = {
|
|
1128
1128
|
"content-type": "application/json",
|
|
1129
1129
|
};
|
|
1130
|
-
resolvedPath = ""
|
|
1130
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches/{branchName}/jobs";
|
|
1131
1131
|
if (input.appId !== undefined) {
|
|
1132
1132
|
labelValue = input.appId;
|
|
1133
1133
|
if (labelValue.length <= 0) {
|
|
@@ -1170,7 +1170,7 @@ export var serializeAws_restJson1StopJobCommand = function (input, context) { re
|
|
|
1170
1170
|
case 1:
|
|
1171
1171
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1172
1172
|
headers = {};
|
|
1173
|
-
resolvedPath = ""
|
|
1173
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1174
1174
|
"/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop";
|
|
1175
1175
|
if (input.appId !== undefined) {
|
|
1176
1176
|
labelValue = input.appId;
|
|
@@ -1224,7 +1224,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1224
1224
|
headers = {
|
|
1225
1225
|
"content-type": "application/json",
|
|
1226
1226
|
};
|
|
1227
|
-
resolvedPath = ""
|
|
1227
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1228
1228
|
if (input.resourceArn !== undefined) {
|
|
1229
1229
|
labelValue = input.resourceArn;
|
|
1230
1230
|
if (labelValue.length <= 0) {
|
|
@@ -1256,7 +1256,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1256
1256
|
case 1:
|
|
1257
1257
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1258
1258
|
headers = {};
|
|
1259
|
-
resolvedPath = ""
|
|
1259
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1260
1260
|
if (input.resourceArn !== undefined) {
|
|
1261
1261
|
labelValue = input.resourceArn;
|
|
1262
1262
|
if (labelValue.length <= 0) {
|
|
@@ -1291,7 +1291,7 @@ export var serializeAws_restJson1UpdateAppCommand = function (input, context) {
|
|
|
1291
1291
|
headers = {
|
|
1292
1292
|
"content-type": "application/json",
|
|
1293
1293
|
};
|
|
1294
|
-
resolvedPath = ""
|
|
1294
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}";
|
|
1295
1295
|
if (input.appId !== undefined) {
|
|
1296
1296
|
labelValue = input.appId;
|
|
1297
1297
|
if (labelValue.length <= 0) {
|
|
@@ -1341,7 +1341,7 @@ export var serializeAws_restJson1UpdateBranchCommand = function (input, context)
|
|
|
1341
1341
|
headers = {
|
|
1342
1342
|
"content-type": "application/json",
|
|
1343
1343
|
};
|
|
1344
|
-
resolvedPath = ""
|
|
1344
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/branches/{branchName}";
|
|
1345
1345
|
if (input.appId !== undefined) {
|
|
1346
1346
|
labelValue = input.appId;
|
|
1347
1347
|
if (labelValue.length <= 0) {
|
|
@@ -1396,7 +1396,7 @@ export var serializeAws_restJson1UpdateDomainAssociationCommand = function (inpu
|
|
|
1396
1396
|
headers = {
|
|
1397
1397
|
"content-type": "application/json",
|
|
1398
1398
|
};
|
|
1399
|
-
resolvedPath = ""
|
|
1399
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/apps/{appId}/domains/{domainName}";
|
|
1400
1400
|
if (input.appId !== undefined) {
|
|
1401
1401
|
labelValue = input.appId;
|
|
1402
1402
|
if (labelValue.length <= 0) {
|
|
@@ -1448,7 +1448,7 @@ export var serializeAws_restJson1UpdateWebhookCommand = function (input, context
|
|
|
1448
1448
|
headers = {
|
|
1449
1449
|
"content-type": "application/json",
|
|
1450
1450
|
};
|
|
1451
|
-
resolvedPath = ""
|
|
1451
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/webhooks/{webhookId}";
|
|
1452
1452
|
if (input.webhookId !== undefined) {
|
|
1453
1453
|
labelValue = input.webhookId;
|
|
1454
1454
|
if (labelValue.length <= 0) {
|
|
@@ -4290,6 +4290,7 @@ var deserializeAws_restJson1App = function (output, context) {
|
|
|
4290
4290
|
? deserializeAws_restJson1ProductionBranch(output.productionBranch, context)
|
|
4291
4291
|
: undefined,
|
|
4292
4292
|
repository: __expectString(output.repository),
|
|
4293
|
+
repositoryCloneMethod: __expectString(output.repositoryCloneMethod),
|
|
4293
4294
|
tags: output.tags !== undefined && output.tags !== null
|
|
4294
4295
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
4295
4296
|
: undefined,
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
10
10
|
import { CreateBackendEnvironmentCommandInput, CreateBackendEnvironmentCommandOutput } from "./commands/CreateBackendEnvironmentCommand";
|
|
11
11
|
import { CreateBranchCommandInput, CreateBranchCommandOutput } from "./commands/CreateBranchCommand";
|
|
@@ -65,7 +65,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
65
65
|
* A function that can calculate the length of a request body.
|
|
66
66
|
* @internal
|
|
67
67
|
*/
|
|
68
|
-
bodyLengthChecker?:
|
|
68
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
69
69
|
/**
|
|
70
70
|
* A function that converts a stream into an array of bytes.
|
|
71
71
|
* @internal
|
|
@@ -41,7 +41,9 @@ export interface AutoBranchCreationConfig {
|
|
|
41
41
|
[key: string]: string;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
|
-
* <p> The basic authorization credentials for the autocreated branch. You must
|
|
44
|
+
* <p> The basic authorization credentials for the autocreated branch. You must
|
|
45
|
+
* base64-encode the authorization credentials and provide them in the format
|
|
46
|
+
* <code>user:password</code>.</p>
|
|
45
47
|
*/
|
|
46
48
|
basicAuthCredentials?: string;
|
|
47
49
|
/**
|
|
@@ -50,7 +52,9 @@ export interface AutoBranchCreationConfig {
|
|
|
50
52
|
enableBasicAuth?: boolean;
|
|
51
53
|
/**
|
|
52
54
|
* <p>Enables performance mode for the branch.</p>
|
|
53
|
-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
55
|
+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
56
|
+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
|
|
57
|
+
* or code changes can take up to 10 minutes to roll out. </p>
|
|
54
58
|
*/
|
|
55
59
|
enablePerformanceMode?: boolean;
|
|
56
60
|
/**
|
|
@@ -94,7 +98,8 @@ export interface CustomRule {
|
|
|
94
98
|
* </dd>
|
|
95
99
|
* <dt>301</dt>
|
|
96
100
|
* <dd>
|
|
97
|
-
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future
|
|
101
|
+
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future
|
|
102
|
+
* requests should be directed to the target URL. </p>
|
|
98
103
|
* </dd>
|
|
99
104
|
* <dt>302</dt>
|
|
100
105
|
* <dd>
|
|
@@ -123,7 +128,8 @@ export declare namespace CustomRule {
|
|
|
123
128
|
const filterSensitiveLog: (obj: CustomRule) => any;
|
|
124
129
|
}
|
|
125
130
|
export declare enum Platform {
|
|
126
|
-
WEB = "WEB"
|
|
131
|
+
WEB = "WEB",
|
|
132
|
+
WEB_DYNAMIC = "WEB_DYNAMIC"
|
|
127
133
|
}
|
|
128
134
|
/**
|
|
129
135
|
* <p> The request structure used to create apps in Amplify. </p>
|
|
@@ -182,7 +188,9 @@ export interface CreateAppRequest {
|
|
|
182
188
|
*/
|
|
183
189
|
enableBasicAuth?: boolean;
|
|
184
190
|
/**
|
|
185
|
-
* <p> The credentials for basic authorization for an Amplify app. You must base64-encode
|
|
191
|
+
* <p> The credentials for basic authorization for an Amplify app. You must base64-encode
|
|
192
|
+
* the authorization credentials and provide them in the format
|
|
193
|
+
* <code>user:password</code>.</p>
|
|
186
194
|
*/
|
|
187
195
|
basicAuthCredentials?: string;
|
|
188
196
|
/**
|
|
@@ -249,6 +257,11 @@ export declare namespace ProductionBranch {
|
|
|
249
257
|
*/
|
|
250
258
|
const filterSensitiveLog: (obj: ProductionBranch) => any;
|
|
251
259
|
}
|
|
260
|
+
export declare enum RepositoryCloneMethod {
|
|
261
|
+
SIGV4 = "SIGV4",
|
|
262
|
+
SSH = "SSH",
|
|
263
|
+
TOKEN = "TOKEN"
|
|
264
|
+
}
|
|
252
265
|
/**
|
|
253
266
|
* <p> Represents the different branches of a repository for building, deploying, and
|
|
254
267
|
* hosting an Amplify app. </p>
|
|
@@ -277,7 +290,7 @@ export interface App {
|
|
|
277
290
|
*/
|
|
278
291
|
description: string | undefined;
|
|
279
292
|
/**
|
|
280
|
-
* <p> The repository for the Amplify app. </p>
|
|
293
|
+
* <p> The Git repository for the Amplify app. </p>
|
|
281
294
|
*/
|
|
282
295
|
repository: string | undefined;
|
|
283
296
|
/**
|
|
@@ -321,7 +334,9 @@ export interface App {
|
|
|
321
334
|
*/
|
|
322
335
|
enableBasicAuth: boolean | undefined;
|
|
323
336
|
/**
|
|
324
|
-
* <p> The basic authorization credentials for branches for the Amplify app. You must
|
|
337
|
+
* <p> The basic authorization credentials for branches for the Amplify app. You must
|
|
338
|
+
* base64-encode the authorization credentials and provide them in the format
|
|
339
|
+
* <code>user:password</code>.</p>
|
|
325
340
|
*/
|
|
326
341
|
basicAuthCredentials?: string;
|
|
327
342
|
/**
|
|
@@ -353,6 +368,13 @@ export interface App {
|
|
|
353
368
|
* <p> Describes the automated branch creation configuration for the Amplify app. </p>
|
|
354
369
|
*/
|
|
355
370
|
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
|
371
|
+
/**
|
|
372
|
+
* <p>The authentication protocol to use to access the Git repository for an Amplify app.
|
|
373
|
+
* For a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,
|
|
374
|
+
* specify <code>SIGV4</code>. For GitLab and Bitbucket repositories, specify
|
|
375
|
+
* <code>SSH</code>.</p>
|
|
376
|
+
*/
|
|
377
|
+
repositoryCloneMethod?: RepositoryCloneMethod | string;
|
|
356
378
|
}
|
|
357
379
|
export declare namespace App {
|
|
358
380
|
/**
|
|
@@ -547,7 +569,9 @@ export interface CreateBranchRequest {
|
|
|
547
569
|
[key: string]: string;
|
|
548
570
|
};
|
|
549
571
|
/**
|
|
550
|
-
* <p> The basic authorization credentials for the branch. You must base64-encode the
|
|
572
|
+
* <p> The basic authorization credentials for the branch. You must base64-encode the
|
|
573
|
+
* authorization credentials and provide them in the format
|
|
574
|
+
* <code>user:password</code>.</p>
|
|
551
575
|
*/
|
|
552
576
|
basicAuthCredentials?: string;
|
|
553
577
|
/**
|
|
@@ -556,7 +580,9 @@ export interface CreateBranchRequest {
|
|
|
556
580
|
enableBasicAuth?: boolean;
|
|
557
581
|
/**
|
|
558
582
|
* <p>Enables performance mode for the branch.</p>
|
|
559
|
-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
583
|
+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
584
|
+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
|
|
585
|
+
* or code changes can take up to 10 minutes to roll out. </p>
|
|
560
586
|
*/
|
|
561
587
|
enablePerformanceMode?: boolean;
|
|
562
588
|
/**
|
|
@@ -671,7 +697,9 @@ export interface Branch {
|
|
|
671
697
|
enableBasicAuth: boolean | undefined;
|
|
672
698
|
/**
|
|
673
699
|
* <p>Enables performance mode for the branch.</p>
|
|
674
|
-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
700
|
+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
701
|
+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
|
|
702
|
+
* or code changes can take up to 10 minutes to roll out. </p>
|
|
675
703
|
*/
|
|
676
704
|
enablePerformanceMode?: boolean;
|
|
677
705
|
/**
|
|
@@ -679,7 +707,9 @@ export interface Branch {
|
|
|
679
707
|
*/
|
|
680
708
|
thumbnailUrl?: string;
|
|
681
709
|
/**
|
|
682
|
-
* <p> The basic authorization credentials for a branch of an Amplify app. You must
|
|
710
|
+
* <p> The basic authorization credentials for a branch of an Amplify app. You must
|
|
711
|
+
* base64-encode the authorization credentials and provide them in the format
|
|
712
|
+
* <code>user:password</code>.</p>
|
|
683
713
|
*/
|
|
684
714
|
basicAuthCredentials?: string;
|
|
685
715
|
/**
|
|
@@ -2278,7 +2308,9 @@ export interface UpdateAppRequest {
|
|
|
2278
2308
|
*/
|
|
2279
2309
|
enableBasicAuth?: boolean;
|
|
2280
2310
|
/**
|
|
2281
|
-
* <p> The basic authorization credentials for an Amplify app. You must base64-encode the
|
|
2311
|
+
* <p> The basic authorization credentials for an Amplify app. You must base64-encode the
|
|
2312
|
+
* authorization credentials and provide them in the format
|
|
2313
|
+
* <code>user:password</code>.</p>
|
|
2282
2314
|
*/
|
|
2283
2315
|
basicAuthCredentials?: string;
|
|
2284
2316
|
/**
|
|
@@ -2382,7 +2414,9 @@ export interface UpdateBranchRequest {
|
|
|
2382
2414
|
[key: string]: string;
|
|
2383
2415
|
};
|
|
2384
2416
|
/**
|
|
2385
|
-
* <p> The basic authorization credentials for the branch. You must base64-encode the
|
|
2417
|
+
* <p> The basic authorization credentials for the branch. You must base64-encode the
|
|
2418
|
+
* authorization credentials and provide them in the format
|
|
2419
|
+
* <code>user:password</code>.</p>
|
|
2386
2420
|
*/
|
|
2387
2421
|
basicAuthCredentials?: string;
|
|
2388
2422
|
/**
|
|
@@ -2391,7 +2425,9 @@ export interface UpdateBranchRequest {
|
|
|
2391
2425
|
enableBasicAuth?: boolean;
|
|
2392
2426
|
/**
|
|
2393
2427
|
* <p>Enables performance mode for the branch.</p>
|
|
2394
|
-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
2428
|
+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
|
|
2429
|
+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
|
|
2430
|
+
* or code changes can take up to 10 minutes to roll out. </p>
|
|
2395
2431
|
*/
|
|
2396
2432
|
enablePerformanceMode?: boolean;
|
|
2397
2433
|
/**
|
|
@@ -2460,7 +2496,7 @@ export interface UpdateDomainAssociationRequest {
|
|
|
2460
2496
|
/**
|
|
2461
2497
|
* <p> Describes the settings for the subdomain. </p>
|
|
2462
2498
|
*/
|
|
2463
|
-
subDomainSettings
|
|
2499
|
+
subDomainSettings?: SubDomainSetting[];
|
|
2464
2500
|
/**
|
|
2465
2501
|
* <p> Sets the branch patterns for automatic subdomain creation. </p>
|
|
2466
2502
|
*/
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
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;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
10
10
|
import { CreateBackendEnvironmentCommandInput, CreateBackendEnvironmentCommandOutput } from "./commands/CreateBackendEnvironmentCommand";
|
|
11
11
|
import { CreateBranchCommandInput, CreateBranchCommandOutput } from "./commands/CreateBranchCommand";
|
|
@@ -53,7 +53,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
53
53
|
|
|
54
54
|
urlParser?: __UrlParser;
|
|
55
55
|
|
|
56
|
-
bodyLengthChecker?:
|
|
56
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
57
57
|
|
|
58
58
|
streamCollector?: __StreamCollector;
|
|
59
59
|
|