@aws-sdk/client-greengrassv2 3.919.0 → 3.921.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.
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const y = "required", z = "fn", A = "argv", B = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { [y]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { [y]: false, "type": "string" }, n = { [y]: true, "default": false, "type": "boolean" }, o = { [B]: "Endpoint" }, p = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, q = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, r = {}, s = { [B]: "Region" }, t = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, u = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, v = [p], w = [q], x = [s];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m }, rules: [{ conditions: [{ [z]: b, [A]: [o] }], rules: [{ conditions: v, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: w, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: o, properties: r, headers: r }, type: e }], type: f }, { conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [p, q], rules: [{ conditions: [{ [z]: c, [A]: [a, t] }, u], rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: v, rules: [{ conditions: [{ [z]: c, [A]: [t, a] }], rules: [{ conditions: [{ [z]: h, [A]: [s, i] }], endpoint: { url: "https://greengrass.us-gov-east-1.amazonaws.com", properties: r, headers: r }, type: e }, { conditions: [{ [z]: h, [A]: [s, j] }], endpoint: { url: "https://greengrass.us-gov-west-1.amazonaws.com", properties: r, headers: r }, type: e }, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: w, rules: [{ conditions: [u], rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [z]: h, [A]: [s, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: { authSchemes: [{ name: k, signingName: l, signingRegion: i }] }, headers: r }, type: e }, { conditions: [{ [z]: h, [A]: [s, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: { authSchemes: [{ name: k, signingName: l, signingRegion: j }] }, headers: r }, type: e }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: r, headers: r }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const y = "required", z = "fn", A = "argv", B = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { [y]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "us-gov-east-1", j = "us-gov-west-1", k = "sigv4", l = "greengrass", m = { [y]: false, "type": "string" }, n = { [y]: true, "default": false, "type": "boolean" }, o = { [B]: "Endpoint" }, p = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, q = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, r = {}, s = { [B]: "Region" }, t = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, u = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, v = [p], w = [q], x = [s];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m }, rules: [{ conditions: [{ [z]: b, [A]: [o] }], rules: [{ conditions: v, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: w, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: o, properties: r, headers: r }, type: e }], type: f }, { conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [p, q], rules: [{ conditions: [{ [z]: c, [A]: [a, t] }, u], rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: v, rules: [{ conditions: [{ [z]: c, [A]: [t, a] }], rules: [{ conditions: [{ [z]: h, [A]: [s, i] }], endpoint: { url: "https://greengrass.us-gov-east-1.amazonaws.com", properties: r, headers: r }, type: e }, { conditions: [{ [z]: h, [A]: [s, j] }], endpoint: { url: "https://greengrass.us-gov-west-1.amazonaws.com", properties: r, headers: r }, type: e }, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: w, rules: [{ conditions: [u], rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: r, headers: r }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [z]: h, [A]: [s, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: { authSchemes: [{ name: k, signingName: l, signingRegion: i }] }, headers: r }, type: e }, { conditions: [{ [z]: h, [A]: [s, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: { authSchemes: [{ name: k, signingName: l, signingRegion: j }] }, headers: r }, type: e }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: r, headers: r }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -11,9 +11,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
-
) => import("@
|
|
15
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
16
|
-
>);
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
16
|
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
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.
|
|
4
|
+
"version": "3.921.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-greengrassv2",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.17.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.8.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.921.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.921.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.921.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.921.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.921.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.921.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.921.0",
|
|
30
|
+
"@aws-sdk/types": "3.921.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.921.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.921.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.921.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.1",
|
|
35
|
+
"@smithy/core": "^3.17.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.5",
|
|
37
|
+
"@smithy/hash-node": "^4.2.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.6",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.4",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.4",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.4",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.2",
|
|
48
|
+
"@smithy/types": "^4.8.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.4",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.7",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.4",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.4",
|
|
57
|
+
"@smithy/util-retry": "^4.2.4",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"@smithy/uuid": "^1.1.0",
|
|
60
60
|
"tslib": "^2.6.2"
|