aws-sdk-greengrassv2 1.50.0 → 1.51.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92de7d5274aabe209ae3a5d2f0d1330b1c34c090735c3e771c14ec8fd0c3bbcc
4
- data.tar.gz: 9c6623c9dcd5b648bfd0f5119b2fc91110e9ecdf5dc9d131817db005f3dfadb9
3
+ metadata.gz: 6b91159bef9c77fb3180d114f816f718118e8c677ee76f9ae719a3e941c7f41f
4
+ data.tar.gz: 5d04c4535a7554a630f5dc3df7ea9adec9dfb0e72d53f38194895e383b43703b
5
5
  SHA512:
6
- metadata.gz: cae16ef1c32c2b500ee6559d8e9e524fc786e4e994fe43e170f5b33ac7a4de5be77e7a31dbbd154f6de8ec98aff249626047ae4e1c47ad27ff3766205d2cc077
7
- data.tar.gz: 58087ee63e0c816f4ff2bc3bf0be1cdfc72fedc6198c1ac552f8447af5eca0cb1353763cc937bc7fbc36eef8332337d0dc46606f007e0bb16be59a11f05b37cb
6
+ metadata.gz: a4c5bcec7129dbe340311814e52188e1c30a8cb7ac6ca124f3a73f1f832c7831e9e2999ff60b347ac4b73f90db70501c15442505523c9531aa53914117b7e7c6
7
+ data.tar.gz: eb5a182714ab991ee0a1455cea737f657e60b093f81139e36d7e5e1bd1c64a51c4fd8d3864490733f09ef64a3a41b15acac2698769bf6a700578b9dc236dd538
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2024-12-16)
5
+ ------------------
6
+
7
+ * Feature - Add support for runtime in GetCoreDevice and ListCoreDevices APIs.
8
+
4
9
  1.50.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -1330,6 +1330,7 @@ module Aws::GreengrassV2
1330
1330
  # * {Types::GetCoreDeviceResponse#core_version #core_version} => String
1331
1331
  # * {Types::GetCoreDeviceResponse#platform #platform} => String
1332
1332
  # * {Types::GetCoreDeviceResponse#architecture #architecture} => String
1333
+ # * {Types::GetCoreDeviceResponse#runtime #runtime} => String
1333
1334
  # * {Types::GetCoreDeviceResponse#status #status} => String
1334
1335
  # * {Types::GetCoreDeviceResponse#last_status_update_timestamp #last_status_update_timestamp} => Time
1335
1336
  # * {Types::GetCoreDeviceResponse#tags #tags} => Hash<String,String>
@@ -1346,6 +1347,7 @@ module Aws::GreengrassV2
1346
1347
  # resp.core_version #=> String
1347
1348
  # resp.platform #=> String
1348
1349
  # resp.architecture #=> String
1350
+ # resp.runtime #=> String
1349
1351
  # resp.status #=> String, one of "HEALTHY", "UNHEALTHY"
1350
1352
  # resp.last_status_update_timestamp #=> Time
1351
1353
  # resp.tags #=> Hash
@@ -1628,7 +1630,13 @@ module Aws::GreengrassV2
1628
1630
  # * When the core device receives a deployment from the Amazon Web
1629
1631
  # Services Cloud
1630
1632
  #
1631
- # * When the status of any component on the core device becomes `BROKEN`
1633
+ # * For Greengrass nucleus 2.12.2 and earlier, the core device sends
1634
+ # status updates when the status of any component on the core device
1635
+ # becomes `ERRORED` or `BROKEN`.
1636
+ #
1637
+ # * For Greengrass nucleus 2.12.3 and later, the core device sends
1638
+ # status updates when the status of any component on the core device
1639
+ # becomes `ERRORED`, `BROKEN`, `RUNNING`, or `FINISHED`.
1632
1640
  #
1633
1641
  # * At a [regular interval that you can configure][1], which defaults to
1634
1642
  # 24 hours
@@ -1670,6 +1678,13 @@ module Aws::GreengrassV2
1670
1678
  # @option params [String] :next_token
1671
1679
  # The token to be used for the next set of paginated results.
1672
1680
  #
1681
+ # @option params [String] :runtime
1682
+ # The runtime to be used by the core device. The runtime can be:
1683
+ #
1684
+ # * `aws_nucleus_classic`
1685
+ #
1686
+ # * `aws_nucleus_lite`
1687
+ #
1673
1688
  # @return [Types::ListCoreDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1674
1689
  #
1675
1690
  # * {Types::ListCoreDevicesResponse#core_devices #core_devices} => Array<Types::CoreDevice>
@@ -1684,6 +1699,7 @@ module Aws::GreengrassV2
1684
1699
  # status: "HEALTHY", # accepts HEALTHY, UNHEALTHY
1685
1700
  # max_results: 1,
1686
1701
  # next_token: "NextTokenString",
1702
+ # runtime: "CoreDeviceRuntimeString",
1687
1703
  # })
1688
1704
  #
1689
1705
  # @example Response structure
@@ -1692,6 +1708,9 @@ module Aws::GreengrassV2
1692
1708
  # resp.core_devices[0].core_device_thing_name #=> String
1693
1709
  # resp.core_devices[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
1694
1710
  # resp.core_devices[0].last_status_update_timestamp #=> Time
1711
+ # resp.core_devices[0].platform #=> String
1712
+ # resp.core_devices[0].architecture #=> String
1713
+ # resp.core_devices[0].runtime #=> String
1695
1714
  # resp.next_token #=> String
1696
1715
  #
1697
1716
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListCoreDevices AWS API Documentation
@@ -2177,7 +2196,7 @@ module Aws::GreengrassV2
2177
2196
  tracer: tracer
2178
2197
  )
2179
2198
  context[:gem_name] = 'aws-sdk-greengrassv2'
2180
- context[:gem_version] = '1.50.0'
2199
+ context[:gem_version] = '1.51.0'
2181
2200
  Seahorse::Client::Request.new(handlers, context)
2182
2201
  end
2183
2202
 
@@ -63,6 +63,7 @@ module Aws::GreengrassV2
63
63
  CoreDevice = Shapes::StructureShape.new(name: 'CoreDevice')
64
64
  CoreDeviceArchitectureString = Shapes::StringShape.new(name: 'CoreDeviceArchitectureString')
65
65
  CoreDevicePlatformString = Shapes::StringShape.new(name: 'CoreDevicePlatformString')
66
+ CoreDeviceRuntimeString = Shapes::StringShape.new(name: 'CoreDeviceRuntimeString')
66
67
  CoreDeviceStatus = Shapes::StringShape.new(name: 'CoreDeviceStatus')
67
68
  CoreDeviceThingName = Shapes::StringShape.new(name: 'CoreDeviceThingName')
68
69
  CoreDevicesList = Shapes::ListShape.new(name: 'CoreDevicesList')
@@ -361,6 +362,9 @@ module Aws::GreengrassV2
361
362
  CoreDevice.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, location_name: "coreDeviceThingName"))
362
363
  CoreDevice.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location_name: "status"))
363
364
  CoreDevice.add_member(:last_status_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusUpdateTimestamp"))
365
+ CoreDevice.add_member(:platform, Shapes::ShapeRef.new(shape: CoreDevicePlatformString, location_name: "platform"))
366
+ CoreDevice.add_member(:architecture, Shapes::ShapeRef.new(shape: CoreDeviceArchitectureString, location_name: "architecture"))
367
+ CoreDevice.add_member(:runtime, Shapes::ShapeRef.new(shape: CoreDeviceRuntimeString, location_name: "runtime"))
364
368
  CoreDevice.struct_class = Types::CoreDevice
365
369
 
366
370
  CoreDevicesList.member = Shapes::ShapeRef.new(shape: CoreDevice)
@@ -517,6 +521,7 @@ module Aws::GreengrassV2
517
521
  GetCoreDeviceResponse.add_member(:core_version, Shapes::ShapeRef.new(shape: GGCVersion, location_name: "coreVersion"))
518
522
  GetCoreDeviceResponse.add_member(:platform, Shapes::ShapeRef.new(shape: CoreDevicePlatformString, location_name: "platform"))
519
523
  GetCoreDeviceResponse.add_member(:architecture, Shapes::ShapeRef.new(shape: CoreDeviceArchitectureString, location_name: "architecture"))
524
+ GetCoreDeviceResponse.add_member(:runtime, Shapes::ShapeRef.new(shape: CoreDeviceRuntimeString, location_name: "runtime"))
520
525
  GetCoreDeviceResponse.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location_name: "status"))
521
526
  GetCoreDeviceResponse.add_member(:last_status_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusUpdateTimestamp"))
522
527
  GetCoreDeviceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -681,6 +686,7 @@ module Aws::GreengrassV2
681
686
  ListCoreDevicesRequest.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location: "querystring", location_name: "status"))
682
687
  ListCoreDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
683
688
  ListCoreDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
689
+ ListCoreDevicesRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: CoreDeviceRuntimeString, location: "querystring", location_name: "runtime"))
684
690
  ListCoreDevicesRequest.struct_class = Types::ListCoreDevicesRequest
685
691
 
686
692
  ListCoreDevicesResponse.add_member(:core_devices, Shapes::ShapeRef.new(shape: CoreDevicesList, location_name: "coreDevices"))
@@ -709,12 +709,31 @@ module Aws::GreengrassV2
709
709
  # in ISO 8601 format.
710
710
  # @return [Time]
711
711
  #
712
+ # @!attribute [rw] platform
713
+ # The operating system platform that the core device runs.
714
+ # @return [String]
715
+ #
716
+ # @!attribute [rw] architecture
717
+ # The computer architecture of the core device.
718
+ # @return [String]
719
+ #
720
+ # @!attribute [rw] runtime
721
+ # The runtime for the core device. The runtime can be:
722
+ #
723
+ # * `aws_nucleus_classic`
724
+ #
725
+ # * `aws_nucleus_lite`
726
+ # @return [String]
727
+ #
712
728
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CoreDevice AWS API Documentation
713
729
  #
714
730
  class CoreDevice < Struct.new(
715
731
  :core_device_thing_name,
716
732
  :status,
717
- :last_status_update_timestamp)
733
+ :last_status_update_timestamp,
734
+ :platform,
735
+ :architecture,
736
+ :runtime)
718
737
  SENSITIVE = []
719
738
  include Aws::Structure
720
739
  end
@@ -1612,6 +1631,14 @@ module Aws::GreengrassV2
1612
1631
  # The computer architecture of the core device.
1613
1632
  # @return [String]
1614
1633
  #
1634
+ # @!attribute [rw] runtime
1635
+ # The runtime for the core device. The runtime can be:
1636
+ #
1637
+ # * `aws_nucleus_classic`
1638
+ #
1639
+ # * `aws_nucleus_lite`
1640
+ # @return [String]
1641
+ #
1615
1642
  # @!attribute [rw] status
1616
1643
  # The status of the core device. The core device status can be:
1617
1644
  #
@@ -1644,6 +1671,7 @@ module Aws::GreengrassV2
1644
1671
  :core_version,
1645
1672
  :platform,
1646
1673
  :architecture,
1674
+ :runtime,
1647
1675
  :status,
1648
1676
  :last_status_update_timestamp,
1649
1677
  :tags)
@@ -2504,13 +2532,22 @@ module Aws::GreengrassV2
2504
2532
  # The token to be used for the next set of paginated results.
2505
2533
  # @return [String]
2506
2534
  #
2535
+ # @!attribute [rw] runtime
2536
+ # The runtime to be used by the core device. The runtime can be:
2537
+ #
2538
+ # * `aws_nucleus_classic`
2539
+ #
2540
+ # * `aws_nucleus_lite`
2541
+ # @return [String]
2542
+ #
2507
2543
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListCoreDevicesRequest AWS API Documentation
2508
2544
  #
2509
2545
  class ListCoreDevicesRequest < Struct.new(
2510
2546
  :thing_group_arn,
2511
2547
  :status,
2512
2548
  :max_results,
2513
- :next_token)
2549
+ :next_token,
2550
+ :runtime)
2514
2551
  SENSITIVE = []
2515
2552
  include Aws::Structure
2516
2553
  end
@@ -54,7 +54,7 @@ module Aws::GreengrassV2
54
54
  autoload :EndpointProvider, 'aws-sdk-greengrassv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-greengrassv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.50.0'
57
+ GEM_VERSION = '1.51.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -350,6 +350,7 @@ module Aws
350
350
  def core_version: () -> ::String
351
351
  def platform: () -> ::String
352
352
  def architecture: () -> ::String
353
+ def runtime: () -> ::String
353
354
  def status: () -> ("HEALTHY" | "UNHEALTHY")
354
355
  def last_status_update_timestamp: () -> ::Time
355
356
  def tags: () -> ::Hash[::String, ::String]
@@ -442,7 +443,8 @@ module Aws
442
443
  ?thing_group_arn: ::String,
443
444
  ?status: ("HEALTHY" | "UNHEALTHY"),
444
445
  ?max_results: ::Integer,
445
- ?next_token: ::String
446
+ ?next_token: ::String,
447
+ ?runtime: ::String
446
448
  ) -> _ListCoreDevicesResponseSuccess
447
449
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreDevicesResponseSuccess
448
450
 
data/sig/types.rbs CHANGED
@@ -164,6 +164,9 @@ module Aws::GreengrassV2
164
164
  attr_accessor core_device_thing_name: ::String
165
165
  attr_accessor status: ("HEALTHY" | "UNHEALTHY")
166
166
  attr_accessor last_status_update_timestamp: ::Time
167
+ attr_accessor platform: ::String
168
+ attr_accessor architecture: ::String
169
+ attr_accessor runtime: ::String
167
170
  SENSITIVE: []
168
171
  end
169
172
 
@@ -361,6 +364,7 @@ module Aws::GreengrassV2
361
364
  attr_accessor core_version: ::String
362
365
  attr_accessor platform: ::String
363
366
  attr_accessor architecture: ::String
367
+ attr_accessor runtime: ::String
364
368
  attr_accessor status: ("HEALTHY" | "UNHEALTHY")
365
369
  attr_accessor last_status_update_timestamp: ::Time
366
370
  attr_accessor tags: ::Hash[::String, ::String]
@@ -559,6 +563,7 @@ module Aws::GreengrassV2
559
563
  attr_accessor status: ("HEALTHY" | "UNHEALTHY")
560
564
  attr_accessor max_results: ::Integer
561
565
  attr_accessor next_token: ::String
566
+ attr_accessor runtime: ::String
562
567
  SENSITIVE: []
563
568
  end
564
569
 
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.50.0
4
+ version: 1.51.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core