aws-sdk-resourcegroups 1.58.0 → 1.59.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resourcegroups/client.rb +20 -10
- data/lib/aws-sdk-resourcegroups/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-resourcegroups/types.rb +29 -25
- data/lib/aws-sdk-resourcegroups.rb +1 -1
- data/sig/types.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b0485d2f851891b1c4e9bbf904cd6412711a56734a26a25b1259abb74e1db08
|
|
4
|
+
data.tar.gz: 0fbf78d39e10623de356c1239f37375eedd14fcbc58cd21b45e59f5949f95cfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf7af9f11cf0ddd0b1516a25dcfe9d9c8c345854cc45c84fac49ed7dab462a26a00575ae71dc8f87e0c2f323028dbfb60456ae6db3ed3ace1be6db5248fb9bb7
|
|
7
|
+
data.tar.gz: 0d97c6c4423d07b37b6e60d2d4b2c526c8f79cdda8e3e48fdc69b9a99ac8a0ceb5700324ee913904b0e88ac1d3515cad7f8733bba2b18e343abb1bc905d4ee0a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.59.0 (2024-04-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added a new QueryErrorCode RESOURCE_TYPE_NOT_SUPPORTED that is returned by the ListGroupResources operation if the group query contains unsupported resource types.
|
|
8
|
+
|
|
4
9
|
1.58.0 (2024-01-26)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.59.0
|
|
@@ -413,9 +413,10 @@ module Aws::ResourceGroups
|
|
|
413
413
|
# The name of the group, which is the identifier of the group in other
|
|
414
414
|
# operations. You can't change the name of a resource group after you
|
|
415
415
|
# create it. A resource group name can consist of letters, numbers,
|
|
416
|
-
# hyphens, periods, and underscores. The name cannot start with `AWS
|
|
417
|
-
# `aws
|
|
418
|
-
#
|
|
416
|
+
# hyphens, periods, and underscores. The name cannot start with `AWS`,
|
|
417
|
+
# `aws`, or any other possible capitalization; these are reserved. A
|
|
418
|
+
# resource group name must be unique within each Amazon Web Services
|
|
419
|
+
# Region in your Amazon Web Services account.
|
|
419
420
|
#
|
|
420
421
|
# @option params [String] :description
|
|
421
422
|
# The description of the resource group. Descriptions can consist of
|
|
@@ -936,7 +937,7 @@ module Aws::ResourceGroups
|
|
|
936
937
|
# resp.resource_identifiers[0].resource_type #=> String
|
|
937
938
|
# resp.next_token #=> String
|
|
938
939
|
# 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"
|
|
940
|
+
# 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
941
|
# resp.query_errors[0].message #=> String
|
|
941
942
|
#
|
|
942
943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResources AWS API Documentation
|
|
@@ -962,19 +963,28 @@ module Aws::ResourceGroups
|
|
|
962
963
|
# Filters, formatted as GroupFilter objects, that you want to apply to a
|
|
963
964
|
# `ListGroups` operation.
|
|
964
965
|
#
|
|
965
|
-
# * `resource-type` - Filter the results to include only those
|
|
966
|
-
#
|
|
967
|
-
#
|
|
968
|
-
# `
|
|
966
|
+
# * `resource-type` - Filter the results to include only those resource
|
|
967
|
+
# groups that have the specified resource type in their
|
|
968
|
+
# `ResourceTypeFilter`. For example, `AWS::EC2::Instance` would return
|
|
969
|
+
# any resource group with a `ResourceTypeFilter` that includes
|
|
970
|
+
# `AWS::EC2::Instance`.
|
|
969
971
|
#
|
|
970
972
|
# * `configuration-type` - Filter the results to include only those
|
|
971
973
|
# groups that have the specified configuration types attached. The
|
|
972
974
|
# current supported values are:
|
|
973
975
|
#
|
|
976
|
+
# * `AWS::AppRegistry::Application`
|
|
977
|
+
#
|
|
978
|
+
# * `AWS::AppRegistry::ApplicationResourceGroups`
|
|
979
|
+
#
|
|
980
|
+
# * `AWS::CloudFormation::Stack`
|
|
981
|
+
#
|
|
974
982
|
# * `AWS::EC2::CapacityReservationPool`
|
|
975
983
|
#
|
|
976
984
|
# * `AWS::EC2::HostManagement`
|
|
977
985
|
#
|
|
986
|
+
# * `AWS::NetworkFirewall::RuleGroup`
|
|
987
|
+
#
|
|
978
988
|
# @option params [Integer] :max_results
|
|
979
989
|
# The total number of results that you want included on each page of the
|
|
980
990
|
# response. If you do not include this parameter, it defaults to a value
|
|
@@ -1163,7 +1173,7 @@ module Aws::ResourceGroups
|
|
|
1163
1173
|
# resp.resource_identifiers[0].resource_type #=> String
|
|
1164
1174
|
# resp.next_token #=> String
|
|
1165
1175
|
# 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"
|
|
1176
|
+
# 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
1177
|
# resp.query_errors[0].message #=> String
|
|
1168
1178
|
#
|
|
1169
1179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResources AWS API Documentation
|
|
@@ -1490,7 +1500,7 @@ module Aws::ResourceGroups
|
|
|
1490
1500
|
params: params,
|
|
1491
1501
|
config: config)
|
|
1492
1502
|
context[:gem_name] = 'aws-sdk-resourcegroups'
|
|
1493
|
-
context[:gem_version] = '1.
|
|
1503
|
+
context[:gem_version] = '1.59.0'
|
|
1494
1504
|
Seahorse::Client::Request.new(handlers, context)
|
|
1495
1505
|
end
|
|
1496
1506
|
|
|
@@ -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?(
|
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
|
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
|
-
#
|
|
58
|
-
#
|
|
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
|
|
758
|
-
#
|
|
759
|
-
# `
|
|
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
|
|
779
|
-
#
|
|
780
|
-
#
|
|
781
|
-
#
|
|
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
|
|
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
|
|
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
|
|
1200
|
-
#
|
|
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
|
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.
|
|
4
|
+
version: 1.59.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-
|
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|