aws-sdk-greengrassv2 1.36.0 → 1.38.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: 33bb7dcc52d94dcacd78bdd2a224ba0577777661f7c81486267f5d994db02bb7
4
- data.tar.gz: a99dcda1bc0223623bf9fd9db8714aa559c4e488d07ed710097452c8c9cc319f
3
+ metadata.gz: 3ae1d8cbdc09f22396a4ec0b8b993a4a216bc7e689dcc90e993bab95eee1d588
4
+ data.tar.gz: 4eed568047da3dba0a4c6b642c1be29ded85297e72d910ce92779715f56c4c21
5
5
  SHA512:
6
- metadata.gz: c72320678abf5f2553c11c390cfb43b6c561aff7a3d81fa71cfd4e4f674843b8d922dfbb00a42c73e657f9cab4de8c177acd1818ad25b428f35592edb4e5a6be
7
- data.tar.gz: b7f2e0ecf6c1d1358da1b58dde9e251c0feaadacb503cf3c5c6b705cf258ada3d608ec39dc95fb32aea24a6766137bc7d298e8a8344ca4ea9f9746b6b09ed7d1
6
+ metadata.gz: 83b0b37a59fb2bcffbd64ec545e763a267e47506568fd67b101f28ccc5d9cdbb47ad4ab0c508c563a2552760b90d2b96c465108e60f911bd5622de226219eac8
7
+ data.tar.gz: c74a775a5833ed29aa2c815909a97214319d9a2141a5314107dbf7051aa8a89ffb64f942b00b5b21926a4ef4653da813c80a610d757d42d5b6668bd0799d8d2e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.37.0 (2024-05-10)
10
+ ------------------
11
+
12
+ * Feature - Mark ComponentVersion in ComponentDeploymentSpecification as required.
13
+
4
14
  1.36.0 (2024-04-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.38.0
@@ -301,8 +301,9 @@ module Aws::GreengrassV2
301
301
  #
302
302
  # @option options [String] :sdk_ua_app_id
303
303
  # A unique and opaque application ID that is appended to the
304
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
305
- # maximum length of 50.
304
+ # User-Agent header as app/sdk_ua_app_id. It should have a
305
+ # maximum length of 50. This variable is sourced from environment
306
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
306
307
  #
307
308
  # @option options [String] :secret_access_key
308
309
  #
@@ -611,26 +612,9 @@ module Aws::GreengrassV2
611
612
  # migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass
612
613
  # V2.
613
614
  #
614
- # This function only accepts Lambda functions that use the following
615
- # runtimes:
616
- #
617
- # * Python 2.7 – `python2.7`
618
- #
619
- # * Python 3.7 – `python3.7`
620
- #
621
- # * Python 3.8 – `python3.8`
622
- #
623
- # * Python 3.9 – `python3.9`
624
- #
625
- # * Java 8 – `java8`
626
- #
627
- # * Java 11 – `java11`
628
- #
629
- # * Node.js 10 – `nodejs10.x`
630
- #
631
- # * Node.js 12 – `nodejs12.x`
632
- #
633
- # * Node.js 14 – `nodejs14.x`
615
+ # This function accepts Lambda functions in all supported versions of
616
+ # Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply
617
+ # any additional restrictions on deprecated Lambda runtime versions.
634
618
  #
635
619
  # To create a component from a Lambda function, specify
636
620
  # `lambdaFunction` when you call this operation.
@@ -866,7 +850,7 @@ module Aws::GreengrassV2
866
850
  # deployment_name: "DeploymentNameString",
867
851
  # components: {
868
852
  # "NonEmptyString" => {
869
- # component_version: "ComponentVersionString",
853
+ # component_version: "ComponentVersionString", # required
870
854
  # configuration_update: {
871
855
  # merge: "ComponentConfigurationString",
872
856
  # reset: ["ComponentConfigurationPath"],
@@ -1186,6 +1170,20 @@ module Aws::GreengrassV2
1186
1170
  #
1187
1171
  # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_GetComponent.html
1188
1172
  #
1173
+ # @option params [String] :s3_endpoint_type
1174
+ # Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
1175
+ #
1176
+ # All Amazon Web Services Regions except US East (N. Virginia) use
1177
+ # `REGIONAL` in all cases. In the US East (N. Virginia) Region the
1178
+ # default is `GLOBAL`, but you can change it to `REGIONAL` with this
1179
+ # parameter.
1180
+ #
1181
+ # @option params [String] :iot_endpoint_type
1182
+ # Determines if the Amazon S3 URL returned is a FIPS pre-signed URL
1183
+ # endpoint. Specify `fips` if you want the returned Amazon S3 pre-signed
1184
+ # URL to point to an Amazon S3 FIPS endpoint. If you don't specify a
1185
+ # value, the default is `standard`.
1186
+ #
1189
1187
  # @return [Types::GetComponentVersionArtifactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1190
1188
  #
1191
1189
  # * {Types::GetComponentVersionArtifactResponse#pre_signed_url #pre_signed_url} => String
@@ -1195,6 +1193,8 @@ module Aws::GreengrassV2
1195
1193
  # resp = client.get_component_version_artifact({
1196
1194
  # arn: "ComponentVersionARN", # required
1197
1195
  # artifact_name: "NonEmptyString", # required
1196
+ # s3_endpoint_type: "REGIONAL", # accepts REGIONAL, GLOBAL
1197
+ # iot_endpoint_type: "fips", # accepts fips, standard
1198
1198
  # })
1199
1199
  #
1200
1200
  # @example Response structure
@@ -1699,6 +1699,8 @@ module Aws::GreengrassV2
1699
1699
  # @option params [Integer] :max_results
1700
1700
  # The maximum number of results to be returned per paginated request.
1701
1701
  #
1702
+ # Default: `50`
1703
+ #
1702
1704
  # @option params [String] :next_token
1703
1705
  # The token to be used for the next set of paginated results.
1704
1706
  #
@@ -2136,7 +2138,7 @@ module Aws::GreengrassV2
2136
2138
  params: params,
2137
2139
  config: config)
2138
2140
  context[:gem_name] = 'aws-sdk-greengrassv2'
2139
- context[:gem_version] = '1.36.0'
2141
+ context[:gem_version] = '1.38.0'
2140
2142
  Seahorse::Client::Request.new(handlers, context)
2141
2143
  end
2142
2144
 
@@ -145,6 +145,7 @@ module Aws::GreengrassV2
145
145
  IoTJobRolloutIncrementFactor = Shapes::FloatShape.new(name: 'IoTJobRolloutIncrementFactor')
146
146
  IoTJobTimeoutConfig = Shapes::StructureShape.new(name: 'IoTJobTimeoutConfig')
147
147
  IoTThingName = Shapes::StringShape.new(name: 'IoTThingName')
148
+ IotEndpointType = Shapes::StringShape.new(name: 'IotEndpointType')
148
149
  IsLatestForTarget = Shapes::BooleanShape.new(name: 'IsLatestForTarget')
149
150
  IsRoot = Shapes::BooleanShape.new(name: 'IsRoot')
150
151
  LambdaContainerParams = Shapes::StructureShape.new(name: 'LambdaContainerParams')
@@ -200,6 +201,7 @@ module Aws::GreengrassV2
200
201
  ResolvedComponentVersionsList = Shapes::ListShape.new(name: 'ResolvedComponentVersionsList')
201
202
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
202
203
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
204
+ S3EndpointType = Shapes::StringShape.new(name: 'S3EndpointType')
203
205
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
204
206
  String = Shapes::StringShape.new(name: 'String')
205
207
  StringMap = Shapes::MapShape.new(name: 'StringMap')
@@ -305,7 +307,7 @@ module Aws::GreengrassV2
305
307
  ComponentDependencyRequirement.add_member(:dependency_type, Shapes::ShapeRef.new(shape: ComponentDependencyType, location_name: "dependencyType"))
306
308
  ComponentDependencyRequirement.struct_class = Types::ComponentDependencyRequirement
307
309
 
308
- ComponentDeploymentSpecification.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
310
+ ComponentDeploymentSpecification.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, required: true, location_name: "componentVersion"))
309
311
  ComponentDeploymentSpecification.add_member(:configuration_update, Shapes::ShapeRef.new(shape: ComponentConfigurationUpdate, location_name: "configurationUpdate"))
310
312
  ComponentDeploymentSpecification.add_member(:run_with, Shapes::ShapeRef.new(shape: ComponentRunWith, location_name: "runWith"))
311
313
  ComponentDeploymentSpecification.struct_class = Types::ComponentDeploymentSpecification
@@ -493,6 +495,8 @@ module Aws::GreengrassV2
493
495
 
494
496
  GetComponentVersionArtifactRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, required: true, location: "uri", location_name: "arn"))
495
497
  GetComponentVersionArtifactRequest.add_member(:artifact_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "artifactName"))
498
+ GetComponentVersionArtifactRequest.add_member(:s3_endpoint_type, Shapes::ShapeRef.new(shape: S3EndpointType, location: "querystring", location_name: "s3EndpointType"))
499
+ GetComponentVersionArtifactRequest.add_member(:iot_endpoint_type, Shapes::ShapeRef.new(shape: IotEndpointType, location: "header", location_name: "x-amz-iot-endpoint-type"))
496
500
  GetComponentVersionArtifactRequest.struct_class = Types::GetComponentVersionArtifactRequest
497
501
 
498
502
  GetComponentVersionArtifactResponse.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "preSignedUrl"))
@@ -814,6 +818,7 @@ module Aws::GreengrassV2
814
818
  "apiVersion" => "2020-11-30",
815
819
  "endpointPrefix" => "greengrass",
816
820
  "protocol" => "rest-json",
821
+ "protocols" => ["rest-json"],
817
822
  "serviceAbbreviation" => "AWS GreengrassV2",
818
823
  "serviceFullName" => "AWS IoT Greengrass V2",
819
824
  "serviceId" => "GreengrassV2",
@@ -32,7 +32,7 @@ module Aws::GreengrassV2
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
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"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
38
  end
@@ -1507,11 +1507,30 @@ module Aws::GreengrassV2
1507
1507
  # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_GetComponent.html
1508
1508
  # @return [String]
1509
1509
  #
1510
+ # @!attribute [rw] s3_endpoint_type
1511
+ # Specifies the endpoint to use when getting Amazon S3 pre-signed
1512
+ # URLs.
1513
+ #
1514
+ # All Amazon Web Services Regions except US East (N. Virginia) use
1515
+ # `REGIONAL` in all cases. In the US East (N. Virginia) Region the
1516
+ # default is `GLOBAL`, but you can change it to `REGIONAL` with this
1517
+ # parameter.
1518
+ # @return [String]
1519
+ #
1520
+ # @!attribute [rw] iot_endpoint_type
1521
+ # Determines if the Amazon S3 URL returned is a FIPS pre-signed URL
1522
+ # endpoint. Specify `fips` if you want the returned Amazon S3
1523
+ # pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't
1524
+ # specify a value, the default is `standard`.
1525
+ # @return [String]
1526
+ #
1510
1527
  # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetComponentVersionArtifactRequest AWS API Documentation
1511
1528
  #
1512
1529
  class GetComponentVersionArtifactRequest < Struct.new(
1513
1530
  :arn,
1514
- :artifact_name)
1531
+ :artifact_name,
1532
+ :s3_endpoint_type,
1533
+ :iot_endpoint_type)
1515
1534
  SENSITIVE = []
1516
1535
  include Aws::Structure
1517
1536
  end
@@ -1816,8 +1835,8 @@ module Aws::GreengrassV2
1816
1835
  # @!attribute [rw] last_installation_source
1817
1836
  # The most recent deployment source that brought the component to the
1818
1837
  # Greengrass core device. For a thing group deployment or thing
1819
- # deployment, the source will be the The ID of the deployment. and for
1820
- # local deployments it will be `LOCAL`.
1838
+ # deployment, the source will be the ID of the last deployment that
1839
+ # contained the component. For local deployments it will be `LOCAL`.
1821
1840
  #
1822
1841
  # <note markdown="1"> Any deployment will attempt to reinstall currently broken components
1823
1842
  # on the device, which will update the last installation source.
@@ -2544,6 +2563,8 @@ module Aws::GreengrassV2
2544
2563
  #
2545
2564
  # @!attribute [rw] max_results
2546
2565
  # The maximum number of results to be returned per paginated request.
2566
+ #
2567
+ # Default: `50`
2547
2568
  # @return [Integer]
2548
2569
  #
2549
2570
  # @!attribute [rw] next_token
@@ -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.36.0'
55
+ GEM_VERSION = '1.38.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -203,7 +203,7 @@ module Aws
203
203
  target_arn: ::String,
204
204
  ?deployment_name: ::String,
205
205
  ?components: Hash[::String, {
206
- component_version: ::String?,
206
+ component_version: ::String,
207
207
  configuration_update: {
208
208
  merge: ::String?,
209
209
  reset: Array[::String]?
@@ -324,7 +324,9 @@ module Aws
324
324
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_component_version_artifact-instance_method
325
325
  def get_component_version_artifact: (
326
326
  arn: ::String,
327
- artifact_name: ::String
327
+ artifact_name: ::String,
328
+ ?s3_endpoint_type: ("REGIONAL" | "GLOBAL"),
329
+ ?iot_endpoint_type: ("fips" | "standard")
328
330
  ) -> _GetComponentVersionArtifactResponseSuccess
329
331
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetComponentVersionArtifactResponseSuccess
330
332
 
data/sig/types.rbs CHANGED
@@ -330,6 +330,8 @@ module Aws::GreengrassV2
330
330
  class GetComponentVersionArtifactRequest
331
331
  attr_accessor arn: ::String
332
332
  attr_accessor artifact_name: ::String
333
+ attr_accessor s3_endpoint_type: ("REGIONAL" | "GLOBAL")
334
+ attr_accessor iot_endpoint_type: ("fips" | "standard")
333
335
  SENSITIVE: []
334
336
  end
335
337
 
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.36.0
4
+ version: 1.38.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-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core