aws-sdk-greengrassv2 1.16.0 → 1.19.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +177 -31
- data/lib/aws-sdk-greengrassv2/client_api.rb +34 -6
- data/lib/aws-sdk-greengrassv2/types.rb +134 -24
- 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,21 @@
|
|
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
|
+
|
9
|
+
1.18.0 (2022-05-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the new DeleteDeployment API operation that you can use to delete deployment resources. This release also adds support for discontinued AWS-provided components, so AWS can communicate when a component has any issues that you should consider before you deploy it.
|
13
|
+
|
14
|
+
1.17.0 (2022-03-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Doc only update that clarifies Create Deployment section.
|
18
|
+
|
4
19
|
1.16.0 (2022-02-24)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -559,12 +559,18 @@ module Aws::GreengrassV2
|
|
559
559
|
#
|
560
560
|
# * Python 3.8 – `python3.8`
|
561
561
|
#
|
562
|
+
# * Python 3.9 – `python3.9`
|
563
|
+
#
|
562
564
|
# * Java 8 – `java8`
|
563
565
|
#
|
566
|
+
# * Java 11 – `java11`
|
567
|
+
#
|
564
568
|
# * Node.js 10 – `nodejs10.x`
|
565
569
|
#
|
566
570
|
# * Node.js 12 – `nodejs12.x`
|
567
571
|
#
|
572
|
+
# * Node.js 14 – `nodejs14.x`
|
573
|
+
#
|
568
574
|
# To create a component from a Lambda function, specify
|
569
575
|
# `lambdaFunction` when you call this operation.
|
570
576
|
#
|
@@ -624,7 +630,7 @@ module Aws::GreengrassV2
|
|
624
630
|
# resp = client.create_component_version({
|
625
631
|
# inline_recipe: "data",
|
626
632
|
# lambda_function: {
|
627
|
-
# lambda_arn: "
|
633
|
+
# lambda_arn: "NonEmptyString", # required
|
628
634
|
# component_name: "ComponentNameString",
|
629
635
|
# component_version: "ComponentVersionString",
|
630
636
|
# component_platforms: [
|
@@ -699,6 +705,8 @@ module Aws::GreengrassV2
|
|
699
705
|
# resp.status.message #=> String
|
700
706
|
# resp.status.errors #=> Hash
|
701
707
|
# resp.status.errors["NonEmptyString"] #=> String
|
708
|
+
# resp.status.vendor_guidance #=> String, one of "ACTIVE", "DISCONTINUED", "DELETED"
|
709
|
+
# resp.status.vendor_guidance_message #=> String
|
702
710
|
#
|
703
711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateComponentVersion AWS API Documentation
|
704
712
|
#
|
@@ -721,8 +729,7 @@ module Aws::GreengrassV2
|
|
721
729
|
#
|
722
730
|
# Every deployment has a revision number that indicates how many
|
723
731
|
# deployment revisions you define for a target. Use this operation to
|
724
|
-
# create a new revision of an existing deployment.
|
725
|
-
# returns the revision number of the new deployment when you create it.
|
732
|
+
# create a new revision of an existing deployment.
|
726
733
|
#
|
727
734
|
# For more information, see the [Create deployments][1] in the *IoT
|
728
735
|
# Greengrass V2 Developer Guide*.
|
@@ -787,7 +794,7 @@ module Aws::GreengrassV2
|
|
787
794
|
#
|
788
795
|
# resp = client.create_deployment({
|
789
796
|
# target_arn: "TargetARN", # required
|
790
|
-
# deployment_name: "
|
797
|
+
# deployment_name: "DeploymentNameString",
|
791
798
|
# components: {
|
792
799
|
# "NonEmptyString" => {
|
793
800
|
# component_version: "ComponentVersionString",
|
@@ -926,6 +933,38 @@ module Aws::GreengrassV2
|
|
926
933
|
req.send_request(options)
|
927
934
|
end
|
928
935
|
|
936
|
+
# Deletes a deployment. To delete an active deployment, you must first
|
937
|
+
# cancel it. For more information, see [CancelDeployment][1].
|
938
|
+
#
|
939
|
+
# Deleting a deployment doesn't affect core devices that run that
|
940
|
+
# deployment, because core devices store the deployment's configuration
|
941
|
+
# on the device. Additionally, core devices can roll back to a previous
|
942
|
+
# deployment that has been deleted.
|
943
|
+
#
|
944
|
+
#
|
945
|
+
#
|
946
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CancelDeployment.html
|
947
|
+
#
|
948
|
+
# @option params [required, String] :deployment_id
|
949
|
+
# The ID of the deployment.
|
950
|
+
#
|
951
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
952
|
+
#
|
953
|
+
# @example Request syntax with placeholder values
|
954
|
+
#
|
955
|
+
# resp = client.delete_deployment({
|
956
|
+
# deployment_id: "NonEmptyString", # required
|
957
|
+
# })
|
958
|
+
#
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteDeployment AWS API Documentation
|
960
|
+
#
|
961
|
+
# @overload delete_deployment(params = {})
|
962
|
+
# @param [Hash] params ({})
|
963
|
+
def delete_deployment(params = {}, options = {})
|
964
|
+
req = build_request(:delete_deployment, params)
|
965
|
+
req.send_request(options)
|
966
|
+
end
|
967
|
+
|
929
968
|
# Retrieves metadata for a version of a component.
|
930
969
|
#
|
931
970
|
# @option params [required, String] :arn
|
@@ -965,6 +1004,8 @@ module Aws::GreengrassV2
|
|
965
1004
|
# resp.status.message #=> String
|
966
1005
|
# resp.status.errors #=> Hash
|
967
1006
|
# resp.status.errors["NonEmptyString"] #=> String
|
1007
|
+
# resp.status.vendor_guidance #=> String, one of "ACTIVE", "DISCONTINUED", "DELETED"
|
1008
|
+
# resp.status.vendor_guidance_message #=> String
|
968
1009
|
# resp.platforms #=> Array
|
969
1010
|
# resp.platforms[0].name #=> String
|
970
1011
|
# resp.platforms[0].attributes #=> Hash
|
@@ -1009,9 +1050,7 @@ module Aws::GreengrassV2
|
|
1009
1050
|
req.send_request(options)
|
1010
1051
|
end
|
1011
1052
|
|
1012
|
-
# Gets the recipe for a version of a component.
|
1013
|
-
# this operation to identify the artifacts and requirements to install a
|
1014
|
-
# component.
|
1053
|
+
# Gets the recipe for a version of a component.
|
1015
1054
|
#
|
1016
1055
|
# @option params [String] :recipe_output_format
|
1017
1056
|
# The format of the recipe.
|
@@ -1052,13 +1091,13 @@ module Aws::GreengrassV2
|
|
1052
1091
|
req.send_request(options)
|
1053
1092
|
end
|
1054
1093
|
|
1055
|
-
# Gets the pre-signed URL to download a public
|
1056
|
-
# devices call this operation to identify the URL that
|
1057
|
-
# download an artifact to install.
|
1094
|
+
# Gets the pre-signed URL to download a public or a Lambda component
|
1095
|
+
# artifact. Core devices call this operation to identify the URL that
|
1096
|
+
# they can use to download an artifact to install.
|
1058
1097
|
#
|
1059
1098
|
# @option params [required, String] :arn
|
1060
|
-
# The [ARN][1] of the component version. Specify the ARN of a public
|
1061
|
-
# component version.
|
1099
|
+
# The [ARN][1] of the component version. Specify the ARN of a public or
|
1100
|
+
# a Lambda component version.
|
1062
1101
|
#
|
1063
1102
|
#
|
1064
1103
|
#
|
@@ -1105,11 +1144,11 @@ module Aws::GreengrassV2
|
|
1105
1144
|
#
|
1106
1145
|
# Connectivity information includes endpoints and ports where client
|
1107
1146
|
# devices can connect to an MQTT broker on the core device. When a
|
1108
|
-
# client device calls the [Greengrass discovery API][1], IoT
|
1109
|
-
# returns connectivity information for all of the core
|
1110
|
-
# client device can connect. For more information, see
|
1111
|
-
# devices to core devices][2] in the *IoT Greengrass
|
1112
|
-
# Guide*.
|
1147
|
+
# client device calls the [IoT Greengrass discovery API][1], IoT
|
1148
|
+
# Greengrass returns connectivity information for all of the core
|
1149
|
+
# devices where the client device can connect. For more information, see
|
1150
|
+
# [Connect client devices to core devices][2] in the *IoT Greengrass
|
1151
|
+
# Version 2 Developer Guide*.
|
1113
1152
|
#
|
1114
1153
|
#
|
1115
1154
|
#
|
@@ -1150,6 +1189,34 @@ module Aws::GreengrassV2
|
|
1150
1189
|
|
1151
1190
|
# Retrieves metadata for a Greengrass core device.
|
1152
1191
|
#
|
1192
|
+
# <note markdown="1"> IoT Greengrass relies on individual devices to send status updates to
|
1193
|
+
# the Amazon Web Services Cloud. If the IoT Greengrass Core software
|
1194
|
+
# isn't running on the device, or if device isn't connected to the
|
1195
|
+
# Amazon Web Services Cloud, then the reported status of that device
|
1196
|
+
# might not reflect its current status. The status timestamp indicates
|
1197
|
+
# when the device status was last updated.
|
1198
|
+
#
|
1199
|
+
# Core devices send status updates at the following times:
|
1200
|
+
#
|
1201
|
+
# * When the IoT Greengrass Core software starts
|
1202
|
+
#
|
1203
|
+
# * When the core device receives a deployment from the Amazon Web
|
1204
|
+
# Services Cloud
|
1205
|
+
#
|
1206
|
+
# * When the status of any component on the core device becomes `BROKEN`
|
1207
|
+
#
|
1208
|
+
# * At a [regular interval that you can configure][1], which defaults to
|
1209
|
+
# 24 hours
|
1210
|
+
#
|
1211
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1212
|
+
# upon local deployment and cloud deployment
|
1213
|
+
#
|
1214
|
+
# </note>
|
1215
|
+
#
|
1216
|
+
#
|
1217
|
+
#
|
1218
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss
|
1219
|
+
#
|
1153
1220
|
# @option params [required, String] :core_device_thing_name
|
1154
1221
|
# The name of the core device. This is also the name of the IoT thing.
|
1155
1222
|
#
|
@@ -1341,7 +1408,7 @@ module Aws::GreengrassV2
|
|
1341
1408
|
# versions are listed first.
|
1342
1409
|
#
|
1343
1410
|
# @option params [required, String] :arn
|
1344
|
-
# The [ARN][1] of the component
|
1411
|
+
# The [ARN][1] of the component.
|
1345
1412
|
#
|
1346
1413
|
#
|
1347
1414
|
#
|
@@ -1441,10 +1508,40 @@ module Aws::GreengrassV2
|
|
1441
1508
|
|
1442
1509
|
# Retrieves a paginated list of Greengrass core devices.
|
1443
1510
|
#
|
1511
|
+
# <note markdown="1"> IoT Greengrass relies on individual devices to send status updates to
|
1512
|
+
# the Amazon Web Services Cloud. If the IoT Greengrass Core software
|
1513
|
+
# isn't running on the device, or if device isn't connected to the
|
1514
|
+
# Amazon Web Services Cloud, then the reported status of that device
|
1515
|
+
# might not reflect its current status. The status timestamp indicates
|
1516
|
+
# when the device status was last updated.
|
1517
|
+
#
|
1518
|
+
# Core devices send status updates at the following times:
|
1519
|
+
#
|
1520
|
+
# * When the IoT Greengrass Core software starts
|
1521
|
+
#
|
1522
|
+
# * When the core device receives a deployment from the Amazon Web
|
1523
|
+
# Services Cloud
|
1524
|
+
#
|
1525
|
+
# * When the status of any component on the core device becomes `BROKEN`
|
1526
|
+
#
|
1527
|
+
# * At a [regular interval that you can configure][1], which defaults to
|
1528
|
+
# 24 hours
|
1529
|
+
#
|
1530
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1531
|
+
# upon local deployment and cloud deployment
|
1532
|
+
#
|
1533
|
+
# </note>
|
1534
|
+
#
|
1535
|
+
#
|
1536
|
+
#
|
1537
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss
|
1538
|
+
#
|
1444
1539
|
# @option params [String] :thing_group_arn
|
1445
1540
|
# The [ARN][1] of the IoT thing group by which to filter. If you specify
|
1446
|
-
# this parameter, the list includes only core devices that
|
1447
|
-
#
|
1541
|
+
# this parameter, the list includes only core devices that have
|
1542
|
+
# successfully deployed a deployment that targets the thing group. When
|
1543
|
+
# you remove a core device from a thing group, the list continues to
|
1544
|
+
# include that core device.
|
1448
1545
|
#
|
1449
1546
|
#
|
1450
1547
|
#
|
@@ -1615,7 +1712,38 @@ module Aws::GreengrassV2
|
|
1615
1712
|
end
|
1616
1713
|
|
1617
1714
|
# Retrieves a paginated list of the components that a Greengrass core
|
1618
|
-
# device runs.
|
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`.
|
1719
|
+
#
|
1720
|
+
# <note markdown="1"> IoT Greengrass relies on individual devices to send status updates to
|
1721
|
+
# the Amazon Web Services Cloud. If the IoT Greengrass Core software
|
1722
|
+
# isn't running on the device, or if device isn't connected to the
|
1723
|
+
# Amazon Web Services Cloud, then the reported status of that device
|
1724
|
+
# might not reflect its current status. The status timestamp indicates
|
1725
|
+
# when the device status was last updated.
|
1726
|
+
#
|
1727
|
+
# Core devices send status updates at the following times:
|
1728
|
+
#
|
1729
|
+
# * When the IoT Greengrass Core software starts
|
1730
|
+
#
|
1731
|
+
# * When the core device receives a deployment from the Amazon Web
|
1732
|
+
# Services Cloud
|
1733
|
+
#
|
1734
|
+
# * When the status of any component on the core device becomes `BROKEN`
|
1735
|
+
#
|
1736
|
+
# * At a [regular interval that you can configure][1], which defaults to
|
1737
|
+
# 24 hours
|
1738
|
+
#
|
1739
|
+
# * For IoT Greengrass Core v2.7.0, the core device sends status updates
|
1740
|
+
# upon local deployment and cloud deployment
|
1741
|
+
#
|
1742
|
+
# </note>
|
1743
|
+
#
|
1744
|
+
#
|
1745
|
+
#
|
1746
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss
|
1619
1747
|
#
|
1620
1748
|
# @option params [required, String] :core_device_thing_name
|
1621
1749
|
# The name of the core device. This is also the name of the IoT thing.
|
@@ -1626,6 +1754,20 @@ module Aws::GreengrassV2
|
|
1626
1754
|
# @option params [String] :next_token
|
1627
1755
|
# The token to be used for the next set of paginated results.
|
1628
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
|
+
#
|
1629
1771
|
# @return [Types::ListInstalledComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1630
1772
|
#
|
1631
1773
|
# * {Types::ListInstalledComponentsResponse#installed_components #installed_components} => Array<Types::InstalledComponent>
|
@@ -1639,6 +1781,7 @@ module Aws::GreengrassV2
|
|
1639
1781
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
1640
1782
|
# max_results: 1,
|
1641
1783
|
# next_token: "NextTokenString",
|
1784
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
1642
1785
|
# })
|
1643
1786
|
#
|
1644
1787
|
# @example Response structure
|
@@ -1649,6 +1792,7 @@ module Aws::GreengrassV2
|
|
1649
1792
|
# resp.installed_components[0].lifecycle_state #=> String, one of "NEW", "INSTALLED", "STARTING", "RUNNING", "STOPPING", "ERRORED", "BROKEN", "FINISHED"
|
1650
1793
|
# resp.installed_components[0].lifecycle_state_details #=> String
|
1651
1794
|
# resp.installed_components[0].is_root #=> Boolean
|
1795
|
+
# resp.installed_components[0].last_status_change_timestamp #=> Time
|
1652
1796
|
# resp.next_token #=> String
|
1653
1797
|
#
|
1654
1798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponents AWS API Documentation
|
@@ -1718,10 +1862,10 @@ module Aws::GreengrassV2
|
|
1718
1862
|
#
|
1719
1863
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/greengrass.html
|
1720
1864
|
#
|
1721
|
-
# @option params [
|
1865
|
+
# @option params [Types::ComponentPlatform] :platform
|
1722
1866
|
# The platform to use to resolve compatible components.
|
1723
1867
|
#
|
1724
|
-
# @option params [
|
1868
|
+
# @option params [Array<Types::ComponentCandidate>] :component_candidates
|
1725
1869
|
# The list of components to resolve.
|
1726
1870
|
#
|
1727
1871
|
# @return [Types::ResolveComponentCandidatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1731,13 +1875,13 @@ module Aws::GreengrassV2
|
|
1731
1875
|
# @example Request syntax with placeholder values
|
1732
1876
|
#
|
1733
1877
|
# resp = client.resolve_component_candidates({
|
1734
|
-
# platform: {
|
1878
|
+
# platform: {
|
1735
1879
|
# name: "NonEmptyString",
|
1736
1880
|
# attributes: {
|
1737
1881
|
# "NonEmptyString" => "NonEmptyString",
|
1738
1882
|
# },
|
1739
1883
|
# },
|
1740
|
-
# component_candidates: [
|
1884
|
+
# component_candidates: [
|
1741
1885
|
# {
|
1742
1886
|
# component_name: "ComponentNameString",
|
1743
1887
|
# component_version: "ComponentVersionString",
|
@@ -1755,6 +1899,8 @@ module Aws::GreengrassV2
|
|
1755
1899
|
# resp.resolved_component_versions[0].component_name #=> String
|
1756
1900
|
# resp.resolved_component_versions[0].component_version #=> String
|
1757
1901
|
# resp.resolved_component_versions[0].recipe #=> String
|
1902
|
+
# resp.resolved_component_versions[0].vendor_guidance #=> String, one of "ACTIVE", "DISCONTINUED", "DELETED"
|
1903
|
+
# resp.resolved_component_versions[0].message #=> String
|
1758
1904
|
#
|
1759
1905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ResolveComponentCandidates AWS API Documentation
|
1760
1906
|
#
|
@@ -1838,11 +1984,11 @@ module Aws::GreengrassV2
|
|
1838
1984
|
#
|
1839
1985
|
# Connectivity information includes endpoints and ports where client
|
1840
1986
|
# devices can connect to an MQTT broker on the core device. When a
|
1841
|
-
# client device calls the [Greengrass discovery API][1], IoT
|
1842
|
-
# returns connectivity information for all of the core
|
1843
|
-
# client device can connect. For more information, see
|
1844
|
-
# devices to core devices][2] in the *IoT Greengrass
|
1845
|
-
# Guide*.
|
1987
|
+
# client device calls the [IoT Greengrass discovery API][1], IoT
|
1988
|
+
# Greengrass returns connectivity information for all of the core
|
1989
|
+
# devices where the client device can connect. For more information, see
|
1990
|
+
# [Connect client devices to core devices][2] in the *IoT Greengrass
|
1991
|
+
# Version 2 Developer Guide*.
|
1846
1992
|
#
|
1847
1993
|
#
|
1848
1994
|
#
|
@@ -1901,7 +2047,7 @@ module Aws::GreengrassV2
|
|
1901
2047
|
params: params,
|
1902
2048
|
config: config)
|
1903
2049
|
context[:gem_name] = 'aws-sdk-greengrassv2'
|
1904
|
-
context[:gem_version] = '1.
|
2050
|
+
context[:gem_version] = '1.19.0'
|
1905
2051
|
Seahorse::Client::Request.new(handlers, context)
|
1906
2052
|
end
|
1907
2053
|
|
@@ -72,6 +72,7 @@ module Aws::GreengrassV2
|
|
72
72
|
DefaultMaxResults = Shapes::IntegerShape.new(name: 'DefaultMaxResults')
|
73
73
|
DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
|
74
74
|
DeleteCoreDeviceRequest = Shapes::StructureShape.new(name: 'DeleteCoreDeviceRequest')
|
75
|
+
DeleteDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentRequest')
|
75
76
|
Deployment = Shapes::StructureShape.new(name: 'Deployment')
|
76
77
|
DeploymentComponentUpdatePolicy = Shapes::StructureShape.new(name: 'DeploymentComponentUpdatePolicy')
|
77
78
|
DeploymentComponentUpdatePolicyAction = Shapes::StringShape.new(name: 'DeploymentComponentUpdatePolicyAction')
|
@@ -82,6 +83,7 @@ module Aws::GreengrassV2
|
|
82
83
|
DeploymentIoTJobConfiguration = Shapes::StructureShape.new(name: 'DeploymentIoTJobConfiguration')
|
83
84
|
DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
|
84
85
|
DeploymentName = Shapes::StringShape.new(name: 'DeploymentName')
|
86
|
+
DeploymentNameString = Shapes::StringShape.new(name: 'DeploymentNameString')
|
85
87
|
DeploymentPolicies = Shapes::StructureShape.new(name: 'DeploymentPolicies')
|
86
88
|
DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
|
87
89
|
DescribeComponentRequest = Shapes::StructureShape.new(name: 'DescribeComponentRequest')
|
@@ -115,6 +117,7 @@ module Aws::GreengrassV2
|
|
115
117
|
InstalledComponent = Shapes::StructureShape.new(name: 'InstalledComponent')
|
116
118
|
InstalledComponentLifecycleState = Shapes::StringShape.new(name: 'InstalledComponentLifecycleState')
|
117
119
|
InstalledComponentList = Shapes::ListShape.new(name: 'InstalledComponentList')
|
120
|
+
InstalledComponentTopologyFilter = Shapes::StringShape.new(name: 'InstalledComponentTopologyFilter')
|
118
121
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
119
122
|
IoTJobARN = Shapes::StringShape.new(name: 'IoTJobARN')
|
120
123
|
IoTJobAbortAction = Shapes::StringShape.new(name: 'IoTJobAbortAction')
|
@@ -148,7 +151,6 @@ module Aws::GreengrassV2
|
|
148
151
|
LambdaExecArgsList = Shapes::ListShape.new(name: 'LambdaExecArgsList')
|
149
152
|
LambdaExecutionParameters = Shapes::StructureShape.new(name: 'LambdaExecutionParameters')
|
150
153
|
LambdaFilesystemPermission = Shapes::StringShape.new(name: 'LambdaFilesystemPermission')
|
151
|
-
LambdaFunctionARNWithVersionNumber = Shapes::StringShape.new(name: 'LambdaFunctionARNWithVersionNumber')
|
152
154
|
LambdaFunctionRecipeSource = Shapes::StructureShape.new(name: 'LambdaFunctionRecipeSource')
|
153
155
|
LambdaInputPayloadEncodingType = Shapes::StringShape.new(name: 'LambdaInputPayloadEncodingType')
|
154
156
|
LambdaIsolationMode = Shapes::StringShape.new(name: 'LambdaIsolationMode')
|
@@ -214,6 +216,7 @@ module Aws::GreengrassV2
|
|
214
216
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
215
217
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
216
218
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
219
|
+
VendorGuidance = Shapes::StringShape.new(name: 'VendorGuidance')
|
217
220
|
connectivityInfoList = Shapes::ListShape.new(name: 'connectivityInfoList')
|
218
221
|
|
219
222
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -266,6 +269,8 @@ module Aws::GreengrassV2
|
|
266
269
|
CloudComponentStatus.add_member(:component_state, Shapes::ShapeRef.new(shape: CloudComponentState, location_name: "componentState"))
|
267
270
|
CloudComponentStatus.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
|
268
271
|
CloudComponentStatus.add_member(:errors, Shapes::ShapeRef.new(shape: StringMap, location_name: "errors"))
|
272
|
+
CloudComponentStatus.add_member(:vendor_guidance, Shapes::ShapeRef.new(shape: VendorGuidance, location_name: "vendorGuidance"))
|
273
|
+
CloudComponentStatus.add_member(:vendor_guidance_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "vendorGuidanceMessage"))
|
269
274
|
CloudComponentStatus.struct_class = Types::CloudComponentStatus
|
270
275
|
|
271
276
|
Component.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentARN, location_name: "arn"))
|
@@ -364,7 +369,7 @@ module Aws::GreengrassV2
|
|
364
369
|
CreateComponentVersionResponse.struct_class = Types::CreateComponentVersionResponse
|
365
370
|
|
366
371
|
CreateDeploymentRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "targetArn"))
|
367
|
-
CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape:
|
372
|
+
CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape: DeploymentNameString, location_name: "deploymentName"))
|
368
373
|
CreateDeploymentRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentDeploymentSpecifications, location_name: "components"))
|
369
374
|
CreateDeploymentRequest.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
|
370
375
|
CreateDeploymentRequest.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
|
@@ -383,6 +388,9 @@ module Aws::GreengrassV2
|
|
383
388
|
DeleteCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
|
384
389
|
DeleteCoreDeviceRequest.struct_class = Types::DeleteCoreDeviceRequest
|
385
390
|
|
391
|
+
DeleteDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "deploymentId"))
|
392
|
+
DeleteDeploymentRequest.struct_class = Types::DeleteDeploymentRequest
|
393
|
+
|
386
394
|
Deployment.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "targetArn"))
|
387
395
|
Deployment.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "revisionId"))
|
388
396
|
Deployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentId"))
|
@@ -520,6 +528,7 @@ module Aws::GreengrassV2
|
|
520
528
|
InstalledComponent.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: InstalledComponentLifecycleState, location_name: "lifecycleState"))
|
521
529
|
InstalledComponent.add_member(:lifecycle_state_details, Shapes::ShapeRef.new(shape: LifecycleStateDetails, location_name: "lifecycleStateDetails"))
|
522
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"))
|
523
532
|
InstalledComponent.struct_class = Types::InstalledComponent
|
524
533
|
|
525
534
|
InstalledComponentList.member = Shapes::ShapeRef.new(shape: InstalledComponent)
|
@@ -592,7 +601,7 @@ module Aws::GreengrassV2
|
|
592
601
|
LambdaExecutionParameters.add_member(:linux_process_params, Shapes::ShapeRef.new(shape: LambdaLinuxProcessParams, location_name: "linuxProcessParams"))
|
593
602
|
LambdaExecutionParameters.struct_class = Types::LambdaExecutionParameters
|
594
603
|
|
595
|
-
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"))
|
596
605
|
LambdaFunctionRecipeSource.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
|
597
606
|
LambdaFunctionRecipeSource.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
|
598
607
|
LambdaFunctionRecipeSource.add_member(:component_platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "componentPlatforms"))
|
@@ -671,6 +680,7 @@ module Aws::GreengrassV2
|
|
671
680
|
ListInstalledComponentsRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
|
672
681
|
ListInstalledComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
673
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}))
|
674
684
|
ListInstalledComponentsRequest.struct_class = Types::ListInstalledComponentsRequest
|
675
685
|
|
676
686
|
ListInstalledComponentsResponse.add_member(:installed_components, Shapes::ShapeRef.new(shape: InstalledComponentList, location_name: "installedComponents"))
|
@@ -689,8 +699,8 @@ module Aws::GreengrassV2
|
|
689
699
|
RequestAlreadyInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
690
700
|
RequestAlreadyInProgressException.struct_class = Types::RequestAlreadyInProgressException
|
691
701
|
|
692
|
-
ResolveComponentCandidatesRequest.add_member(:platform, Shapes::ShapeRef.new(shape: ComponentPlatform,
|
693
|
-
ResolveComponentCandidatesRequest.add_member(:component_candidates, Shapes::ShapeRef.new(shape: ComponentCandidateList,
|
702
|
+
ResolveComponentCandidatesRequest.add_member(:platform, Shapes::ShapeRef.new(shape: ComponentPlatform, location_name: "platform"))
|
703
|
+
ResolveComponentCandidatesRequest.add_member(:component_candidates, Shapes::ShapeRef.new(shape: ComponentCandidateList, location_name: "componentCandidates"))
|
694
704
|
ResolveComponentCandidatesRequest.struct_class = Types::ResolveComponentCandidatesRequest
|
695
705
|
|
696
706
|
ResolveComponentCandidatesResponse.add_member(:resolved_component_versions, Shapes::ShapeRef.new(shape: ResolvedComponentVersionsList, location_name: "resolvedComponentVersions"))
|
@@ -700,6 +710,8 @@ module Aws::GreengrassV2
|
|
700
710
|
ResolvedComponentVersion.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
|
701
711
|
ResolvedComponentVersion.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
|
702
712
|
ResolvedComponentVersion.add_member(:recipe, Shapes::ShapeRef.new(shape: RecipeBlob, location_name: "recipe"))
|
713
|
+
ResolvedComponentVersion.add_member(:vendor_guidance, Shapes::ShapeRef.new(shape: VendorGuidance, location_name: "vendorGuidance"))
|
714
|
+
ResolvedComponentVersion.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
|
703
715
|
ResolvedComponentVersion.struct_class = Types::ResolvedComponentVersion
|
704
716
|
|
705
717
|
ResolvedComponentVersionsList.member = Shapes::ShapeRef.new(shape: ResolvedComponentVersion)
|
@@ -860,6 +872,7 @@ module Aws::GreengrassV2
|
|
860
872
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
861
873
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
862
874
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
863
876
|
o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyInProgressException)
|
864
877
|
end)
|
865
878
|
|
@@ -891,6 +904,20 @@ module Aws::GreengrassV2
|
|
891
904
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
892
905
|
end)
|
893
906
|
|
907
|
+
api.add_operation(:delete_deployment, Seahorse::Model::Operation.new.tap do |o|
|
908
|
+
o.name = "DeleteDeployment"
|
909
|
+
o.http_method = "DELETE"
|
910
|
+
o.http_request_uri = "/greengrass/v2/deployments/{deploymentId}"
|
911
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentRequest)
|
912
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
914
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
919
|
+
end)
|
920
|
+
|
894
921
|
api.add_operation(:describe_component, Seahorse::Model::Operation.new.tap do |o|
|
895
922
|
o.name = "DescribeComponent"
|
896
923
|
o.http_method = "GET"
|
@@ -1030,6 +1057,7 @@ module Aws::GreengrassV2
|
|
1030
1057
|
o.output = Shapes::ShapeRef.new(shape: ListComponentsResponse)
|
1031
1058
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1032
1059
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1060
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1033
1061
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1034
1062
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1035
1063
|
o[:pager] = Aws::Pager.new(
|
@@ -1134,9 +1162,9 @@ module Aws::GreengrassV2
|
|
1134
1162
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1135
1163
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1136
1164
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1165
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1137
1166
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1138
1167
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1139
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1140
1168
|
end)
|
1141
1169
|
|
1142
1170
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -255,30 +255,59 @@ module Aws::GreengrassV2
|
|
255
255
|
include Aws::Structure
|
256
256
|
end
|
257
257
|
|
258
|
-
# Contains the status of a component in the IoT Greengrass
|
258
|
+
# Contains the status of a component version in the IoT Greengrass
|
259
|
+
# service.
|
259
260
|
#
|
260
261
|
# @!attribute [rw] component_state
|
261
|
-
# The state of the component.
|
262
|
+
# The state of the component version.
|
262
263
|
# @return [String]
|
263
264
|
#
|
264
265
|
# @!attribute [rw] message
|
265
266
|
# A message that communicates details, such as errors, about the
|
266
|
-
# status of the component.
|
267
|
+
# status of the component version.
|
267
268
|
# @return [String]
|
268
269
|
#
|
269
270
|
# @!attribute [rw] errors
|
270
|
-
# A dictionary of errors that communicate why the component is
|
271
|
-
# error state. For example, if IoT Greengrass can't access an
|
272
|
-
# artifact for the component, then `errors` contains the
|
273
|
-
# URI as a key, and the error message as the value for
|
271
|
+
# A dictionary of errors that communicate why the component version is
|
272
|
+
# in an error state. For example, if IoT Greengrass can't access an
|
273
|
+
# artifact for the component version, then `errors` contains the
|
274
|
+
# artifact's URI as a key, and the error message as the value for
|
275
|
+
# that key.
|
274
276
|
# @return [Hash<String,String>]
|
275
277
|
#
|
278
|
+
# @!attribute [rw] vendor_guidance
|
279
|
+
# The vendor guidance state for the component version. This state
|
280
|
+
# indicates whether the component version has any issues that you
|
281
|
+
# should consider before you deploy it. The vendor guidance state can
|
282
|
+
# be:
|
283
|
+
#
|
284
|
+
# * `ACTIVE` – This component version is available and recommended for
|
285
|
+
# use.
|
286
|
+
#
|
287
|
+
# * `DISCONTINUED` – This component version has been discontinued by
|
288
|
+
# its publisher. You can deploy this component version, but we
|
289
|
+
# recommend that you use a different version of this component.
|
290
|
+
#
|
291
|
+
# * `DELETED` – This component version has been deleted by its
|
292
|
+
# publisher, so you can't deploy it. If you have any existing
|
293
|
+
# deployments that specify this component version, those deployments
|
294
|
+
# will fail.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @!attribute [rw] vendor_guidance_message
|
298
|
+
# A message that communicates details about the vendor guidance state
|
299
|
+
# of the component version. This message communicates why a component
|
300
|
+
# version is discontinued or deleted.
|
301
|
+
# @return [String]
|
302
|
+
#
|
276
303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CloudComponentStatus AWS API Documentation
|
277
304
|
#
|
278
305
|
class CloudComponentStatus < Struct.new(
|
279
306
|
:component_state,
|
280
307
|
:message,
|
281
|
-
:errors
|
308
|
+
:errors,
|
309
|
+
:vendor_guidance,
|
310
|
+
:vendor_guidance_message)
|
282
311
|
SENSITIVE = []
|
283
312
|
include Aws::Structure
|
284
313
|
end
|
@@ -583,10 +612,10 @@ module Aws::GreengrassV2
|
|
583
612
|
#
|
584
613
|
# @!attribute [rw] attributes
|
585
614
|
# A dictionary of attributes for the platform. The IoT Greengrass Core
|
586
|
-
# software defines the `os` and `
|
587
|
-
# additional platform attributes for a core device when you
|
588
|
-
# Greengrass nucleus component. For more information, see
|
589
|
-
# [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
|
590
619
|
# Developer Guide*.
|
591
620
|
#
|
592
621
|
#
|
@@ -819,7 +848,7 @@ module Aws::GreengrassV2
|
|
819
848
|
# {
|
820
849
|
# inline_recipe: "data",
|
821
850
|
# lambda_function: {
|
822
|
-
# lambda_arn: "
|
851
|
+
# lambda_arn: "NonEmptyString", # required
|
823
852
|
# component_name: "ComponentNameString",
|
824
853
|
# component_version: "ComponentVersionString",
|
825
854
|
# component_platforms: [
|
@@ -977,7 +1006,7 @@ module Aws::GreengrassV2
|
|
977
1006
|
#
|
978
1007
|
# {
|
979
1008
|
# target_arn: "TargetARN", # required
|
980
|
-
# deployment_name: "
|
1009
|
+
# deployment_name: "DeploymentNameString",
|
981
1010
|
# components: {
|
982
1011
|
# "NonEmptyString" => {
|
983
1012
|
# component_version: "ComponentVersionString",
|
@@ -1173,6 +1202,25 @@ module Aws::GreengrassV2
|
|
1173
1202
|
include Aws::Structure
|
1174
1203
|
end
|
1175
1204
|
|
1205
|
+
# @note When making an API call, you may pass DeleteDeploymentRequest
|
1206
|
+
# data as a hash:
|
1207
|
+
#
|
1208
|
+
# {
|
1209
|
+
# deployment_id: "NonEmptyString", # required
|
1210
|
+
# }
|
1211
|
+
#
|
1212
|
+
# @!attribute [rw] deployment_id
|
1213
|
+
# The ID of the deployment.
|
1214
|
+
# @return [String]
|
1215
|
+
#
|
1216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteDeploymentRequest AWS API Documentation
|
1217
|
+
#
|
1218
|
+
class DeleteDeploymentRequest < Struct.new(
|
1219
|
+
:deployment_id)
|
1220
|
+
SENSITIVE = []
|
1221
|
+
include Aws::Structure
|
1222
|
+
end
|
1223
|
+
|
1176
1224
|
# Contains information about a deployment.
|
1177
1225
|
#
|
1178
1226
|
# @!attribute [rw] target_arn
|
@@ -1727,7 +1775,7 @@ module Aws::GreengrassV2
|
|
1727
1775
|
#
|
1728
1776
|
# @!attribute [rw] arn
|
1729
1777
|
# The [ARN][1] of the component version. Specify the ARN of a public
|
1730
|
-
# component version.
|
1778
|
+
# or a Lambda component version.
|
1731
1779
|
#
|
1732
1780
|
#
|
1733
1781
|
#
|
@@ -2048,6 +2096,15 @@ module Aws::GreengrassV2
|
|
2048
2096
|
# Whether or not the component is a root component.
|
2049
2097
|
# @return [Boolean]
|
2050
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
|
+
#
|
2051
2108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/InstalledComponent AWS API Documentation
|
2052
2109
|
#
|
2053
2110
|
class InstalledComponent < Struct.new(
|
@@ -2055,7 +2112,8 @@ module Aws::GreengrassV2
|
|
2055
2112
|
:component_version,
|
2056
2113
|
:lifecycle_state,
|
2057
2114
|
:lifecycle_state_details,
|
2058
|
-
:is_root
|
2115
|
+
:is_root,
|
2116
|
+
:last_status_change_timestamp)
|
2059
2117
|
SENSITIVE = []
|
2060
2118
|
include Aws::Structure
|
2061
2119
|
end
|
@@ -2575,7 +2633,7 @@ module Aws::GreengrassV2
|
|
2575
2633
|
# data as a hash:
|
2576
2634
|
#
|
2577
2635
|
# {
|
2578
|
-
# lambda_arn: "
|
2636
|
+
# lambda_arn: "NonEmptyString", # required
|
2579
2637
|
# component_name: "ComponentNameString",
|
2580
2638
|
# component_version: "ComponentVersionString",
|
2581
2639
|
# component_platforms: [
|
@@ -2845,7 +2903,7 @@ module Aws::GreengrassV2
|
|
2845
2903
|
# }
|
2846
2904
|
#
|
2847
2905
|
# @!attribute [rw] arn
|
2848
|
-
# The [ARN][1] of the component
|
2906
|
+
# The [ARN][1] of the component.
|
2849
2907
|
#
|
2850
2908
|
#
|
2851
2909
|
#
|
@@ -2951,8 +3009,10 @@ module Aws::GreengrassV2
|
|
2951
3009
|
#
|
2952
3010
|
# @!attribute [rw] thing_group_arn
|
2953
3011
|
# The [ARN][1] of the IoT thing group by which to filter. If you
|
2954
|
-
# specify this parameter, the list includes only core devices that
|
2955
|
-
#
|
3012
|
+
# specify this parameter, the list includes only core devices that
|
3013
|
+
# have successfully deployed a deployment that targets the thing
|
3014
|
+
# group. When you remove a core device from a thing group, the list
|
3015
|
+
# continues to include that core device.
|
2956
3016
|
#
|
2957
3017
|
#
|
2958
3018
|
#
|
@@ -3131,6 +3191,7 @@ module Aws::GreengrassV2
|
|
3131
3191
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
3132
3192
|
# max_results: 1,
|
3133
3193
|
# next_token: "NextTokenString",
|
3194
|
+
# topology_filter: "ALL", # accepts ALL, ROOT
|
3134
3195
|
# }
|
3135
3196
|
#
|
3136
3197
|
# @!attribute [rw] core_device_thing_name
|
@@ -3145,18 +3206,40 @@ module Aws::GreengrassV2
|
|
3145
3206
|
# The token to be used for the next set of paginated results.
|
3146
3207
|
# @return [String]
|
3147
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
|
+
#
|
3148
3224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponentsRequest AWS API Documentation
|
3149
3225
|
#
|
3150
3226
|
class ListInstalledComponentsRequest < Struct.new(
|
3151
3227
|
:core_device_thing_name,
|
3152
3228
|
:max_results,
|
3153
|
-
:next_token
|
3229
|
+
:next_token,
|
3230
|
+
:topology_filter)
|
3154
3231
|
SENSITIVE = []
|
3155
3232
|
include Aws::Structure
|
3156
3233
|
end
|
3157
3234
|
|
3158
3235
|
# @!attribute [rw] installed_components
|
3159
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>
|
3160
3243
|
# @return [Array<Types::InstalledComponent>]
|
3161
3244
|
#
|
3162
3245
|
# @!attribute [rw] next_token
|
@@ -3233,13 +3316,13 @@ module Aws::GreengrassV2
|
|
3233
3316
|
# data as a hash:
|
3234
3317
|
#
|
3235
3318
|
# {
|
3236
|
-
# platform: {
|
3319
|
+
# platform: {
|
3237
3320
|
# name: "NonEmptyString",
|
3238
3321
|
# attributes: {
|
3239
3322
|
# "NonEmptyString" => "NonEmptyString",
|
3240
3323
|
# },
|
3241
3324
|
# },
|
3242
|
-
# component_candidates: [
|
3325
|
+
# component_candidates: [
|
3243
3326
|
# {
|
3244
3327
|
# component_name: "ComponentNameString",
|
3245
3328
|
# component_version: "ComponentVersionString",
|
@@ -3304,13 +3387,40 @@ module Aws::GreengrassV2
|
|
3304
3387
|
# The recipe of the component version.
|
3305
3388
|
# @return [String]
|
3306
3389
|
#
|
3390
|
+
# @!attribute [rw] vendor_guidance
|
3391
|
+
# The vendor guidance state for the component version. This state
|
3392
|
+
# indicates whether the component version has any issues that you
|
3393
|
+
# should consider before you deploy it. The vendor guidance state can
|
3394
|
+
# be:
|
3395
|
+
#
|
3396
|
+
# * `ACTIVE` – This component version is available and recommended for
|
3397
|
+
# use.
|
3398
|
+
#
|
3399
|
+
# * `DISCONTINUED` – This component version has been discontinued by
|
3400
|
+
# its publisher. You can deploy this component version, but we
|
3401
|
+
# recommend that you use a different version of this component.
|
3402
|
+
#
|
3403
|
+
# * `DELETED` – This component version has been deleted by its
|
3404
|
+
# publisher, so you can't deploy it. If you have any existing
|
3405
|
+
# deployments that specify this component version, those deployments
|
3406
|
+
# will fail.
|
3407
|
+
# @return [String]
|
3408
|
+
#
|
3409
|
+
# @!attribute [rw] message
|
3410
|
+
# A message that communicates details about the vendor guidance state
|
3411
|
+
# of the component version. This message communicates why a component
|
3412
|
+
# version is discontinued or deleted.
|
3413
|
+
# @return [String]
|
3414
|
+
#
|
3307
3415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ResolvedComponentVersion AWS API Documentation
|
3308
3416
|
#
|
3309
3417
|
class ResolvedComponentVersion < Struct.new(
|
3310
3418
|
:arn,
|
3311
3419
|
:component_name,
|
3312
3420
|
:component_version,
|
3313
|
-
:recipe
|
3421
|
+
:recipe,
|
3422
|
+
:vendor_guidance,
|
3423
|
+
:message)
|
3314
3424
|
SENSITIVE = []
|
3315
3425
|
include Aws::Structure
|
3316
3426
|
end
|
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
|