aws-sdk-resourcegroups 1.58.0 → 1.60.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: 2d06359bf49019610512c48d1b4efa399c110f17cb914d51656eedf205d921ad
4
- data.tar.gz: 55125d3ea0615dd80351a568329a8d1fe5a02164312e27307711a4370c9d456c
3
+ metadata.gz: cbf1b1771e79389a745cfe8c19e0b760a8251bc986ce1b1623bb46b102e3d1a6
4
+ data.tar.gz: 73ab475b84e1eadd9865fd8b13c0db7761733eec0d0438b0aa3993b6400b40ae
5
5
  SHA512:
6
- metadata.gz: 9cd455eccc4bfbd69081e7d831bf9879d904fb5c7ea58f868991bfe1e893254f83d50a02fafdb43d3a0f83620c2a2e715339d37717b47e7d42006b09871a4833
7
- data.tar.gz: 89c42f481b5b9f6afb2f75e91a1c1bcb841b1ec8538eec2e89412326c99c79868e0d65173d9d288a22811594d778abfbd8f89d4e0a32598b41d411f09927bc42
6
+ metadata.gz: b1ab06f326acf74e4753b27953f069cf386704039c3aea0c67f4a73ce78a3b09f151d32ebdc0a843bee4050e58d6b9491891ce728eb1a85cd9d07ef05e4f59c1
7
+ data.tar.gz: '008eb173af48e3d9bf1715df2665c6328d8bded86505beeb91ce1def37cb52ab2690470b3910b95b12e27618dff1478bd1b5edea2c4bd7d8f91161968d086ae3'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.59.0 (2024-04-05)
10
+ ------------------
11
+
12
+ * Feature - Added a new QueryErrorCode RESOURCE_TYPE_NOT_SUPPORTED that is returned by the ListGroupResources operation if the group query contains unsupported resource types.
13
+
4
14
  1.58.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.60.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ResourceGroups
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ResourceGroups
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::ResourceGroups
337
346
  # @option options [Aws::ResourceGroups::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ResourceGroups::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
365
- #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
368
399
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
372
402
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
378
405
  #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -413,9 +437,10 @@ module Aws::ResourceGroups
413
437
  # The name of the group, which is the identifier of the group in other
414
438
  # operations. You can't change the name of a resource group after you
415
439
  # create it. A resource group name can consist of letters, numbers,
416
- # hyphens, periods, and underscores. The name cannot start with `AWS` or
417
- # `aws`; these are reserved. A resource group name must be unique within
418
- # each Amazon Web Services Region in your Amazon Web Services account.
440
+ # hyphens, periods, and underscores. The name cannot start with `AWS`,
441
+ # `aws`, or any other possible capitalization; these are reserved. A
442
+ # resource group name must be unique within each Amazon Web Services
443
+ # Region in your Amazon Web Services account.
419
444
  #
420
445
  # @option params [String] :description
421
446
  # The description of the resource group. Descriptions can consist of
@@ -936,7 +961,7 @@ module Aws::ResourceGroups
936
961
  # resp.resource_identifiers[0].resource_type #=> String
937
962
  # resp.next_token #=> String
938
963
  # resp.query_errors #=> Array
939
- # resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING", "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"
964
+ # resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING", "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE", "RESOURCE_TYPE_NOT_SUPPORTED"
940
965
  # resp.query_errors[0].message #=> String
941
966
  #
942
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResources AWS API Documentation
@@ -962,19 +987,28 @@ module Aws::ResourceGroups
962
987
  # Filters, formatted as GroupFilter objects, that you want to apply to a
963
988
  # `ListGroups` operation.
964
989
  #
965
- # * `resource-type` - Filter the results to include only those of the
966
- # specified resource types. Specify up to five resource types in the
967
- # format `AWS::ServiceCode::ResourceType `. For example,
968
- # `AWS::EC2::Instance`, or `AWS::S3::Bucket`.
990
+ # * `resource-type` - Filter the results to include only those resource
991
+ # groups that have the specified resource type in their
992
+ # `ResourceTypeFilter`. For example, `AWS::EC2::Instance` would return
993
+ # any resource group with a `ResourceTypeFilter` that includes
994
+ # `AWS::EC2::Instance`.
969
995
  #
970
996
  # * `configuration-type` - Filter the results to include only those
971
997
  # groups that have the specified configuration types attached. The
972
998
  # current supported values are:
973
999
  #
1000
+ # * `AWS::AppRegistry::Application`
1001
+ #
1002
+ # * `AWS::AppRegistry::ApplicationResourceGroups`
1003
+ #
1004
+ # * `AWS::CloudFormation::Stack`
1005
+ #
974
1006
  # * `AWS::EC2::CapacityReservationPool`
975
1007
  #
976
1008
  # * `AWS::EC2::HostManagement`
977
1009
  #
1010
+ # * `AWS::NetworkFirewall::RuleGroup`
1011
+ #
978
1012
  # @option params [Integer] :max_results
979
1013
  # The total number of results that you want included on each page of the
980
1014
  # response. If you do not include this parameter, it defaults to a value
@@ -1163,7 +1197,7 @@ module Aws::ResourceGroups
1163
1197
  # resp.resource_identifiers[0].resource_type #=> String
1164
1198
  # resp.next_token #=> String
1165
1199
  # resp.query_errors #=> Array
1166
- # resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING", "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE"
1200
+ # resp.query_errors[0].error_code #=> String, one of "CLOUDFORMATION_STACK_INACTIVE", "CLOUDFORMATION_STACK_NOT_EXISTING", "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE", "RESOURCE_TYPE_NOT_SUPPORTED"
1167
1201
  # resp.query_errors[0].message #=> String
1168
1202
  #
1169
1203
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResources AWS API Documentation
@@ -1490,7 +1524,7 @@ module Aws::ResourceGroups
1490
1524
  params: params,
1491
1525
  config: config)
1492
1526
  context[:gem_name] = 'aws-sdk-resourcegroups'
1493
- context[:gem_version] = '1.58.0'
1527
+ context[:gem_version] = '1.60.0'
1494
1528
  Seahorse::Client::Request.new(handlers, context)
1495
1529
  end
1496
1530
 
@@ -32,8 +32,8 @@ module Aws::ResourceGroups
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"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://resource-groups.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://resource-groups-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -53,10 +53,10 @@ module Aws::ResourceGroups
53
53
  # The name of the group, which is the identifier of the group in other
54
54
  # operations. You can't change the name of a resource group after you
55
55
  # create it. A resource group name can consist of letters, numbers,
56
- # hyphens, periods, and underscores. The name cannot start with `AWS`
57
- # or `aws`; these are reserved. A resource group name must be unique
58
- # within each Amazon Web Services Region in your Amazon Web Services
59
- # account.
56
+ # hyphens, periods, and underscores. The name cannot start with `AWS`,
57
+ # `aws`, or any other possible capitalization; these are reserved. A
58
+ # resource group name must be unique within each Amazon Web Services
59
+ # Region in your Amazon Web Services account.
60
60
  # @return [String]
61
61
  #
62
62
  # @!attribute [rw] description
@@ -754,10 +754,12 @@ module Aws::ResourceGroups
754
754
  # @return [String]
755
755
  #
756
756
  # @!attribute [rw] query_errors
757
- # A list of `QueryError` objects. Each error is an object that
758
- # contains `ErrorCode` and `Message` structures. Possible values for
759
- # `ErrorCode` are `CLOUDFORMATION_STACK_INACTIVE` and
760
- # `CLOUDFORMATION_STACK_NOT_EXISTING`.
757
+ # A list of `QueryError` objects. Each error contains an `ErrorCode`
758
+ # and `Message`. Possible values for ErrorCode are
759
+ # `CLOUDFORMATION_STACK_INACTIVE`,
760
+ # `CLOUDFORMATION_STACK_NOT_EXISTING`,
761
+ # `CLOUDFORMATION_STACK_UNASSUMABLE_ROLE` and
762
+ # `RESOURCE_TYPE_NOT_SUPPORTED`.
761
763
  # @return [Array<Types::QueryError>]
762
764
  #
763
765
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResourcesOutput AWS API Documentation
@@ -775,18 +777,27 @@ module Aws::ResourceGroups
775
777
  # Filters, formatted as GroupFilter objects, that you want to apply to
776
778
  # a `ListGroups` operation.
777
779
  #
778
- # * `resource-type` - Filter the results to include only those of the
779
- # specified resource types. Specify up to five resource types in the
780
- # format `AWS::ServiceCode::ResourceType `. For example,
781
- # `AWS::EC2::Instance`, or `AWS::S3::Bucket`.
780
+ # * `resource-type` - Filter the results to include only those
781
+ # resource groups that have the specified resource type in their
782
+ # `ResourceTypeFilter`. For example, `AWS::EC2::Instance` would
783
+ # return any resource group with a `ResourceTypeFilter` that
784
+ # includes `AWS::EC2::Instance`.
782
785
  #
783
786
  # * `configuration-type` - Filter the results to include only those
784
787
  # groups that have the specified configuration types attached. The
785
788
  # current supported values are:
786
789
  #
790
+ # * `AWS::AppRegistry::Application`
791
+ #
792
+ # * `AWS::AppRegistry::ApplicationResourceGroups`
793
+ #
794
+ # * `AWS::CloudFormation::Stack`
795
+ #
787
796
  # * `AWS::EC2::CapacityReservationPool`
788
797
  #
789
798
  # * `AWS::EC2::HostManagement`
799
+ #
800
+ # * `AWS::NetworkFirewall::RuleGroup`
790
801
  # @return [Array<Types::GroupFilter>]
791
802
  #
792
803
  # @!attribute [rw] max_results
@@ -932,23 +943,14 @@ module Aws::ResourceGroups
932
943
  class PutGroupConfigurationOutput < Aws::EmptyStructure; end
933
944
 
934
945
  # A two-part error structure that can occur in `ListGroupResources` or
935
- # `SearchResources` operations on CloudFront stack-based queries. The
936
- # error occurs if the CloudFront stack on which the query is based
937
- # either does not exist, or has a status that renders the stack
938
- # inactive. A `QueryError` occurrence does not necessarily mean that
939
- # Resource Groups could not complete the operation, but the resulting
940
- # group might have no member resources.
946
+ # `SearchResources`.
941
947
  #
942
948
  # @!attribute [rw] error_code
943
949
  # Specifies the error code that was raised.
944
950
  # @return [String]
945
951
  #
946
952
  # @!attribute [rw] message
947
- # A message that explains the `ErrorCode` value. Messages might state
948
- # that the specified CloudFront stack does not exist (or no longer
949
- # exists). For `CLOUDFORMATION_STACK_INACTIVE`, the message typically
950
- # states that the CloudFront stack has a status that is not (or no
951
- # longer) active, such as `CREATE_FAILED`.
953
+ # A message that explains the `ErrorCode`.
952
954
  # @return [String]
953
955
  #
954
956
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/QueryError AWS API Documentation
@@ -1196,14 +1198,16 @@ module Aws::ResourceGroups
1196
1198
  # @return [String]
1197
1199
  #
1198
1200
  # @!attribute [rw] query_errors
1199
- # A list of `QueryError` objects. Each error is an object that
1200
- # contains `ErrorCode` and `Message` structures.
1201
+ # A list of `QueryError` objects. Each error contains an `ErrorCode`
1202
+ # and `Message`.
1201
1203
  #
1202
1204
  # Possible values for `ErrorCode`:
1203
1205
  #
1204
1206
  # * `CLOUDFORMATION_STACK_INACTIVE`
1205
1207
  #
1206
1208
  # * `CLOUDFORMATION_STACK_NOT_EXISTING`
1209
+ #
1210
+ # * `CLOUDFORMATION_STACK_UNASSUMABLE_ROLE `
1207
1211
  # @return [Array<Types::QueryError>]
1208
1212
  #
1209
1213
  # @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResourcesOutput AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-resourcegroups/customizations'
52
52
  # @!group service
53
53
  module Aws::ResourceGroups
54
54
 
55
- GEM_VERSION = '1.58.0'
55
+ GEM_VERSION = '1.60.0'
56
56
 
57
57
  end
data/sig/types.rbs CHANGED
@@ -233,7 +233,7 @@ module Aws::ResourceGroups
233
233
  end
234
234
 
235
235
  class QueryError
236
- attr_accessor error_code: ("CLOUDFORMATION_STACK_INACTIVE" | "CLOUDFORMATION_STACK_NOT_EXISTING" | "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE")
236
+ attr_accessor error_code: ("CLOUDFORMATION_STACK_INACTIVE" | "CLOUDFORMATION_STACK_NOT_EXISTING" | "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" | "RESOURCE_TYPE_NOT_SUPPORTED")
237
237
  attr_accessor message: ::String
238
238
  SENSITIVE: []
239
239
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resourcegroups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.58.0
4
+ version: 1.60.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement