aws-sdk-greengrassv2 1.18.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +41 -9
- data/lib/aws-sdk-greengrassv2/client_api.rb +27 -3
- data/lib/aws-sdk-greengrassv2/types.rb +119 -11
- data/lib/aws-sdk-greengrassv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4be62bb05304634040b32dfe8e4e781d709bcb654df1c2c3c7972302a0f4f3e
|
4
|
+
data.tar.gz: a6ba7ad02ceb51c6a1374ba36d2e1cbd93445c7427616bd2babae9760b8d6f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7cb044f1c79716a083e9f83e9c65833b68c69f69e947f24a3b4962e97d3f697166fba867fcc08cf0811efe59be264b7c9fcdd83a917e5750578dee12a73ea6b
|
7
|
+
data.tar.gz: d157bff3230b875f524ac958b45d2202991c6652f94d6669db71034e3f73d5f95afec1d7369d47e687327188f01a02cfd546db04ce8d6e0c9325fa850bdb44b2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2022-10-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds error status details for deployments and components that failed on a device and adds features to improve visibility into component installation.
|
8
|
+
|
9
|
+
1.19.0 (2022-08-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - 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.
|
13
|
+
|
4
14
|
1.18.0 (2022-05-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -630,7 +630,7 @@ module Aws::GreengrassV2
|
|
630
630
|
# resp = client.create_component_version({
|
631
631
|
# inline_recipe: "data",
|
632
632
|
# lambda_function: {
|
633
|
-
# lambda_arn: "
|
633
|
+
# lambda_arn: "NonEmptyString", # required
|
634
634
|
# component_name: "ComponentNameString",
|
635
635
|
# component_version: "ComponentVersionString",
|
636
636
|
# component_platforms: [
|
@@ -794,7 +794,7 @@ module Aws::GreengrassV2
|
|
794
794
|
#
|
795
795
|
# resp = client.create_deployment({
|
796
796
|
# target_arn: "TargetARN", # required
|
797
|
-
# deployment_name: "
|
797
|
+
# deployment_name: "DeploymentNameString",
|
798
798
|
# components: {
|
799
799
|
# "NonEmptyString" => {
|
800
800
|
# component_version: "ComponentVersionString",
|
@@ -1050,9 +1050,7 @@ module Aws::GreengrassV2
|
|
1050
1050
|
req.send_request(options)
|
1051
1051
|
end
|
1052
1052
|
|
1053
|
-
# Gets the recipe for a version of a component.
|
1054
|
-
# this operation to identify the artifacts and requirements to install a
|
1055
|
-
# component.
|
1053
|
+
# Gets the recipe for a version of a component.
|
1056
1054
|
#
|
1057
1055
|
# @option params [String] :recipe_output_format
|
1058
1056
|
# The format of the recipe.
|
@@ -1210,6 +1208,9 @@ module Aws::GreengrassV2
|
|
1210
1208
|
# * At a [regular interval that you can configure][1], which defaults to
|
1211
1209
|
# 24 hours
|
1212
1210
|
#
|
1211
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1212
|
+
# upon local deployment and cloud deployment
|
1213
|
+
#
|
1213
1214
|
# </note>
|
1214
1215
|
#
|
1215
1216
|
#
|
@@ -1526,6 +1527,9 @@ module Aws::GreengrassV2
|
|
1526
1527
|
# * At a [regular interval that you can configure][1], which defaults to
|
1527
1528
|
# 24 hours
|
1528
1529
|
#
|
1530
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1531
|
+
# upon local deployment and cloud deployment
|
1532
|
+
#
|
1529
1533
|
# </note>
|
1530
1534
|
#
|
1531
1535
|
#
|
@@ -1696,6 +1700,10 @@ module Aws::GreengrassV2
|
|
1696
1700
|
# resp.effective_deployments[0].reason #=> String
|
1697
1701
|
# resp.effective_deployments[0].creation_timestamp #=> Time
|
1698
1702
|
# resp.effective_deployments[0].modified_timestamp #=> Time
|
1703
|
+
# resp.effective_deployments[0].status_details.error_stack #=> Array
|
1704
|
+
# resp.effective_deployments[0].status_details.error_stack[0] #=> String
|
1705
|
+
# resp.effective_deployments[0].status_details.error_types #=> Array
|
1706
|
+
# resp.effective_deployments[0].status_details.error_types[0] #=> String
|
1699
1707
|
# resp.next_token #=> String
|
1700
1708
|
#
|
1701
1709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListEffectiveDeployments AWS API Documentation
|
@@ -1708,9 +1716,10 @@ module Aws::GreengrassV2
|
|
1708
1716
|
end
|
1709
1717
|
|
1710
1718
|
# Retrieves a paginated list of the components that a Greengrass core
|
1711
|
-
# device runs.
|
1712
|
-
#
|
1713
|
-
#
|
1719
|
+
# device runs. By default, this list doesn't include components that
|
1720
|
+
# are deployed as dependencies of other components. To include
|
1721
|
+
# dependencies in the response, set the `topologyFilter` parameter to
|
1722
|
+
# `ALL`.
|
1714
1723
|
#
|
1715
1724
|
# <note markdown="1"> IoT Greengrass relies on individual devices to send status updates to
|
1716
1725
|
# the Amazon Web Services Cloud. If the IoT Greengrass Core software
|
@@ -1731,6 +1740,9 @@ module Aws::GreengrassV2
|
|
1731
1740
|
# * At a [regular interval that you can configure][1], which defaults to
|
1732
1741
|
# 24 hours
|
1733
1742
|
#
|
1743
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1744
|
+
# upon local deployment and cloud deployment
|
1745
|
+
#
|
1734
1746
|
# </note>
|
1735
1747
|
#
|
1736
1748
|
#
|
@@ -1746,6 +1758,20 @@ module Aws::GreengrassV2
|
|
1746
1758
|
# @option params [String] :next_token
|
1747
1759
|
# The token to be used for the next set of paginated results.
|
1748
1760
|
#
|
1761
|
+
# @option params [String] :topology_filter
|
1762
|
+
# The filter for the list of components. Choose from the following
|
1763
|
+
# options:
|
1764
|
+
#
|
1765
|
+
# * `ALL` – The list includes all components installed on the core
|
1766
|
+
# device.
|
1767
|
+
#
|
1768
|
+
# * `ROOT` – The list includes only *root* components, which are
|
1769
|
+
# components that you specify in a deployment. When you choose this
|
1770
|
+
# option, the list doesn't include components that the core device
|
1771
|
+
# installs as dependencies of other components.
|
1772
|
+
#
|
1773
|
+
# Default: `ROOT`
|
1774
|
+
#
|
1749
1775
|
# @return [Types::ListInstalledComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1750
1776
|
#
|
1751
1777
|
# * {Types::ListInstalledComponentsResponse#installed_components #installed_components} => Array<Types::InstalledComponent>
|
@@ -1759,6 +1785,7 @@ module Aws::GreengrassV2
|
|
1759
1785
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
1760
1786
|
# max_results: 1,
|
1761
1787
|
# next_token: "NextTokenString",
|
1788
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
1762
1789
|
# })
|
1763
1790
|
#
|
1764
1791
|
# @example Response structure
|
@@ -1769,6 +1796,11 @@ module Aws::GreengrassV2
|
|
1769
1796
|
# resp.installed_components[0].lifecycle_state #=> String, one of "NEW", "INSTALLED", "STARTING", "RUNNING", "STOPPING", "ERRORED", "BROKEN", "FINISHED"
|
1770
1797
|
# resp.installed_components[0].lifecycle_state_details #=> String
|
1771
1798
|
# resp.installed_components[0].is_root #=> Boolean
|
1799
|
+
# resp.installed_components[0].last_status_change_timestamp #=> Time
|
1800
|
+
# resp.installed_components[0].last_reported_timestamp #=> Time
|
1801
|
+
# resp.installed_components[0].last_installation_source #=> String
|
1802
|
+
# resp.installed_components[0].lifecycle_status_codes #=> Array
|
1803
|
+
# resp.installed_components[0].lifecycle_status_codes[0] #=> String
|
1772
1804
|
# resp.next_token #=> String
|
1773
1805
|
#
|
1774
1806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponents AWS API Documentation
|
@@ -2023,7 +2055,7 @@ module Aws::GreengrassV2
|
|
2023
2055
|
params: params,
|
2024
2056
|
config: config)
|
2025
2057
|
context[:gem_name] = 'aws-sdk-greengrassv2'
|
2026
|
-
context[:gem_version] = '1.
|
2058
|
+
context[:gem_version] = '1.20.0'
|
2027
2059
|
Seahorse::Client::Request.new(handlers, context)
|
2028
2060
|
end
|
2029
2061
|
|
@@ -83,6 +83,7 @@ module Aws::GreengrassV2
|
|
83
83
|
DeploymentIoTJobConfiguration = Shapes::StructureShape.new(name: 'DeploymentIoTJobConfiguration')
|
84
84
|
DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
|
85
85
|
DeploymentName = Shapes::StringShape.new(name: 'DeploymentName')
|
86
|
+
DeploymentNameString = Shapes::StringShape.new(name: 'DeploymentNameString')
|
86
87
|
DeploymentPolicies = Shapes::StructureShape.new(name: 'DeploymentPolicies')
|
87
88
|
DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
|
88
89
|
DescribeComponentRequest = Shapes::StructureShape.new(name: 'DescribeComponentRequest')
|
@@ -96,7 +97,12 @@ module Aws::GreengrassV2
|
|
96
97
|
DisassociateServiceRoleFromAccountRequest = Shapes::StructureShape.new(name: 'DisassociateServiceRoleFromAccountRequest')
|
97
98
|
DisassociateServiceRoleFromAccountResponse = Shapes::StructureShape.new(name: 'DisassociateServiceRoleFromAccountResponse')
|
98
99
|
EffectiveDeployment = Shapes::StructureShape.new(name: 'EffectiveDeployment')
|
100
|
+
EffectiveDeploymentErrorCode = Shapes::StringShape.new(name: 'EffectiveDeploymentErrorCode')
|
101
|
+
EffectiveDeploymentErrorStack = Shapes::ListShape.new(name: 'EffectiveDeploymentErrorStack')
|
102
|
+
EffectiveDeploymentErrorType = Shapes::StringShape.new(name: 'EffectiveDeploymentErrorType')
|
103
|
+
EffectiveDeploymentErrorTypeList = Shapes::ListShape.new(name: 'EffectiveDeploymentErrorTypeList')
|
99
104
|
EffectiveDeploymentExecutionStatus = Shapes::StringShape.new(name: 'EffectiveDeploymentExecutionStatus')
|
105
|
+
EffectiveDeploymentStatusDetails = Shapes::StructureShape.new(name: 'EffectiveDeploymentStatusDetails')
|
100
106
|
EffectiveDeploymentsList = Shapes::ListShape.new(name: 'EffectiveDeploymentsList')
|
101
107
|
FileSystemPath = Shapes::StringShape.new(name: 'FileSystemPath')
|
102
108
|
GGCVersion = Shapes::StringShape.new(name: 'GGCVersion')
|
@@ -115,7 +121,10 @@ module Aws::GreengrassV2
|
|
115
121
|
GetServiceRoleForAccountResponse = Shapes::StructureShape.new(name: 'GetServiceRoleForAccountResponse')
|
116
122
|
InstalledComponent = Shapes::StructureShape.new(name: 'InstalledComponent')
|
117
123
|
InstalledComponentLifecycleState = Shapes::StringShape.new(name: 'InstalledComponentLifecycleState')
|
124
|
+
InstalledComponentLifecycleStatusCode = Shapes::StringShape.new(name: 'InstalledComponentLifecycleStatusCode')
|
125
|
+
InstalledComponentLifecycleStatusCodeList = Shapes::ListShape.new(name: 'InstalledComponentLifecycleStatusCodeList')
|
118
126
|
InstalledComponentList = Shapes::ListShape.new(name: 'InstalledComponentList')
|
127
|
+
InstalledComponentTopologyFilter = Shapes::StringShape.new(name: 'InstalledComponentTopologyFilter')
|
119
128
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
120
129
|
IoTJobARN = Shapes::StringShape.new(name: 'IoTJobARN')
|
121
130
|
IoTJobAbortAction = Shapes::StringShape.new(name: 'IoTJobAbortAction')
|
@@ -149,7 +158,6 @@ module Aws::GreengrassV2
|
|
149
158
|
LambdaExecArgsList = Shapes::ListShape.new(name: 'LambdaExecArgsList')
|
150
159
|
LambdaExecutionParameters = Shapes::StructureShape.new(name: 'LambdaExecutionParameters')
|
151
160
|
LambdaFilesystemPermission = Shapes::StringShape.new(name: 'LambdaFilesystemPermission')
|
152
|
-
LambdaFunctionARNWithVersionNumber = Shapes::StringShape.new(name: 'LambdaFunctionARNWithVersionNumber')
|
153
161
|
LambdaFunctionRecipeSource = Shapes::StructureShape.new(name: 'LambdaFunctionRecipeSource')
|
154
162
|
LambdaInputPayloadEncodingType = Shapes::StringShape.new(name: 'LambdaInputPayloadEncodingType')
|
155
163
|
LambdaIsolationMode = Shapes::StringShape.new(name: 'LambdaIsolationMode')
|
@@ -368,7 +376,7 @@ module Aws::GreengrassV2
|
|
368
376
|
CreateComponentVersionResponse.struct_class = Types::CreateComponentVersionResponse
|
369
377
|
|
370
378
|
CreateDeploymentRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "targetArn"))
|
371
|
-
CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape:
|
379
|
+
CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape: DeploymentNameString, location_name: "deploymentName"))
|
372
380
|
CreateDeploymentRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentDeploymentSpecifications, location_name: "components"))
|
373
381
|
CreateDeploymentRequest.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
|
374
382
|
CreateDeploymentRequest.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
|
@@ -459,8 +467,17 @@ module Aws::GreengrassV2
|
|
459
467
|
EffectiveDeployment.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
460
468
|
EffectiveDeployment.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTimestamp"))
|
461
469
|
EffectiveDeployment.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedTimestamp"))
|
470
|
+
EffectiveDeployment.add_member(:status_details, Shapes::ShapeRef.new(shape: EffectiveDeploymentStatusDetails, location_name: "statusDetails"))
|
462
471
|
EffectiveDeployment.struct_class = Types::EffectiveDeployment
|
463
472
|
|
473
|
+
EffectiveDeploymentErrorStack.member = Shapes::ShapeRef.new(shape: EffectiveDeploymentErrorCode)
|
474
|
+
|
475
|
+
EffectiveDeploymentErrorTypeList.member = Shapes::ShapeRef.new(shape: EffectiveDeploymentErrorType)
|
476
|
+
|
477
|
+
EffectiveDeploymentStatusDetails.add_member(:error_stack, Shapes::ShapeRef.new(shape: EffectiveDeploymentErrorStack, location_name: "errorStack"))
|
478
|
+
EffectiveDeploymentStatusDetails.add_member(:error_types, Shapes::ShapeRef.new(shape: EffectiveDeploymentErrorTypeList, location_name: "errorTypes"))
|
479
|
+
EffectiveDeploymentStatusDetails.struct_class = Types::EffectiveDeploymentStatusDetails
|
480
|
+
|
464
481
|
EffectiveDeploymentsList.member = Shapes::ShapeRef.new(shape: EffectiveDeployment)
|
465
482
|
|
466
483
|
GetComponentRequest.add_member(:recipe_output_format, Shapes::ShapeRef.new(shape: RecipeOutputFormat, location: "querystring", location_name: "recipeOutputFormat"))
|
@@ -527,8 +544,14 @@ module Aws::GreengrassV2
|
|
527
544
|
InstalledComponent.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: InstalledComponentLifecycleState, location_name: "lifecycleState"))
|
528
545
|
InstalledComponent.add_member(:lifecycle_state_details, Shapes::ShapeRef.new(shape: LifecycleStateDetails, location_name: "lifecycleStateDetails"))
|
529
546
|
InstalledComponent.add_member(:is_root, Shapes::ShapeRef.new(shape: IsRoot, location_name: "isRoot"))
|
547
|
+
InstalledComponent.add_member(:last_status_change_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChangeTimestamp"))
|
548
|
+
InstalledComponent.add_member(:last_reported_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastReportedTimestamp"))
|
549
|
+
InstalledComponent.add_member(:last_installation_source, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "lastInstallationSource"))
|
550
|
+
InstalledComponent.add_member(:lifecycle_status_codes, Shapes::ShapeRef.new(shape: InstalledComponentLifecycleStatusCodeList, location_name: "lifecycleStatusCodes"))
|
530
551
|
InstalledComponent.struct_class = Types::InstalledComponent
|
531
552
|
|
553
|
+
InstalledComponentLifecycleStatusCodeList.member = Shapes::ShapeRef.new(shape: InstalledComponentLifecycleStatusCode)
|
554
|
+
|
532
555
|
InstalledComponentList.member = Shapes::ShapeRef.new(shape: InstalledComponent)
|
533
556
|
|
534
557
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -599,7 +622,7 @@ module Aws::GreengrassV2
|
|
599
622
|
LambdaExecutionParameters.add_member(:linux_process_params, Shapes::ShapeRef.new(shape: LambdaLinuxProcessParams, location_name: "linuxProcessParams"))
|
600
623
|
LambdaExecutionParameters.struct_class = Types::LambdaExecutionParameters
|
601
624
|
|
602
|
-
LambdaFunctionRecipeSource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape:
|
625
|
+
LambdaFunctionRecipeSource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "lambdaArn"))
|
603
626
|
LambdaFunctionRecipeSource.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
|
604
627
|
LambdaFunctionRecipeSource.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
|
605
628
|
LambdaFunctionRecipeSource.add_member(:component_platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "componentPlatforms"))
|
@@ -678,6 +701,7 @@ module Aws::GreengrassV2
|
|
678
701
|
ListInstalledComponentsRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
|
679
702
|
ListInstalledComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
680
703
|
ListInstalledComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
|
704
|
+
ListInstalledComponentsRequest.add_member(:topology_filter, Shapes::ShapeRef.new(shape: InstalledComponentTopologyFilter, location: "querystring", location_name: "topologyFilter", metadata: {"box"=>true}))
|
681
705
|
ListInstalledComponentsRequest.struct_class = Types::ListInstalledComponentsRequest
|
682
706
|
|
683
707
|
ListInstalledComponentsResponse.add_member(:installed_components, Shapes::ShapeRef.new(shape: InstalledComponentList, location_name: "installedComponents"))
|
@@ -612,10 +612,10 @@ module Aws::GreengrassV2
|
|
612
612
|
#
|
613
613
|
# @!attribute [rw] attributes
|
614
614
|
# A dictionary of attributes for the platform. The IoT Greengrass Core
|
615
|
-
# software defines the `os` and `
|
616
|
-
# additional platform attributes for a core device when you
|
617
|
-
# Greengrass nucleus component. For more information, see
|
618
|
-
# [Greengrass nucleus component][1] in the *IoT Greengrass V2
|
615
|
+
# software defines the `os` and `architecture` by default. You can
|
616
|
+
# specify additional platform attributes for a core device when you
|
617
|
+
# deploy the Greengrass nucleus component. For more information, see
|
618
|
+
# the [Greengrass nucleus component][1] in the *IoT Greengrass V2
|
619
619
|
# Developer Guide*.
|
620
620
|
#
|
621
621
|
#
|
@@ -848,7 +848,7 @@ module Aws::GreengrassV2
|
|
848
848
|
# {
|
849
849
|
# inline_recipe: "data",
|
850
850
|
# lambda_function: {
|
851
|
-
# lambda_arn: "
|
851
|
+
# lambda_arn: "NonEmptyString", # required
|
852
852
|
# component_name: "ComponentNameString",
|
853
853
|
# component_version: "ComponentVersionString",
|
854
854
|
# component_platforms: [
|
@@ -1006,7 +1006,7 @@ module Aws::GreengrassV2
|
|
1006
1006
|
#
|
1007
1007
|
# {
|
1008
1008
|
# target_arn: "TargetARN", # required
|
1009
|
-
# deployment_name: "
|
1009
|
+
# deployment_name: "DeploymentNameString",
|
1010
1010
|
# components: {
|
1011
1011
|
# "NonEmptyString" => {
|
1012
1012
|
# component_version: "ComponentVersionString",
|
@@ -1691,6 +1691,11 @@ module Aws::GreengrassV2
|
|
1691
1691
|
# ISO 8601 format.
|
1692
1692
|
# @return [Time]
|
1693
1693
|
#
|
1694
|
+
# @!attribute [rw] status_details
|
1695
|
+
# The status details that explain why a deployment has an error. This
|
1696
|
+
# response will be null if the deployment is in a success state.
|
1697
|
+
# @return [Types::EffectiveDeploymentStatusDetails]
|
1698
|
+
#
|
1694
1699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/EffectiveDeployment AWS API Documentation
|
1695
1700
|
#
|
1696
1701
|
class EffectiveDeployment < Struct.new(
|
@@ -1703,7 +1708,40 @@ module Aws::GreengrassV2
|
|
1703
1708
|
:core_device_execution_status,
|
1704
1709
|
:reason,
|
1705
1710
|
:creation_timestamp,
|
1706
|
-
:modified_timestamp
|
1711
|
+
:modified_timestamp,
|
1712
|
+
:status_details)
|
1713
|
+
SENSITIVE = []
|
1714
|
+
include Aws::Structure
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# Contains all error-related information for the deployment record. The
|
1718
|
+
# status details will be null if the deployment is in a success state.
|
1719
|
+
#
|
1720
|
+
# <note markdown="1"> Greengrass nucleus v2.8.0 or later is required to get an accurate
|
1721
|
+
# `errorStack` and `errorTypes` response. This field will not be
|
1722
|
+
# returned for earlier Greengrass nucleus versions.
|
1723
|
+
#
|
1724
|
+
# </note>
|
1725
|
+
#
|
1726
|
+
# @!attribute [rw] error_stack
|
1727
|
+
# Contains an ordered list of short error codes that range from the
|
1728
|
+
# most generic error to the most specific one. The error codes
|
1729
|
+
# describe the reason for failure whenever the
|
1730
|
+
# `coreDeviceExecutionStatus` is in a failed state. The response will
|
1731
|
+
# be an empty list if there is no error.
|
1732
|
+
# @return [Array<String>]
|
1733
|
+
#
|
1734
|
+
# @!attribute [rw] error_types
|
1735
|
+
# Contains tags which describe the error. You can use the error types
|
1736
|
+
# to classify errors to assist with remediating the failure. The
|
1737
|
+
# response will be an empty list if there is no error.
|
1738
|
+
# @return [Array<String>]
|
1739
|
+
#
|
1740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/EffectiveDeploymentStatusDetails AWS API Documentation
|
1741
|
+
#
|
1742
|
+
class EffectiveDeploymentStatusDetails < Struct.new(
|
1743
|
+
:error_stack,
|
1744
|
+
:error_types)
|
1707
1745
|
SENSITIVE = []
|
1708
1746
|
include Aws::Structure
|
1709
1747
|
end
|
@@ -2089,13 +2127,49 @@ module Aws::GreengrassV2
|
|
2089
2127
|
# @return [String]
|
2090
2128
|
#
|
2091
2129
|
# @!attribute [rw] lifecycle_state_details
|
2092
|
-
#
|
2130
|
+
# A detailed response about the lifecycle state of the component that
|
2131
|
+
# explains the reason why a component has an error or is broken.
|
2093
2132
|
# @return [String]
|
2094
2133
|
#
|
2095
2134
|
# @!attribute [rw] is_root
|
2096
2135
|
# Whether or not the component is a root component.
|
2097
2136
|
# @return [Boolean]
|
2098
2137
|
#
|
2138
|
+
# @!attribute [rw] last_status_change_timestamp
|
2139
|
+
# The status of how current the data is.
|
2140
|
+
#
|
2141
|
+
# This response is based off of component state changes. The status
|
2142
|
+
# reflects component disruptions and deployments. If a component only
|
2143
|
+
# sees a configuration update during a deployment, it might not
|
2144
|
+
# undergo a state change and this status would not be updated.
|
2145
|
+
# @return [Time]
|
2146
|
+
#
|
2147
|
+
# @!attribute [rw] last_reported_timestamp
|
2148
|
+
# The last time the Greengrass core device sent a message containing a
|
2149
|
+
# certain component to the Amazon Web Services Cloud.
|
2150
|
+
#
|
2151
|
+
# A component does not need to see a state change for this field to
|
2152
|
+
# update.
|
2153
|
+
# @return [Time]
|
2154
|
+
#
|
2155
|
+
# @!attribute [rw] last_installation_source
|
2156
|
+
# The most recent deployment source that brought the component to the
|
2157
|
+
# Greengrass core device. For a thing group deployment or thing
|
2158
|
+
# deployment, the source will be the The ID of the deployment. and for
|
2159
|
+
# local deployments it will be `LOCAL`.
|
2160
|
+
# @return [String]
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] lifecycle_status_codes
|
2163
|
+
# The status codes that indicate the reason for failure whenever the
|
2164
|
+
# `lifecycleState` has an error or is in a broken state.
|
2165
|
+
#
|
2166
|
+
# <note markdown="1"> Greengrass nucleus v2.8.0 or later is required to get an accurate
|
2167
|
+
# `lifecycleStatusCodes` response. This response can be inaccurate in
|
2168
|
+
# earlier Greengrass nucleus versions.
|
2169
|
+
#
|
2170
|
+
# </note>
|
2171
|
+
# @return [Array<String>]
|
2172
|
+
#
|
2099
2173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/InstalledComponent AWS API Documentation
|
2100
2174
|
#
|
2101
2175
|
class InstalledComponent < Struct.new(
|
@@ -2103,7 +2177,11 @@ module Aws::GreengrassV2
|
|
2103
2177
|
:component_version,
|
2104
2178
|
:lifecycle_state,
|
2105
2179
|
:lifecycle_state_details,
|
2106
|
-
:is_root
|
2180
|
+
:is_root,
|
2181
|
+
:last_status_change_timestamp,
|
2182
|
+
:last_reported_timestamp,
|
2183
|
+
:last_installation_source,
|
2184
|
+
:lifecycle_status_codes)
|
2107
2185
|
SENSITIVE = []
|
2108
2186
|
include Aws::Structure
|
2109
2187
|
end
|
@@ -2623,7 +2701,7 @@ module Aws::GreengrassV2
|
|
2623
2701
|
# data as a hash:
|
2624
2702
|
#
|
2625
2703
|
# {
|
2626
|
-
# lambda_arn: "
|
2704
|
+
# lambda_arn: "NonEmptyString", # required
|
2627
2705
|
# component_name: "ComponentNameString",
|
2628
2706
|
# component_version: "ComponentVersionString",
|
2629
2707
|
# component_platforms: [
|
@@ -3181,6 +3259,7 @@ module Aws::GreengrassV2
|
|
3181
3259
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
3182
3260
|
# max_results: 1,
|
3183
3261
|
# next_token: "NextTokenString",
|
3262
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
3184
3263
|
# }
|
3185
3264
|
#
|
3186
3265
|
# @!attribute [rw] core_device_thing_name
|
@@ -3195,18 +3274,47 @@ module Aws::GreengrassV2
|
|
3195
3274
|
# The token to be used for the next set of paginated results.
|
3196
3275
|
# @return [String]
|
3197
3276
|
#
|
3277
|
+
# @!attribute [rw] topology_filter
|
3278
|
+
# The filter for the list of components. Choose from the following
|
3279
|
+
# options:
|
3280
|
+
#
|
3281
|
+
# * `ALL` – The list includes all components installed on the core
|
3282
|
+
# device.
|
3283
|
+
#
|
3284
|
+
# * `ROOT` – The list includes only *root* components, which are
|
3285
|
+
# components that you specify in a deployment. When you choose this
|
3286
|
+
# option, the list doesn't include components that the core device
|
3287
|
+
# installs as dependencies of other components.
|
3288
|
+
#
|
3289
|
+
# Default: `ROOT`
|
3290
|
+
# @return [String]
|
3291
|
+
#
|
3198
3292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponentsRequest AWS API Documentation
|
3199
3293
|
#
|
3200
3294
|
class ListInstalledComponentsRequest < Struct.new(
|
3201
3295
|
:core_device_thing_name,
|
3202
3296
|
:max_results,
|
3203
|
-
:next_token
|
3297
|
+
:next_token,
|
3298
|
+
:topology_filter)
|
3204
3299
|
SENSITIVE = []
|
3205
3300
|
include Aws::Structure
|
3206
3301
|
end
|
3207
3302
|
|
3208
3303
|
# @!attribute [rw] installed_components
|
3209
3304
|
# A list that summarizes each component on the core device.
|
3305
|
+
#
|
3306
|
+
# <note markdown="1"> Greengrass nucleus v2.7.0 or later is required to get an accurate
|
3307
|
+
# `lastStatusChangeTimestamp` response. This response can be
|
3308
|
+
# inaccurate in earlier Greengrass nucleus versions.
|
3309
|
+
#
|
3310
|
+
# </note>
|
3311
|
+
#
|
3312
|
+
# <note markdown="1"> Greengrass nucleus v2.8.0 or later is required to get an accurate
|
3313
|
+
# `lastInstallationSource` and `lastReportedTimestamp` response. This
|
3314
|
+
# response can be inaccurate or null in earlier Greengrass nucleus
|
3315
|
+
# versions.
|
3316
|
+
#
|
3317
|
+
# </note>
|
3210
3318
|
# @return [Array<Types::InstalledComponent>]
|
3211
3319
|
#
|
3212
3320
|
# @!attribute [rw] next_token
|
data/lib/aws-sdk-greengrassv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-greengrassv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|