aws-sdk-greengrassv2 1.18.0 → 1.19.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +33 -9
- data/lib/aws-sdk-greengrassv2/client_api.rb +6 -3
- data/lib/aws-sdk-greengrassv2/types.rb +42 -9
- 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: 77a7d6316272826d8cd4f92ee7df041ea0faed036d47095134f04ecf90b98dfc
|
4
|
+
data.tar.gz: 74b760c485f5a81768e024a229a27311407e0e98f5b40ba24388f64474d4a3c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c39c85779db816c1d9649dc879fe6b479cf391ec7355e5cc0e40cba4329609bb44c783127956a9bc112caf2fba3a755b8b636806b16b8caee69717ed0855fab
|
7
|
+
data.tar.gz: 25638e619b299500a33f8b6e169f6787ab6281902a7985607fc40487943d22340f77f450cf20aa8a9a20b339445cb80b0a1ba839ea29623fc76f668e7022076b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2022-08-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.18.0 (2022-05-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.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
|
#
|
@@ -1708,9 +1712,10 @@ module Aws::GreengrassV2
|
|
1708
1712
|
end
|
1709
1713
|
|
1710
1714
|
# Retrieves a paginated list of the components that a Greengrass core
|
1711
|
-
# device runs.
|
1712
|
-
#
|
1713
|
-
#
|
1715
|
+
# device runs. By default, this list doesn't include components that
|
1716
|
+
# are deployed as dependencies of other components. To include
|
1717
|
+
# dependencies in the response, set the `topologyFilter` parameter to
|
1718
|
+
# `ALL`.
|
1714
1719
|
#
|
1715
1720
|
# <note markdown="1"> IoT Greengrass relies on individual devices to send status updates to
|
1716
1721
|
# the Amazon Web Services Cloud. If the IoT Greengrass Core software
|
@@ -1731,6 +1736,9 @@ module Aws::GreengrassV2
|
|
1731
1736
|
# * At a [regular interval that you can configure][1], which defaults to
|
1732
1737
|
# 24 hours
|
1733
1738
|
#
|
1739
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1740
|
+
# upon local deployment and cloud deployment
|
1741
|
+
#
|
1734
1742
|
# </note>
|
1735
1743
|
#
|
1736
1744
|
#
|
@@ -1746,6 +1754,20 @@ module Aws::GreengrassV2
|
|
1746
1754
|
# @option params [String] :next_token
|
1747
1755
|
# The token to be used for the next set of paginated results.
|
1748
1756
|
#
|
1757
|
+
# @option params [String] :topology_filter
|
1758
|
+
# The filter for the list of components. Choose from the following
|
1759
|
+
# options:
|
1760
|
+
#
|
1761
|
+
# * `ALL` – The list includes all components installed on the core
|
1762
|
+
# device.
|
1763
|
+
#
|
1764
|
+
# * `ROOT` – The list includes only *root* components, which are
|
1765
|
+
# components that you specify in a deployment. When you choose this
|
1766
|
+
# option, the list doesn't include components that the core device
|
1767
|
+
# installs as dependencies of other components.
|
1768
|
+
#
|
1769
|
+
# Default: `ROOT`
|
1770
|
+
#
|
1749
1771
|
# @return [Types::ListInstalledComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1750
1772
|
#
|
1751
1773
|
# * {Types::ListInstalledComponentsResponse#installed_components #installed_components} => Array<Types::InstalledComponent>
|
@@ -1759,6 +1781,7 @@ module Aws::GreengrassV2
|
|
1759
1781
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
1760
1782
|
# max_results: 1,
|
1761
1783
|
# next_token: "NextTokenString",
|
1784
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
1762
1785
|
# })
|
1763
1786
|
#
|
1764
1787
|
# @example Response structure
|
@@ -1769,6 +1792,7 @@ module Aws::GreengrassV2
|
|
1769
1792
|
# resp.installed_components[0].lifecycle_state #=> String, one of "NEW", "INSTALLED", "STARTING", "RUNNING", "STOPPING", "ERRORED", "BROKEN", "FINISHED"
|
1770
1793
|
# resp.installed_components[0].lifecycle_state_details #=> String
|
1771
1794
|
# resp.installed_components[0].is_root #=> Boolean
|
1795
|
+
# resp.installed_components[0].last_status_change_timestamp #=> Time
|
1772
1796
|
# resp.next_token #=> String
|
1773
1797
|
#
|
1774
1798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponents AWS API Documentation
|
@@ -2023,7 +2047,7 @@ module Aws::GreengrassV2
|
|
2023
2047
|
params: params,
|
2024
2048
|
config: config)
|
2025
2049
|
context[:gem_name] = 'aws-sdk-greengrassv2'
|
2026
|
-
context[:gem_version] = '1.
|
2050
|
+
context[:gem_version] = '1.19.0'
|
2027
2051
|
Seahorse::Client::Request.new(handlers, context)
|
2028
2052
|
end
|
2029
2053
|
|
@@ -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')
|
@@ -116,6 +117,7 @@ module Aws::GreengrassV2
|
|
116
117
|
InstalledComponent = Shapes::StructureShape.new(name: 'InstalledComponent')
|
117
118
|
InstalledComponentLifecycleState = Shapes::StringShape.new(name: 'InstalledComponentLifecycleState')
|
118
119
|
InstalledComponentList = Shapes::ListShape.new(name: 'InstalledComponentList')
|
120
|
+
InstalledComponentTopologyFilter = Shapes::StringShape.new(name: 'InstalledComponentTopologyFilter')
|
119
121
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
120
122
|
IoTJobARN = Shapes::StringShape.new(name: 'IoTJobARN')
|
121
123
|
IoTJobAbortAction = Shapes::StringShape.new(name: 'IoTJobAbortAction')
|
@@ -149,7 +151,6 @@ module Aws::GreengrassV2
|
|
149
151
|
LambdaExecArgsList = Shapes::ListShape.new(name: 'LambdaExecArgsList')
|
150
152
|
LambdaExecutionParameters = Shapes::StructureShape.new(name: 'LambdaExecutionParameters')
|
151
153
|
LambdaFilesystemPermission = Shapes::StringShape.new(name: 'LambdaFilesystemPermission')
|
152
|
-
LambdaFunctionARNWithVersionNumber = Shapes::StringShape.new(name: 'LambdaFunctionARNWithVersionNumber')
|
153
154
|
LambdaFunctionRecipeSource = Shapes::StructureShape.new(name: 'LambdaFunctionRecipeSource')
|
154
155
|
LambdaInputPayloadEncodingType = Shapes::StringShape.new(name: 'LambdaInputPayloadEncodingType')
|
155
156
|
LambdaIsolationMode = Shapes::StringShape.new(name: 'LambdaIsolationMode')
|
@@ -368,7 +369,7 @@ module Aws::GreengrassV2
|
|
368
369
|
CreateComponentVersionResponse.struct_class = Types::CreateComponentVersionResponse
|
369
370
|
|
370
371
|
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:
|
372
|
+
CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape: DeploymentNameString, location_name: "deploymentName"))
|
372
373
|
CreateDeploymentRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentDeploymentSpecifications, location_name: "components"))
|
373
374
|
CreateDeploymentRequest.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
|
374
375
|
CreateDeploymentRequest.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
|
@@ -527,6 +528,7 @@ module Aws::GreengrassV2
|
|
527
528
|
InstalledComponent.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: InstalledComponentLifecycleState, location_name: "lifecycleState"))
|
528
529
|
InstalledComponent.add_member(:lifecycle_state_details, Shapes::ShapeRef.new(shape: LifecycleStateDetails, location_name: "lifecycleStateDetails"))
|
529
530
|
InstalledComponent.add_member(:is_root, Shapes::ShapeRef.new(shape: IsRoot, location_name: "isRoot"))
|
531
|
+
InstalledComponent.add_member(:last_status_change_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusChangeTimestamp"))
|
530
532
|
InstalledComponent.struct_class = Types::InstalledComponent
|
531
533
|
|
532
534
|
InstalledComponentList.member = Shapes::ShapeRef.new(shape: InstalledComponent)
|
@@ -599,7 +601,7 @@ module Aws::GreengrassV2
|
|
599
601
|
LambdaExecutionParameters.add_member(:linux_process_params, Shapes::ShapeRef.new(shape: LambdaLinuxProcessParams, location_name: "linuxProcessParams"))
|
600
602
|
LambdaExecutionParameters.struct_class = Types::LambdaExecutionParameters
|
601
603
|
|
602
|
-
LambdaFunctionRecipeSource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape:
|
604
|
+
LambdaFunctionRecipeSource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "lambdaArn"))
|
603
605
|
LambdaFunctionRecipeSource.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
|
604
606
|
LambdaFunctionRecipeSource.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
|
605
607
|
LambdaFunctionRecipeSource.add_member(:component_platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "componentPlatforms"))
|
@@ -678,6 +680,7 @@ module Aws::GreengrassV2
|
|
678
680
|
ListInstalledComponentsRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
|
679
681
|
ListInstalledComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
680
682
|
ListInstalledComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
|
683
|
+
ListInstalledComponentsRequest.add_member(:topology_filter, Shapes::ShapeRef.new(shape: InstalledComponentTopologyFilter, location: "querystring", location_name: "topologyFilter", metadata: {"box"=>true}))
|
681
684
|
ListInstalledComponentsRequest.struct_class = Types::ListInstalledComponentsRequest
|
682
685
|
|
683
686
|
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",
|
@@ -2096,6 +2096,15 @@ module Aws::GreengrassV2
|
|
2096
2096
|
# Whether or not the component is a root component.
|
2097
2097
|
# @return [Boolean]
|
2098
2098
|
#
|
2099
|
+
# @!attribute [rw] last_status_change_timestamp
|
2100
|
+
# The status of how current the data is.
|
2101
|
+
#
|
2102
|
+
# This response is based off of component state changes. The status
|
2103
|
+
# reflects component disruptions and deployments. If a component only
|
2104
|
+
# sees a configuration update during a deployment, it might not
|
2105
|
+
# undergo a state change and this status would not be updated.
|
2106
|
+
# @return [Time]
|
2107
|
+
#
|
2099
2108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/InstalledComponent AWS API Documentation
|
2100
2109
|
#
|
2101
2110
|
class InstalledComponent < Struct.new(
|
@@ -2103,7 +2112,8 @@ module Aws::GreengrassV2
|
|
2103
2112
|
:component_version,
|
2104
2113
|
:lifecycle_state,
|
2105
2114
|
:lifecycle_state_details,
|
2106
|
-
:is_root
|
2115
|
+
:is_root,
|
2116
|
+
:last_status_change_timestamp)
|
2107
2117
|
SENSITIVE = []
|
2108
2118
|
include Aws::Structure
|
2109
2119
|
end
|
@@ -2623,7 +2633,7 @@ module Aws::GreengrassV2
|
|
2623
2633
|
# data as a hash:
|
2624
2634
|
#
|
2625
2635
|
# {
|
2626
|
-
# lambda_arn: "
|
2636
|
+
# lambda_arn: "NonEmptyString", # required
|
2627
2637
|
# component_name: "ComponentNameString",
|
2628
2638
|
# component_version: "ComponentVersionString",
|
2629
2639
|
# component_platforms: [
|
@@ -3181,6 +3191,7 @@ module Aws::GreengrassV2
|
|
3181
3191
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
3182
3192
|
# max_results: 1,
|
3183
3193
|
# next_token: "NextTokenString",
|
3194
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
3184
3195
|
# }
|
3185
3196
|
#
|
3186
3197
|
# @!attribute [rw] core_device_thing_name
|
@@ -3195,18 +3206,40 @@ module Aws::GreengrassV2
|
|
3195
3206
|
# The token to be used for the next set of paginated results.
|
3196
3207
|
# @return [String]
|
3197
3208
|
#
|
3209
|
+
# @!attribute [rw] topology_filter
|
3210
|
+
# The filter for the list of components. Choose from the following
|
3211
|
+
# options:
|
3212
|
+
#
|
3213
|
+
# * `ALL` – The list includes all components installed on the core
|
3214
|
+
# device.
|
3215
|
+
#
|
3216
|
+
# * `ROOT` – The list includes only *root* components, which are
|
3217
|
+
# components that you specify in a deployment. When you choose this
|
3218
|
+
# option, the list doesn't include components that the core device
|
3219
|
+
# installs as dependencies of other components.
|
3220
|
+
#
|
3221
|
+
# Default: `ROOT`
|
3222
|
+
# @return [String]
|
3223
|
+
#
|
3198
3224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponentsRequest AWS API Documentation
|
3199
3225
|
#
|
3200
3226
|
class ListInstalledComponentsRequest < Struct.new(
|
3201
3227
|
:core_device_thing_name,
|
3202
3228
|
:max_results,
|
3203
|
-
:next_token
|
3229
|
+
:next_token,
|
3230
|
+
:topology_filter)
|
3204
3231
|
SENSITIVE = []
|
3205
3232
|
include Aws::Structure
|
3206
3233
|
end
|
3207
3234
|
|
3208
3235
|
# @!attribute [rw] installed_components
|
3209
3236
|
# A list that summarizes each component on the core device.
|
3237
|
+
#
|
3238
|
+
# <note markdown="1"> Accuracy of the `lastStatusChangeTimestamp` response depends on
|
3239
|
+
# Greengrass nucleus v2.7.0. It performs best on Greengrass nucleus
|
3240
|
+
# v2.7.0 and can be inaccurate on earlier versions.
|
3241
|
+
#
|
3242
|
+
# </note>
|
3210
3243
|
# @return [Array<Types::InstalledComponent>]
|
3211
3244
|
#
|
3212
3245
|
# @!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.19.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-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|