aws-sdk-greengrassv2 1.23.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 897013abd74bc3f7aa7eb01f7a33de70f3e002cfebd601760dab423d0c227a3c
4
- data.tar.gz: b891dcce984d1ece9bc5d873f50ee307181245e82ae7fa8f9ad9c6273f0ff0ad
3
+ metadata.gz: 899b4894e0e31d80962b6111e11e157d75fb10a3645aa33445e922847dc9207d
4
+ data.tar.gz: 1ad9fdc33ddc1703c9afd9fac001600e16baa533722d704bfcc7b0a8e2e6f1d6
5
5
  SHA512:
6
- metadata.gz: 02d4468195239e462f577c3eb3f22e896b9c1b5de990b4273ed0a0592f3bf3adfceee83e11ce0c5c4374b4798eb6f208a054a639b1886bb42dfca27728a685a5
7
- data.tar.gz: 3792d0623466925c25ab2c97487993260022f15a23504bde7abc75e8617d8e7bec9bdec77a627144d9c44fa04dbf289bfa16369ea7d050764073e36b7113f924
6
+ metadata.gz: f1b43aefff86758f926d9ae13ed026548024d9116a71e2e6547aa9678218ad46e6156d19a6b92e347e027c3495ed76defabcae0523032936643ed920ec667b87
7
+ data.tar.gz: 2b1925ffcb7b834b813f3280742405458ce9c4f7a2ed4901e41d19cf19a99d98bc56812096f6ef01d4f3153c54a254647f03de6bd6987b4875454135742b48f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.24.0 (2023-01-27)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS endpoints for GovCloud (US) in SDK.
13
+
4
14
  1.23.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.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.23.0'
2095
+ context[:gem_version] = '1.25.0'
2096
2096
  Seahorse::Client::Request.new(handlers, context)
2097
2097
  end
2098
2098
 
@@ -14,42 +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) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
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"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
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: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
19
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
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: {})
43
+ end
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
21
45
  end
22
46
  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: {})
26
- 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: {})
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"
30
51
  end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- 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
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dnsSuffix']}", 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"}]})
36
54
  end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
- end
39
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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"}]})
42
57
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
- end
45
- if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-east-1")
46
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
47
- end
48
- if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-west-1")
49
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
58
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
59
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
60
  end
61
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
62
  raise ArgumentError, 'No endpoint could be resolved'
54
63
 
55
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.23.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.23.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-18 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