aws-sdk-greengrassv2 1.50.0 → 1.52.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 +44 -2
- data/lib/aws-sdk-greengrassv2/client_api.rb +6 -0
- data/lib/aws-sdk-greengrassv2/types.rb +39 -2
- data/lib/aws-sdk-greengrassv2.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bd203772c3db8c983aa657088abc3e1f695e6de6bb8ca5d54dfe586c7c04682
|
4
|
+
data.tar.gz: 1111caa86744a227a3a215898d0639844f44a94416cde0a0e4ee6d2b9f224244
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0508268c5f0c292af2d7ae8b8e5a538f6ee587791a98290377b4851821a1cf63c7833df20deaa496618d7e8caa4abbc87fbb529d2f9ac1b03840163561b83eab'
|
7
|
+
data.tar.gz: 2eed41617c1bb1317d99d225987077fb1d9cba18744eee59009b4cd56aef8573ca9cd249a8cbdc66960e02c3e1d964e1fce132c5d4ac1e42328dc692e0899621
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.52.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.51.0 (2024-12-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for runtime in GetCoreDevice and ListCoreDevices APIs.
|
13
|
+
|
4
14
|
1.50.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
@@ -257,11 +257,34 @@ module Aws::GreengrassV2
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -1330,6 +1353,7 @@ module Aws::GreengrassV2
|
|
1330
1353
|
# * {Types::GetCoreDeviceResponse#core_version #core_version} => String
|
1331
1354
|
# * {Types::GetCoreDeviceResponse#platform #platform} => String
|
1332
1355
|
# * {Types::GetCoreDeviceResponse#architecture #architecture} => String
|
1356
|
+
# * {Types::GetCoreDeviceResponse#runtime #runtime} => String
|
1333
1357
|
# * {Types::GetCoreDeviceResponse#status #status} => String
|
1334
1358
|
# * {Types::GetCoreDeviceResponse#last_status_update_timestamp #last_status_update_timestamp} => Time
|
1335
1359
|
# * {Types::GetCoreDeviceResponse#tags #tags} => Hash<String,String>
|
@@ -1346,6 +1370,7 @@ module Aws::GreengrassV2
|
|
1346
1370
|
# resp.core_version #=> String
|
1347
1371
|
# resp.platform #=> String
|
1348
1372
|
# resp.architecture #=> String
|
1373
|
+
# resp.runtime #=> String
|
1349
1374
|
# resp.status #=> String, one of "HEALTHY", "UNHEALTHY"
|
1350
1375
|
# resp.last_status_update_timestamp #=> Time
|
1351
1376
|
# resp.tags #=> Hash
|
@@ -1628,7 +1653,13 @@ module Aws::GreengrassV2
|
|
1628
1653
|
# * When the core device receives a deployment from the Amazon Web
|
1629
1654
|
# Services Cloud
|
1630
1655
|
#
|
1631
|
-
# *
|
1656
|
+
# * For Greengrass nucleus 2.12.2 and earlier, the core device sends
|
1657
|
+
# status updates when the status of any component on the core device
|
1658
|
+
# becomes `ERRORED` or `BROKEN`.
|
1659
|
+
#
|
1660
|
+
# * For Greengrass nucleus 2.12.3 and later, the core device sends
|
1661
|
+
# status updates when the status of any component on the core device
|
1662
|
+
# becomes `ERRORED`, `BROKEN`, `RUNNING`, or `FINISHED`.
|
1632
1663
|
#
|
1633
1664
|
# * At a [regular interval that you can configure][1], which defaults to
|
1634
1665
|
# 24 hours
|
@@ -1670,6 +1701,13 @@ module Aws::GreengrassV2
|
|
1670
1701
|
# @option params [String] :next_token
|
1671
1702
|
# The token to be used for the next set of paginated results.
|
1672
1703
|
#
|
1704
|
+
# @option params [String] :runtime
|
1705
|
+
# The runtime to be used by the core device. The runtime can be:
|
1706
|
+
#
|
1707
|
+
# * `aws_nucleus_classic`
|
1708
|
+
#
|
1709
|
+
# * `aws_nucleus_lite`
|
1710
|
+
#
|
1673
1711
|
# @return [Types::ListCoreDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1674
1712
|
#
|
1675
1713
|
# * {Types::ListCoreDevicesResponse#core_devices #core_devices} => Array<Types::CoreDevice>
|
@@ -1684,6 +1722,7 @@ module Aws::GreengrassV2
|
|
1684
1722
|
# status: "HEALTHY", # accepts HEALTHY, UNHEALTHY
|
1685
1723
|
# max_results: 1,
|
1686
1724
|
# next_token: "NextTokenString",
|
1725
|
+
# runtime: "CoreDeviceRuntimeString",
|
1687
1726
|
# })
|
1688
1727
|
#
|
1689
1728
|
# @example Response structure
|
@@ -1692,6 +1731,9 @@ module Aws::GreengrassV2
|
|
1692
1731
|
# resp.core_devices[0].core_device_thing_name #=> String
|
1693
1732
|
# resp.core_devices[0].status #=> String, one of "HEALTHY", "UNHEALTHY"
|
1694
1733
|
# resp.core_devices[0].last_status_update_timestamp #=> Time
|
1734
|
+
# resp.core_devices[0].platform #=> String
|
1735
|
+
# resp.core_devices[0].architecture #=> String
|
1736
|
+
# resp.core_devices[0].runtime #=> String
|
1695
1737
|
# resp.next_token #=> String
|
1696
1738
|
#
|
1697
1739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListCoreDevices AWS API Documentation
|
@@ -2177,7 +2219,7 @@ module Aws::GreengrassV2
|
|
2177
2219
|
tracer: tracer
|
2178
2220
|
)
|
2179
2221
|
context[:gem_name] = 'aws-sdk-greengrassv2'
|
2180
|
-
context[:gem_version] = '1.
|
2222
|
+
context[:gem_version] = '1.52.0'
|
2181
2223
|
Seahorse::Client::Request.new(handlers, context)
|
2182
2224
|
end
|
2183
2225
|
|
@@ -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
|
data/lib/aws-sdk-greengrassv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -350,6 +352,7 @@ module Aws
|
|
350
352
|
def core_version: () -> ::String
|
351
353
|
def platform: () -> ::String
|
352
354
|
def architecture: () -> ::String
|
355
|
+
def runtime: () -> ::String
|
353
356
|
def status: () -> ("HEALTHY" | "UNHEALTHY")
|
354
357
|
def last_status_update_timestamp: () -> ::Time
|
355
358
|
def tags: () -> ::Hash[::String, ::String]
|
@@ -442,7 +445,8 @@ module Aws
|
|
442
445
|
?thing_group_arn: ::String,
|
443
446
|
?status: ("HEALTHY" | "UNHEALTHY"),
|
444
447
|
?max_results: ::Integer,
|
445
|
-
?next_token: ::String
|
448
|
+
?next_token: ::String,
|
449
|
+
?runtime: ::String
|
446
450
|
) -> _ListCoreDevicesResponseSuccess
|
447
451
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreDevicesResponseSuccess
|
448
452
|
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.
|
4
|
+
version: 1.52.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:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|