@aws-sdk/client-greengrassv2 3.154.0 → 3.161.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-greengrassv2:** Adds topologyFilter to ListInstalledComponentsRequest which allows filtration of components by ROOT or ALL (including root and dependency components). Adds lastStatusChangeTimestamp to ListInstalledComponents response to show the last time a component changed state on a device. ([3927d07](https://github.com/aws/aws-sdk-js-v3/commit/3927d07ea3c8ff34765afabc4847f50147dd020c))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.160.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.159.0...v3.160.0) (2022-08-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-greengrassv2
20
+
21
+
22
+
23
+
24
+
25
+ # [3.159.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.158.0...v3.159.0) (2022-08-26)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-greengrassv2
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.154.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.153.0...v3.154.0) (2022-08-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-greengrassv2
@@ -63,6 +63,7 @@ const partitionHash = {
63
63
  "eu-west-1",
64
64
  "eu-west-2",
65
65
  "eu-west-3",
66
+ "me-central-1",
66
67
  "me-south-1",
67
68
  "sa-east-1",
68
69
  "us-east-1",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentRunWithFilterSensitiveLog = exports.SystemResourceLimitsFilterSensitiveLog = exports.ComponentDependencyRequirementFilterSensitiveLog = exports.ComponentConfigurationUpdateFilterSensitiveLog = exports.ComponentCandidateFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.ComponentLatestVersionFilterSensitiveLog = exports.ComponentPlatformFilterSensitiveLog = exports.CloudComponentStatusFilterSensitiveLog = exports.CancelDeploymentResponseFilterSensitiveLog = exports.CancelDeploymentRequestFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceResponseFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceErrorEntryFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceRequestFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceEntryFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceResponseFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AssociateServiceRoleToAccountResponseFilterSensitiveLog = exports.AssociateServiceRoleToAccountRequestFilterSensitiveLog = exports.AssociatedClientDeviceFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceErrorEntryFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceEntryFilterSensitiveLog = exports.InstalledComponentLifecycleState = exports.RecipeOutputFormat = exports.EffectiveDeploymentExecutionStatus = exports.DeploymentHistoryFilter = exports.DeploymentStatus = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction = exports.DeploymentFailureHandlingPolicy = exports.DeploymentComponentUpdatePolicyAction = exports.ServiceQuotaExceededException = exports.RequestAlreadyInProgressException = exports.LambdaIsolationMode = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSourceType = exports.CoreDeviceStatus = exports.ComponentVisibilityScope = exports.ComponentDependencyType = exports.VendorGuidance = exports.CloudComponentState = exports.ConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
- exports.ListComponentsResponseFilterSensitiveLog = exports.ListComponentsRequestFilterSensitiveLog = exports.ListClientDevicesAssociatedWithCoreDeviceResponseFilterSensitiveLog = exports.ListClientDevicesAssociatedWithCoreDeviceRequestFilterSensitiveLog = exports.GetServiceRoleForAccountResponseFilterSensitiveLog = exports.GetServiceRoleForAccountRequestFilterSensitiveLog = exports.GetDeploymentResponseFilterSensitiveLog = exports.GetDeploymentRequestFilterSensitiveLog = exports.GetCoreDeviceResponseFilterSensitiveLog = exports.GetCoreDeviceRequestFilterSensitiveLog = exports.GetConnectivityInfoResponseFilterSensitiveLog = exports.GetConnectivityInfoRequestFilterSensitiveLog = exports.GetComponentVersionArtifactResponseFilterSensitiveLog = exports.GetComponentVersionArtifactRequestFilterSensitiveLog = exports.GetComponentResponseFilterSensitiveLog = exports.GetComponentRequestFilterSensitiveLog = exports.EffectiveDeploymentFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountRequestFilterSensitiveLog = exports.DescribeComponentResponseFilterSensitiveLog = exports.DescribeComponentRequestFilterSensitiveLog = exports.DeploymentFilterSensitiveLog = exports.DeleteDeploymentRequestFilterSensitiveLog = exports.DeleteCoreDeviceRequestFilterSensitiveLog = exports.DeleteComponentRequestFilterSensitiveLog = exports.CreateDeploymentResponseFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.DeploymentIoTJobConfigurationFilterSensitiveLog = exports.IoTJobTimeoutConfigFilterSensitiveLog = exports.IoTJobExecutionsRolloutConfigFilterSensitiveLog = exports.IoTJobExponentialRolloutRateFilterSensitiveLog = exports.IoTJobRateIncreaseCriteriaFilterSensitiveLog = exports.IoTJobAbortConfigFilterSensitiveLog = exports.IoTJobAbortCriteriaFilterSensitiveLog = exports.DeploymentPoliciesFilterSensitiveLog = exports.DeploymentConfigurationValidationPolicyFilterSensitiveLog = exports.DeploymentComponentUpdatePolicyFilterSensitiveLog = exports.CreateComponentVersionResponseFilterSensitiveLog = exports.CreateComponentVersionRequestFilterSensitiveLog = exports.LambdaFunctionRecipeSourceFilterSensitiveLog = exports.LambdaExecutionParametersFilterSensitiveLog = exports.LambdaLinuxProcessParamsFilterSensitiveLog = exports.LambdaContainerParamsFilterSensitiveLog = exports.LambdaVolumeMountFilterSensitiveLog = exports.LambdaDeviceMountFilterSensitiveLog = exports.LambdaEventSourceFilterSensitiveLog = exports.CoreDeviceFilterSensitiveLog = exports.ConnectivityInfoFilterSensitiveLog = exports.ComponentVersionListItemFilterSensitiveLog = exports.ComponentDeploymentSpecificationFilterSensitiveLog = void 0;
5
- exports.UpdateConnectivityInfoResponseFilterSensitiveLog = exports.UpdateConnectivityInfoRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ResolveComponentCandidatesResponseFilterSensitiveLog = exports.ResolvedComponentVersionFilterSensitiveLog = exports.ResolveComponentCandidatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListInstalledComponentsResponseFilterSensitiveLog = exports.InstalledComponentFilterSensitiveLog = exports.ListInstalledComponentsRequestFilterSensitiveLog = exports.ListEffectiveDeploymentsResponseFilterSensitiveLog = exports.ListEffectiveDeploymentsRequestFilterSensitiveLog = exports.ListDeploymentsResponseFilterSensitiveLog = exports.ListDeploymentsRequestFilterSensitiveLog = exports.ListCoreDevicesResponseFilterSensitiveLog = exports.ListCoreDevicesRequestFilterSensitiveLog = exports.ListComponentVersionsResponseFilterSensitiveLog = exports.ListComponentVersionsRequestFilterSensitiveLog = void 0;
3
+ exports.SystemResourceLimitsFilterSensitiveLog = exports.ComponentDependencyRequirementFilterSensitiveLog = exports.ComponentConfigurationUpdateFilterSensitiveLog = exports.ComponentCandidateFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.ComponentLatestVersionFilterSensitiveLog = exports.ComponentPlatformFilterSensitiveLog = exports.CloudComponentStatusFilterSensitiveLog = exports.CancelDeploymentResponseFilterSensitiveLog = exports.CancelDeploymentRequestFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceResponseFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceErrorEntryFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceRequestFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceEntryFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceResponseFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AssociateServiceRoleToAccountResponseFilterSensitiveLog = exports.AssociateServiceRoleToAccountRequestFilterSensitiveLog = exports.AssociatedClientDeviceFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceErrorEntryFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceEntryFilterSensitiveLog = exports.InstalledComponentLifecycleState = exports.InstalledComponentTopologyFilter = exports.RecipeOutputFormat = exports.EffectiveDeploymentExecutionStatus = exports.DeploymentHistoryFilter = exports.DeploymentStatus = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction = exports.DeploymentFailureHandlingPolicy = exports.DeploymentComponentUpdatePolicyAction = exports.ServiceQuotaExceededException = exports.RequestAlreadyInProgressException = exports.LambdaIsolationMode = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSourceType = exports.CoreDeviceStatus = exports.ComponentVisibilityScope = exports.ComponentDependencyType = exports.VendorGuidance = exports.CloudComponentState = exports.ConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ exports.ListComponentsRequestFilterSensitiveLog = exports.ListClientDevicesAssociatedWithCoreDeviceResponseFilterSensitiveLog = exports.ListClientDevicesAssociatedWithCoreDeviceRequestFilterSensitiveLog = exports.GetServiceRoleForAccountResponseFilterSensitiveLog = exports.GetServiceRoleForAccountRequestFilterSensitiveLog = exports.GetDeploymentResponseFilterSensitiveLog = exports.GetDeploymentRequestFilterSensitiveLog = exports.GetCoreDeviceResponseFilterSensitiveLog = exports.GetCoreDeviceRequestFilterSensitiveLog = exports.GetConnectivityInfoResponseFilterSensitiveLog = exports.GetConnectivityInfoRequestFilterSensitiveLog = exports.GetComponentVersionArtifactResponseFilterSensitiveLog = exports.GetComponentVersionArtifactRequestFilterSensitiveLog = exports.GetComponentResponseFilterSensitiveLog = exports.GetComponentRequestFilterSensitiveLog = exports.EffectiveDeploymentFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountRequestFilterSensitiveLog = exports.DescribeComponentResponseFilterSensitiveLog = exports.DescribeComponentRequestFilterSensitiveLog = exports.DeploymentFilterSensitiveLog = exports.DeleteDeploymentRequestFilterSensitiveLog = exports.DeleteCoreDeviceRequestFilterSensitiveLog = exports.DeleteComponentRequestFilterSensitiveLog = exports.CreateDeploymentResponseFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.DeploymentIoTJobConfigurationFilterSensitiveLog = exports.IoTJobTimeoutConfigFilterSensitiveLog = exports.IoTJobExecutionsRolloutConfigFilterSensitiveLog = exports.IoTJobExponentialRolloutRateFilterSensitiveLog = exports.IoTJobRateIncreaseCriteriaFilterSensitiveLog = exports.IoTJobAbortConfigFilterSensitiveLog = exports.IoTJobAbortCriteriaFilterSensitiveLog = exports.DeploymentPoliciesFilterSensitiveLog = exports.DeploymentConfigurationValidationPolicyFilterSensitiveLog = exports.DeploymentComponentUpdatePolicyFilterSensitiveLog = exports.CreateComponentVersionResponseFilterSensitiveLog = exports.CreateComponentVersionRequestFilterSensitiveLog = exports.LambdaFunctionRecipeSourceFilterSensitiveLog = exports.LambdaExecutionParametersFilterSensitiveLog = exports.LambdaLinuxProcessParamsFilterSensitiveLog = exports.LambdaContainerParamsFilterSensitiveLog = exports.LambdaVolumeMountFilterSensitiveLog = exports.LambdaDeviceMountFilterSensitiveLog = exports.LambdaEventSourceFilterSensitiveLog = exports.CoreDeviceFilterSensitiveLog = exports.ConnectivityInfoFilterSensitiveLog = exports.ComponentVersionListItemFilterSensitiveLog = exports.ComponentDeploymentSpecificationFilterSensitiveLog = exports.ComponentRunWithFilterSensitiveLog = void 0;
5
+ exports.UpdateConnectivityInfoResponseFilterSensitiveLog = exports.UpdateConnectivityInfoRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ResolveComponentCandidatesResponseFilterSensitiveLog = exports.ResolvedComponentVersionFilterSensitiveLog = exports.ResolveComponentCandidatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListInstalledComponentsResponseFilterSensitiveLog = exports.InstalledComponentFilterSensitiveLog = exports.ListInstalledComponentsRequestFilterSensitiveLog = exports.ListEffectiveDeploymentsResponseFilterSensitiveLog = exports.ListEffectiveDeploymentsRequestFilterSensitiveLog = exports.ListDeploymentsResponseFilterSensitiveLog = exports.ListDeploymentsRequestFilterSensitiveLog = exports.ListCoreDevicesResponseFilterSensitiveLog = exports.ListCoreDevicesRequestFilterSensitiveLog = exports.ListComponentVersionsResponseFilterSensitiveLog = exports.ListComponentVersionsRequestFilterSensitiveLog = exports.ListComponentsResponseFilterSensitiveLog = void 0;
6
6
  const GreengrassV2ServiceException_1 = require("./GreengrassV2ServiceException");
7
7
  class AccessDeniedException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
8
8
  constructor(opts) {
@@ -227,6 +227,11 @@ var RecipeOutputFormat;
227
227
  RecipeOutputFormat["JSON"] = "JSON";
228
228
  RecipeOutputFormat["YAML"] = "YAML";
229
229
  })(RecipeOutputFormat = exports.RecipeOutputFormat || (exports.RecipeOutputFormat = {}));
230
+ var InstalledComponentTopologyFilter;
231
+ (function (InstalledComponentTopologyFilter) {
232
+ InstalledComponentTopologyFilter["ALL"] = "ALL";
233
+ InstalledComponentTopologyFilter["ROOT"] = "ROOT";
234
+ })(InstalledComponentTopologyFilter = exports.InstalledComponentTopologyFilter || (exports.InstalledComponentTopologyFilter = {}));
230
235
  var InstalledComponentLifecycleState;
231
236
  (function (InstalledComponentLifecycleState) {
232
237
  InstalledComponentLifecycleState["BROKEN"] = "BROKEN";
@@ -502,6 +502,7 @@ const serializeAws_restJson1ListInstalledComponentsCommand = async (input, conte
502
502
  const query = map({
503
503
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
504
504
  nextToken: [, input.nextToken],
505
+ topologyFilter: [, input.topologyFilter],
505
506
  });
506
507
  let body;
507
508
  return new protocol_http_1.HttpRequest({
@@ -2844,6 +2845,9 @@ const deserializeAws_restJson1InstalledComponent = (output, context) => {
2844
2845
  componentName: (0, smithy_client_1.expectString)(output.componentName),
2845
2846
  componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
2846
2847
  isRoot: (0, smithy_client_1.expectBoolean)(output.isRoot),
2848
+ lastStatusChangeTimestamp: output.lastStatusChangeTimestamp != null
2849
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChangeTimestamp)))
2850
+ : undefined,
2847
2851
  lifecycleState: (0, smithy_client_1.expectString)(output.lifecycleState),
2848
2852
  lifecycleStateDetails: (0, smithy_client_1.expectString)(output.lifecycleStateDetails),
2849
2853
  };
@@ -61,6 +61,7 @@ var partitionHash = {
61
61
  "eu-west-1",
62
62
  "eu-west-2",
63
63
  "eu-west-3",
64
+ "me-central-1",
64
65
  "me-south-1",
65
66
  "sa-east-1",
66
67
  "us-east-1",
@@ -215,6 +215,11 @@ export var RecipeOutputFormat;
215
215
  RecipeOutputFormat["JSON"] = "JSON";
216
216
  RecipeOutputFormat["YAML"] = "YAML";
217
217
  })(RecipeOutputFormat || (RecipeOutputFormat = {}));
218
+ export var InstalledComponentTopologyFilter;
219
+ (function (InstalledComponentTopologyFilter) {
220
+ InstalledComponentTopologyFilter["ALL"] = "ALL";
221
+ InstalledComponentTopologyFilter["ROOT"] = "ROOT";
222
+ })(InstalledComponentTopologyFilter || (InstalledComponentTopologyFilter = {}));
218
223
  export var InstalledComponentLifecycleState;
219
224
  (function (InstalledComponentLifecycleState) {
220
225
  InstalledComponentLifecycleState["BROKEN"] = "BROKEN";
@@ -600,6 +600,7 @@ export var serializeAws_restJson1ListInstalledComponentsCommand = function (inpu
600
600
  query = map({
601
601
  maxResults: [function () { return input.maxResults !== void 0; }, function () { return input.maxResults.toString(); }],
602
602
  nextToken: [, input.nextToken],
603
+ topologyFilter: [, input.topologyFilter],
603
604
  });
604
605
  return [2, new __HttpRequest({
605
606
  protocol: protocol,
@@ -3577,6 +3578,9 @@ var deserializeAws_restJson1InstalledComponent = function (output, context) {
3577
3578
  componentName: __expectString(output.componentName),
3578
3579
  componentVersion: __expectString(output.componentVersion),
3579
3580
  isRoot: __expectBoolean(output.isRoot),
3581
+ lastStatusChangeTimestamp: output.lastStatusChangeTimestamp != null
3582
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChangeTimestamp)))
3583
+ : undefined,
3580
3584
  lifecycleState: __expectString(output.lifecycleState),
3581
3585
  lifecycleStateDetails: __expectString(output.lifecycleStateDetails),
3582
3586
  };
@@ -224,8 +224,7 @@ export declare class GreengrassV2 extends GreengrassV2Client {
224
224
  disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void): void;
225
225
  disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void): void;
226
226
  /**
227
- * <p>Gets the recipe for a version of a component. Core devices can call this operation to
228
- * identify the artifacts and requirements to install a component.</p>
227
+ * <p>Gets the recipe for a version of a component.</p>
229
228
  */
230
229
  getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
231
230
  getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
@@ -272,6 +271,10 @@ export declare class GreengrassV2 extends GreengrassV2Client {
272
271
  * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
273
272
  * that you can configure</a>, which defaults to 24 hours</p>
274
273
  * </li>
274
+ * <li>
275
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
276
+ * cloud deployment</p>
277
+ * </li>
275
278
  * </ul>
276
279
  * </note>
277
280
  */
@@ -336,6 +339,10 @@ export declare class GreengrassV2 extends GreengrassV2Client {
336
339
  * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
337
340
  * that you can configure</a>, which defaults to 24 hours</p>
338
341
  * </li>
342
+ * <li>
343
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
344
+ * cloud deployment</p>
345
+ * </li>
339
346
  * </ul>
340
347
  * </note>
341
348
  */
@@ -356,9 +363,10 @@ export declare class GreengrassV2 extends GreengrassV2Client {
356
363
  listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void): void;
357
364
  listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void): void;
358
365
  /**
359
- * <p>Retrieves a paginated list of the components that a Greengrass core device runs.
360
- * This list doesn't include components that are deployed from local deployments or
361
- * components that are deployed as dependencies of other components.</p>
366
+ * <p>Retrieves a paginated list of the components that a Greengrass core device runs. By default,
367
+ * this list doesn't include components that are deployed as dependencies of other components. To
368
+ * include dependencies in the response, set the <code>topologyFilter</code> parameter to
369
+ * <code>ALL</code>.</p>
362
370
  * <note>
363
371
  * <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core
364
372
  * software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then
@@ -377,8 +385,11 @@ export declare class GreengrassV2 extends GreengrassV2Client {
377
385
  * </p>
378
386
  * </li>
379
387
  * <li>
380
- * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
381
- * that you can configure</a>, which defaults to 24 hours</p>
388
+ * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval that you can configure</a>, which defaults to 24 hours</p>
389
+ * </li>
390
+ * <li>
391
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
392
+ * cloud deployment</p>
382
393
  * </li>
383
394
  * </ul>
384
395
  * </note>
@@ -7,8 +7,7 @@ export interface GetComponentCommandInput extends GetComponentRequest {
7
7
  export interface GetComponentCommandOutput extends GetComponentResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets the recipe for a version of a component. Core devices can call this operation to
11
- * identify the artifacts and requirements to install a component.</p>
10
+ * <p>Gets the recipe for a version of a component.</p>
12
11
  * @example
13
12
  * Use a bare-bones client and the command you need to make an API call.
14
13
  * ```javascript
@@ -29,6 +29,10 @@ export interface GetCoreDeviceCommandOutput extends GetCoreDeviceResponse, __Met
29
29
  * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
30
30
  * that you can configure</a>, which defaults to 24 hours</p>
31
31
  * </li>
32
+ * <li>
33
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
34
+ * cloud deployment</p>
35
+ * </li>
32
36
  * </ul>
33
37
  * </note>
34
38
  * @example
@@ -29,6 +29,10 @@ export interface ListCoreDevicesCommandOutput extends ListCoreDevicesResponse, _
29
29
  * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
30
30
  * that you can configure</a>, which defaults to 24 hours</p>
31
31
  * </li>
32
+ * <li>
33
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
34
+ * cloud deployment</p>
35
+ * </li>
32
36
  * </ul>
33
37
  * </note>
34
38
  * @example
@@ -7,9 +7,10 @@ export interface ListInstalledComponentsCommandInput extends ListInstalledCompon
7
7
  export interface ListInstalledComponentsCommandOutput extends ListInstalledComponentsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Retrieves a paginated list of the components that a Greengrass core device runs.
11
- * This list doesn't include components that are deployed from local deployments or
12
- * components that are deployed as dependencies of other components.</p>
10
+ * <p>Retrieves a paginated list of the components that a Greengrass core device runs. By default,
11
+ * this list doesn't include components that are deployed as dependencies of other components. To
12
+ * include dependencies in the response, set the <code>topologyFilter</code> parameter to
13
+ * <code>ALL</code>.</p>
13
14
  * <note>
14
15
  * <p>IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core
15
16
  * software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then
@@ -28,8 +29,11 @@ export interface ListInstalledComponentsCommandOutput extends ListInstalledCompo
28
29
  * </p>
29
30
  * </li>
30
31
  * <li>
31
- * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval
32
- * that you can configure</a>, which defaults to 24 hours</p>
32
+ * <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval that you can configure</a>, which defaults to 24 hours</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>For IoT Greengrass Core v2.7.0, the core device sends status updates upon local deployment and
36
+ * cloud deployment</p>
33
37
  * </li>
34
38
  * </ul>
35
39
  * </note>
@@ -331,9 +331,9 @@ export interface ComponentPlatform {
331
331
  name?: string;
332
332
  /**
333
333
  * <p>A dictionary of attributes for the platform. The IoT Greengrass Core software defines the
334
- * <code>os</code> and <code>platform</code> by default. You can specify additional platform
335
- * attributes for a core device when you deploy the Greengrass nucleus component. For more information,
336
- * see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html">Greengrass nucleus
334
+ * <code>os</code> and <code>architecture</code> by default. You can specify additional
335
+ * platform attributes for a core device when you deploy the Greengrass nucleus component. For more
336
+ * information, see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html">Greengrass nucleus
337
337
  * component</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
338
338
  */
339
339
  attributes?: Record<string, string>;
@@ -1787,6 +1787,10 @@ export interface ListEffectiveDeploymentsResponse {
1787
1787
  */
1788
1788
  nextToken?: string;
1789
1789
  }
1790
+ export declare enum InstalledComponentTopologyFilter {
1791
+ ALL = "ALL",
1792
+ ROOT = "ROOT"
1793
+ }
1790
1794
  export interface ListInstalledComponentsRequest {
1791
1795
  /**
1792
1796
  * <p>The name of the core device. This is also the name of the IoT thing.</p>
@@ -1800,6 +1804,26 @@ export interface ListInstalledComponentsRequest {
1800
1804
  * <p>The token to be used for the next set of paginated results.</p>
1801
1805
  */
1802
1806
  nextToken?: string;
1807
+ /**
1808
+ * <p>The filter for the list of components. Choose from the following options:</p>
1809
+ * <ul>
1810
+ * <li>
1811
+ * <p>
1812
+ * <code>ALL</code> – The list includes all components installed on the core
1813
+ * device.</p>
1814
+ * </li>
1815
+ * <li>
1816
+ * <p>
1817
+ * <code>ROOT</code> – The list includes only <i>root</i>
1818
+ * components, which are components that you specify in a deployment. When you choose this
1819
+ * option, the list doesn't include components that the core device installs as dependencies
1820
+ * of other components.</p>
1821
+ * </li>
1822
+ * </ul>
1823
+ * <p>Default: <code>ROOT</code>
1824
+ * </p>
1825
+ */
1826
+ topologyFilter?: InstalledComponentTopologyFilter | string;
1803
1827
  }
1804
1828
  export declare enum InstalledComponentLifecycleState {
1805
1829
  BROKEN = "BROKEN",
@@ -1835,10 +1859,22 @@ export interface InstalledComponent {
1835
1859
  * <p>Whether or not the component is a root component.</p>
1836
1860
  */
1837
1861
  isRoot?: boolean;
1862
+ /**
1863
+ * <p>The status of how current the data is.</p>
1864
+ * <p>This response is based off of component state changes. The status reflects component
1865
+ * disruptions and deployments. If a component only sees a configuration update during a
1866
+ * deployment, it might not undergo a state change and this status would not be updated.</p>
1867
+ */
1868
+ lastStatusChangeTimestamp?: Date;
1838
1869
  }
1839
1870
  export interface ListInstalledComponentsResponse {
1840
1871
  /**
1841
1872
  * <p>A list that summarizes each component on the core device.</p>
1873
+ * <note>
1874
+ * <p>Accuracy of the <code>lastStatusChangeTimestamp</code> response depends on Greengrass nucleus
1875
+ * v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier
1876
+ * versions.</p>
1877
+ * </note>
1842
1878
  */
1843
1879
  installedComponents?: InstalledComponent[];
1844
1880
  /**
@@ -839,6 +839,10 @@ export interface ListEffectiveDeploymentsResponse {
839
839
 
840
840
  nextToken?: string;
841
841
  }
842
+ export declare enum InstalledComponentTopologyFilter {
843
+ ALL = "ALL",
844
+ ROOT = "ROOT"
845
+ }
842
846
  export interface ListInstalledComponentsRequest {
843
847
 
844
848
  coreDeviceThingName: string | undefined;
@@ -846,6 +850,8 @@ export interface ListInstalledComponentsRequest {
846
850
  maxResults?: number;
847
851
 
848
852
  nextToken?: string;
853
+
854
+ topologyFilter?: InstalledComponentTopologyFilter | string;
849
855
  }
850
856
  export declare enum InstalledComponentLifecycleState {
851
857
  BROKEN = "BROKEN",
@@ -869,6 +875,8 @@ export interface InstalledComponent {
869
875
  lifecycleStateDetails?: string;
870
876
 
871
877
  isRoot?: boolean;
878
+
879
+ lastStatusChangeTimestamp?: Date;
872
880
  }
873
881
  export interface ListInstalledComponentsResponse {
874
882
 
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.154.0",
4
+ "version": "3.161.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",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.154.0",
22
- "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.154.0",
24
- "@aws-sdk/fetch-http-handler": "3.131.0",
25
- "@aws-sdk/hash-node": "3.127.0",
26
- "@aws-sdk/invalid-dependency": "3.127.0",
27
- "@aws-sdk/middleware-content-length": "3.127.0",
28
- "@aws-sdk/middleware-host-header": "3.127.0",
29
- "@aws-sdk/middleware-logger": "3.127.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
- "@aws-sdk/middleware-retry": "3.127.0",
32
- "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.130.0",
34
- "@aws-sdk/middleware-stack": "3.127.0",
35
- "@aws-sdk/middleware-user-agent": "3.127.0",
36
- "@aws-sdk/node-config-provider": "3.127.0",
37
- "@aws-sdk/node-http-handler": "3.127.0",
38
- "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.142.0",
40
- "@aws-sdk/types": "3.127.0",
41
- "@aws-sdk/url-parser": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.161.0",
22
+ "@aws-sdk/config-resolver": "3.160.0",
23
+ "@aws-sdk/credential-provider-node": "3.161.0",
24
+ "@aws-sdk/fetch-http-handler": "3.160.0",
25
+ "@aws-sdk/hash-node": "3.160.0",
26
+ "@aws-sdk/invalid-dependency": "3.160.0",
27
+ "@aws-sdk/middleware-content-length": "3.160.0",
28
+ "@aws-sdk/middleware-host-header": "3.160.0",
29
+ "@aws-sdk/middleware-logger": "3.160.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.160.0",
31
+ "@aws-sdk/middleware-retry": "3.160.0",
32
+ "@aws-sdk/middleware-serde": "3.160.0",
33
+ "@aws-sdk/middleware-signing": "3.160.0",
34
+ "@aws-sdk/middleware-stack": "3.160.0",
35
+ "@aws-sdk/middleware-user-agent": "3.160.0",
36
+ "@aws-sdk/node-config-provider": "3.160.0",
37
+ "@aws-sdk/node-http-handler": "3.160.0",
38
+ "@aws-sdk/protocol-http": "3.160.0",
39
+ "@aws-sdk/smithy-client": "3.161.0",
40
+ "@aws-sdk/types": "3.160.0",
41
+ "@aws-sdk/url-parser": "3.160.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.142.0",
48
- "@aws-sdk/util-user-agent-browser": "3.127.0",
49
- "@aws-sdk/util-user-agent-node": "3.127.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.161.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.161.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.160.0",
49
+ "@aws-sdk/util-user-agent-node": "3.160.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1",