@aws-sdk/client-appconfig 3.261.0 → 3.264.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +28 -9
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +29 -10
- package/dist-types/AppConfig.d.ts +32 -31
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +24 -5
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +2 -2
- package/dist-types/commands/CreateExtensionCommand.d.ts +2 -2
- package/dist-types/commands/GetConfigurationCommand.d.ts +3 -21
- package/dist-types/commands/ListExtensionsCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +51 -20
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "fn", t = "argv", u = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Region" }, k = { [u]: "Endpoint" }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, m = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, n = {}, o = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsFIPS"] }] }, p = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsDualStack"] }] }, q = [l], r = [m];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [j], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [k] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: n, headers: n }, type: g }] }] }, { conditions: [l, m], type: e, rules: [{ conditions: [o, p], type: e, rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [o], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: h, [t]: [j, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: g }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -724,6 +724,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
724
724
|
...(input.ConfigurationVersion != null && { ConfigurationVersion: input.ConfigurationVersion }),
|
|
725
725
|
...(input.DeploymentStrategyId != null && { DeploymentStrategyId: input.DeploymentStrategyId }),
|
|
726
726
|
...(input.Description != null && { Description: input.Description }),
|
|
727
|
+
...(input.KmsKeyIdentifier != null && { KmsKeyIdentifier: input.KmsKeyIdentifier }),
|
|
727
728
|
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
728
729
|
});
|
|
729
730
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1797,7 +1798,7 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1797
1798
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
1798
1799
|
}
|
|
1799
1800
|
if (data.CompletedAt != null) {
|
|
1800
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1801
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
1801
1802
|
}
|
|
1802
1803
|
if (data.ConfigurationLocationUri != null) {
|
|
1803
1804
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -1838,11 +1839,17 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1838
1839
|
if (data.GrowthType != null) {
|
|
1839
1840
|
contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
|
|
1840
1841
|
}
|
|
1842
|
+
if (data.KmsKeyArn != null) {
|
|
1843
|
+
contents.KmsKeyArn = (0, smithy_client_1.expectString)(data.KmsKeyArn);
|
|
1844
|
+
}
|
|
1845
|
+
if (data.KmsKeyIdentifier != null) {
|
|
1846
|
+
contents.KmsKeyIdentifier = (0, smithy_client_1.expectString)(data.KmsKeyIdentifier);
|
|
1847
|
+
}
|
|
1841
1848
|
if (data.PercentageComplete != null) {
|
|
1842
1849
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
1843
1850
|
}
|
|
1844
1851
|
if (data.StartedAt != null) {
|
|
1845
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1852
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
1846
1853
|
}
|
|
1847
1854
|
if (data.State != null) {
|
|
1848
1855
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -2538,7 +2545,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2538
2545
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2539
2546
|
}
|
|
2540
2547
|
if (data.CompletedAt != null) {
|
|
2541
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2548
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
2542
2549
|
}
|
|
2543
2550
|
if (data.ConfigurationLocationUri != null) {
|
|
2544
2551
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -2579,11 +2586,17 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2579
2586
|
if (data.GrowthType != null) {
|
|
2580
2587
|
contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
|
|
2581
2588
|
}
|
|
2589
|
+
if (data.KmsKeyArn != null) {
|
|
2590
|
+
contents.KmsKeyArn = (0, smithy_client_1.expectString)(data.KmsKeyArn);
|
|
2591
|
+
}
|
|
2592
|
+
if (data.KmsKeyIdentifier != null) {
|
|
2593
|
+
contents.KmsKeyIdentifier = (0, smithy_client_1.expectString)(data.KmsKeyIdentifier);
|
|
2594
|
+
}
|
|
2582
2595
|
if (data.PercentageComplete != null) {
|
|
2583
2596
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
2584
2597
|
}
|
|
2585
2598
|
if (data.StartedAt != null) {
|
|
2586
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2599
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
2587
2600
|
}
|
|
2588
2601
|
if (data.State != null) {
|
|
2589
2602
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -2635,7 +2648,7 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2635
2648
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2636
2649
|
}
|
|
2637
2650
|
if (data.CompletedAt != null) {
|
|
2638
|
-
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2651
|
+
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
2639
2652
|
}
|
|
2640
2653
|
if (data.ConfigurationLocationUri != null) {
|
|
2641
2654
|
contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
|
|
@@ -2676,11 +2689,17 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2676
2689
|
if (data.GrowthType != null) {
|
|
2677
2690
|
contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
|
|
2678
2691
|
}
|
|
2692
|
+
if (data.KmsKeyArn != null) {
|
|
2693
|
+
contents.KmsKeyArn = (0, smithy_client_1.expectString)(data.KmsKeyArn);
|
|
2694
|
+
}
|
|
2695
|
+
if (data.KmsKeyIdentifier != null) {
|
|
2696
|
+
contents.KmsKeyIdentifier = (0, smithy_client_1.expectString)(data.KmsKeyIdentifier);
|
|
2697
|
+
}
|
|
2679
2698
|
if (data.PercentageComplete != null) {
|
|
2680
2699
|
contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
|
|
2681
2700
|
}
|
|
2682
2701
|
if (data.StartedAt != null) {
|
|
2683
|
-
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2702
|
+
contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.StartedAt));
|
|
2684
2703
|
}
|
|
2685
2704
|
if (data.State != null) {
|
|
2686
2705
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
@@ -3463,7 +3482,7 @@ const deserializeAws_restJson1DeploymentEvent = (output, context) => {
|
|
|
3463
3482
|
: undefined,
|
|
3464
3483
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3465
3484
|
EventType: (0, smithy_client_1.expectString)(output.EventType),
|
|
3466
|
-
OccurredAt: output.OccurredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3485
|
+
OccurredAt: output.OccurredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.OccurredAt)) : undefined,
|
|
3467
3486
|
TriggeredBy: (0, smithy_client_1.expectString)(output.TriggeredBy),
|
|
3468
3487
|
};
|
|
3469
3488
|
};
|
|
@@ -3514,7 +3533,7 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
|
3514
3533
|
};
|
|
3515
3534
|
const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
3516
3535
|
return {
|
|
3517
|
-
CompletedAt: output.CompletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3536
|
+
CompletedAt: output.CompletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CompletedAt)) : undefined,
|
|
3518
3537
|
ConfigurationName: (0, smithy_client_1.expectString)(output.ConfigurationName),
|
|
3519
3538
|
ConfigurationVersion: (0, smithy_client_1.expectString)(output.ConfigurationVersion),
|
|
3520
3539
|
DeploymentDurationInMinutes: (0, smithy_client_1.expectInt32)(output.DeploymentDurationInMinutes),
|
|
@@ -3523,7 +3542,7 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3523
3542
|
GrowthFactor: (0, smithy_client_1.limitedParseFloat32)(output.GrowthFactor),
|
|
3524
3543
|
GrowthType: (0, smithy_client_1.expectString)(output.GrowthType),
|
|
3525
3544
|
PercentageComplete: (0, smithy_client_1.limitedParseFloat32)(output.PercentageComplete),
|
|
3526
|
-
StartedAt: output.StartedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
3545
|
+
StartedAt: output.StartedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartedAt)) : undefined,
|
|
3527
3546
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3528
3547
|
};
|
|
3529
3548
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "fn", t = "argv", u = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Region" }, k = { [u]: "Endpoint" }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, m = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, n = {}, o = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsFIPS"] }] }, p = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: d }, "supportsDualStack"] }] }, q = [l], r = [m];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [j], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [k] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: n, headers: n }, type: g }] }] }, { conditions: [l, m], type: e, rules: [{ conditions: [o, p], type: e, rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [o], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: h, [t]: [j, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: g }, { conditions: [{ [s]: h, [t]: [j, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: g }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -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) => {
|
|
@@ -688,6 +688,7 @@ export const serializeAws_restJson1StartDeploymentCommand = async (input, contex
|
|
|
688
688
|
...(input.ConfigurationVersion != null && { ConfigurationVersion: input.ConfigurationVersion }),
|
|
689
689
|
...(input.DeploymentStrategyId != null && { DeploymentStrategyId: input.DeploymentStrategyId }),
|
|
690
690
|
...(input.Description != null && { Description: input.Description }),
|
|
691
|
+
...(input.KmsKeyIdentifier != null && { KmsKeyIdentifier: input.KmsKeyIdentifier }),
|
|
691
692
|
...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
692
693
|
});
|
|
693
694
|
return new __HttpRequest({
|
|
@@ -1733,7 +1734,7 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
|
|
|
1733
1734
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
1734
1735
|
}
|
|
1735
1736
|
if (data.CompletedAt != null) {
|
|
1736
|
-
contents.CompletedAt = __expectNonNull(
|
|
1737
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
1737
1738
|
}
|
|
1738
1739
|
if (data.ConfigurationLocationUri != null) {
|
|
1739
1740
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -1774,11 +1775,17 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
|
|
|
1774
1775
|
if (data.GrowthType != null) {
|
|
1775
1776
|
contents.GrowthType = __expectString(data.GrowthType);
|
|
1776
1777
|
}
|
|
1778
|
+
if (data.KmsKeyArn != null) {
|
|
1779
|
+
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
1780
|
+
}
|
|
1781
|
+
if (data.KmsKeyIdentifier != null) {
|
|
1782
|
+
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
1783
|
+
}
|
|
1777
1784
|
if (data.PercentageComplete != null) {
|
|
1778
1785
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
1779
1786
|
}
|
|
1780
1787
|
if (data.StartedAt != null) {
|
|
1781
|
-
contents.StartedAt = __expectNonNull(
|
|
1788
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
1782
1789
|
}
|
|
1783
1790
|
if (data.State != null) {
|
|
1784
1791
|
contents.State = __expectString(data.State);
|
|
@@ -2459,7 +2466,7 @@ export const deserializeAws_restJson1StartDeploymentCommand = async (output, con
|
|
|
2459
2466
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2460
2467
|
}
|
|
2461
2468
|
if (data.CompletedAt != null) {
|
|
2462
|
-
contents.CompletedAt = __expectNonNull(
|
|
2469
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
2463
2470
|
}
|
|
2464
2471
|
if (data.ConfigurationLocationUri != null) {
|
|
2465
2472
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -2500,11 +2507,17 @@ export const deserializeAws_restJson1StartDeploymentCommand = async (output, con
|
|
|
2500
2507
|
if (data.GrowthType != null) {
|
|
2501
2508
|
contents.GrowthType = __expectString(data.GrowthType);
|
|
2502
2509
|
}
|
|
2510
|
+
if (data.KmsKeyArn != null) {
|
|
2511
|
+
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
2512
|
+
}
|
|
2513
|
+
if (data.KmsKeyIdentifier != null) {
|
|
2514
|
+
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
2515
|
+
}
|
|
2503
2516
|
if (data.PercentageComplete != null) {
|
|
2504
2517
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2505
2518
|
}
|
|
2506
2519
|
if (data.StartedAt != null) {
|
|
2507
|
-
contents.StartedAt = __expectNonNull(
|
|
2520
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2508
2521
|
}
|
|
2509
2522
|
if (data.State != null) {
|
|
2510
2523
|
contents.State = __expectString(data.State);
|
|
@@ -2555,7 +2568,7 @@ export const deserializeAws_restJson1StopDeploymentCommand = async (output, cont
|
|
|
2555
2568
|
contents.AppliedExtensions = deserializeAws_restJson1AppliedExtensions(data.AppliedExtensions, context);
|
|
2556
2569
|
}
|
|
2557
2570
|
if (data.CompletedAt != null) {
|
|
2558
|
-
contents.CompletedAt = __expectNonNull(
|
|
2571
|
+
contents.CompletedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CompletedAt));
|
|
2559
2572
|
}
|
|
2560
2573
|
if (data.ConfigurationLocationUri != null) {
|
|
2561
2574
|
contents.ConfigurationLocationUri = __expectString(data.ConfigurationLocationUri);
|
|
@@ -2596,11 +2609,17 @@ export const deserializeAws_restJson1StopDeploymentCommand = async (output, cont
|
|
|
2596
2609
|
if (data.GrowthType != null) {
|
|
2597
2610
|
contents.GrowthType = __expectString(data.GrowthType);
|
|
2598
2611
|
}
|
|
2612
|
+
if (data.KmsKeyArn != null) {
|
|
2613
|
+
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
2614
|
+
}
|
|
2615
|
+
if (data.KmsKeyIdentifier != null) {
|
|
2616
|
+
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
2617
|
+
}
|
|
2599
2618
|
if (data.PercentageComplete != null) {
|
|
2600
2619
|
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2601
2620
|
}
|
|
2602
2621
|
if (data.StartedAt != null) {
|
|
2603
|
-
contents.StartedAt = __expectNonNull(
|
|
2622
|
+
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2604
2623
|
}
|
|
2605
2624
|
if (data.State != null) {
|
|
2606
2625
|
contents.State = __expectString(data.State);
|
|
@@ -3373,7 +3392,7 @@ const deserializeAws_restJson1DeploymentEvent = (output, context) => {
|
|
|
3373
3392
|
: undefined,
|
|
3374
3393
|
Description: __expectString(output.Description),
|
|
3375
3394
|
EventType: __expectString(output.EventType),
|
|
3376
|
-
OccurredAt: output.OccurredAt != null ? __expectNonNull(
|
|
3395
|
+
OccurredAt: output.OccurredAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.OccurredAt)) : undefined,
|
|
3377
3396
|
TriggeredBy: __expectString(output.TriggeredBy),
|
|
3378
3397
|
};
|
|
3379
3398
|
};
|
|
@@ -3424,7 +3443,7 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
|
|
|
3424
3443
|
};
|
|
3425
3444
|
const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
3426
3445
|
return {
|
|
3427
|
-
CompletedAt: output.CompletedAt != null ? __expectNonNull(
|
|
3446
|
+
CompletedAt: output.CompletedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CompletedAt)) : undefined,
|
|
3428
3447
|
ConfigurationName: __expectString(output.ConfigurationName),
|
|
3429
3448
|
ConfigurationVersion: __expectString(output.ConfigurationVersion),
|
|
3430
3449
|
DeploymentDurationInMinutes: __expectInt32(output.DeploymentDurationInMinutes),
|
|
@@ -3433,7 +3452,7 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3433
3452
|
GrowthFactor: __limitedParseFloat32(output.GrowthFactor),
|
|
3434
3453
|
GrowthType: __expectString(output.GrowthType),
|
|
3435
3454
|
PercentageComplete: __limitedParseFloat32(output.PercentageComplete),
|
|
3436
|
-
StartedAt: output.StartedAt != null ? __expectNonNull(
|
|
3455
|
+
StartedAt: output.StartedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartedAt)) : undefined,
|
|
3437
3456
|
State: __expectString(output.State),
|
|
3438
3457
|
};
|
|
3439
3458
|
};
|
|
@@ -104,11 +104,30 @@ export declare class AppConfig extends AppConfigClient {
|
|
|
104
104
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
105
105
|
/**
|
|
106
106
|
* <p>Creates a configuration profile, which is information that enables AppConfig
|
|
107
|
-
* to access the configuration source. Valid configuration sources include the
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
107
|
+
* to access the configuration source. Valid configuration sources include the
|
|
108
|
+
* following:</p>
|
|
109
|
+
* <ul>
|
|
110
|
+
* <li>
|
|
111
|
+
* <p>Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3)
|
|
115
|
+
* bucket</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>Pipelines stored in CodePipeline</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>Secrets stored in Secrets Manager</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store</p>
|
|
125
|
+
* </li>
|
|
126
|
+
* <li>
|
|
127
|
+
* <p>Configuration data in SSM documents stored in the Systems Manager document store</p>
|
|
128
|
+
* </li>
|
|
129
|
+
* </ul>
|
|
130
|
+
* <p>A configuration profile includes the following information:</p>
|
|
112
131
|
* <ul>
|
|
113
132
|
* <li>
|
|
114
133
|
* <p>The URI location of the configuration data.</p>
|
|
@@ -154,8 +173,8 @@ export declare class AppConfig extends AppConfigClient {
|
|
|
154
173
|
* <p>Creates an AppConfig extension. An extension augments your ability to inject
|
|
155
174
|
* logic or behavior at different points during the AppConfig workflow of creating
|
|
156
175
|
* or deploying a configuration.</p>
|
|
157
|
-
* <p>You can create your own extensions or use the Amazon Web Services
|
|
158
|
-
* AppConfig. For most use
|
|
176
|
+
* <p>You can create your own extensions or use the Amazon Web Services authored extensions provided by
|
|
177
|
+
* AppConfig. For most use cases, to create your own extension, you must create
|
|
159
178
|
* an Lambda function to perform any computation and processing defined in the
|
|
160
179
|
* extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
|
|
161
180
|
* AppConfig extensions</a> in the
|
|
@@ -165,11 +184,11 @@ export declare class AppConfig extends AppConfigClient {
|
|
|
165
184
|
createExtension(args: CreateExtensionCommandInput, cb: (err: any, data?: CreateExtensionCommandOutput) => void): void;
|
|
166
185
|
createExtension(args: CreateExtensionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExtensionCommandOutput) => void): void;
|
|
167
186
|
/**
|
|
168
|
-
* <p>When you create an extension or configure an Amazon Web Services
|
|
187
|
+
* <p>When you create an extension or configure an Amazon Web Services authored extension, you
|
|
169
188
|
* associate the extension with an AppConfig application, environment, or
|
|
170
189
|
* configuration profile. For example, you can choose to run the <code>AppConfig
|
|
171
190
|
* deployment events to Amazon SNS</code>
|
|
172
|
-
* Amazon Web Services
|
|
191
|
+
* Amazon Web Services authored extension and receive notifications on an Amazon SNS
|
|
173
192
|
* topic anytime a configuration deployment is started for a specific application. Defining
|
|
174
193
|
* which extension to associate with an AppConfig resource is called an
|
|
175
194
|
* <i>extension association</i>. An extension association is a specified
|
|
@@ -247,37 +266,19 @@ export declare class AppConfig extends AppConfigClient {
|
|
|
247
266
|
/**
|
|
248
267
|
* @deprecated
|
|
249
268
|
*
|
|
250
|
-
* <p>Retrieves the latest deployed configuration.</p>
|
|
251
|
-
*
|
|
269
|
+
* <p>(Deprecated) Retrieves the latest deployed configuration.</p>
|
|
252
270
|
* <important>
|
|
253
271
|
* <p>Note the following important information.</p>
|
|
254
272
|
* <ul>
|
|
255
273
|
* <li>
|
|
256
|
-
* <p>This API action
|
|
257
|
-
*
|
|
274
|
+
* <p>This API action is deprecated. Calls to receive configuration data should use
|
|
275
|
+
* the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> APIs instead. </p>
|
|
258
276
|
* </li>
|
|
259
277
|
* <li>
|
|
260
278
|
* <p>
|
|
261
279
|
* <code>GetConfiguration</code> is a priced call. For more information, see
|
|
262
280
|
* <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>.</p>
|
|
263
281
|
* </li>
|
|
264
|
-
* <li>
|
|
265
|
-
* <p>AppConfig uses the value of the
|
|
266
|
-
* <code>ClientConfigurationVersion</code> parameter to identify the configuration
|
|
267
|
-
* version on your clients. If you don’t send <code>ClientConfigurationVersion</code>
|
|
268
|
-
* with each call to <code>GetConfiguration</code>, your clients receive the current
|
|
269
|
-
* configuration. You are charged each time your clients receive a
|
|
270
|
-
* configuration.</p>
|
|
271
|
-
* <p>To avoid excess charges, we recommend you use the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html">GetLatestConfiguration</a> APIs, which track the client configuration
|
|
272
|
-
* version on your behalf. If you choose to continue using
|
|
273
|
-
* <code>GetConfiguration</code>, we recommend that you include the
|
|
274
|
-
* <code>ClientConfigurationVersion</code> value with every call to
|
|
275
|
-
* <code>GetConfiguration</code>. The value to use for
|
|
276
|
-
* <code>ClientConfigurationVersion</code> comes from the
|
|
277
|
-
* <code>ConfigurationVersion</code> attribute returned by
|
|
278
|
-
* <code>GetConfiguration</code> when there is new or updated data, and should be
|
|
279
|
-
* saved for subsequent calls to <code>GetConfiguration</code>.</p>
|
|
280
|
-
* </li>
|
|
281
282
|
* </ul>
|
|
282
283
|
* </important>
|
|
283
284
|
*/
|
|
@@ -378,7 +379,7 @@ export declare class AppConfig extends AppConfigClient {
|
|
|
378
379
|
listExtensionAssociations(args: ListExtensionAssociationsCommandInput, cb: (err: any, data?: ListExtensionAssociationsCommandOutput) => void): void;
|
|
379
380
|
listExtensionAssociations(args: ListExtensionAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExtensionAssociationsCommandOutput) => void): void;
|
|
380
381
|
/**
|
|
381
|
-
* <p>Lists all custom and Amazon Web Services
|
|
382
|
+
* <p>Lists all custom and Amazon Web Services authored AppConfig extensions in the
|
|
382
383
|
* account. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
|
|
383
384
|
* AppConfig extensions</a> in the
|
|
384
385
|
* <i>AppConfig User Guide</i>.</p>
|
|
@@ -9,11 +9,30 @@ export interface CreateConfigurationProfileCommandOutput extends ConfigurationPr
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a configuration profile, which is information that enables AppConfig
|
|
12
|
-
* to access the configuration source. Valid configuration sources include the
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* to access the configuration source. Valid configuration sources include the
|
|
13
|
+
* following:</p>
|
|
14
|
+
* <ul>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store</p>
|
|
17
|
+
* </li>
|
|
18
|
+
* <li>
|
|
19
|
+
* <p>Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3)
|
|
20
|
+
* bucket</p>
|
|
21
|
+
* </li>
|
|
22
|
+
* <li>
|
|
23
|
+
* <p>Pipelines stored in CodePipeline</p>
|
|
24
|
+
* </li>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>Secrets stored in Secrets Manager</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store</p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Configuration data in SSM documents stored in the Systems Manager document store</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* </ul>
|
|
35
|
+
* <p>A configuration profile includes the following information:</p>
|
|
17
36
|
* <ul>
|
|
18
37
|
* <li>
|
|
19
38
|
* <p>The URI location of the configuration data.</p>
|
|
@@ -8,11 +8,11 @@ export interface CreateExtensionAssociationCommandInput extends CreateExtensionA
|
|
|
8
8
|
export interface CreateExtensionAssociationCommandOutput extends ExtensionAssociation, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>When you create an extension or configure an Amazon Web Services
|
|
11
|
+
* <p>When you create an extension or configure an Amazon Web Services authored extension, you
|
|
12
12
|
* associate the extension with an AppConfig application, environment, or
|
|
13
13
|
* configuration profile. For example, you can choose to run the <code>AppConfig
|
|
14
14
|
* deployment events to Amazon SNS</code>
|
|
15
|
-
* Amazon Web Services
|
|
15
|
+
* Amazon Web Services authored extension and receive notifications on an Amazon SNS
|
|
16
16
|
* topic anytime a configuration deployment is started for a specific application. Defining
|
|
17
17
|
* which extension to associate with an AppConfig resource is called an
|
|
18
18
|
* <i>extension association</i>. An extension association is a specified
|
|
@@ -11,8 +11,8 @@ export interface CreateExtensionCommandOutput extends Extension, __MetadataBeare
|
|
|
11
11
|
* <p>Creates an AppConfig extension. An extension augments your ability to inject
|
|
12
12
|
* logic or behavior at different points during the AppConfig workflow of creating
|
|
13
13
|
* or deploying a configuration.</p>
|
|
14
|
-
* <p>You can create your own extensions or use the Amazon Web Services
|
|
15
|
-
* AppConfig. For most use
|
|
14
|
+
* <p>You can create your own extensions or use the Amazon Web Services authored extensions provided by
|
|
15
|
+
* AppConfig. For most use cases, to create your own extension, you must create
|
|
16
16
|
* an Lambda function to perform any computation and processing defined in the
|
|
17
17
|
* extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
|
|
18
18
|
* AppConfig extensions</a> in the
|
|
@@ -10,37 +10,19 @@ export interface GetConfigurationCommandOutput extends Configuration, __Metadata
|
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated
|
|
12
12
|
*
|
|
13
|
-
* <p>Retrieves the latest deployed configuration.</p>
|
|
14
|
-
*
|
|
13
|
+
* <p>(Deprecated) Retrieves the latest deployed configuration.</p>
|
|
15
14
|
* <important>
|
|
16
15
|
* <p>Note the following important information.</p>
|
|
17
16
|
* <ul>
|
|
18
17
|
* <li>
|
|
19
|
-
* <p>This API action
|
|
20
|
-
*
|
|
18
|
+
* <p>This API action is deprecated. Calls to receive configuration data should use
|
|
19
|
+
* the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> APIs instead. </p>
|
|
21
20
|
* </li>
|
|
22
21
|
* <li>
|
|
23
22
|
* <p>
|
|
24
23
|
* <code>GetConfiguration</code> is a priced call. For more information, see
|
|
25
24
|
* <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>.</p>
|
|
26
25
|
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>AppConfig uses the value of the
|
|
29
|
-
* <code>ClientConfigurationVersion</code> parameter to identify the configuration
|
|
30
|
-
* version on your clients. If you don’t send <code>ClientConfigurationVersion</code>
|
|
31
|
-
* with each call to <code>GetConfiguration</code>, your clients receive the current
|
|
32
|
-
* configuration. You are charged each time your clients receive a
|
|
33
|
-
* configuration.</p>
|
|
34
|
-
* <p>To avoid excess charges, we recommend you use the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html">GetLatestConfiguration</a> APIs, which track the client configuration
|
|
35
|
-
* version on your behalf. If you choose to continue using
|
|
36
|
-
* <code>GetConfiguration</code>, we recommend that you include the
|
|
37
|
-
* <code>ClientConfigurationVersion</code> value with every call to
|
|
38
|
-
* <code>GetConfiguration</code>. The value to use for
|
|
39
|
-
* <code>ClientConfigurationVersion</code> comes from the
|
|
40
|
-
* <code>ConfigurationVersion</code> attribute returned by
|
|
41
|
-
* <code>GetConfiguration</code> when there is new or updated data, and should be
|
|
42
|
-
* saved for subsequent calls to <code>GetConfiguration</code>.</p>
|
|
43
|
-
* </li>
|
|
44
26
|
* </ul>
|
|
45
27
|
* </important>
|
|
46
28
|
* @example
|
|
@@ -8,7 +8,7 @@ export interface ListExtensionsCommandInput extends ListExtensionsRequest {
|
|
|
8
8
|
export interface ListExtensionsCommandOutput extends Extensions, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Lists all custom and Amazon Web Services
|
|
11
|
+
* <p>Lists all custom and Amazon Web Services authored AppConfig extensions in the
|
|
12
12
|
* account. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
|
|
13
13
|
* AppConfig extensions</a> in the
|
|
14
14
|
* <i>AppConfig User Guide</i>.</p>
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>An action defines the tasks the extension performs during the AppConfig
|
|
4
|
+
* <p>An action defines the tasks that the extension performs during the AppConfig
|
|
5
5
|
* workflow. Each action includes an action point such as
|
|
6
6
|
* <code>ON_CREATE_HOSTED_CONFIGURATION</code>, <code>PRE_DEPLOYMENT</code>, or
|
|
7
7
|
* <code>ON_DEPLOYMENT</code>. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management
|
|
@@ -307,17 +307,32 @@ export interface CreateConfigurationProfileRequest {
|
|
|
307
307
|
*/
|
|
308
308
|
Description?: string;
|
|
309
309
|
/**
|
|
310
|
-
* <p>A URI to locate the configuration. You can specify the
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
* <
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
310
|
+
* <p>A URI to locate the configuration. You can specify the following:</p>
|
|
311
|
+
* <ul>
|
|
312
|
+
* <li>
|
|
313
|
+
* <p>For the AppConfig hosted configuration store and for feature flags,
|
|
314
|
+
* specify <code>hosted</code>.</p>
|
|
315
|
+
* </li>
|
|
316
|
+
* <li>
|
|
317
|
+
* <p>For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in
|
|
318
|
+
* the format <code>ssm-parameter://<parameter name></code> or the ARN.</p>
|
|
319
|
+
* </li>
|
|
320
|
+
* <li>
|
|
321
|
+
* <p>For an Secrets Manager secret, specify the URI in the following format:
|
|
322
|
+
* <code>secrets-manager</code>://<secret name>.</p>
|
|
323
|
+
* </li>
|
|
324
|
+
* <li>
|
|
325
|
+
* <p>For an Amazon S3 object, specify the URI in the following format:
|
|
326
|
+
* <code>s3://<bucket>/<objectKey> </code>. Here is an example:
|
|
327
|
+
* <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>
|
|
328
|
+
* </p>
|
|
329
|
+
* </li>
|
|
330
|
+
* <li>
|
|
331
|
+
* <p>For an SSM document, specify either the document name in the format
|
|
332
|
+
* <code>ssm-document://<document name></code> or the Amazon Resource Name
|
|
333
|
+
* (ARN).</p>
|
|
334
|
+
* </li>
|
|
335
|
+
* </ul>
|
|
321
336
|
*/
|
|
322
337
|
LocationUri: string | undefined;
|
|
323
338
|
/**
|
|
@@ -413,7 +428,6 @@ export interface CreateDeploymentStrategyRequest {
|
|
|
413
428
|
* those deployments are complete, the system deploys the configuration to the next 10
|
|
414
429
|
* percent. This continues until 100% of the targets have successfully received the
|
|
415
430
|
* configuration.</p>
|
|
416
|
-
*
|
|
417
431
|
* <p>
|
|
418
432
|
* <b>Exponential</b>: For this type, AppConfig
|
|
419
433
|
* processes the deployment exponentially using the following formula: <code>G*(2^N)</code>.
|
|
@@ -914,11 +928,14 @@ export interface GetConfigurationRequest {
|
|
|
914
928
|
* <code>ClientConfigurationVersion</code> with each call to
|
|
915
929
|
* <code>GetConfiguration</code>, your clients receive the current configuration. You
|
|
916
930
|
* are charged each time your clients receive a configuration.</p>
|
|
917
|
-
* <p>To avoid excess charges, we recommend
|
|
918
|
-
*
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
* <code>ClientConfigurationVersion</code>
|
|
931
|
+
* <p>To avoid excess charges, we recommend you use the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html">GetLatestConfiguration</a> APIs, which track the client configuration version on
|
|
932
|
+
* your behalf. If you choose to continue using <code>GetConfiguration</code>, we recommend
|
|
933
|
+
* that you include the <code>ClientConfigurationVersion</code> value with every call to
|
|
934
|
+
* <code>GetConfiguration</code>. The value to use for
|
|
935
|
+
* <code>ClientConfigurationVersion</code> comes from the
|
|
936
|
+
* <code>ConfigurationVersion</code> attribute returned by <code>GetConfiguration</code>
|
|
937
|
+
* when there is new or updated data, and should be saved for subsequent calls to
|
|
938
|
+
* <code>GetConfiguration</code>.</p>
|
|
922
939
|
* </important>
|
|
923
940
|
* <p>For more information about working with configurations, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html">Retrieving the
|
|
924
941
|
* Configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
@@ -1092,6 +1109,17 @@ export interface Deployment {
|
|
|
1092
1109
|
* when <code>StartDeployment</code> was called.</p>
|
|
1093
1110
|
*/
|
|
1094
1111
|
AppliedExtensions?: AppliedExtension[];
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The Amazon Resource Name of the Key Management Service key used to encrypt configuration
|
|
1114
|
+
* data. You can encrypt secrets stored in Secrets Manager, Amazon Simple Storage Service
|
|
1115
|
+
* (Amazon S3) objects encrypted with SSE-KMS, or secure string parameters stored in Amazon Web Services Systems Manager
|
|
1116
|
+
* Parameter Store. </p>
|
|
1117
|
+
*/
|
|
1118
|
+
KmsKeyArn?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
|
|
1121
|
+
*/
|
|
1122
|
+
KmsKeyIdentifier?: string;
|
|
1095
1123
|
}
|
|
1096
1124
|
export interface GetDeploymentRequest {
|
|
1097
1125
|
/**
|
|
@@ -1468,7 +1496,7 @@ export interface ExtensionSummary {
|
|
|
1468
1496
|
}
|
|
1469
1497
|
export interface Extensions {
|
|
1470
1498
|
/**
|
|
1471
|
-
* <p>The list of available extensions. The list includes Amazon Web Services
|
|
1499
|
+
* <p>The list of available extensions. The list includes Amazon Web Services authored and
|
|
1472
1500
|
* user-created extensions.</p>
|
|
1473
1501
|
*/
|
|
1474
1502
|
Items?: ExtensionSummary[];
|
|
@@ -1593,6 +1621,10 @@ export interface StartDeploymentRequest {
|
|
|
1593
1621
|
* you define.</p>
|
|
1594
1622
|
*/
|
|
1595
1623
|
Tags?: Record<string, string>;
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key. </p>
|
|
1626
|
+
*/
|
|
1627
|
+
KmsKeyIdentifier?: string;
|
|
1596
1628
|
}
|
|
1597
1629
|
export interface StopDeploymentRequest {
|
|
1598
1630
|
/**
|
|
@@ -1704,7 +1736,6 @@ export interface UpdateDeploymentStrategyRequest {
|
|
|
1704
1736
|
* configuration available to 20 percent of the targets. After 1/5th of the deployment time
|
|
1705
1737
|
* has passed, the system updates the percentage to 40 percent. This continues until 100% of
|
|
1706
1738
|
* the targets are set to receive the deployed configuration.</p>
|
|
1707
|
-
*
|
|
1708
1739
|
* <p>
|
|
1709
1740
|
* <b>Exponential</b>: For this type, AppConfig
|
|
1710
1741
|
* processes the deployment exponentially using the following formula: <code>G*(2^N)</code>.
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -350,6 +350,8 @@ export interface Deployment {
|
|
|
350
350
|
StartedAt?: Date;
|
|
351
351
|
CompletedAt?: Date;
|
|
352
352
|
AppliedExtensions?: AppliedExtension[];
|
|
353
|
+
KmsKeyArn?: string;
|
|
354
|
+
KmsKeyIdentifier?: string;
|
|
353
355
|
}
|
|
354
356
|
export interface GetDeploymentRequest {
|
|
355
357
|
ApplicationId: string | undefined;
|
|
@@ -504,6 +506,7 @@ export interface StartDeploymentRequest {
|
|
|
504
506
|
ConfigurationVersion: string | undefined;
|
|
505
507
|
Description?: string;
|
|
506
508
|
Tags?: Record<string, string>;
|
|
509
|
+
KmsKeyIdentifier?: string;
|
|
507
510
|
}
|
|
508
511
|
export interface StopDeploymentRequest {
|
|
509
512
|
ApplicationId: string | 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.264.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,14 +20,14 @@
|
|
|
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.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|