@aws-sdk/client-appconfig 3.261.0 → 3.262.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.
|
@@ -1797,7 +1797,7 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1797
1797
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
1798
1798
|
}
|
|
1799
1799
|
if (data.CompletedAt != null) {
|
|
1800
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1800
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
1801
1801
|
}
|
|
1802
1802
|
if (data.ConfigurationLocationUri != null) {
|
|
1803
1803
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -1842,7 +1842,7 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1842
1842
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
1843
1843
|
}
|
|
1844
1844
|
if (data.StartedAt != null) {
|
|
1845
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1845
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
1846
1846
|
}
|
|
1847
1847
|
if (data.State != null) {
|
|
1848
1848
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -2538,7 +2538,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2538
2538
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2539
2539
|
}
|
|
2540
2540
|
if (data.CompletedAt != null) {
|
|
2541
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2541
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
2542
2542
|
}
|
|
2543
2543
|
if (data.ConfigurationLocationUri != null) {
|
|
2544
2544
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -2583,7 +2583,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2583
2583
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
2584
2584
|
}
|
|
2585
2585
|
if (data.StartedAt != null) {
|
|
2586
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2586
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
2587
2587
|
}
|
|
2588
2588
|
if (data.State != null) {
|
|
2589
2589
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -2635,7 +2635,7 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2635
2635
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2636
2636
|
}
|
|
2637
2637
|
if (data.CompletedAt != null) {
|
|
2638
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2638
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
2639
2639
|
}
|
|
2640
2640
|
if (data.ConfigurationLocationUri != null) {
|
|
2641
2641
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -2680,7 +2680,7 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2680
2680
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
2681
2681
|
}
|
|
2682
2682
|
if (data.StartedAt != null) {
|
|
2683
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2683
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
2684
2684
|
}
|
|
2685
2685
|
if (data.State != null) {
|
|
2686
2686
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -3463,7 +3463,7 @@ const deserializeAws_restJson1DeploymentEvent = (output, context) => {
|
|
|
3463
3463
|
: undefined,
|
|
3464
3464
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3465
3465
|
EventType: (0, smithy_client_1.expectString)(output.EventType),
|
|
3466
|
-
OccurredAt: output.OccurredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3466
|
+
OccurredAt: output.OccurredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.OccurredAt)) : undefined,
|
|
3467
3467
|
TriggeredBy: (0, smithy_client_1.expectString)(output.TriggeredBy),
|
|
3468
3468
|
};
|
|
3469
3469
|
};
|
|
@@ -3514,7 +3514,7 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
|
3514
3514
|
};
|
|
3515
3515
|
const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
3516
3516
|
return {
|
|
3517
|
-
CompletedAt: output.CompletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3517
|
+
CompletedAt: output.CompletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CompletedAt)) : undefined,
|
|
3518
3518
|
ConfigurationName: (0, smithy_client_1.expectString)(output.ConfigurationName),
|
|
3519
3519
|
ConfigurationVersion: (0, smithy_client_1.expectString)(output.ConfigurationVersion),
|
|
3520
3520
|
DeploymentDurationInMinutes: (0, smithy_client_1.expectInt32)(output.DeploymentDurationInMinutes),
|
|
@@ -3523,7 +3523,7 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3523
3523
|
GrowthFactor: (0, smithy_client_1.limitedParseFloat32)(output.GrowthFactor),
|
|
3524
3524
|
GrowthType: (0, smithy_client_1.expectString)(output.GrowthType),
|
|
3525
3525
|
PercentageComplete: (0, smithy_client_1.limitedParseFloat32)(output.PercentageComplete),
|
|
3526
|
-
StartedAt: output.StartedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3526
|
+
StartedAt: output.StartedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartedAt)) : undefined,
|
|
3527
3527
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3528
3528
|
};
|
|
3529
3529
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AppConfigServiceException as __BaseException } from "../models/AppConfigServiceException";
|
|
4
4
|
import { BadRequestException, ConflictException, InternalServerException, PayloadTooLargeException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
5
5
|
export const serializeAws_restJson1CreateApplicationCommand = async (input, context) => {
|
|
@@ -1733,7 +1733,7 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
|
|
|
1733
1733
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
1734
1734
|
}
|
|
1735
1735
|
if (data.CompletedAt != null) {
|
|
1736
|
-
contents.CompletedAt = __expectNonNull(
|
|
1736
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
1737
1737
|
}
|
|
1738
1738
|
if (data.ConfigurationLocationUri != null) {
|
|
1739
1739
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -1778,7 +1778,7 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
|
|
|
1778
1778
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
1779
1779
|
}
|
|
1780
1780
|
if (data.StartedAt != null) {
|
|
1781
|
-
contents.StartedAt = __expectNonNull(
|
|
1781
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
1782
1782
|
}
|
|
1783
1783
|
if (data.State != null) {
|
|
1784
1784
|
contents.State = __expectString(data.State);
|
|
@@ -2459,7 +2459,7 @@ export const deserializeAws_restJson1StartDeploymentCommand = async (output, con
|
|
|
2459
2459
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2460
2460
|
}
|
|
2461
2461
|
if (data.CompletedAt != null) {
|
|
2462
|
-
contents.CompletedAt = __expectNonNull(
|
|
2462
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
2463
2463
|
}
|
|
2464
2464
|
if (data.ConfigurationLocationUri != null) {
|
|
2465
2465
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -2504,7 +2504,7 @@ export const deserializeAws_restJson1StartDeploymentCommand = async (output, con
|
|
|
2504
2504
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2505
2505
|
}
|
|
2506
2506
|
if (data.StartedAt != null) {
|
|
2507
|
-
contents.StartedAt = __expectNonNull(
|
|
2507
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2508
2508
|
}
|
|
2509
2509
|
if (data.State != null) {
|
|
2510
2510
|
contents.State = __expectString(data.State);
|
|
@@ -2555,7 +2555,7 @@ export const deserializeAws_restJson1StopDeploymentCommand = async (output, cont
|
|
|
2555
2555
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2556
2556
|
}
|
|
2557
2557
|
if (data.CompletedAt != null) {
|
|
2558
|
-
contents.CompletedAt = __expectNonNull(
|
|
2558
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
2559
2559
|
}
|
|
2560
2560
|
if (data.ConfigurationLocationUri != null) {
|
|
2561
2561
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -2600,7 +2600,7 @@ export const deserializeAws_restJson1StopDeploymentCommand = async (output, cont
|
|
|
2600
2600
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2601
2601
|
}
|
|
2602
2602
|
if (data.StartedAt != null) {
|
|
2603
|
-
contents.StartedAt = __expectNonNull(
|
|
2603
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2604
2604
|
}
|
|
2605
2605
|
if (data.State != null) {
|
|
2606
2606
|
contents.State = __expectString(data.State);
|
|
@@ -3373,7 +3373,7 @@ const deserializeAws_restJson1DeploymentEvent = (output, context) => {
|
|
|
3373
3373
|
: undefined,
|
|
3374
3374
|
Description: __expectString(output.Description),
|
|
3375
3375
|
EventType: __expectString(output.EventType),
|
|
3376
|
-
OccurredAt: output.OccurredAt != null ? __expectNonNull(
|
|
3376
|
+
OccurredAt: output.OccurredAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.OccurredAt)) : undefined,
|
|
3377
3377
|
TriggeredBy: __expectString(output.TriggeredBy),
|
|
3378
3378
|
};
|
|
3379
3379
|
};
|
|
@@ -3424,7 +3424,7 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
|
3424
3424
|
};
|
|
3425
3425
|
const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
3426
3426
|
return {
|
|
3427
|
-
CompletedAt: output.CompletedAt != null ? __expectNonNull(
|
|
3427
|
+
CompletedAt: output.CompletedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CompletedAt)) : undefined,
|
|
3428
3428
|
ConfigurationName: __expectString(output.ConfigurationName),
|
|
3429
3429
|
ConfigurationVersion: __expectString(output.ConfigurationVersion),
|
|
3430
3430
|
DeploymentDurationInMinutes: __expectInt32(output.DeploymentDurationInMinutes),
|
|
@@ -3433,7 +3433,7 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3433
3433
|
GrowthFactor: __limitedParseFloat32(output.GrowthFactor),
|
|
3434
3434
|
GrowthType: __expectString(output.GrowthType),
|
|
3435
3435
|
PercentageComplete: __limitedParseFloat32(output.PercentageComplete),
|
|
3436
|
-
StartedAt: output.StartedAt != null ? __expectNonNull(
|
|
3436
|
+
StartedAt: output.StartedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartedAt)) : undefined,
|
|
3437
3437
|
State: __expectString(output.State),
|
|
3438
3438
|
};
|
|
3439
3439
|
};
|
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.262.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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|