aws-sdk-resourcegroups 1.71.0 → 1.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resourcegroups/client.rb +399 -43
- data/lib/aws-sdk-resourcegroups/client_api.rb +237 -14
- data/lib/aws-sdk-resourcegroups/endpoints.rb +55 -0
- data/lib/aws-sdk-resourcegroups/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-resourcegroups/types.rb +575 -43
- data/lib/aws-sdk-resourcegroups.rb +4 -2
- data/sig/client.rbs +89 -3
- data/sig/types.rbs +119 -1
- metadata +2 -2
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:resourcegroups)
|
15
|
+
|
14
16
|
# This module provides support for AWS Resource Groups. This module is available in the
|
15
17
|
# `aws-sdk-resourcegroups` gem.
|
16
18
|
#
|
@@ -21,7 +23,7 @@ require 'aws-sigv4'
|
|
21
23
|
# structure.
|
22
24
|
#
|
23
25
|
# resource_groups = Aws::ResourceGroups::Client.new
|
24
|
-
# resp = resource_groups.
|
26
|
+
# resp = resource_groups.cancel_tag_sync_task(params)
|
25
27
|
#
|
26
28
|
# See {Client} for more information.
|
27
29
|
#
|
@@ -52,7 +54,7 @@ module Aws::ResourceGroups
|
|
52
54
|
autoload :EndpointProvider, 'aws-sdk-resourcegroups/endpoint_provider'
|
53
55
|
autoload :Endpoints, 'aws-sdk-resourcegroups/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.73.0'
|
56
58
|
|
57
59
|
end
|
58
60
|
|
data/sig/client.rbs
CHANGED
@@ -75,6 +75,12 @@ module Aws
|
|
75
75
|
| (?Hash[Symbol, untyped]) -> instance
|
76
76
|
|
77
77
|
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#cancel_tag_sync_task-instance_method
|
79
|
+
def cancel_tag_sync_task: (
|
80
|
+
task_arn: ::String
|
81
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
82
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
83
|
+
|
78
84
|
interface _CreateGroupResponseSuccess
|
79
85
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupOutput]
|
80
86
|
def group: () -> Types::Group
|
@@ -101,7 +107,10 @@ module Aws
|
|
101
107
|
},
|
102
108
|
]?
|
103
109
|
},
|
104
|
-
]
|
110
|
+
],
|
111
|
+
?criticality: ::Integer,
|
112
|
+
?owner: ::String,
|
113
|
+
?display_name: ::String
|
105
114
|
) -> _CreateGroupResponseSuccess
|
106
115
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGroupResponseSuccess
|
107
116
|
|
@@ -156,6 +165,24 @@ module Aws
|
|
156
165
|
) -> _GetGroupQueryResponseSuccess
|
157
166
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupQueryResponseSuccess
|
158
167
|
|
168
|
+
interface _GetTagSyncTaskResponseSuccess
|
169
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTagSyncTaskOutput]
|
170
|
+
def group_arn: () -> ::String
|
171
|
+
def group_name: () -> ::String
|
172
|
+
def task_arn: () -> ::String
|
173
|
+
def tag_key: () -> ::String
|
174
|
+
def tag_value: () -> ::String
|
175
|
+
def role_arn: () -> ::String
|
176
|
+
def status: () -> ("ACTIVE" | "ERROR")
|
177
|
+
def error_message: () -> ::String
|
178
|
+
def created_at: () -> ::Time
|
179
|
+
end
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#get_tag_sync_task-instance_method
|
181
|
+
def get_tag_sync_task: (
|
182
|
+
task_arn: ::String
|
183
|
+
) -> _GetTagSyncTaskResponseSuccess
|
184
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTagSyncTaskResponseSuccess
|
185
|
+
|
159
186
|
interface _GetTagsResponseSuccess
|
160
187
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTagsOutput]
|
161
188
|
def arn: () -> ::String
|
@@ -202,6 +229,26 @@ module Aws
|
|
202
229
|
) -> _ListGroupResourcesResponseSuccess
|
203
230
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupResourcesResponseSuccess
|
204
231
|
|
232
|
+
interface _ListGroupingStatusesResponseSuccess
|
233
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupingStatusesOutput]
|
234
|
+
def group: () -> ::String
|
235
|
+
def grouping_statuses: () -> ::Array[Types::GroupingStatusesItem]
|
236
|
+
def next_token: () -> ::String
|
237
|
+
end
|
238
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#list_grouping_statuses-instance_method
|
239
|
+
def list_grouping_statuses: (
|
240
|
+
group: ::String,
|
241
|
+
?max_results: ::Integer,
|
242
|
+
?filters: Array[
|
243
|
+
{
|
244
|
+
name: ("status" | "resource-arn"),
|
245
|
+
values: Array[::String]
|
246
|
+
},
|
247
|
+
],
|
248
|
+
?next_token: ::String
|
249
|
+
) -> _ListGroupingStatusesResponseSuccess
|
250
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupingStatusesResponseSuccess
|
251
|
+
|
205
252
|
interface _ListGroupsResponseSuccess
|
206
253
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsOutput]
|
207
254
|
def group_identifiers: () -> ::Array[Types::GroupIdentifier]
|
@@ -212,7 +259,7 @@ module Aws
|
|
212
259
|
def list_groups: (
|
213
260
|
?filters: Array[
|
214
261
|
{
|
215
|
-
name: ("resource-type" | "configuration-type"),
|
262
|
+
name: ("resource-type" | "configuration-type" | "owner" | "display-name" | "criticality"),
|
216
263
|
values: Array[::String]
|
217
264
|
},
|
218
265
|
],
|
@@ -221,6 +268,24 @@ module Aws
|
|
221
268
|
) -> _ListGroupsResponseSuccess
|
222
269
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsResponseSuccess
|
223
270
|
|
271
|
+
interface _ListTagSyncTasksResponseSuccess
|
272
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagSyncTasksOutput]
|
273
|
+
def tag_sync_tasks: () -> ::Array[Types::TagSyncTaskItem]
|
274
|
+
def next_token: () -> ::String
|
275
|
+
end
|
276
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#list_tag_sync_tasks-instance_method
|
277
|
+
def list_tag_sync_tasks: (
|
278
|
+
?filters: Array[
|
279
|
+
{
|
280
|
+
group_arn: ::String?,
|
281
|
+
group_name: ::String?
|
282
|
+
},
|
283
|
+
],
|
284
|
+
?max_results: ::Integer,
|
285
|
+
?next_token: ::String
|
286
|
+
) -> _ListTagSyncTasksResponseSuccess
|
287
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagSyncTasksResponseSuccess
|
288
|
+
|
224
289
|
interface _PutGroupConfigurationResponseSuccess
|
225
290
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutGroupConfigurationOutput]
|
226
291
|
end
|
@@ -258,6 +323,24 @@ module Aws
|
|
258
323
|
) -> _SearchResourcesResponseSuccess
|
259
324
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchResourcesResponseSuccess
|
260
325
|
|
326
|
+
interface _StartTagSyncTaskResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartTagSyncTaskOutput]
|
328
|
+
def group_arn: () -> ::String
|
329
|
+
def group_name: () -> ::String
|
330
|
+
def task_arn: () -> ::String
|
331
|
+
def tag_key: () -> ::String
|
332
|
+
def tag_value: () -> ::String
|
333
|
+
def role_arn: () -> ::String
|
334
|
+
end
|
335
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceGroups/Client.html#start_tag_sync_task-instance_method
|
336
|
+
def start_tag_sync_task: (
|
337
|
+
group: ::String,
|
338
|
+
tag_key: ::String,
|
339
|
+
tag_value: ::String,
|
340
|
+
role_arn: ::String
|
341
|
+
) -> _StartTagSyncTaskResponseSuccess
|
342
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTagSyncTaskResponseSuccess
|
343
|
+
|
261
344
|
interface _TagResponseSuccess
|
262
345
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagOutput]
|
263
346
|
def arn: () -> ::String
|
@@ -313,7 +396,10 @@ module Aws
|
|
313
396
|
def update_group: (
|
314
397
|
?group_name: ::String,
|
315
398
|
?group: ::String,
|
316
|
-
?description: ::String
|
399
|
+
?description: ::String,
|
400
|
+
?criticality: ::Integer,
|
401
|
+
?owner: ::String,
|
402
|
+
?display_name: ::String
|
317
403
|
) -> _UpdateGroupResponseSuccess
|
318
404
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
|
319
405
|
|
data/sig/types.rbs
CHANGED
@@ -20,12 +20,20 @@ module Aws::ResourceGroups
|
|
20
20
|
SENSITIVE: []
|
21
21
|
end
|
22
22
|
|
23
|
+
class CancelTagSyncTaskInput
|
24
|
+
attr_accessor task_arn: ::String
|
25
|
+
SENSITIVE: []
|
26
|
+
end
|
27
|
+
|
23
28
|
class CreateGroupInput
|
24
29
|
attr_accessor name: ::String
|
25
30
|
attr_accessor description: ::String
|
26
31
|
attr_accessor resource_query: Types::ResourceQuery
|
27
32
|
attr_accessor tags: ::Hash[::String, ::String]
|
28
33
|
attr_accessor configuration: ::Array[Types::GroupConfigurationItem]
|
34
|
+
attr_accessor criticality: ::Integer
|
35
|
+
attr_accessor owner: ::String
|
36
|
+
attr_accessor display_name: ::String
|
29
37
|
SENSITIVE: []
|
30
38
|
end
|
31
39
|
|
@@ -97,6 +105,24 @@ module Aws::ResourceGroups
|
|
97
105
|
SENSITIVE: []
|
98
106
|
end
|
99
107
|
|
108
|
+
class GetTagSyncTaskInput
|
109
|
+
attr_accessor task_arn: ::String
|
110
|
+
SENSITIVE: []
|
111
|
+
end
|
112
|
+
|
113
|
+
class GetTagSyncTaskOutput
|
114
|
+
attr_accessor group_arn: ::String
|
115
|
+
attr_accessor group_name: ::String
|
116
|
+
attr_accessor task_arn: ::String
|
117
|
+
attr_accessor tag_key: ::String
|
118
|
+
attr_accessor tag_value: ::String
|
119
|
+
attr_accessor role_arn: ::String
|
120
|
+
attr_accessor status: ("ACTIVE" | "ERROR")
|
121
|
+
attr_accessor error_message: ::String
|
122
|
+
attr_accessor created_at: ::Time
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
100
126
|
class GetTagsInput
|
101
127
|
attr_accessor arn: ::String
|
102
128
|
SENSITIVE: []
|
@@ -112,6 +138,10 @@ module Aws::ResourceGroups
|
|
112
138
|
attr_accessor group_arn: ::String
|
113
139
|
attr_accessor name: ::String
|
114
140
|
attr_accessor description: ::String
|
141
|
+
attr_accessor criticality: ::Integer
|
142
|
+
attr_accessor owner: ::String
|
143
|
+
attr_accessor display_name: ::String
|
144
|
+
attr_accessor application_tag: ::Hash[::String, ::String]
|
115
145
|
SENSITIVE: []
|
116
146
|
end
|
117
147
|
|
@@ -136,7 +166,7 @@ module Aws::ResourceGroups
|
|
136
166
|
end
|
137
167
|
|
138
168
|
class GroupFilter
|
139
|
-
attr_accessor name: ("resource-type" | "configuration-type")
|
169
|
+
attr_accessor name: ("resource-type" | "configuration-type" | "owner" | "display-name" | "criticality")
|
140
170
|
attr_accessor values: ::Array[::String]
|
141
171
|
SENSITIVE: []
|
142
172
|
end
|
@@ -144,6 +174,10 @@ module Aws::ResourceGroups
|
|
144
174
|
class GroupIdentifier
|
145
175
|
attr_accessor group_name: ::String
|
146
176
|
attr_accessor group_arn: ::String
|
177
|
+
attr_accessor description: ::String
|
178
|
+
attr_accessor criticality: ::Integer
|
179
|
+
attr_accessor owner: ::String
|
180
|
+
attr_accessor display_name: ::String
|
147
181
|
SENSITIVE: []
|
148
182
|
end
|
149
183
|
|
@@ -166,6 +200,16 @@ module Aws::ResourceGroups
|
|
166
200
|
SENSITIVE: []
|
167
201
|
end
|
168
202
|
|
203
|
+
class GroupingStatusesItem
|
204
|
+
attr_accessor resource_arn: ::String
|
205
|
+
attr_accessor action: ("GROUP" | "UNGROUP")
|
206
|
+
attr_accessor status: ("SUCCESS" | "FAILED" | "IN_PROGRESS" | "SKIPPED")
|
207
|
+
attr_accessor error_message: ::String
|
208
|
+
attr_accessor error_code: ::String
|
209
|
+
attr_accessor updated_at: ::Time
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
169
213
|
class InternalServerErrorException
|
170
214
|
attr_accessor message: ::String
|
171
215
|
SENSITIVE: []
|
@@ -194,6 +238,27 @@ module Aws::ResourceGroups
|
|
194
238
|
SENSITIVE: []
|
195
239
|
end
|
196
240
|
|
241
|
+
class ListGroupingStatusesFilter
|
242
|
+
attr_accessor name: ("status" | "resource-arn")
|
243
|
+
attr_accessor values: ::Array[::String]
|
244
|
+
SENSITIVE: []
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListGroupingStatusesInput
|
248
|
+
attr_accessor group: ::String
|
249
|
+
attr_accessor max_results: ::Integer
|
250
|
+
attr_accessor filters: ::Array[Types::ListGroupingStatusesFilter]
|
251
|
+
attr_accessor next_token: ::String
|
252
|
+
SENSITIVE: []
|
253
|
+
end
|
254
|
+
|
255
|
+
class ListGroupingStatusesOutput
|
256
|
+
attr_accessor group: ::String
|
257
|
+
attr_accessor grouping_statuses: ::Array[Types::GroupingStatusesItem]
|
258
|
+
attr_accessor next_token: ::String
|
259
|
+
SENSITIVE: []
|
260
|
+
end
|
261
|
+
|
197
262
|
class ListGroupsInput
|
198
263
|
attr_accessor filters: ::Array[Types::GroupFilter]
|
199
264
|
attr_accessor max_results: ::Integer
|
@@ -208,6 +273,25 @@ module Aws::ResourceGroups
|
|
208
273
|
SENSITIVE: []
|
209
274
|
end
|
210
275
|
|
276
|
+
class ListTagSyncTasksFilter
|
277
|
+
attr_accessor group_arn: ::String
|
278
|
+
attr_accessor group_name: ::String
|
279
|
+
SENSITIVE: []
|
280
|
+
end
|
281
|
+
|
282
|
+
class ListTagSyncTasksInput
|
283
|
+
attr_accessor filters: ::Array[Types::ListTagSyncTasksFilter]
|
284
|
+
attr_accessor max_results: ::Integer
|
285
|
+
attr_accessor next_token: ::String
|
286
|
+
SENSITIVE: []
|
287
|
+
end
|
288
|
+
|
289
|
+
class ListTagSyncTasksOutput
|
290
|
+
attr_accessor tag_sync_tasks: ::Array[Types::TagSyncTaskItem]
|
291
|
+
attr_accessor next_token: ::String
|
292
|
+
SENSITIVE: []
|
293
|
+
end
|
294
|
+
|
211
295
|
class MethodNotAllowedException
|
212
296
|
attr_accessor message: ::String
|
213
297
|
SENSITIVE: []
|
@@ -275,6 +359,24 @@ module Aws::ResourceGroups
|
|
275
359
|
SENSITIVE: []
|
276
360
|
end
|
277
361
|
|
362
|
+
class StartTagSyncTaskInput
|
363
|
+
attr_accessor group: ::String
|
364
|
+
attr_accessor tag_key: ::String
|
365
|
+
attr_accessor tag_value: ::String
|
366
|
+
attr_accessor role_arn: ::String
|
367
|
+
SENSITIVE: []
|
368
|
+
end
|
369
|
+
|
370
|
+
class StartTagSyncTaskOutput
|
371
|
+
attr_accessor group_arn: ::String
|
372
|
+
attr_accessor group_name: ::String
|
373
|
+
attr_accessor task_arn: ::String
|
374
|
+
attr_accessor tag_key: ::String
|
375
|
+
attr_accessor tag_value: ::String
|
376
|
+
attr_accessor role_arn: ::String
|
377
|
+
SENSITIVE: []
|
378
|
+
end
|
379
|
+
|
278
380
|
class TagInput
|
279
381
|
attr_accessor arn: ::String
|
280
382
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -287,6 +389,19 @@ module Aws::ResourceGroups
|
|
287
389
|
SENSITIVE: []
|
288
390
|
end
|
289
391
|
|
392
|
+
class TagSyncTaskItem
|
393
|
+
attr_accessor group_arn: ::String
|
394
|
+
attr_accessor group_name: ::String
|
395
|
+
attr_accessor task_arn: ::String
|
396
|
+
attr_accessor tag_key: ::String
|
397
|
+
attr_accessor tag_value: ::String
|
398
|
+
attr_accessor role_arn: ::String
|
399
|
+
attr_accessor status: ("ACTIVE" | "ERROR")
|
400
|
+
attr_accessor error_message: ::String
|
401
|
+
attr_accessor created_at: ::Time
|
402
|
+
SENSITIVE: []
|
403
|
+
end
|
404
|
+
|
290
405
|
class TooManyRequestsException
|
291
406
|
attr_accessor message: ::String
|
292
407
|
SENSITIVE: []
|
@@ -336,6 +451,9 @@ module Aws::ResourceGroups
|
|
336
451
|
attr_accessor group_name: ::String
|
337
452
|
attr_accessor group: ::String
|
338
453
|
attr_accessor description: ::String
|
454
|
+
attr_accessor criticality: ::Integer
|
455
|
+
attr_accessor owner: ::String
|
456
|
+
attr_accessor display_name: ::String
|
339
457
|
SENSITIVE: []
|
340
458
|
end
|
341
459
|
|
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.73.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-09-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|