@aws-sdk/client-apprunner 3.241.0 → 3.245.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 p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const r = "fn", s = "argv", t = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
7
7
  exports.ruleSet = _data;
@@ -297,6 +297,7 @@ const CodeConfigurationValuesFilterSensitiveLog = (obj) => ({
297
297
  ...(obj.BuildCommand && { BuildCommand: smithy_client_1.SENSITIVE_STRING }),
298
298
  ...(obj.StartCommand && { StartCommand: smithy_client_1.SENSITIVE_STRING }),
299
299
  ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithy_client_1.SENSITIVE_STRING }),
300
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: smithy_client_1.SENSITIVE_STRING }),
300
301
  });
301
302
  exports.CodeConfigurationValuesFilterSensitiveLog = CodeConfigurationValuesFilterSensitiveLog;
302
303
  const CodeConfigurationFilterSensitiveLog = (obj) => ({
@@ -319,6 +320,7 @@ const ImageConfigurationFilterSensitiveLog = (obj) => ({
319
320
  ...obj,
320
321
  ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: smithy_client_1.SENSITIVE_STRING }),
321
322
  ...(obj.StartCommand && { StartCommand: smithy_client_1.SENSITIVE_STRING }),
323
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: smithy_client_1.SENSITIVE_STRING }),
322
324
  });
323
325
  exports.ImageConfigurationFilterSensitiveLog = ImageConfigurationFilterSensitiveLog;
324
326
  const ImageRepositoryFilterSensitiveLog = (obj) => ({
@@ -1842,6 +1842,9 @@ const serializeAws_json1_0CodeConfigurationValues = (input, context) => {
1842
1842
  ...(input.BuildCommand != null && { BuildCommand: input.BuildCommand }),
1843
1843
  ...(input.Port != null && { Port: input.Port }),
1844
1844
  ...(input.Runtime != null && { Runtime: input.Runtime }),
1845
+ ...(input.RuntimeEnvironmentSecrets != null && {
1846
+ RuntimeEnvironmentSecrets: serializeAws_json1_0RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
1847
+ }),
1845
1848
  ...(input.RuntimeEnvironmentVariables != null && {
1846
1849
  RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
1847
1850
  }),
@@ -2035,6 +2038,9 @@ const serializeAws_json1_0HealthCheckConfiguration = (input, context) => {
2035
2038
  const serializeAws_json1_0ImageConfiguration = (input, context) => {
2036
2039
  return {
2037
2040
  ...(input.Port != null && { Port: input.Port }),
2041
+ ...(input.RuntimeEnvironmentSecrets != null && {
2042
+ RuntimeEnvironmentSecrets: serializeAws_json1_0RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
2043
+ }),
2038
2044
  ...(input.RuntimeEnvironmentVariables != null && {
2039
2045
  RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
2040
2046
  }),
@@ -2152,6 +2158,15 @@ const serializeAws_json1_0ResumeServiceRequest = (input, context) => {
2152
2158
  ...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
2153
2159
  };
2154
2160
  };
2161
+ const serializeAws_json1_0RuntimeEnvironmentSecrets = (input, context) => {
2162
+ return Object.entries(input).reduce((acc, [key, value]) => {
2163
+ if (value === null) {
2164
+ return acc;
2165
+ }
2166
+ acc[key] = value;
2167
+ return acc;
2168
+ }, {});
2169
+ };
2155
2170
  const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
2156
2171
  return Object.entries(input).reduce((acc, [key, value]) => {
2157
2172
  if (value === null) {
@@ -2347,6 +2362,9 @@ const deserializeAws_json1_0CodeConfigurationValues = (output, context) => {
2347
2362
  BuildCommand: (0, smithy_client_1.expectString)(output.BuildCommand),
2348
2363
  Port: (0, smithy_client_1.expectString)(output.Port),
2349
2364
  Runtime: (0, smithy_client_1.expectString)(output.Runtime),
2365
+ RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
2366
+ ? deserializeAws_json1_0RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
2367
+ : undefined,
2350
2368
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
2351
2369
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2352
2370
  : undefined,
@@ -2560,6 +2578,9 @@ const deserializeAws_json1_0HealthCheckConfiguration = (output, context) => {
2560
2578
  const deserializeAws_json1_0ImageConfiguration = (output, context) => {
2561
2579
  return {
2562
2580
  Port: (0, smithy_client_1.expectString)(output.Port),
2581
+ RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
2582
+ ? deserializeAws_json1_0RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
2583
+ : undefined,
2563
2584
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
2564
2585
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2565
2586
  : undefined,
@@ -2748,6 +2769,15 @@ const deserializeAws_json1_0ResumeServiceResponse = (output, context) => {
2748
2769
  Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
2749
2770
  };
2750
2771
  };
2772
+ const deserializeAws_json1_0RuntimeEnvironmentSecrets = (output, context) => {
2773
+ return Object.entries(output).reduce((acc, [key, value]) => {
2774
+ if (value === null) {
2775
+ return acc;
2776
+ }
2777
+ acc[key] = (0, smithy_client_1.expectString)(value);
2778
+ return acc;
2779
+ }, {});
2780
+ };
2751
2781
  const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
2752
2782
  return Object.entries(output).reduce((acc, [key, value]) => {
2753
2783
  if (value === null) {
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const r = "fn", s = "argv", t = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apprunner-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apprunner.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
4
  export const ruleSet = _data;
@@ -263,6 +263,7 @@ export const CodeConfigurationValuesFilterSensitiveLog = (obj) => ({
263
263
  ...(obj.BuildCommand && { BuildCommand: SENSITIVE_STRING }),
264
264
  ...(obj.StartCommand && { StartCommand: SENSITIVE_STRING }),
265
265
  ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING }),
266
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: SENSITIVE_STRING }),
266
267
  });
267
268
  export const CodeConfigurationFilterSensitiveLog = (obj) => ({
268
269
  ...obj,
@@ -281,6 +282,7 @@ export const ImageConfigurationFilterSensitiveLog = (obj) => ({
281
282
  ...obj,
282
283
  ...(obj.RuntimeEnvironmentVariables && { RuntimeEnvironmentVariables: SENSITIVE_STRING }),
283
284
  ...(obj.StartCommand && { StartCommand: SENSITIVE_STRING }),
285
+ ...(obj.RuntimeEnvironmentSecrets && { RuntimeEnvironmentSecrets: SENSITIVE_STRING }),
284
286
  });
285
287
  export const ImageRepositoryFilterSensitiveLog = (obj) => ({
286
288
  ...obj,
@@ -1768,6 +1768,9 @@ const serializeAws_json1_0CodeConfigurationValues = (input, context) => {
1768
1768
  ...(input.BuildCommand != null && { BuildCommand: input.BuildCommand }),
1769
1769
  ...(input.Port != null && { Port: input.Port }),
1770
1770
  ...(input.Runtime != null && { Runtime: input.Runtime }),
1771
+ ...(input.RuntimeEnvironmentSecrets != null && {
1772
+ RuntimeEnvironmentSecrets: serializeAws_json1_0RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
1773
+ }),
1771
1774
  ...(input.RuntimeEnvironmentVariables != null && {
1772
1775
  RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
1773
1776
  }),
@@ -1961,6 +1964,9 @@ const serializeAws_json1_0HealthCheckConfiguration = (input, context) => {
1961
1964
  const serializeAws_json1_0ImageConfiguration = (input, context) => {
1962
1965
  return {
1963
1966
  ...(input.Port != null && { Port: input.Port }),
1967
+ ...(input.RuntimeEnvironmentSecrets != null && {
1968
+ RuntimeEnvironmentSecrets: serializeAws_json1_0RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
1969
+ }),
1964
1970
  ...(input.RuntimeEnvironmentVariables != null && {
1965
1971
  RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
1966
1972
  }),
@@ -2078,6 +2084,15 @@ const serializeAws_json1_0ResumeServiceRequest = (input, context) => {
2078
2084
  ...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
2079
2085
  };
2080
2086
  };
2087
+ const serializeAws_json1_0RuntimeEnvironmentSecrets = (input, context) => {
2088
+ return Object.entries(input).reduce((acc, [key, value]) => {
2089
+ if (value === null) {
2090
+ return acc;
2091
+ }
2092
+ acc[key] = value;
2093
+ return acc;
2094
+ }, {});
2095
+ };
2081
2096
  const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
2082
2097
  return Object.entries(input).reduce((acc, [key, value]) => {
2083
2098
  if (value === null) {
@@ -2273,6 +2288,9 @@ const deserializeAws_json1_0CodeConfigurationValues = (output, context) => {
2273
2288
  BuildCommand: __expectString(output.BuildCommand),
2274
2289
  Port: __expectString(output.Port),
2275
2290
  Runtime: __expectString(output.Runtime),
2291
+ RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
2292
+ ? deserializeAws_json1_0RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
2293
+ : undefined,
2276
2294
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
2277
2295
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2278
2296
  : undefined,
@@ -2486,6 +2504,9 @@ const deserializeAws_json1_0HealthCheckConfiguration = (output, context) => {
2486
2504
  const deserializeAws_json1_0ImageConfiguration = (output, context) => {
2487
2505
  return {
2488
2506
  Port: __expectString(output.Port),
2507
+ RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
2508
+ ? deserializeAws_json1_0RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
2509
+ : undefined,
2489
2510
  RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
2490
2511
  ? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
2491
2512
  : undefined,
@@ -2674,6 +2695,15 @@ const deserializeAws_json1_0ResumeServiceResponse = (output, context) => {
2674
2695
  Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
2675
2696
  };
2676
2697
  };
2698
+ const deserializeAws_json1_0RuntimeEnvironmentSecrets = (output, context) => {
2699
+ return Object.entries(output).reduce((acc, [key, value]) => {
2700
+ if (value === null) {
2701
+ return acc;
2702
+ }
2703
+ acc[key] = __expectString(value);
2704
+ return acc;
2705
+ }, {});
2706
+ };
2677
2707
  const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
2678
2708
  return Object.entries(output).reduce((acc, [key, value]) => {
2679
2709
  if (value === null) {
@@ -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;
@@ -623,10 +623,29 @@ export interface CodeConfigurationValues {
623
623
  */
624
624
  Port?: string;
625
625
  /**
626
- * <p>The environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of
627
- * <code>AWSAPPRUNNER</code> are reserved for system use and aren't valid.</p>
626
+ * <p>The environment variables that are available to your running App Runner service. An array of key-value pairs.</p>
628
627
  */
629
628
  RuntimeEnvironmentVariables?: Record<string, string>;
629
+ /**
630
+ * <p>An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable.
631
+ * The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.</p>
632
+ * <note>
633
+ * <ul>
634
+ * <li>
635
+ * <p>
636
+ * If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching,
637
+ * you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
638
+ * </p>
639
+ * </li>
640
+ * <li>
641
+ * <p>
642
+ * Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
643
+ * </p>
644
+ * </li>
645
+ * </ul>
646
+ * </note>
647
+ */
648
+ RuntimeEnvironmentSecrets?: Record<string, string>;
630
649
  }
631
650
  export declare enum ConfigurationSource {
632
651
  API = "API",
@@ -702,8 +721,7 @@ export interface CodeRepository {
702
721
  */
703
722
  export interface ImageConfiguration {
704
723
  /**
705
- * <p>Environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of <code>AWSAPPRUNNER</code>
706
- * are reserved for system use and aren't valid.</p>
724
+ * <p>Environment variables that are available to your running App Runner service. An array of key-value pairs.</p>
707
725
  */
708
726
  RuntimeEnvironmentVariables?: Record<string, string>;
709
727
  /**
@@ -717,6 +735,26 @@ export interface ImageConfiguration {
717
735
  * </p>
718
736
  */
719
737
  Port?: string;
738
+ /**
739
+ * <p>An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable.
740
+ * The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.</p>
741
+ * <note>
742
+ * <ul>
743
+ * <li>
744
+ * <p>
745
+ * If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching,
746
+ * you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
747
+ * </p>
748
+ * </li>
749
+ * <li>
750
+ * <p>
751
+ * Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
752
+ * </p>
753
+ * </li>
754
+ * </ul>
755
+ * </note>
756
+ */
757
+ RuntimeEnvironmentSecrets?: Record<string, string>;
720
758
  }
721
759
  export declare enum ImageRepositoryType {
722
760
  ECR = "ECR",
@@ -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;
@@ -217,6 +217,7 @@ export interface CodeConfigurationValues {
217
217
  StartCommand?: string;
218
218
  Port?: string;
219
219
  RuntimeEnvironmentVariables?: Record<string, string>;
220
+ RuntimeEnvironmentSecrets?: Record<string, string>;
220
221
  }
221
222
  export declare enum ConfigurationSource {
222
223
  API = "API",
@@ -242,6 +243,7 @@ export interface ImageConfiguration {
242
243
  RuntimeEnvironmentVariables?: Record<string, string>;
243
244
  StartCommand?: string;
244
245
  Port?: string;
246
+ RuntimeEnvironmentSecrets?: Record<string, string>;
245
247
  }
246
248
  export declare enum ImageRepositoryType {
247
249
  ECR = "ECR",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apprunner",
3
3
  "description": "AWS SDK for JavaScript Apprunner Client for Node.js, Browser and React Native",
4
- "version": "3.241.0",
4
+ "version": "3.245.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,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.241.0",
23
+ "@aws-sdk/client-sts": "3.245.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
25
+ "@aws-sdk/credential-provider-node": "3.245.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",