@aws-sdk/client-greengrassv2 3.306.0 → 3.309.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.
- package/README.md +2 -2
- package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +2 -2
- package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/CancelDeploymentCommand.js +2 -2
- package/dist-cjs/commands/CreateComponentVersionCommand.js +2 -2
- package/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
- package/dist-cjs/commands/DeleteComponentCommand.js +2 -2
- package/dist-cjs/commands/DeleteCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/DeleteDeploymentCommand.js +2 -2
- package/dist-cjs/commands/DescribeComponentCommand.js +2 -2
- package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +2 -2
- package/dist-cjs/commands/GetComponentCommand.js +2 -2
- package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +2 -2
- package/dist-cjs/commands/GetConnectivityInfoCommand.js +2 -2
- package/dist-cjs/commands/GetCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
- package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +2 -2
- package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/ListComponentVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListCoreDevicesCommand.js +2 -2
- package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListInstalledComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +2 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +514 -546
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +3 -3
- package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -3
- package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -3
- package/dist-es/commands/CancelDeploymentCommand.js +3 -3
- package/dist-es/commands/CreateComponentVersionCommand.js +3 -3
- package/dist-es/commands/CreateDeploymentCommand.js +3 -3
- package/dist-es/commands/DeleteComponentCommand.js +3 -3
- package/dist-es/commands/DeleteCoreDeviceCommand.js +3 -3
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -3
- package/dist-es/commands/DescribeComponentCommand.js +3 -3
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +3 -3
- package/dist-es/commands/GetComponentCommand.js +3 -3
- package/dist-es/commands/GetComponentVersionArtifactCommand.js +3 -3
- package/dist-es/commands/GetConnectivityInfoCommand.js +3 -3
- package/dist-es/commands/GetCoreDeviceCommand.js +3 -3
- package/dist-es/commands/GetDeploymentCommand.js +3 -3
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +3 -3
- package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -3
- package/dist-es/commands/ListComponentVersionsCommand.js +3 -3
- package/dist-es/commands/ListComponentsCommand.js +3 -3
- package/dist-es/commands/ListCoreDevicesCommand.js +3 -3
- package/dist-es/commands/ListDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListEffectiveDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListInstalledComponentsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ResolveComponentCandidatesCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +454 -486
- package/dist-types/GreengrassV2.d.ts +32 -30
- package/dist-types/GreengrassV2Client.d.ts +2 -2
- package/dist-types/commands/CreateComponentVersionCommand.d.ts +2 -2
- package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +3 -2
- package/dist-types/commands/GetCoreDeviceCommand.d.ts +7 -7
- package/dist-types/commands/ListComponentVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListCoreDevicesCommand.d.ts +7 -7
- package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +1 -2
- package/dist-types/commands/ListInstalledComponentsCommand.d.ts +6 -5
- package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +69 -20
- package/dist-types/protocols/Aws_restJson1.d.ts +232 -58
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +58 -58
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateConnectivityInfoCommand, se_UpdateConnectivityInfoCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateConnectivityInfoCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateConnectivityInfoCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateConnectivityInfoCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateConnectivityInfoCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "us-gov-east-1", h = "us-gov-west-1", i = "sigv4", j = "greengrass", k = { [w]: false, "type": "String" }, l = { [w]: true, "default": false, "type": "Boolean" }, m = { [z]: "Endpoint" }, n = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, true] }, o = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, true] }, p = {}, q = { [z]: "Region" }, r = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsFIPS"] }] }, s = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsDualStack"] }] }, t = [n], u = [o], v = [q];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [x]: a, [y]: [m] }], type: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: m, properties: p, headers: p }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [x]: a, [y]: v }], type: b, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: e }], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ conditions: [r, s], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ type: b, rules: [{ conditions: [{ [x]: f, [y]: [q, g] }], endpoint: { url: "https://greengrass.us-gov-east-1.amazonaws.com", properties: p, headers: p }, type: d }, { conditions: [{ [x]: f, [y]: [q, h] }], endpoint: { url: "https://greengrass.us-gov-west-1.amazonaws.com", properties: p, headers: p }, type: d }, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: u, type: b, rules: [{ conditions: [s], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [x]: f, [y]: [q, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: g }] }, headers: p }, type: d }, { conditions: [{ [x]: f, [y]: [q, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }, headers: p }, type: d }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|