aws-sdk-resourcegroups 1.56.0 → 1.58.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26d0d36d99d8606a6dec202450102eaa143103acdede3cb09ebdeec754fa5a14
4
- data.tar.gz: edfc813b8ae2386703f5b8212cd87e1b1970524434c1202eff8e11067f8b7b3e
3
+ metadata.gz: 2d06359bf49019610512c48d1b4efa399c110f17cb914d51656eedf205d921ad
4
+ data.tar.gz: 55125d3ea0615dd80351a568329a8d1fe5a02164312e27307711a4370c9d456c
5
5
  SHA512:
6
- metadata.gz: effbd13c0028e8ae95f4440e2727bf4629fa5cd1ff315eaa9ecaca3ea8b381a22c5cfd3786d31271f6ae99b33c51e82135a9f2e9dc5614dc16cde324a0071e62
7
- data.tar.gz: 307506b0c07623a1e2dc5ecccb7cbb9762cec52b7fe5d0f046c09dc125b4c2ef7194c57d1f4bab7af68171699b774d0fc314e960e1a4e65fff28063ce6d97c35
6
+ metadata.gz: 9cd455eccc4bfbd69081e7d831bf9879d904fb5c7ea58f868991bfe1e893254f83d50a02fafdb43d3a0f83620c2a2e715339d37717b47e7d42006b09871a4833
7
+ data.tar.gz: 89c42f481b5b9f6afb2f75e91a1c1bcb841b1ec8538eec2e89412326c99c79868e0d65173d9d288a22811594d778abfbd8f89d4e0a32598b41d411f09927bc42
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.57.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.56.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -1490,7 +1490,7 @@ module Aws::ResourceGroups
1490
1490
  params: params,
1491
1491
  config: config)
1492
1492
  context[:gem_name] = 'aws-sdk-resourcegroups'
1493
- context[:gem_version] = '1.56.0'
1493
+ context[:gem_version] = '1.58.0'
1494
1494
  Seahorse::Client::Request.new(handlers, context)
1495
1495
  end
1496
1496
 
@@ -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 '\
@@ -25,16 +26,17 @@ module Aws::ResourceGroups
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -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.56.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
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")
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.56.0
4
+ version: 1.58.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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
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.188.0
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.1.6
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: []