@aws-sdk/client-greengrassv2 3.259.0 → 3.261.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 r = "required", s = "fn", t = "argv", u = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [r]: false, "type": "String" }, g = { [r]: true, "default": false, "type": "Boolean" }, h = { [u]: "Region" }, i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: a }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: a }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [h], assign: a }], type: b, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], 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 }] }] }, { conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://greengrass-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: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass-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: [n], type: b, rules: [{ endpoint: { url: "https://greengrass.{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: [{ conditions: [{ [s]: e, [t]: [h, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [s]: e, [t]: [h, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] };
4
+ const y = "type", z = "conditions", A = "fn", B = "argv", C = "ref", D = "properties", E = "headers";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { "required": true, "default": false, [y]: "Boolean" }, n = { [C]: "Region" }, o = { [C]: "Endpoint" }, p = { [A]: "booleanEquals", [B]: [{ [C]: "UseFIPS" }, true] }, q = { [A]: "booleanEquals", [B]: [{ [C]: "UseDualStack" }, true] }, r = {}, s = { [A]: "booleanEquals", [B]: [true, { [A]: "getAttr", [B]: [{ [C]: d }, "supportsFIPS"] }] }, t = { [A]: "booleanEquals", [B]: [true, { [A]: "getAttr", [B]: [{ [C]: d }, "supportsDualStack"] }] }, u = { [z]: [{ [A]: h, [B]: [n, i] }], [g]: { "url": "https://greengrass.us-gov-east-1.amazonaws.com", [D]: {}, [E]: {} }, [y]: g }, v = { [z]: [{ [A]: h, [B]: [n, j] }], [g]: { "url": "https://greengrass.us-gov-west-1.amazonaws.com", [D]: {}, [E]: {} }, [y]: g }, w = [p], x = [q];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, [y]: c }, UseDualStack: m, UseFIPS: m, Endpoint: { required: b, [y]: c } }, rules: [{ [z]: [{ [A]: "aws.partition", [B]: [n], assign: d }], [y]: e, rules: [{ [z]: [{ [A]: "isSet", [B]: [o] }], [y]: e, rules: [{ [z]: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [y]: f }, { [y]: e, rules: [{ [z]: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [y]: f }, { endpoint: { url: o, [D]: r, [E]: r }, [y]: g }] }] }, { [z]: [p, q], [y]: e, rules: [{ [z]: [s, t], [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [y]: f }] }, { [z]: w, [y]: e, rules: [{ [z]: [s], [y]: e, rules: [{ [y]: e, rules: [u, v, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [y]: f }] }, { [z]: x, [y]: e, rules: [{ [z]: [t], [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", [y]: f }] }, { [y]: e, rules: [{ [z]: [{ [A]: h, [B]: [n, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", [D]: { authSchemes: [{ name: k, signingRegion: i, signingName: l }] }, [E]: r }, [y]: g }, { [z]: [{ [A]: h, [B]: [n, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", [D]: { authSchemes: [{ name: k, signingRegion: j, signingName: l }] }, [E]: r }, [y]: g }, u, v, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const r = "required", s = "fn", t = "argv", u = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [r]: false, "type": "String" }, g = { [r]: true, "default": false, "type": "Boolean" }, h = { [u]: "Region" }, i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: a }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: a }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [h], assign: a }], type: b, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], 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 }] }] }, { conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://greengrass-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: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass-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: [n], type: b, rules: [{ endpoint: { url: "https://greengrass.{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: [{ conditions: [{ [s]: e, [t]: [h, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [s]: e, [t]: [h, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] };
1
+ const y = "type", z = "conditions", A = "fn", B = "argv", C = "ref", D = "properties", E = "headers";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { "required": true, "default": false, [y]: "Boolean" }, n = { [C]: "Region" }, o = { [C]: "Endpoint" }, p = { [A]: "booleanEquals", [B]: [{ [C]: "UseFIPS" }, true] }, q = { [A]: "booleanEquals", [B]: [{ [C]: "UseDualStack" }, true] }, r = {}, s = { [A]: "booleanEquals", [B]: [true, { [A]: "getAttr", [B]: [{ [C]: d }, "supportsFIPS"] }] }, t = { [A]: "booleanEquals", [B]: [true, { [A]: "getAttr", [B]: [{ [C]: d }, "supportsDualStack"] }] }, u = { [z]: [{ [A]: h, [B]: [n, i] }], [g]: { "url": "https://greengrass.us-gov-east-1.amazonaws.com", [D]: {}, [E]: {} }, [y]: g }, v = { [z]: [{ [A]: h, [B]: [n, j] }], [g]: { "url": "https://greengrass.us-gov-west-1.amazonaws.com", [D]: {}, [E]: {} }, [y]: g }, w = [p], x = [q];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, [y]: c }, UseDualStack: m, UseFIPS: m, Endpoint: { required: b, [y]: c } }, rules: [{ [z]: [{ [A]: "aws.partition", [B]: [n], assign: d }], [y]: e, rules: [{ [z]: [{ [A]: "isSet", [B]: [o] }], [y]: e, rules: [{ [z]: w, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [y]: f }, { [y]: e, rules: [{ [z]: x, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [y]: f }, { endpoint: { url: o, [D]: r, [E]: r }, [y]: g }] }] }, { [z]: [p, q], [y]: e, rules: [{ [z]: [s, t], [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [y]: f }] }, { [z]: w, [y]: e, rules: [{ [z]: [s], [y]: e, rules: [{ [y]: e, rules: [u, v, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [y]: f }] }, { [z]: x, [y]: e, rules: [{ [z]: [t], [y]: e, rules: [{ [y]: e, rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", [y]: f }] }, { [y]: e, rules: [{ [z]: [{ [A]: h, [B]: [n, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", [D]: { authSchemes: [{ name: k, signingRegion: i, signingName: l }] }, [E]: r }, [y]: g }, { [z]: [{ [A]: h, [B]: [n, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", [D]: { authSchemes: [{ name: k, signingRegion: j, signingName: l }] }, [E]: r }, [y]: g }, u, v, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", [D]: r, [E]: r }, [y]: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -59,7 +59,6 @@ export declare class GreengrassV2 extends GreengrassV2Client {
59
59
  * client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information
60
60
  * and certificates. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html">Configure cloud
61
61
  * discovery</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
62
- *
63
62
  * <note>
64
63
  * <p>Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core
65
64
  * device over MQTT. You can connect client devices to a core device to sync MQTT messages and
@@ -13,7 +13,6 @@ export interface BatchAssociateClientDeviceWithCoreDeviceCommandOutput extends B
13
13
  * client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information
14
14
  * and certificates. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html">Configure cloud
15
15
  * discovery</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
16
- *
17
16
  * <note>
18
17
  * <p>Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core
19
18
  * device over MQTT. You can connect client devices to a core device to sync MQTT messages and
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
3
  "description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
4
- "version": "3.259.0",
4
+ "version": "3.261.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": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.259.0",
23
+ "@aws-sdk/client-sts": "3.261.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.259.0",
25
+ "@aws-sdk/credential-provider-node": "3.261.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",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.259.0",
40
40
  "@aws-sdk/node-http-handler": "3.257.0",
41
41
  "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.257.0",
42
+ "@aws-sdk/smithy-client": "3.261.0",
43
43
  "@aws-sdk/types": "3.257.0",
44
44
  "@aws-sdk/url-parser": "3.257.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.257.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
50
  "@aws-sdk/util-endpoints": "3.257.0",
51
51
  "@aws-sdk/util-retry": "3.257.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.257.0",