aws-sdk-resourcegroups 1.57.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 +10 -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/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-resourcegroups/types.rb +29 -25
- data/lib/aws-sdk-resourcegroups.rb +1 -1
- data/sig/client.rbs +334 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +359 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.58.0 (2024-01-26)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.57.0 (2023-11-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
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: {})
|
|
@@ -14,6 +14,7 @@ module Aws::ResourceGroups
|
|
|
14
14
|
option(
|
|
15
15
|
:endpoint_provider,
|
|
16
16
|
doc_type: 'Aws::ResourceGroups::EndpointProvider',
|
|
17
|
+
rbs_type: 'untyped',
|
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
|
19
20
|
'where `parameters` is a Struct similar to '\
|
|
@@ -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/client.rbs
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ResourceGroups
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?stub_responses: untyped,
|
|
52
|
+
?token_provider: untyped,
|
|
53
|
+
?use_dualstack_endpoint: bool,
|
|
54
|
+
?use_fips_endpoint: bool,
|
|
55
|
+
?validate_params: bool,
|
|
56
|
+
?endpoint_provider: untyped,
|
|
57
|
+
?http_proxy: String,
|
|
58
|
+
?http_open_timeout: (Float | Integer),
|
|
59
|
+
?http_read_timeout: (Float | Integer),
|
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
63
|
+
?http_wire_trace: bool,
|
|
64
|
+
?ssl_verify_peer: bool,
|
|
65
|
+
?ssl_ca_bundle: String,
|
|
66
|
+
?ssl_ca_directory: String,
|
|
67
|
+
?ssl_ca_store: String,
|
|
68
|
+
?on_chunk_received: Proc,
|
|
69
|
+
?on_chunk_sent: Proc,
|
|
70
|
+
?raise_response_errors: bool
|
|
71
|
+
) -> instance
|
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
interface _CreateGroupResponseSuccess
|
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupOutput]
|
|
77
|
+
def group: () -> Types::Group
|
|
78
|
+
def resource_query: () -> Types::ResourceQuery
|
|
79
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
80
|
+
def group_configuration: () -> Types::GroupConfiguration
|
|
81
|
+
end
|
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#create_group-instance_method
|
|
83
|
+
def create_group: (
|
|
84
|
+
name: ::String,
|
|
85
|
+
?description: ::String,
|
|
86
|
+
?resource_query: {
|
|
87
|
+
type: ("TAG_FILTERS_1_0" | "CLOUDFORMATION_STACK_1_0"),
|
|
88
|
+
query: ::String
|
|
89
|
+
},
|
|
90
|
+
?tags: Hash[::String, ::String],
|
|
91
|
+
?configuration: Array[
|
|
92
|
+
{
|
|
93
|
+
type: ::String,
|
|
94
|
+
parameters: Array[
|
|
95
|
+
{
|
|
96
|
+
name: ::String,
|
|
97
|
+
values: Array[::String]?
|
|
98
|
+
},
|
|
99
|
+
]?
|
|
100
|
+
},
|
|
101
|
+
]
|
|
102
|
+
) -> _CreateGroupResponseSuccess
|
|
103
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGroupResponseSuccess
|
|
104
|
+
|
|
105
|
+
interface _DeleteGroupResponseSuccess
|
|
106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGroupOutput]
|
|
107
|
+
def group: () -> Types::Group
|
|
108
|
+
end
|
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#delete_group-instance_method
|
|
110
|
+
def delete_group: (
|
|
111
|
+
?group_name: ::String,
|
|
112
|
+
?group: ::String
|
|
113
|
+
) -> _DeleteGroupResponseSuccess
|
|
114
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupResponseSuccess
|
|
115
|
+
|
|
116
|
+
interface _GetAccountSettingsResponseSuccess
|
|
117
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsOutput]
|
|
118
|
+
def account_settings: () -> Types::AccountSettings
|
|
119
|
+
end
|
|
120
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_account_settings-instance_method
|
|
121
|
+
def get_account_settings: () -> _GetAccountSettingsResponseSuccess
|
|
122
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingsResponseSuccess
|
|
123
|
+
|
|
124
|
+
interface _GetGroupResponseSuccess
|
|
125
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupOutput]
|
|
126
|
+
def group: () -> Types::Group
|
|
127
|
+
end
|
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_group-instance_method
|
|
129
|
+
def get_group: (
|
|
130
|
+
?group_name: ::String,
|
|
131
|
+
?group: ::String
|
|
132
|
+
) -> _GetGroupResponseSuccess
|
|
133
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupResponseSuccess
|
|
134
|
+
|
|
135
|
+
interface _GetGroupConfigurationResponseSuccess
|
|
136
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupConfigurationOutput]
|
|
137
|
+
def group_configuration: () -> Types::GroupConfiguration
|
|
138
|
+
end
|
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_group_configuration-instance_method
|
|
140
|
+
def get_group_configuration: (
|
|
141
|
+
?group: ::String
|
|
142
|
+
) -> _GetGroupConfigurationResponseSuccess
|
|
143
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupConfigurationResponseSuccess
|
|
144
|
+
|
|
145
|
+
interface _GetGroupQueryResponseSuccess
|
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupQueryOutput]
|
|
147
|
+
def group_query: () -> Types::GroupQuery
|
|
148
|
+
end
|
|
149
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_group_query-instance_method
|
|
150
|
+
def get_group_query: (
|
|
151
|
+
?group_name: ::String,
|
|
152
|
+
?group: ::String
|
|
153
|
+
) -> _GetGroupQueryResponseSuccess
|
|
154
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupQueryResponseSuccess
|
|
155
|
+
|
|
156
|
+
interface _GetTagsResponseSuccess
|
|
157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTagsOutput]
|
|
158
|
+
def arn: () -> ::String
|
|
159
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
160
|
+
end
|
|
161
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_tags-instance_method
|
|
162
|
+
def get_tags: (
|
|
163
|
+
arn: ::String
|
|
164
|
+
) -> _GetTagsResponseSuccess
|
|
165
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTagsResponseSuccess
|
|
166
|
+
|
|
167
|
+
interface _GroupResourcesResponseSuccess
|
|
168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GroupResourcesOutput]
|
|
169
|
+
def succeeded: () -> ::Array[::String]
|
|
170
|
+
def failed: () -> ::Array[Types::FailedResource]
|
|
171
|
+
def pending: () -> ::Array[Types::PendingResource]
|
|
172
|
+
end
|
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#group_resources-instance_method
|
|
174
|
+
def group_resources: (
|
|
175
|
+
group: ::String,
|
|
176
|
+
resource_arns: Array[::String]
|
|
177
|
+
) -> _GroupResourcesResponseSuccess
|
|
178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GroupResourcesResponseSuccess
|
|
179
|
+
|
|
180
|
+
interface _ListGroupResourcesResponseSuccess
|
|
181
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupResourcesOutput]
|
|
182
|
+
def resources: () -> ::Array[Types::ListGroupResourcesItem]
|
|
183
|
+
def resource_identifiers: () -> ::Array[Types::ResourceIdentifier]
|
|
184
|
+
def next_token: () -> ::String
|
|
185
|
+
def query_errors: () -> ::Array[Types::QueryError]
|
|
186
|
+
end
|
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#list_group_resources-instance_method
|
|
188
|
+
def list_group_resources: (
|
|
189
|
+
?group_name: ::String,
|
|
190
|
+
?group: ::String,
|
|
191
|
+
?filters: Array[
|
|
192
|
+
{
|
|
193
|
+
name: ("resource-type"),
|
|
194
|
+
values: Array[::String]
|
|
195
|
+
},
|
|
196
|
+
],
|
|
197
|
+
?max_results: ::Integer,
|
|
198
|
+
?next_token: ::String
|
|
199
|
+
) -> _ListGroupResourcesResponseSuccess
|
|
200
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupResourcesResponseSuccess
|
|
201
|
+
|
|
202
|
+
interface _ListGroupsResponseSuccess
|
|
203
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsOutput]
|
|
204
|
+
def group_identifiers: () -> ::Array[Types::GroupIdentifier]
|
|
205
|
+
def groups: () -> ::Array[Types::Group]
|
|
206
|
+
def next_token: () -> ::String
|
|
207
|
+
end
|
|
208
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#list_groups-instance_method
|
|
209
|
+
def list_groups: (
|
|
210
|
+
?filters: Array[
|
|
211
|
+
{
|
|
212
|
+
name: ("resource-type" | "configuration-type"),
|
|
213
|
+
values: Array[::String]
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
?max_results: ::Integer,
|
|
217
|
+
?next_token: ::String
|
|
218
|
+
) -> _ListGroupsResponseSuccess
|
|
219
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsResponseSuccess
|
|
220
|
+
|
|
221
|
+
interface _PutGroupConfigurationResponseSuccess
|
|
222
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutGroupConfigurationOutput]
|
|
223
|
+
end
|
|
224
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#put_group_configuration-instance_method
|
|
225
|
+
def put_group_configuration: (
|
|
226
|
+
?group: ::String,
|
|
227
|
+
?configuration: Array[
|
|
228
|
+
{
|
|
229
|
+
type: ::String,
|
|
230
|
+
parameters: Array[
|
|
231
|
+
{
|
|
232
|
+
name: ::String,
|
|
233
|
+
values: Array[::String]?
|
|
234
|
+
},
|
|
235
|
+
]?
|
|
236
|
+
},
|
|
237
|
+
]
|
|
238
|
+
) -> _PutGroupConfigurationResponseSuccess
|
|
239
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGroupConfigurationResponseSuccess
|
|
240
|
+
|
|
241
|
+
interface _SearchResourcesResponseSuccess
|
|
242
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchResourcesOutput]
|
|
243
|
+
def resource_identifiers: () -> ::Array[Types::ResourceIdentifier]
|
|
244
|
+
def next_token: () -> ::String
|
|
245
|
+
def query_errors: () -> ::Array[Types::QueryError]
|
|
246
|
+
end
|
|
247
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#search_resources-instance_method
|
|
248
|
+
def search_resources: (
|
|
249
|
+
resource_query: {
|
|
250
|
+
type: ("TAG_FILTERS_1_0" | "CLOUDFORMATION_STACK_1_0"),
|
|
251
|
+
query: ::String
|
|
252
|
+
},
|
|
253
|
+
?max_results: ::Integer,
|
|
254
|
+
?next_token: ::String
|
|
255
|
+
) -> _SearchResourcesResponseSuccess
|
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchResourcesResponseSuccess
|
|
257
|
+
|
|
258
|
+
interface _TagResponseSuccess
|
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagOutput]
|
|
260
|
+
def arn: () -> ::String
|
|
261
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
262
|
+
end
|
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#tag-instance_method
|
|
264
|
+
def tag: (
|
|
265
|
+
arn: ::String,
|
|
266
|
+
tags: Hash[::String, ::String]
|
|
267
|
+
) -> _TagResponseSuccess
|
|
268
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResponseSuccess
|
|
269
|
+
|
|
270
|
+
interface _UngroupResourcesResponseSuccess
|
|
271
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UngroupResourcesOutput]
|
|
272
|
+
def succeeded: () -> ::Array[::String]
|
|
273
|
+
def failed: () -> ::Array[Types::FailedResource]
|
|
274
|
+
def pending: () -> ::Array[Types::PendingResource]
|
|
275
|
+
end
|
|
276
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#ungroup_resources-instance_method
|
|
277
|
+
def ungroup_resources: (
|
|
278
|
+
group: ::String,
|
|
279
|
+
resource_arns: Array[::String]
|
|
280
|
+
) -> _UngroupResourcesResponseSuccess
|
|
281
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UngroupResourcesResponseSuccess
|
|
282
|
+
|
|
283
|
+
interface _UntagResponseSuccess
|
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagOutput]
|
|
285
|
+
def arn: () -> ::String
|
|
286
|
+
def keys: () -> ::Array[::String]
|
|
287
|
+
end
|
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#untag-instance_method
|
|
289
|
+
def untag: (
|
|
290
|
+
arn: ::String,
|
|
291
|
+
keys: Array[::String]
|
|
292
|
+
) -> _UntagResponseSuccess
|
|
293
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResponseSuccess
|
|
294
|
+
|
|
295
|
+
interface _UpdateAccountSettingsResponseSuccess
|
|
296
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsOutput]
|
|
297
|
+
def account_settings: () -> Types::AccountSettings
|
|
298
|
+
end
|
|
299
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#update_account_settings-instance_method
|
|
300
|
+
def update_account_settings: (
|
|
301
|
+
?group_lifecycle_events_desired_status: ("ACTIVE" | "INACTIVE")
|
|
302
|
+
) -> _UpdateAccountSettingsResponseSuccess
|
|
303
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
|
|
304
|
+
|
|
305
|
+
interface _UpdateGroupResponseSuccess
|
|
306
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGroupOutput]
|
|
307
|
+
def group: () -> Types::Group
|
|
308
|
+
end
|
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#update_group-instance_method
|
|
310
|
+
def update_group: (
|
|
311
|
+
?group_name: ::String,
|
|
312
|
+
?group: ::String,
|
|
313
|
+
?description: ::String
|
|
314
|
+
) -> _UpdateGroupResponseSuccess
|
|
315
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
|
|
316
|
+
|
|
317
|
+
interface _UpdateGroupQueryResponseSuccess
|
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGroupQueryOutput]
|
|
319
|
+
def group_query: () -> Types::GroupQuery
|
|
320
|
+
end
|
|
321
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#update_group_query-instance_method
|
|
322
|
+
def update_group_query: (
|
|
323
|
+
?group_name: ::String,
|
|
324
|
+
?group: ::String,
|
|
325
|
+
resource_query: {
|
|
326
|
+
type: ("TAG_FILTERS_1_0" | "CLOUDFORMATION_STACK_1_0"),
|
|
327
|
+
query: ::String
|
|
328
|
+
}
|
|
329
|
+
) -> _UpdateGroupQueryResponseSuccess
|
|
330
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupQueryResponseSuccess
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ResourceGroups
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class BadRequestException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ForbiddenException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class InternalServerErrorException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class MethodNotAllowedException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class UnauthorizedException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ResourceGroups
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?stub_responses: untyped,
|
|
52
|
+
?token_provider: untyped,
|
|
53
|
+
?use_dualstack_endpoint: bool,
|
|
54
|
+
?use_fips_endpoint: bool,
|
|
55
|
+
?validate_params: bool,
|
|
56
|
+
?endpoint_provider: untyped,
|
|
57
|
+
?http_proxy: String,
|
|
58
|
+
?http_open_timeout: (Float | Integer),
|
|
59
|
+
?http_read_timeout: (Float | Integer),
|
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
63
|
+
?http_wire_trace: bool,
|
|
64
|
+
?ssl_verify_peer: bool,
|
|
65
|
+
?ssl_ca_bundle: String,
|
|
66
|
+
?ssl_ca_directory: String,
|
|
67
|
+
?ssl_ca_store: String,
|
|
68
|
+
?on_chunk_received: Proc,
|
|
69
|
+
?on_chunk_sent: Proc,
|
|
70
|
+
?raise_response_errors: bool
|
|
71
|
+
) -> void
|
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
73
|
+
|
|
74
|
+
def client: () -> Client
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::ResourceGroups
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccountSettings
|
|
12
|
+
attr_accessor group_lifecycle_events_desired_status: ("ACTIVE" | "INACTIVE")
|
|
13
|
+
attr_accessor group_lifecycle_events_status: ("ACTIVE" | "INACTIVE" | "IN_PROGRESS" | "ERROR")
|
|
14
|
+
attr_accessor group_lifecycle_events_status_message: ::String
|
|
15
|
+
SENSITIVE: []
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
class BadRequestException
|
|
19
|
+
attr_accessor message: ::String
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
class CreateGroupInput
|
|
24
|
+
attr_accessor name: ::String
|
|
25
|
+
attr_accessor description: ::String
|
|
26
|
+
attr_accessor resource_query: Types::ResourceQuery
|
|
27
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
28
|
+
attr_accessor configuration: ::Array[Types::GroupConfigurationItem]
|
|
29
|
+
SENSITIVE: []
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class CreateGroupOutput
|
|
33
|
+
attr_accessor group: Types::Group
|
|
34
|
+
attr_accessor resource_query: Types::ResourceQuery
|
|
35
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
36
|
+
attr_accessor group_configuration: Types::GroupConfiguration
|
|
37
|
+
SENSITIVE: []
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
class DeleteGroupInput
|
|
41
|
+
attr_accessor group_name: ::String
|
|
42
|
+
attr_accessor group: ::String
|
|
43
|
+
SENSITIVE: []
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
class DeleteGroupOutput
|
|
47
|
+
attr_accessor group: Types::Group
|
|
48
|
+
SENSITIVE: []
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
class FailedResource
|
|
52
|
+
attr_accessor resource_arn: ::String
|
|
53
|
+
attr_accessor error_message: ::String
|
|
54
|
+
attr_accessor error_code: ::String
|
|
55
|
+
SENSITIVE: []
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
class ForbiddenException
|
|
59
|
+
attr_accessor message: ::String
|
|
60
|
+
SENSITIVE: []
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
class GetAccountSettingsOutput
|
|
64
|
+
attr_accessor account_settings: Types::AccountSettings
|
|
65
|
+
SENSITIVE: []
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
class GetGroupConfigurationInput
|
|
69
|
+
attr_accessor group: ::String
|
|
70
|
+
SENSITIVE: []
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class GetGroupConfigurationOutput
|
|
74
|
+
attr_accessor group_configuration: Types::GroupConfiguration
|
|
75
|
+
SENSITIVE: []
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class GetGroupInput
|
|
79
|
+
attr_accessor group_name: ::String
|
|
80
|
+
attr_accessor group: ::String
|
|
81
|
+
SENSITIVE: []
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
class GetGroupOutput
|
|
85
|
+
attr_accessor group: Types::Group
|
|
86
|
+
SENSITIVE: []
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
class GetGroupQueryInput
|
|
90
|
+
attr_accessor group_name: ::String
|
|
91
|
+
attr_accessor group: ::String
|
|
92
|
+
SENSITIVE: []
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class GetGroupQueryOutput
|
|
96
|
+
attr_accessor group_query: Types::GroupQuery
|
|
97
|
+
SENSITIVE: []
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class GetTagsInput
|
|
101
|
+
attr_accessor arn: ::String
|
|
102
|
+
SENSITIVE: []
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
class GetTagsOutput
|
|
106
|
+
attr_accessor arn: ::String
|
|
107
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
108
|
+
SENSITIVE: []
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
class Group
|
|
112
|
+
attr_accessor group_arn: ::String
|
|
113
|
+
attr_accessor name: ::String
|
|
114
|
+
attr_accessor description: ::String
|
|
115
|
+
SENSITIVE: []
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
class GroupConfiguration
|
|
119
|
+
attr_accessor configuration: ::Array[Types::GroupConfigurationItem]
|
|
120
|
+
attr_accessor proposed_configuration: ::Array[Types::GroupConfigurationItem]
|
|
121
|
+
attr_accessor status: ("UPDATING" | "UPDATE_COMPLETE" | "UPDATE_FAILED")
|
|
122
|
+
attr_accessor failure_reason: ::String
|
|
123
|
+
SENSITIVE: []
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
class GroupConfigurationItem
|
|
127
|
+
attr_accessor type: ::String
|
|
128
|
+
attr_accessor parameters: ::Array[Types::GroupConfigurationParameter]
|
|
129
|
+
SENSITIVE: []
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
class GroupConfigurationParameter
|
|
133
|
+
attr_accessor name: ::String
|
|
134
|
+
attr_accessor values: ::Array[::String]
|
|
135
|
+
SENSITIVE: []
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class GroupFilter
|
|
139
|
+
attr_accessor name: ("resource-type" | "configuration-type")
|
|
140
|
+
attr_accessor values: ::Array[::String]
|
|
141
|
+
SENSITIVE: []
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
class GroupIdentifier
|
|
145
|
+
attr_accessor group_name: ::String
|
|
146
|
+
attr_accessor group_arn: ::String
|
|
147
|
+
SENSITIVE: []
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
class GroupQuery
|
|
151
|
+
attr_accessor group_name: ::String
|
|
152
|
+
attr_accessor resource_query: Types::ResourceQuery
|
|
153
|
+
SENSITIVE: []
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
class GroupResourcesInput
|
|
157
|
+
attr_accessor group: ::String
|
|
158
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
159
|
+
SENSITIVE: []
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
class GroupResourcesOutput
|
|
163
|
+
attr_accessor succeeded: ::Array[::String]
|
|
164
|
+
attr_accessor failed: ::Array[Types::FailedResource]
|
|
165
|
+
attr_accessor pending: ::Array[Types::PendingResource]
|
|
166
|
+
SENSITIVE: []
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class InternalServerErrorException
|
|
170
|
+
attr_accessor message: ::String
|
|
171
|
+
SENSITIVE: []
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
class ListGroupResourcesInput
|
|
175
|
+
attr_accessor group_name: ::String
|
|
176
|
+
attr_accessor group: ::String
|
|
177
|
+
attr_accessor filters: ::Array[Types::ResourceFilter]
|
|
178
|
+
attr_accessor max_results: ::Integer
|
|
179
|
+
attr_accessor next_token: ::String
|
|
180
|
+
SENSITIVE: []
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
class ListGroupResourcesItem
|
|
184
|
+
attr_accessor identifier: Types::ResourceIdentifier
|
|
185
|
+
attr_accessor status: Types::ResourceStatus
|
|
186
|
+
SENSITIVE: []
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
class ListGroupResourcesOutput
|
|
190
|
+
attr_accessor resources: ::Array[Types::ListGroupResourcesItem]
|
|
191
|
+
attr_accessor resource_identifiers: ::Array[Types::ResourceIdentifier]
|
|
192
|
+
attr_accessor next_token: ::String
|
|
193
|
+
attr_accessor query_errors: ::Array[Types::QueryError]
|
|
194
|
+
SENSITIVE: []
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
class ListGroupsInput
|
|
198
|
+
attr_accessor filters: ::Array[Types::GroupFilter]
|
|
199
|
+
attr_accessor max_results: ::Integer
|
|
200
|
+
attr_accessor next_token: ::String
|
|
201
|
+
SENSITIVE: []
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class ListGroupsOutput
|
|
205
|
+
attr_accessor group_identifiers: ::Array[Types::GroupIdentifier]
|
|
206
|
+
attr_accessor groups: ::Array[Types::Group]
|
|
207
|
+
attr_accessor next_token: ::String
|
|
208
|
+
SENSITIVE: []
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class MethodNotAllowedException
|
|
212
|
+
attr_accessor message: ::String
|
|
213
|
+
SENSITIVE: []
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class NotFoundException
|
|
217
|
+
attr_accessor message: ::String
|
|
218
|
+
SENSITIVE: []
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class PendingResource
|
|
222
|
+
attr_accessor resource_arn: ::String
|
|
223
|
+
SENSITIVE: []
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
class PutGroupConfigurationInput
|
|
227
|
+
attr_accessor group: ::String
|
|
228
|
+
attr_accessor configuration: ::Array[Types::GroupConfigurationItem]
|
|
229
|
+
SENSITIVE: []
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
class PutGroupConfigurationOutput < Aws::EmptyStructure
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
class QueryError
|
|
236
|
+
attr_accessor error_code: ("CLOUDFORMATION_STACK_INACTIVE" | "CLOUDFORMATION_STACK_NOT_EXISTING" | "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" | "RESOURCE_TYPE_NOT_SUPPORTED")
|
|
237
|
+
attr_accessor message: ::String
|
|
238
|
+
SENSITIVE: []
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class ResourceFilter
|
|
242
|
+
attr_accessor name: ("resource-type")
|
|
243
|
+
attr_accessor values: ::Array[::String]
|
|
244
|
+
SENSITIVE: []
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class ResourceIdentifier
|
|
248
|
+
attr_accessor resource_arn: ::String
|
|
249
|
+
attr_accessor resource_type: ::String
|
|
250
|
+
SENSITIVE: []
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
class ResourceQuery
|
|
254
|
+
attr_accessor type: ("TAG_FILTERS_1_0" | "CLOUDFORMATION_STACK_1_0")
|
|
255
|
+
attr_accessor query: ::String
|
|
256
|
+
SENSITIVE: []
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class ResourceStatus
|
|
260
|
+
attr_accessor name: ("PENDING")
|
|
261
|
+
SENSITIVE: []
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
class SearchResourcesInput
|
|
265
|
+
attr_accessor resource_query: Types::ResourceQuery
|
|
266
|
+
attr_accessor max_results: ::Integer
|
|
267
|
+
attr_accessor next_token: ::String
|
|
268
|
+
SENSITIVE: []
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class SearchResourcesOutput
|
|
272
|
+
attr_accessor resource_identifiers: ::Array[Types::ResourceIdentifier]
|
|
273
|
+
attr_accessor next_token: ::String
|
|
274
|
+
attr_accessor query_errors: ::Array[Types::QueryError]
|
|
275
|
+
SENSITIVE: []
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
class TagInput
|
|
279
|
+
attr_accessor arn: ::String
|
|
280
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
281
|
+
SENSITIVE: []
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
class TagOutput
|
|
285
|
+
attr_accessor arn: ::String
|
|
286
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
287
|
+
SENSITIVE: []
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
class TooManyRequestsException
|
|
291
|
+
attr_accessor message: ::String
|
|
292
|
+
SENSITIVE: []
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class UnauthorizedException
|
|
296
|
+
attr_accessor message: ::String
|
|
297
|
+
SENSITIVE: []
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
class UngroupResourcesInput
|
|
301
|
+
attr_accessor group: ::String
|
|
302
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
303
|
+
SENSITIVE: []
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
class UngroupResourcesOutput
|
|
307
|
+
attr_accessor succeeded: ::Array[::String]
|
|
308
|
+
attr_accessor failed: ::Array[Types::FailedResource]
|
|
309
|
+
attr_accessor pending: ::Array[Types::PendingResource]
|
|
310
|
+
SENSITIVE: []
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class UntagInput
|
|
314
|
+
attr_accessor arn: ::String
|
|
315
|
+
attr_accessor keys: ::Array[::String]
|
|
316
|
+
SENSITIVE: []
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class UntagOutput
|
|
320
|
+
attr_accessor arn: ::String
|
|
321
|
+
attr_accessor keys: ::Array[::String]
|
|
322
|
+
SENSITIVE: []
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class UpdateAccountSettingsInput
|
|
326
|
+
attr_accessor group_lifecycle_events_desired_status: ("ACTIVE" | "INACTIVE")
|
|
327
|
+
SENSITIVE: []
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
class UpdateAccountSettingsOutput
|
|
331
|
+
attr_accessor account_settings: Types::AccountSettings
|
|
332
|
+
SENSITIVE: []
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
class UpdateGroupInput
|
|
336
|
+
attr_accessor group_name: ::String
|
|
337
|
+
attr_accessor group: ::String
|
|
338
|
+
attr_accessor description: ::String
|
|
339
|
+
SENSITIVE: []
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
class UpdateGroupOutput
|
|
343
|
+
attr_accessor group: Types::Group
|
|
344
|
+
SENSITIVE: []
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
class UpdateGroupQueryInput
|
|
348
|
+
attr_accessor group_name: ::String
|
|
349
|
+
attr_accessor group: ::String
|
|
350
|
+
attr_accessor resource_query: Types::ResourceQuery
|
|
351
|
+
SENSITIVE: []
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
class UpdateGroupQueryOutput
|
|
355
|
+
attr_accessor group_query: Types::GroupQuery
|
|
356
|
+
SENSITIVE: []
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ResourceGroups
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
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
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
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
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.191.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.
|
|
32
|
+
version: 3.191.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,13 +66,18 @@ files:
|
|
|
66
66
|
- lib/aws-sdk-resourcegroups/plugins/endpoints.rb
|
|
67
67
|
- lib/aws-sdk-resourcegroups/resource.rb
|
|
68
68
|
- lib/aws-sdk-resourcegroups/types.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
- sig/waiters.rbs
|
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
|
70
75
|
licenses:
|
|
71
76
|
- Apache-2.0
|
|
72
77
|
metadata:
|
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resourcegroups
|
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resourcegroups/CHANGELOG.md
|
|
75
|
-
post_install_message:
|
|
80
|
+
post_install_message:
|
|
76
81
|
rdoc_options: []
|
|
77
82
|
require_paths:
|
|
78
83
|
- lib
|
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
92
|
- !ruby/object:Gem::Version
|
|
88
93
|
version: '0'
|
|
89
94
|
requirements: []
|
|
90
|
-
rubygems_version: 3.
|
|
91
|
-
signing_key:
|
|
95
|
+
rubygems_version: 3.4.10
|
|
96
|
+
signing_key:
|
|
92
97
|
specification_version: 4
|
|
93
98
|
summary: AWS SDK for Ruby - Resource Groups
|
|
94
99
|
test_files: []
|