aws-sdk-greengrassv2 1.24.0 → 1.25.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: 899b4894e0e31d80962b6111e11e157d75fb10a3645aa33445e922847dc9207d
4
+ data.tar.gz: 1ad9fdc33ddc1703c9afd9fac001600e16baa533722d704bfcc7b0a8e2e6f1d6
5
5
  SHA512:
6
- metadata.gz: a825b1fe6524c17f988f04ab90ef41a7eec2d765c50dd2b09f654b1709570d7c244b036a572ea3ebdefa812c0ff7bdf97740338757507b9e8251b69d3c270e47
7
- data.tar.gz: aabc16a762bc62c74c2f9ee45cb3994bec57aa0a0c5be6ca366fd177728996426daadb205cbcb4e0e59764b2fb929eecf99794f638cfb0469f812e376fe48091
6
+ metadata.gz: f1b43aefff86758f926d9ae13ed026548024d9116a71e2e6547aa9678218ad46e6156d19a6b92e347e027c3495ed76defabcae0523032936643ed920ec667b87
7
+ data.tar.gz: 2b1925ffcb7b834b813f3280742405458ce9c4f7a2ed4901e41d19cf19a99d98bc56812096f6ef01d4f3153c54a254647f03de6bd6987b4875454135742b48f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2023-04-06)
5
+ ------------------
6
+
7
+ * Feature - Add support for SUCCEEDED value in coreDeviceExecutionStatus field. Documentation updates for Greengrass V2.
8
+
4
9
  1.24.0 (2023-01-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -1733,7 +1733,7 @@ module Aws::GreengrassV2
1733
1733
  # resp.effective_deployments[0].iot_job_arn #=> String
1734
1734
  # resp.effective_deployments[0].description #=> String
1735
1735
  # 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"
1736
+ # resp.effective_deployments[0].core_device_execution_status #=> String, one of "IN_PROGRESS", "QUEUED", "FAILED", "COMPLETED", "TIMED_OUT", "CANCELED", "REJECTED", "SUCCEEDED"
1737
1737
  # resp.effective_deployments[0].reason #=> String
1738
1738
  # resp.effective_deployments[0].creation_timestamp #=> Time
1739
1739
  # resp.effective_deployments[0].modified_timestamp #=> Time
@@ -2092,7 +2092,7 @@ module Aws::GreengrassV2
2092
2092
  params: params,
2093
2093
  config: config)
2094
2094
  context[:gem_name] = 'aws-sdk-greengrassv2'
2095
- context[:gem_version] = '1.24.0'
2095
+ context[:gem_version] = '1.25.0'
2096
2096
  Seahorse::Client::Request.new(handlers, context)
2097
2097
  end
2098
2098
 
@@ -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.25.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.25.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-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core