aws-sdk-greengrassv2 1.36.0 → 1.37.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: dc7e3c2118dc549bfbf9908424da4710e15db7d4a03d4c31c49d5b16ac56ebe0
4
+ data.tar.gz: e5f39f319e2f85ad2610a1bd160cf337821075d0c30c06c151902c23fc5b6dda
5
5
  SHA512:
6
- metadata.gz: c72320678abf5f2553c11c390cfb43b6c561aff7a3d81fa71cfd4e4f674843b8d922dfbb00a42c73e657f9cab4de8c177acd1818ad25b428f35592edb4e5a6be
7
- data.tar.gz: b7f2e0ecf6c1d1358da1b58dde9e251c0feaadacb503cf3c5c6b705cf258ada3d608ec39dc95fb32aea24a6766137bc7d298e8a8344ca4ea9f9746b6b09ed7d1
6
+ metadata.gz: 107d34f0534eba584bd510964fbbb03ed45dd24c9f6521d7559e59be59a9b6440d8bdfd2734d3a47fa2af02a6ec38de0a133738793878db97131f76d9a7d0633
7
+ data.tar.gz: 2ac5f843d6e273d034e6ef086c3075b822222aa6916823b44a271ff3555270588ed0b09c47629802443c011c26bd7b62c91af046f0c6306b9ef8649ae0848c96
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2024-05-10)
5
+ ------------------
6
+
7
+ * Feature - Mark ComponentVersion in ComponentDeploymentSpecification as required.
8
+
4
9
  1.36.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -611,26 +611,9 @@ module Aws::GreengrassV2
611
611
  # migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass
612
612
  # V2.
613
613
  #
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`
614
+ # This function accepts Lambda functions in all supported versions of
615
+ # Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply
616
+ # any additional restrictions on deprecated Lambda runtime versions.
634
617
  #
635
618
  # To create a component from a Lambda function, specify
636
619
  # `lambdaFunction` when you call this operation.
@@ -866,7 +849,7 @@ module Aws::GreengrassV2
866
849
  # deployment_name: "DeploymentNameString",
867
850
  # components: {
868
851
  # "NonEmptyString" => {
869
- # component_version: "ComponentVersionString",
852
+ # component_version: "ComponentVersionString", # required
870
853
  # configuration_update: {
871
854
  # merge: "ComponentConfigurationString",
872
855
  # reset: ["ComponentConfigurationPath"],
@@ -1186,6 +1169,20 @@ module Aws::GreengrassV2
1186
1169
  #
1187
1170
  # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_GetComponent.html
1188
1171
  #
1172
+ # @option params [String] :s3_endpoint_type
1173
+ # Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
1174
+ #
1175
+ # All Amazon Web Services Regions except US East (N. Virginia) use
1176
+ # `REGIONAL` in all cases. In the US East (N. Virginia) Region the
1177
+ # default is `GLOBAL`, but you can change it to `REGIONAL` with this
1178
+ # parameter.
1179
+ #
1180
+ # @option params [String] :iot_endpoint_type
1181
+ # Determines if the Amazon S3 URL returned is a FIPS pre-signed URL
1182
+ # endpoint. Specify `fips` if you want the returned Amazon S3 pre-signed
1183
+ # URL to point to an Amazon S3 FIPS endpoint. If you don't specify a
1184
+ # value, the default is `standard`.
1185
+ #
1189
1186
  # @return [Types::GetComponentVersionArtifactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1190
1187
  #
1191
1188
  # * {Types::GetComponentVersionArtifactResponse#pre_signed_url #pre_signed_url} => String
@@ -1195,6 +1192,8 @@ module Aws::GreengrassV2
1195
1192
  # resp = client.get_component_version_artifact({
1196
1193
  # arn: "ComponentVersionARN", # required
1197
1194
  # artifact_name: "NonEmptyString", # required
1195
+ # s3_endpoint_type: "REGIONAL", # accepts REGIONAL, GLOBAL
1196
+ # iot_endpoint_type: "fips", # accepts fips, standard
1198
1197
  # })
1199
1198
  #
1200
1199
  # @example Response structure
@@ -1699,6 +1698,8 @@ module Aws::GreengrassV2
1699
1698
  # @option params [Integer] :max_results
1700
1699
  # The maximum number of results to be returned per paginated request.
1701
1700
  #
1701
+ # Default: `50`
1702
+ #
1702
1703
  # @option params [String] :next_token
1703
1704
  # The token to be used for the next set of paginated results.
1704
1705
  #
@@ -2136,7 +2137,7 @@ module Aws::GreengrassV2
2136
2137
  params: params,
2137
2138
  config: config)
2138
2139
  context[:gem_name] = 'aws-sdk-greengrassv2'
2139
- context[:gem_version] = '1.36.0'
2140
+ context[:gem_version] = '1.37.0'
2140
2141
  Seahorse::Client::Request.new(handlers, context)
2141
2142
  end
2142
2143
 
@@ -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.37.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.37.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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core