@aws-sdk/client-appconfig 3.267.0 → 3.271.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
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 }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -177,6 +177,7 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
177
177
  () => isSerializableHeaderValue(input.LatestVersionNumber),
178
178
  () => input.LatestVersionNumber.toString(),
179
179
  ],
180
+ versionlabel: input.VersionLabel,
180
181
  });
181
182
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
182
183
  "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions";
@@ -678,6 +679,7 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
678
679
  const query = map({
679
680
  max_results: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
680
681
  next_token: [, input.NextToken],
682
+ version_label: [, input.VersionLabel],
681
683
  });
682
684
  let body;
683
685
  return new protocol_http_1.HttpRequest({
@@ -1330,6 +1332,7 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = async (o
1330
1332
  ],
1331
1333
  Description: [, output.headers["description"]],
1332
1334
  ContentType: [, output.headers["content-type"]],
1335
+ VersionLabel: [, output.headers["versionlabel"]],
1333
1336
  });
1334
1337
  const data = await collectBody(output.body, context);
1335
1338
  contents.Content = data;
@@ -2126,6 +2129,7 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommand = async (outp
2126
2129
  ],
2127
2130
  Description: [, output.headers["description"]],
2128
2131
  ContentType: [, output.headers["content-type"]],
2132
+ VersionLabel: [, output.headers["versionlabel"]],
2129
2133
  });
2130
2134
  const data = await collectBody(output.body, context);
2131
2135
  contents.Content = data;
@@ -3611,6 +3615,7 @@ const deserializeAws_restJson1HostedConfigurationVersionSummary = (output, conte
3611
3615
  ConfigurationProfileId: (0, smithy_client_1.expectString)(output.ConfigurationProfileId),
3612
3616
  ContentType: (0, smithy_client_1.expectString)(output.ContentType),
3613
3617
  Description: (0, smithy_client_1.expectString)(output.Description),
3618
+ VersionLabel: (0, smithy_client_1.expectString)(output.VersionLabel),
3614
3619
  VersionNumber: (0, smithy_client_1.expectInt32)(output.VersionNumber),
3615
3620
  };
3616
3621
  };
@@ -1,4 +1,4 @@
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 }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -167,6 +167,7 @@ export const serializeAws_restJson1CreateHostedConfigurationVersionCommand = asy
167
167
  () => isSerializableHeaderValue(input.LatestVersionNumber),
168
168
  () => input.LatestVersionNumber.toString(),
169
169
  ],
170
+ versionlabel: input.VersionLabel,
170
171
  });
171
172
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
172
173
  "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions";
@@ -644,6 +645,7 @@ export const serializeAws_restJson1ListHostedConfigurationVersionsCommand = asyn
644
645
  const query = map({
645
646
  max_results: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
646
647
  next_token: [, input.NextToken],
648
+ version_label: [, input.VersionLabel],
647
649
  });
648
650
  let body;
649
651
  return new __HttpRequest({
@@ -1277,6 +1279,7 @@ export const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = a
1277
1279
  ],
1278
1280
  Description: [, output.headers["description"]],
1279
1281
  ContentType: [, output.headers["content-type"]],
1282
+ VersionLabel: [, output.headers["versionlabel"]],
1280
1283
  });
1281
1284
  const data = await collectBody(output.body, context);
1282
1285
  contents.Content = data;
@@ -2057,6 +2060,7 @@ export const deserializeAws_restJson1GetHostedConfigurationVersionCommand = asyn
2057
2060
  ],
2058
2061
  Description: [, output.headers["description"]],
2059
2062
  ContentType: [, output.headers["content-type"]],
2063
+ VersionLabel: [, output.headers["versionlabel"]],
2060
2064
  });
2061
2065
  const data = await collectBody(output.body, context);
2062
2066
  contents.Content = data;
@@ -3521,6 +3525,7 @@ const deserializeAws_restJson1HostedConfigurationVersionSummary = (output, conte
3521
3525
  ConfigurationProfileId: __expectString(output.ConfigurationProfileId),
3522
3526
  ContentType: __expectString(output.ContentType),
3523
3527
  Description: __expectString(output.Description),
3528
+ VersionLabel: __expectString(output.VersionLabel),
3524
3529
  VersionNumber: __expectInt32(output.VersionNumber),
3525
3530
  };
3526
3531
  };
@@ -110,17 +110,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
110
110
  */
111
111
  disableHostPrefix?: boolean;
112
112
  /**
113
- * Value for how many times a request will be made at most in case of retry.
114
- */
115
- maxAttempts?: number | __Provider<number>;
116
- /**
117
- * Specifies which retry algorithm to use.
118
- */
119
- retryMode?: string | __Provider<string>;
120
- /**
121
- * Optional logger for logging debug/info/warn/error.
113
+ * Unique service identifier.
114
+ * @internal
122
115
  */
123
- logger?: __Logger;
116
+ serviceId?: string;
124
117
  /**
125
118
  * Enables IPv6/IPv4 dualstack endpoint.
126
119
  */
@@ -129,11 +122,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
129
122
  * Enables FIPS compatible endpoints.
130
123
  */
131
124
  useFipsEndpoint?: boolean | __Provider<boolean>;
132
- /**
133
- * Unique service identifier.
134
- * @internal
135
- */
136
- serviceId?: string;
137
125
  /**
138
126
  * The AWS region to which this client will send requests
139
127
  */
@@ -148,6 +136,18 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
148
136
  * @internal
149
137
  */
150
138
  defaultUserAgentProvider?: Provider<__UserAgent>;
139
+ /**
140
+ * Value for how many times a request will be made at most in case of retry.
141
+ */
142
+ maxAttempts?: number | __Provider<number>;
143
+ /**
144
+ * Specifies which retry algorithm to use.
145
+ */
146
+ retryMode?: string | __Provider<string>;
147
+ /**
148
+ * Optional logger for logging debug/info/warn/error.
149
+ */
150
+ logger?: __Logger;
151
151
  /**
152
152
  * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
153
153
  */
@@ -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: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -760,6 +760,10 @@ export interface CreateHostedConfigurationVersionRequest {
760
760
  * the latest hosted configuration version.</p>
761
761
  */
762
762
  LatestVersionNumber?: number;
763
+ /**
764
+ * <p>An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".</p>
765
+ */
766
+ VersionLabel?: string;
763
767
  }
764
768
  export interface HostedConfigurationVersion {
765
769
  /**
@@ -787,6 +791,10 @@ export interface HostedConfigurationVersion {
787
791
  * information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
788
792
  */
789
793
  ContentType?: string;
794
+ /**
795
+ * <p>A user-defined label for an AppConfig hosted configuration version.</p>
796
+ */
797
+ VersionLabel?: string;
790
798
  }
791
799
  export declare enum BytesMeasure {
792
800
  KILOBYTES = "KILOBYTES"
@@ -1546,6 +1554,10 @@ export interface HostedConfigurationVersionSummary {
1546
1554
  * information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
1547
1555
  */
1548
1556
  ContentType?: string;
1557
+ /**
1558
+ * <p>A user-defined label for an AppConfig hosted configuration version.</p>
1559
+ */
1560
+ VersionLabel?: string;
1549
1561
  }
1550
1562
  export interface HostedConfigurationVersions {
1551
1563
  /**
@@ -1576,6 +1588,10 @@ export interface ListHostedConfigurationVersionsRequest {
1576
1588
  * <p>A token to start the list. Use this token to get the next set of results. </p>
1577
1589
  */
1578
1590
  NextToken?: string;
1591
+ /**
1592
+ * <p>An optional filter that can be used to specify the version label of an AppConfig hosted configuration version. This parameter supports filtering by prefix using a wildcard, for example "v2*". If you don't specify an asterisk at the end of the value, only an exact match is returned.</p>
1593
+ */
1594
+ VersionLabel?: string;
1579
1595
  }
1580
1596
  export interface ListTagsForResourceRequest {
1581
1597
  /**
@@ -1609,7 +1625,7 @@ export interface StartDeploymentRequest {
1609
1625
  */
1610
1626
  ConfigurationProfileId: string | undefined;
1611
1627
  /**
1612
- * <p>The configuration version to deploy.</p>
1628
+ * <p>The configuration version to deploy. If deploying an AppConfig hosted configuration version, you can specify either the version number or version label.</p>
1613
1629
  */
1614
1630
  ConfigurationVersion: string | undefined;
1615
1631
  /**
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -15,15 +15,15 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
15
15
  utf8Decoder: import("@aws-sdk/types").Decoder;
16
16
  utf8Encoder: import("@aws-sdk/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
18
+ serviceId: string;
21
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
- serviceId: string;
24
21
  region: string | import("@aws-sdk/types").Provider<any>;
25
22
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ logger: import("@aws-sdk/types").Logger;
27
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
28
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -322,15 +322,15 @@ export interface ClientDefaults
322
322
  utf8Encoder?: __Encoder;
323
323
  runtime?: string;
324
324
  disableHostPrefix?: boolean;
325
- maxAttempts?: number | __Provider<number>;
326
- retryMode?: string | __Provider<string>;
327
- logger?: __Logger;
325
+ serviceId?: string;
328
326
  useDualstackEndpoint?: boolean | __Provider<boolean>;
329
327
  useFipsEndpoint?: boolean | __Provider<boolean>;
330
- serviceId?: string;
331
328
  region?: string | __Provider<string>;
332
329
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
333
330
  defaultUserAgentProvider?: Provider<__UserAgent>;
331
+ maxAttempts?: number | __Provider<number>;
332
+ retryMode?: string | __Provider<string>;
333
+ logger?: __Logger;
334
334
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
335
335
  }
336
336
  declare type AppConfigClientConfigType = Partial<
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -227,6 +227,7 @@ export interface CreateHostedConfigurationVersionRequest {
227
227
  Content: Uint8Array | undefined;
228
228
  ContentType: string | undefined;
229
229
  LatestVersionNumber?: number;
230
+ VersionLabel?: string;
230
231
  }
231
232
  export interface HostedConfigurationVersion {
232
233
  ApplicationId?: string;
@@ -235,6 +236,7 @@ export interface HostedConfigurationVersion {
235
236
  Description?: string;
236
237
  Content?: Uint8Array;
237
238
  ContentType?: string;
239
+ VersionLabel?: string;
238
240
  }
239
241
  export declare enum BytesMeasure {
240
242
  KILOBYTES = "KILOBYTES",
@@ -481,6 +483,7 @@ export interface HostedConfigurationVersionSummary {
481
483
  VersionNumber?: number;
482
484
  Description?: string;
483
485
  ContentType?: string;
486
+ VersionLabel?: string;
484
487
  }
485
488
  export interface HostedConfigurationVersions {
486
489
  Items?: HostedConfigurationVersionSummary[];
@@ -491,6 +494,7 @@ export interface ListHostedConfigurationVersionsRequest {
491
494
  ConfigurationProfileId: string | undefined;
492
495
  MaxResults?: number;
493
496
  NextToken?: string;
497
+ VersionLabel?: string;
494
498
  }
495
499
  export interface ListTagsForResourceRequest {
496
500
  ResourceArn: string | undefined;
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
34
34
  utf8Decoder: import("@aws-sdk/types").Decoder;
35
35
  utf8Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
- logger: import("@aws-sdk/types").Logger;
38
37
  serviceId: string;
38
+ logger: import("@aws-sdk/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
34
34
  utf8Decoder: import("@aws-sdk/types").Decoder;
35
35
  utf8Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
- logger: import("@aws-sdk/types").Logger;
38
37
  serviceId: string;
38
+ logger: import("@aws-sdk/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
@@ -19,12 +19,9 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
19
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
23
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
- logger: import("@aws-sdk/types").Logger;
22
+ serviceId: string;
25
23
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
24
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
27
- serviceId: string;
28
25
  region: string | import("@aws-sdk/types").Provider<any>;
29
26
  credentialDefaultProvider: (
30
27
  input: any
@@ -32,6 +29,9 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
32
29
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
33
30
  import("@aws-sdk/types").UserAgent
34
31
  >;
32
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
34
+ logger: import("@aws-sdk/types").Logger;
35
35
  defaultsMode:
36
36
  | import("@aws-sdk/smithy-client").DefaultsMode
37
37
  | import("@aws-sdk/types").Provider<
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.267.0",
4
+ "version": "3.271.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,37 +20,37 @@
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.267.0",
24
- "@aws-sdk/config-resolver": "3.267.0",
25
- "@aws-sdk/credential-provider-node": "3.267.0",
26
- "@aws-sdk/fetch-http-handler": "3.267.0",
27
- "@aws-sdk/hash-node": "3.267.0",
28
- "@aws-sdk/invalid-dependency": "3.267.0",
29
- "@aws-sdk/middleware-content-length": "3.267.0",
30
- "@aws-sdk/middleware-endpoint": "3.267.0",
31
- "@aws-sdk/middleware-host-header": "3.267.0",
32
- "@aws-sdk/middleware-logger": "3.267.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.267.0",
34
- "@aws-sdk/middleware-retry": "3.267.0",
35
- "@aws-sdk/middleware-serde": "3.267.0",
36
- "@aws-sdk/middleware-signing": "3.267.0",
37
- "@aws-sdk/middleware-stack": "3.267.0",
38
- "@aws-sdk/middleware-user-agent": "3.267.0",
39
- "@aws-sdk/node-config-provider": "3.267.0",
40
- "@aws-sdk/node-http-handler": "3.267.0",
41
- "@aws-sdk/protocol-http": "3.267.0",
42
- "@aws-sdk/smithy-client": "3.267.0",
43
- "@aws-sdk/types": "3.267.0",
44
- "@aws-sdk/url-parser": "3.267.0",
23
+ "@aws-sdk/client-sts": "3.271.0",
24
+ "@aws-sdk/config-resolver": "3.271.0",
25
+ "@aws-sdk/credential-provider-node": "3.271.0",
26
+ "@aws-sdk/fetch-http-handler": "3.271.0",
27
+ "@aws-sdk/hash-node": "3.271.0",
28
+ "@aws-sdk/invalid-dependency": "3.271.0",
29
+ "@aws-sdk/middleware-content-length": "3.271.0",
30
+ "@aws-sdk/middleware-endpoint": "3.271.0",
31
+ "@aws-sdk/middleware-host-header": "3.271.0",
32
+ "@aws-sdk/middleware-logger": "3.271.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.271.0",
34
+ "@aws-sdk/middleware-retry": "3.271.0",
35
+ "@aws-sdk/middleware-serde": "3.271.0",
36
+ "@aws-sdk/middleware-signing": "3.271.0",
37
+ "@aws-sdk/middleware-stack": "3.271.0",
38
+ "@aws-sdk/middleware-user-agent": "3.271.0",
39
+ "@aws-sdk/node-config-provider": "3.271.0",
40
+ "@aws-sdk/node-http-handler": "3.271.0",
41
+ "@aws-sdk/protocol-http": "3.271.0",
42
+ "@aws-sdk/smithy-client": "3.271.0",
43
+ "@aws-sdk/types": "3.271.0",
44
+ "@aws-sdk/url-parser": "3.271.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.267.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.267.0",
50
- "@aws-sdk/util-endpoints": "3.267.0",
51
- "@aws-sdk/util-retry": "3.267.0",
52
- "@aws-sdk/util-user-agent-browser": "3.267.0",
53
- "@aws-sdk/util-user-agent-node": "3.267.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.271.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.271.0",
50
+ "@aws-sdk/util-endpoints": "3.271.0",
51
+ "@aws-sdk/util-retry": "3.271.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.271.0",
53
+ "@aws-sdk/util-user-agent-node": "3.271.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },