@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.
Files changed (82) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +2 -2
  3. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -2
  4. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -2
  5. package/dist-cjs/commands/CancelDeploymentCommand.js +2 -2
  6. package/dist-cjs/commands/CreateComponentVersionCommand.js +2 -2
  7. package/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteComponentCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteCoreDeviceCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteDeploymentCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeComponentCommand.js +2 -2
  12. package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +2 -2
  13. package/dist-cjs/commands/GetComponentCommand.js +2 -2
  14. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +2 -2
  15. package/dist-cjs/commands/GetConnectivityInfoCommand.js +2 -2
  16. package/dist-cjs/commands/GetCoreDeviceCommand.js +2 -2
  17. package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
  18. package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +2 -2
  19. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -2
  20. package/dist-cjs/commands/ListComponentVersionsCommand.js +2 -2
  21. package/dist-cjs/commands/ListComponentsCommand.js +2 -2
  22. package/dist-cjs/commands/ListCoreDevicesCommand.js +2 -2
  23. package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
  24. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +2 -2
  25. package/dist-cjs/commands/ListInstalledComponentsCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  27. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +2 -2
  28. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  29. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +2 -2
  31. package/dist-cjs/endpoint/ruleset.js +3 -3
  32. package/dist-cjs/models/models_0.js +1 -0
  33. package/dist-cjs/protocols/Aws_restJson1.js +514 -546
  34. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +3 -3
  35. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -3
  36. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -3
  37. package/dist-es/commands/CancelDeploymentCommand.js +3 -3
  38. package/dist-es/commands/CreateComponentVersionCommand.js +3 -3
  39. package/dist-es/commands/CreateDeploymentCommand.js +3 -3
  40. package/dist-es/commands/DeleteComponentCommand.js +3 -3
  41. package/dist-es/commands/DeleteCoreDeviceCommand.js +3 -3
  42. package/dist-es/commands/DeleteDeploymentCommand.js +3 -3
  43. package/dist-es/commands/DescribeComponentCommand.js +3 -3
  44. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +3 -3
  45. package/dist-es/commands/GetComponentCommand.js +3 -3
  46. package/dist-es/commands/GetComponentVersionArtifactCommand.js +3 -3
  47. package/dist-es/commands/GetConnectivityInfoCommand.js +3 -3
  48. package/dist-es/commands/GetCoreDeviceCommand.js +3 -3
  49. package/dist-es/commands/GetDeploymentCommand.js +3 -3
  50. package/dist-es/commands/GetServiceRoleForAccountCommand.js +3 -3
  51. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -3
  52. package/dist-es/commands/ListComponentVersionsCommand.js +3 -3
  53. package/dist-es/commands/ListComponentsCommand.js +3 -3
  54. package/dist-es/commands/ListCoreDevicesCommand.js +3 -3
  55. package/dist-es/commands/ListDeploymentsCommand.js +3 -3
  56. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +3 -3
  57. package/dist-es/commands/ListInstalledComponentsCommand.js +3 -3
  58. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  59. package/dist-es/commands/ResolveComponentCandidatesCommand.js +3 -3
  60. package/dist-es/commands/TagResourceCommand.js +3 -3
  61. package/dist-es/commands/UntagResourceCommand.js +3 -3
  62. package/dist-es/commands/UpdateConnectivityInfoCommand.js +3 -3
  63. package/dist-es/endpoint/ruleset.js +3 -3
  64. package/dist-es/models/models_0.js +1 -0
  65. package/dist-es/protocols/Aws_restJson1.js +454 -486
  66. package/dist-types/GreengrassV2.d.ts +32 -30
  67. package/dist-types/GreengrassV2Client.d.ts +2 -2
  68. package/dist-types/commands/CreateComponentVersionCommand.d.ts +2 -2
  69. package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +3 -2
  70. package/dist-types/commands/GetCoreDeviceCommand.d.ts +7 -7
  71. package/dist-types/commands/ListComponentVersionsCommand.d.ts +2 -1
  72. package/dist-types/commands/ListCoreDevicesCommand.d.ts +7 -7
  73. package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +1 -2
  74. package/dist-types/commands/ListInstalledComponentsCommand.d.ts +6 -5
  75. package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +2 -2
  76. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  77. package/dist-types/models/models_0.d.ts +69 -20
  78. package/dist-types/protocols/Aws_restJson1.d.ts +232 -58
  79. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  80. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  81. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +58 -58
  82. 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 { deserializeAws_restJson1UpdateConnectivityInfoCommand, serializeAws_restJson1UpdateConnectivityInfoCommand, } from "../protocols/Aws_restJson1";
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 serializeAws_restJson1UpdateConnectivityInfoCommand(input, context);
36
+ return se_UpdateConnectivityInfoCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateConnectivityInfoCommand(output, context);
39
+ return de_UpdateConnectivityInfoCommand(output, context);
40
40
  }
41
41
  }
@@ -1,4 +1,4 @@
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 }] }] }] };
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;
@@ -190,6 +190,7 @@ export const EffectiveDeploymentExecutionStatus = {
190
190
  IN_PROGRESS: "IN_PROGRESS",
191
191
  QUEUED: "QUEUED",
192
192
  REJECTED: "REJECTED",
193
+ SUCCEEDED: "SUCCEEDED",
193
194
  TIMED_OUT: "TIMED_OUT",
194
195
  };
195
196
  export const RecipeOutputFormat = {