@aws-sdk/client-appconfig 3.431.0 → 3.435.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 = "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 }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { 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: [{ 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: [{ 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: [{ 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 }] }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
+ const u = "required", v = "fn", w = "argv", x = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, q = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
6
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, p] }, q], rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [p, a] }], rules: [{ conditions: [{ [v]: h, [w]: [o, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: e }, { conditions: [{ [v]: h, [w]: [o, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
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 }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { 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: [{ 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: [{ 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: [{ 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 }] }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, q = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
3
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, p] }, q], rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [p, a] }], rules: [{ conditions: [{ [v]: h, [w]: [o, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: e }, { conditions: [{ [v]: h, [w]: [o, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -827,7 +827,7 @@ export interface CreateExtensionRequest {
827
827
  * @public
828
828
  * <p>The actions defined in the extension.</p>
829
829
  */
830
- Actions: Record<ActionPoint, Action[]> | undefined;
830
+ Actions: Partial<Record<ActionPoint, Action[]>> | undefined;
831
831
  /**
832
832
  * @public
833
833
  * <p>The parameters accepted by the extension. You specify parameter values when you
@@ -884,7 +884,7 @@ export interface Extension {
884
884
  * @public
885
885
  * <p>The actions defined in the extension.</p>
886
886
  */
887
- Actions?: Record<ActionPoint, Action[]>;
887
+ Actions?: Partial<Record<ActionPoint, Action[]>>;
888
888
  /**
889
889
  * @public
890
890
  * <p>The parameters accepted by the extension. You specify parameter values when you
@@ -2466,7 +2466,7 @@ export interface UpdateExtensionRequest {
2466
2466
  * @public
2467
2467
  * <p>The actions defined in the extension.</p>
2468
2468
  */
2469
- Actions?: Record<ActionPoint, Action[]>;
2469
+ Actions?: Partial<Record<ActionPoint, Action[]>>;
2470
2470
  /**
2471
2471
  * @public
2472
2472
  * <p>One or more parameters for the actions called by the extension.</p>
@@ -202,7 +202,7 @@ export interface Parameter {
202
202
  export interface CreateExtensionRequest {
203
203
  Name: string | undefined;
204
204
  Description?: string;
205
- Actions: Record<ActionPoint, Action[]> | undefined;
205
+ Actions: Partial<Record<ActionPoint, Action[]>> | undefined;
206
206
  Parameters?: Record<string, Parameter>;
207
207
  Tags?: Record<string, string>;
208
208
  LatestVersionNumber?: number;
@@ -213,7 +213,7 @@ export interface Extension {
213
213
  VersionNumber?: number;
214
214
  Arn?: string;
215
215
  Description?: string;
216
- Actions?: Record<ActionPoint, Action[]>;
216
+ Actions?: Partial<Record<ActionPoint, Action[]>>;
217
217
  Parameters?: Record<string, Parameter>;
218
218
  }
219
219
  export interface CreateExtensionAssociationRequest {
@@ -578,7 +578,7 @@ export interface UpdateEnvironmentRequest {
578
578
  export interface UpdateExtensionRequest {
579
579
  ExtensionIdentifier: string | undefined;
580
580
  Description?: string;
581
- Actions?: Record<ActionPoint, Action[]>;
581
+ Actions?: Partial<Record<ActionPoint, Action[]>>;
582
582
  Parameters?: Record<string, Parameter>;
583
583
  VersionNumber?: number;
584
584
  }
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.431.0",
4
+ "version": "3.435.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",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.431.0",
25
- "@aws-sdk/core": "3.431.0",
26
- "@aws-sdk/credential-provider-node": "3.431.0",
27
- "@aws-sdk/middleware-host-header": "3.431.0",
28
- "@aws-sdk/middleware-logger": "3.428.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.428.0",
30
- "@aws-sdk/middleware-signing": "3.428.0",
31
- "@aws-sdk/middleware-user-agent": "3.428.0",
32
- "@aws-sdk/region-config-resolver": "3.430.0",
33
- "@aws-sdk/types": "3.428.0",
34
- "@aws-sdk/util-endpoints": "3.428.0",
35
- "@aws-sdk/util-user-agent-browser": "3.428.0",
36
- "@aws-sdk/util-user-agent-node": "3.430.0",
37
- "@smithy/config-resolver": "^2.0.15",
38
- "@smithy/fetch-http-handler": "^2.2.3",
39
- "@smithy/hash-node": "^2.0.11",
40
- "@smithy/invalid-dependency": "^2.0.11",
41
- "@smithy/middleware-content-length": "^2.0.13",
42
- "@smithy/middleware-endpoint": "^2.1.2",
43
- "@smithy/middleware-retry": "^2.0.17",
44
- "@smithy/middleware-serde": "^2.0.11",
45
- "@smithy/middleware-stack": "^2.0.5",
46
- "@smithy/node-config-provider": "^2.1.2",
47
- "@smithy/node-http-handler": "^2.1.7",
48
- "@smithy/protocol-http": "^3.0.7",
49
- "@smithy/smithy-client": "^2.1.11",
50
- "@smithy/types": "^2.3.5",
51
- "@smithy/url-parser": "^2.0.11",
24
+ "@aws-sdk/client-sts": "3.435.0",
25
+ "@aws-sdk/core": "3.433.0",
26
+ "@aws-sdk/credential-provider-node": "3.435.0",
27
+ "@aws-sdk/middleware-host-header": "3.433.0",
28
+ "@aws-sdk/middleware-logger": "3.433.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
+ "@aws-sdk/middleware-signing": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.433.0",
32
+ "@aws-sdk/region-config-resolver": "3.433.0",
33
+ "@aws-sdk/types": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.433.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.433.0",
36
+ "@aws-sdk/util-user-agent-node": "3.433.0",
37
+ "@smithy/config-resolver": "^2.0.16",
38
+ "@smithy/fetch-http-handler": "^2.2.4",
39
+ "@smithy/hash-node": "^2.0.12",
40
+ "@smithy/invalid-dependency": "^2.0.12",
41
+ "@smithy/middleware-content-length": "^2.0.14",
42
+ "@smithy/middleware-endpoint": "^2.1.3",
43
+ "@smithy/middleware-retry": "^2.0.18",
44
+ "@smithy/middleware-serde": "^2.0.12",
45
+ "@smithy/middleware-stack": "^2.0.6",
46
+ "@smithy/node-config-provider": "^2.1.3",
47
+ "@smithy/node-http-handler": "^2.1.8",
48
+ "@smithy/protocol-http": "^3.0.8",
49
+ "@smithy/smithy-client": "^2.1.12",
50
+ "@smithy/types": "^2.4.0",
51
+ "@smithy/url-parser": "^2.0.12",
52
52
  "@smithy/util-base64": "^2.0.0",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.15",
56
- "@smithy/util-defaults-mode-node": "^2.0.20",
57
- "@smithy/util-retry": "^2.0.4",
58
- "@smithy/util-stream": "^2.0.16",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.16",
56
+ "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-retry": "^2.0.5",
58
+ "@smithy/util-stream": "^2.0.17",
59
59
  "@smithy/util-utf8": "^2.0.0",
60
60
  "tslib": "^2.5.0"
61
61
  },