@aws-sdk/client-appconfig 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/AppConfigClient.js +13 -13
- package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +3 -3
- package/dist-cjs/commands/CreateEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +3 -3
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +3 -3
- package/dist-cjs/commands/GetApplicationCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationProfileCommand.js +3 -3
- package/dist-cjs/commands/GetDeploymentCommand.js +3 -3
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js +3 -3
- package/dist-cjs/commands/GetEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +3 -3
- package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +3 -3
- package/dist-cjs/commands/ListDeploymentsCommand.js +3 -3
- package/dist-cjs/commands/ListEnvironmentsCommand.js +3 -3
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartDeploymentCommand.js +3 -3
- package/dist-cjs/commands/StopDeploymentCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +3 -3
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +3 -3
- package/dist-cjs/commands/ValidateConfigurationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +304 -304
- 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/AppConfig.js +33 -33
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +4 -4
- package/dist-es/pagination/ListDeploymentsPaginator.js +4 -4
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -4
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +33 -33
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateApplicationCommand = function (input, con
|
|
|
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 || "") + "/applications";
|
|
17
17
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
18
18
|
return [2, new __HttpRequest({
|
|
19
19
|
protocol: protocol,
|
|
@@ -37,7 +37,7 @@ export var serializeAws_restJson1CreateConfigurationProfileCommand = function (i
|
|
|
37
37
|
headers = {
|
|
38
38
|
"content-type": "application/json",
|
|
39
39
|
};
|
|
40
|
-
resolvedPath = ""
|
|
40
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
41
41
|
"/applications/{ApplicationId}/configurationprofiles";
|
|
42
42
|
if (input.ApplicationId !== undefined) {
|
|
43
43
|
labelValue = input.ApplicationId;
|
|
@@ -74,7 +74,7 @@ export var serializeAws_restJson1CreateDeploymentStrategyCommand = function (inp
|
|
|
74
74
|
headers = {
|
|
75
75
|
"content-type": "application/json",
|
|
76
76
|
};
|
|
77
|
-
resolvedPath = ""
|
|
77
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deploymentstrategies";
|
|
78
78
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeploymentDurationInMinutes !== undefined &&
|
|
79
79
|
input.DeploymentDurationInMinutes !== null && { DeploymentDurationInMinutes: input.DeploymentDurationInMinutes })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FinalBakeTimeInMinutes !== undefined &&
|
|
80
80
|
input.FinalBakeTimeInMinutes !== null && { FinalBakeTimeInMinutes: input.FinalBakeTimeInMinutes })), (input.GrowthFactor !== undefined &&
|
|
@@ -101,7 +101,7 @@ export var serializeAws_restJson1CreateEnvironmentCommand = function (input, con
|
|
|
101
101
|
headers = {
|
|
102
102
|
"content-type": "application/json",
|
|
103
103
|
};
|
|
104
|
-
resolvedPath = ""
|
|
104
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
105
105
|
"/applications/{ApplicationId}/environments";
|
|
106
106
|
if (input.ApplicationId !== undefined) {
|
|
107
107
|
labelValue = input.ApplicationId;
|
|
@@ -137,7 +137,7 @@ export var serializeAws_restJson1CreateHostedConfigurationVersionCommand = funct
|
|
|
137
137
|
headers = __assign(__assign(__assign({ "content-type": "application/octet-stream" }, (isSerializableHeaderValue(input.Description) && { description: input.Description })), (isSerializableHeaderValue(input.ContentType) && { "content-type": input.ContentType })), (isSerializableHeaderValue(input.LatestVersionNumber) && {
|
|
138
138
|
"latest-version-number": input.LatestVersionNumber.toString(),
|
|
139
139
|
}));
|
|
140
|
-
resolvedPath = ""
|
|
140
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
141
141
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions";
|
|
142
142
|
if (input.ApplicationId !== undefined) {
|
|
143
143
|
labelValue = input.ApplicationId;
|
|
@@ -182,7 +182,7 @@ export var serializeAws_restJson1DeleteApplicationCommand = function (input, con
|
|
|
182
182
|
case 1:
|
|
183
183
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
184
184
|
headers = {};
|
|
185
|
-
resolvedPath = ""
|
|
185
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{ApplicationId}";
|
|
186
186
|
if (input.ApplicationId !== undefined) {
|
|
187
187
|
labelValue = input.ApplicationId;
|
|
188
188
|
if (labelValue.length <= 0) {
|
|
@@ -213,7 +213,7 @@ export var serializeAws_restJson1DeleteConfigurationProfileCommand = function (i
|
|
|
213
213
|
case 1:
|
|
214
214
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
215
215
|
headers = {};
|
|
216
|
-
resolvedPath = ""
|
|
216
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
217
217
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}";
|
|
218
218
|
if (input.ApplicationId !== undefined) {
|
|
219
219
|
labelValue = input.ApplicationId;
|
|
@@ -255,7 +255,7 @@ export var serializeAws_restJson1DeleteDeploymentStrategyCommand = function (inp
|
|
|
255
255
|
case 1:
|
|
256
256
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
257
257
|
headers = {};
|
|
258
|
-
resolvedPath = ""
|
|
258
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
259
259
|
"/deployementstrategies/{DeploymentStrategyId}";
|
|
260
260
|
if (input.DeploymentStrategyId !== undefined) {
|
|
261
261
|
labelValue = input.DeploymentStrategyId;
|
|
@@ -287,7 +287,7 @@ export var serializeAws_restJson1DeleteEnvironmentCommand = function (input, con
|
|
|
287
287
|
case 1:
|
|
288
288
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
289
289
|
headers = {};
|
|
290
|
-
resolvedPath = ""
|
|
290
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
291
291
|
"/applications/{ApplicationId}/environments/{EnvironmentId}";
|
|
292
292
|
if (input.ApplicationId !== undefined) {
|
|
293
293
|
labelValue = input.ApplicationId;
|
|
@@ -329,7 +329,7 @@ export var serializeAws_restJson1DeleteHostedConfigurationVersionCommand = funct
|
|
|
329
329
|
case 1:
|
|
330
330
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
331
331
|
headers = {};
|
|
332
|
-
resolvedPath = ""
|
|
332
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
333
333
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}";
|
|
334
334
|
if (input.ApplicationId !== undefined) {
|
|
335
335
|
labelValue = input.ApplicationId;
|
|
@@ -381,7 +381,7 @@ export var serializeAws_restJson1GetApplicationCommand = function (input, contex
|
|
|
381
381
|
case 1:
|
|
382
382
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
383
383
|
headers = {};
|
|
384
|
-
resolvedPath = ""
|
|
384
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{ApplicationId}";
|
|
385
385
|
if (input.ApplicationId !== undefined) {
|
|
386
386
|
labelValue = input.ApplicationId;
|
|
387
387
|
if (labelValue.length <= 0) {
|
|
@@ -412,7 +412,7 @@ export var serializeAws_restJson1GetConfigurationCommand = function (input, cont
|
|
|
412
412
|
case 1:
|
|
413
413
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
414
414
|
headers = {};
|
|
415
|
-
resolvedPath = ""
|
|
415
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
416
416
|
"/applications/{Application}/environments/{Environment}/configurations/{Configuration}";
|
|
417
417
|
if (input.Application !== undefined) {
|
|
418
418
|
labelValue = input.Application;
|
|
@@ -468,7 +468,7 @@ export var serializeAws_restJson1GetConfigurationProfileCommand = function (inpu
|
|
|
468
468
|
case 1:
|
|
469
469
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
470
470
|
headers = {};
|
|
471
|
-
resolvedPath = ""
|
|
471
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
472
472
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}";
|
|
473
473
|
if (input.ApplicationId !== undefined) {
|
|
474
474
|
labelValue = input.ApplicationId;
|
|
@@ -510,7 +510,7 @@ export var serializeAws_restJson1GetDeploymentCommand = function (input, context
|
|
|
510
510
|
case 1:
|
|
511
511
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
512
512
|
headers = {};
|
|
513
|
-
resolvedPath = ""
|
|
513
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
514
514
|
"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}";
|
|
515
515
|
if (input.ApplicationId !== undefined) {
|
|
516
516
|
labelValue = input.ApplicationId;
|
|
@@ -562,7 +562,7 @@ export var serializeAws_restJson1GetDeploymentStrategyCommand = function (input,
|
|
|
562
562
|
case 1:
|
|
563
563
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
564
564
|
headers = {};
|
|
565
|
-
resolvedPath = ""
|
|
565
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
566
566
|
"/deploymentstrategies/{DeploymentStrategyId}";
|
|
567
567
|
if (input.DeploymentStrategyId !== undefined) {
|
|
568
568
|
labelValue = input.DeploymentStrategyId;
|
|
@@ -594,7 +594,7 @@ export var serializeAws_restJson1GetEnvironmentCommand = function (input, contex
|
|
|
594
594
|
case 1:
|
|
595
595
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
596
596
|
headers = {};
|
|
597
|
-
resolvedPath = ""
|
|
597
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
598
598
|
"/applications/{ApplicationId}/environments/{EnvironmentId}";
|
|
599
599
|
if (input.ApplicationId !== undefined) {
|
|
600
600
|
labelValue = input.ApplicationId;
|
|
@@ -636,7 +636,7 @@ export var serializeAws_restJson1GetHostedConfigurationVersionCommand = function
|
|
|
636
636
|
case 1:
|
|
637
637
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
638
638
|
headers = {};
|
|
639
|
-
resolvedPath = ""
|
|
639
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
640
640
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}";
|
|
641
641
|
if (input.ApplicationId !== undefined) {
|
|
642
642
|
labelValue = input.ApplicationId;
|
|
@@ -688,7 +688,7 @@ export var serializeAws_restJson1ListApplicationsCommand = function (input, cont
|
|
|
688
688
|
case 1:
|
|
689
689
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
690
690
|
headers = {};
|
|
691
|
-
resolvedPath = ""
|
|
691
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications";
|
|
692
692
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { max_results: input.MaxResults.toString() })), (input.NextToken !== undefined && { next_token: input.NextToken }));
|
|
693
693
|
return [2, new __HttpRequest({
|
|
694
694
|
protocol: protocol,
|
|
@@ -711,7 +711,7 @@ export var serializeAws_restJson1ListConfigurationProfilesCommand = function (in
|
|
|
711
711
|
case 1:
|
|
712
712
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
713
713
|
headers = {};
|
|
714
|
-
resolvedPath = ""
|
|
714
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
715
715
|
"/applications/{ApplicationId}/configurationprofiles";
|
|
716
716
|
if (input.ApplicationId !== undefined) {
|
|
717
717
|
labelValue = input.ApplicationId;
|
|
@@ -745,7 +745,7 @@ export var serializeAws_restJson1ListDeploymentsCommand = function (input, conte
|
|
|
745
745
|
case 1:
|
|
746
746
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
747
747
|
headers = {};
|
|
748
|
-
resolvedPath = ""
|
|
748
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
749
749
|
"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments";
|
|
750
750
|
if (input.ApplicationId !== undefined) {
|
|
751
751
|
labelValue = input.ApplicationId;
|
|
@@ -789,7 +789,7 @@ export var serializeAws_restJson1ListDeploymentStrategiesCommand = function (inp
|
|
|
789
789
|
case 1:
|
|
790
790
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
791
791
|
headers = {};
|
|
792
|
-
resolvedPath = ""
|
|
792
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/deploymentstrategies";
|
|
793
793
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { max_results: input.MaxResults.toString() })), (input.NextToken !== undefined && { next_token: input.NextToken }));
|
|
794
794
|
return [2, new __HttpRequest({
|
|
795
795
|
protocol: protocol,
|
|
@@ -812,7 +812,7 @@ export var serializeAws_restJson1ListEnvironmentsCommand = function (input, cont
|
|
|
812
812
|
case 1:
|
|
813
813
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
814
814
|
headers = {};
|
|
815
|
-
resolvedPath = ""
|
|
815
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
816
816
|
"/applications/{ApplicationId}/environments";
|
|
817
817
|
if (input.ApplicationId !== undefined) {
|
|
818
818
|
labelValue = input.ApplicationId;
|
|
@@ -846,7 +846,7 @@ export var serializeAws_restJson1ListHostedConfigurationVersionsCommand = functi
|
|
|
846
846
|
case 1:
|
|
847
847
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
848
848
|
headers = {};
|
|
849
|
-
resolvedPath = ""
|
|
849
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
850
850
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions";
|
|
851
851
|
if (input.ApplicationId !== undefined) {
|
|
852
852
|
labelValue = input.ApplicationId;
|
|
@@ -890,7 +890,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
890
890
|
case 1:
|
|
891
891
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
892
892
|
headers = {};
|
|
893
|
-
resolvedPath = ""
|
|
893
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
894
894
|
if (input.ResourceArn !== undefined) {
|
|
895
895
|
labelValue = input.ResourceArn;
|
|
896
896
|
if (labelValue.length <= 0) {
|
|
@@ -923,7 +923,7 @@ export var serializeAws_restJson1StartDeploymentCommand = function (input, conte
|
|
|
923
923
|
headers = {
|
|
924
924
|
"content-type": "application/json",
|
|
925
925
|
};
|
|
926
|
-
resolvedPath = ""
|
|
926
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
927
927
|
"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments";
|
|
928
928
|
if (input.ApplicationId !== undefined) {
|
|
929
929
|
labelValue = input.ApplicationId;
|
|
@@ -969,7 +969,7 @@ export var serializeAws_restJson1StopDeploymentCommand = function (input, contex
|
|
|
969
969
|
case 1:
|
|
970
970
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
971
971
|
headers = {};
|
|
972
|
-
resolvedPath = ""
|
|
972
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
973
973
|
"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}";
|
|
974
974
|
if (input.ApplicationId !== undefined) {
|
|
975
975
|
labelValue = input.ApplicationId;
|
|
@@ -1023,7 +1023,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1023
1023
|
headers = {
|
|
1024
1024
|
"content-type": "application/json",
|
|
1025
1025
|
};
|
|
1026
|
-
resolvedPath = ""
|
|
1026
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1027
1027
|
if (input.ResourceArn !== undefined) {
|
|
1028
1028
|
labelValue = input.ResourceArn;
|
|
1029
1029
|
if (labelValue.length <= 0) {
|
|
@@ -1055,7 +1055,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1055
1055
|
case 1:
|
|
1056
1056
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1057
1057
|
headers = {};
|
|
1058
|
-
resolvedPath = ""
|
|
1058
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1059
1059
|
if (input.ResourceArn !== undefined) {
|
|
1060
1060
|
labelValue = input.ResourceArn;
|
|
1061
1061
|
if (labelValue.length <= 0) {
|
|
@@ -1090,7 +1090,7 @@ export var serializeAws_restJson1UpdateApplicationCommand = function (input, con
|
|
|
1090
1090
|
headers = {
|
|
1091
1091
|
"content-type": "application/json",
|
|
1092
1092
|
};
|
|
1093
|
-
resolvedPath = ""
|
|
1093
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/applications/{ApplicationId}";
|
|
1094
1094
|
if (input.ApplicationId !== undefined) {
|
|
1095
1095
|
labelValue = input.ApplicationId;
|
|
1096
1096
|
if (labelValue.length <= 0) {
|
|
@@ -1124,7 +1124,7 @@ export var serializeAws_restJson1UpdateConfigurationProfileCommand = function (i
|
|
|
1124
1124
|
headers = {
|
|
1125
1125
|
"content-type": "application/json",
|
|
1126
1126
|
};
|
|
1127
|
-
resolvedPath = ""
|
|
1127
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1128
1128
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}";
|
|
1129
1129
|
if (input.ApplicationId !== undefined) {
|
|
1130
1130
|
labelValue = input.ApplicationId;
|
|
@@ -1171,7 +1171,7 @@ export var serializeAws_restJson1UpdateDeploymentStrategyCommand = function (inp
|
|
|
1171
1171
|
headers = {
|
|
1172
1172
|
"content-type": "application/json",
|
|
1173
1173
|
};
|
|
1174
|
-
resolvedPath = ""
|
|
1174
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1175
1175
|
"/deploymentstrategies/{DeploymentStrategyId}";
|
|
1176
1176
|
if (input.DeploymentStrategyId !== undefined) {
|
|
1177
1177
|
labelValue = input.DeploymentStrategyId;
|
|
@@ -1209,7 +1209,7 @@ export var serializeAws_restJson1UpdateEnvironmentCommand = function (input, con
|
|
|
1209
1209
|
headers = {
|
|
1210
1210
|
"content-type": "application/json",
|
|
1211
1211
|
};
|
|
1212
|
-
resolvedPath = ""
|
|
1212
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1213
1213
|
"/applications/{ApplicationId}/environments/{EnvironmentId}";
|
|
1214
1214
|
if (input.ApplicationId !== undefined) {
|
|
1215
1215
|
labelValue = input.ApplicationId;
|
|
@@ -1253,7 +1253,7 @@ export var serializeAws_restJson1ValidateConfigurationCommand = function (input,
|
|
|
1253
1253
|
case 1:
|
|
1254
1254
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1255
1255
|
headers = {};
|
|
1256
|
-
resolvedPath = ""
|
|
1256
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1257
1257
|
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators";
|
|
1258
1258
|
if (input.ApplicationId !== undefined) {
|
|
1259
1259
|
labelValue = input.ApplicationId;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
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;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfig",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.58.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|