aws-sdk-greengrassv2 1.24.0 → 1.26.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: c38b169e821eeaa1864f537346e53a92d23f0dbf9b2c99868f8369aeff4b096b
4
- data.tar.gz: a1ac12f7e5c4a25bb4b591f66309f5604c54959f64a281dd8bd496df98dd0749
3
+ metadata.gz: f82b9b75a6be3b20703db0657768a0508d91da9c65c9e869a3822120c1918ab3
4
+ data.tar.gz: cc22e883dc2f7b99ec4bdf491d10745011425bda6865ca4130fcfbb37364e1cb
5
5
  SHA512:
6
- metadata.gz: a825b1fe6524c17f988f04ab90ef41a7eec2d765c50dd2b09f654b1709570d7c244b036a572ea3ebdefa812c0ff7bdf97740338757507b9e8251b69d3c270e47
7
- data.tar.gz: aabc16a762bc62c74c2f9ee45cb3994bec57aa0a0c5be6ca366fd177728996426daadb205cbcb4e0e59764b2fb929eecf99794f638cfb0469f812e376fe48091
6
+ metadata.gz: a8cf7eb3d303fe157be0214330a526f3ac0690131222ab2c35411ee70e758bec7688c2af36d18f0f40d5e7d9f3d70bd7480e83c1d4fb136388cccec0c2a8dd19
7
+ data.tar.gz: 4792bba86d99b26e74876f6689928654a99829a442beb6f2f25906489cc52f1b0a1dbd02d6356c7d3168d4f582ffc36289d1f4aad2c92fdae4c03ee1f6eb5d30
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.25.0 (2023-04-06)
10
+ ------------------
11
+
12
+ * Feature - Add support for SUCCEEDED value in coreDeviceExecutionStatus field. Documentation updates for Greengrass V2.
13
+
4
14
  1.24.0 (2023-01-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.26.0
@@ -275,6 +275,11 @@ module Aws::GreengrassV2
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -1733,7 +1738,7 @@ module Aws::GreengrassV2
1733
1738
  # resp.effective_deployments[0].iot_job_arn #=> String
1734
1739
  # resp.effective_deployments[0].description #=> String
1735
1740
  # resp.effective_deployments[0].target_arn #=> String
1736
- # resp.effective_deployments[0].core_device_execution_status #=> String, one of "IN_PROGRESS", "QUEUED", "FAILED", "COMPLETED", "TIMED_OUT", "CANCELED", "REJECTED"
1741
+ # resp.effective_deployments[0].core_device_execution_status #=> String, one of "IN_PROGRESS", "QUEUED", "FAILED", "COMPLETED", "TIMED_OUT", "CANCELED", "REJECTED", "SUCCEEDED"
1737
1742
  # resp.effective_deployments[0].reason #=> String
1738
1743
  # resp.effective_deployments[0].creation_timestamp #=> Time
1739
1744
  # resp.effective_deployments[0].modified_timestamp #=> Time
@@ -2092,7 +2097,7 @@ module Aws::GreengrassV2
2092
2097
  params: params,
2093
2098
  config: config)
2094
2099
  context[:gem_name] = 'aws-sdk-greengrassv2'
2095
- context[:gem_version] = '1.24.0'
2100
+ context[:gem_version] = '1.26.0'
2096
2101
  Seahorse::Client::Request.new(handlers, context)
2097
2102
  end
2098
2103
 
@@ -50,9 +50,6 @@ module Aws::GreengrassV2
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,54 +14,51 @@ module Aws::GreengrassV2
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
36
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
39
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
37
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
40
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
41
+ end
42
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
43
  end
41
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
45
  end
43
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
- end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
51
  end
49
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
- end
51
- if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-east-1")
52
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-east-1", "signingName"=>"greengrass"}]})
53
- end
54
- if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-west-1")
55
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"greengrass"}]})
56
- end
57
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
58
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
59
- end
60
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
61
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
52
+ if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-east-1")
53
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-east-1"}]})
54
+ end
55
+ if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-west-1")
56
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-west-1"}]})
57
+ end
58
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
62
59
  end
63
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
64
60
  end
61
+ raise ArgumentError, "Invalid Configuration: Missing Region"
65
62
  raise ArgumentError, 'No endpoint could be resolved'
66
63
 
67
64
  end
@@ -1342,6 +1342,28 @@ module Aws::GreengrassV2
1342
1342
  #
1343
1343
  # @!attribute [rw] core_device_execution_status
1344
1344
  # The status of the deployment job on the Greengrass core device.
1345
+ #
1346
+ # * `IN_PROGRESS` – The deployment job is running.
1347
+ #
1348
+ # * `QUEUED` – The deployment job is in the job queue and waiting to
1349
+ # run.
1350
+ #
1351
+ # * `FAILED` – The deployment failed. For more information, see the
1352
+ # `statusDetails` field.
1353
+ #
1354
+ # * `COMPLETED` – The deployment to an IoT thing was completed
1355
+ # successfully.
1356
+ #
1357
+ # * `TIMED_OUT` – The deployment didn't complete in the allotted
1358
+ # time.
1359
+ #
1360
+ # * `CANCELED` – The deployment was canceled by the user.
1361
+ #
1362
+ # * `REJECTED` – The deployment was rejected. For more information,
1363
+ # see the `statusDetails` field.
1364
+ #
1365
+ # * `SUCCEEDED` – The deployment to an IoT thing group was completed
1366
+ # successfully.
1345
1367
  # @return [String]
1346
1368
  #
1347
1369
  # @!attribute [rw] reason
@@ -1785,7 +1807,7 @@ module Aws::GreengrassV2
1785
1807
  #
1786
1808
  # @!attribute [rw] last_reported_timestamp
1787
1809
  # The last time the Greengrass core device sent a message containing a
1788
- # certain component to the Amazon Web Services Cloud.
1810
+ # component's state to the Amazon Web Services Cloud.
1789
1811
  #
1790
1812
  # A component does not need to see a state change for this field to
1791
1813
  # update.
@@ -1796,6 +1818,11 @@ module Aws::GreengrassV2
1796
1818
  # Greengrass core device. For a thing group deployment or thing
1797
1819
  # deployment, the source will be the The ID of the deployment. and for
1798
1820
  # local deployments it will be `LOCAL`.
1821
+ #
1822
+ # <note markdown="1"> Any deployment will attempt to reinstall currently broken components
1823
+ # on the device, which will update the last installation source.
1824
+ #
1825
+ # </note>
1799
1826
  # @return [String]
1800
1827
  #
1801
1828
  # @!attribute [rw] lifecycle_status_codes
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-greengrassv2/customizations'
52
52
  # @!group service
53
53
  module Aws::GreengrassV2
54
54
 
55
- GEM_VERSION = '1.24.0'
55
+ GEM_VERSION = '1.26.0'
56
56
 
57
57
  end
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.24.0
4
+ version: 1.26.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: 2023-01-27 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement