aws-sdk-resourceexplorer2 1.41.0 → 1.42.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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::ResourceExplorer2
13
+ module Waiters
14
+ end
15
+ end
@@ -49,12 +49,13 @@ module Aws::ResourceExplorer2
49
49
  end
50
50
  autoload :Client, 'aws-sdk-resourceexplorer2/client'
51
51
  autoload :Errors, 'aws-sdk-resourceexplorer2/errors'
52
+ autoload :Waiters, 'aws-sdk-resourceexplorer2/waiters'
52
53
  autoload :Resource, 'aws-sdk-resourceexplorer2/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-resourceexplorer2/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-resourceexplorer2/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-resourceexplorer2/endpoints'
56
57
 
57
- GEM_VERSION = '1.41.0'
58
+ GEM_VERSION = '1.42.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -90,8 +90,8 @@ module Aws
90
90
 
91
91
  interface _BatchGetViewResponseSuccess
92
92
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetViewOutput]
93
- def errors: () -> ::Array[Types::BatchGetViewError]
94
93
  def views: () -> ::Array[Types::View]
94
+ def errors: () -> ::Array[Types::BatchGetViewError]
95
95
  end
96
96
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#batch_get_view-instance_method
97
97
  def batch_get_view: (
@@ -102,8 +102,8 @@ module Aws
102
102
  interface _CreateIndexResponseSuccess
103
103
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexOutput]
104
104
  def arn: () -> ::String
105
- def created_at: () -> ::Time
106
105
  def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
106
+ def created_at: () -> ::Time
107
107
  end
108
108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#create_index-instance_method
109
109
  def create_index: (
@@ -112,6 +112,18 @@ module Aws
112
112
  ) -> _CreateIndexResponseSuccess
113
113
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIndexResponseSuccess
114
114
 
115
+ interface _CreateResourceExplorerSetupResponseSuccess
116
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceExplorerSetupOutput]
117
+ def task_id: () -> ::String
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#create_resource_explorer_setup-instance_method
120
+ def create_resource_explorer_setup: (
121
+ region_list: Array[::String],
122
+ ?aggregator_regions: Array[::String],
123
+ view_name: ::String
124
+ ) -> _CreateResourceExplorerSetupResponseSuccess
125
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceExplorerSetupResponseSuccess
126
+
115
127
  interface _CreateViewResponseSuccess
116
128
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateViewOutput]
117
129
  def view: () -> Types::View
@@ -119,25 +131,25 @@ module Aws
119
131
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#create_view-instance_method
120
132
  def create_view: (
121
133
  ?client_token: ::String,
122
- ?filters: {
123
- filter_string: ::String
124
- },
134
+ view_name: ::String,
125
135
  ?included_properties: Array[
126
136
  {
127
137
  name: ::String
128
138
  },
129
139
  ],
130
140
  ?scope: ::String,
131
- ?tags: Hash[::String, ::String],
132
- view_name: ::String
141
+ ?filters: {
142
+ filter_string: ::String
143
+ },
144
+ ?tags: Hash[::String, ::String]
133
145
  ) -> _CreateViewResponseSuccess
134
146
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateViewResponseSuccess
135
147
 
136
148
  interface _DeleteIndexResponseSuccess
137
149
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexOutput]
138
150
  def arn: () -> ::String
139
- def last_updated_at: () -> ::Time
140
151
  def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
152
+ def last_updated_at: () -> ::Time
141
153
  end
142
154
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#delete_index-instance_method
143
155
  def delete_index: (
@@ -145,6 +157,17 @@ module Aws
145
157
  ) -> _DeleteIndexResponseSuccess
146
158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexResponseSuccess
147
159
 
160
+ interface _DeleteResourceExplorerSetupResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceExplorerSetupOutput]
162
+ def task_id: () -> ::String
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#delete_resource_explorer_setup-instance_method
165
+ def delete_resource_explorer_setup: (
166
+ ?region_list: Array[::String],
167
+ ?delete_in_all_regions: bool
168
+ ) -> _DeleteResourceExplorerSetupResponseSuccess
169
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceExplorerSetupResponseSuccess
170
+
148
171
  interface _DeleteViewResponseSuccess
149
172
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteViewOutput]
150
173
  def view_arn: () -> ::String
@@ -178,13 +201,13 @@ module Aws
178
201
  interface _GetIndexResponseSuccess
179
202
  include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexOutput]
180
203
  def arn: () -> ::String
181
- def created_at: () -> ::Time
182
- def last_updated_at: () -> ::Time
204
+ def type: () -> ("LOCAL" | "AGGREGATOR")
205
+ def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
183
206
  def replicating_from: () -> ::Array[::String]
184
207
  def replicating_to: () -> ::Array[::String]
185
- def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
208
+ def created_at: () -> ::Time
209
+ def last_updated_at: () -> ::Time
186
210
  def tags: () -> ::Hash[::String, ::String]
187
- def type: () -> ("LOCAL" | "AGGREGATOR")
188
211
  end
189
212
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_index-instance_method
190
213
  def get_index: () -> _GetIndexResponseSuccess
@@ -200,10 +223,42 @@ module Aws
200
223
  ) -> _GetManagedViewResponseSuccess
201
224
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedViewResponseSuccess
202
225
 
226
+ interface _GetResourceExplorerSetupResponseSuccess
227
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceExplorerSetupOutput]
228
+ def regions: () -> ::Array[Types::RegionStatus]
229
+ def next_token: () -> ::String
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_resource_explorer_setup-instance_method
232
+ def get_resource_explorer_setup: (
233
+ task_id: ::String,
234
+ ?max_results: ::Integer,
235
+ ?next_token: ::String
236
+ ) -> _GetResourceExplorerSetupResponseSuccess
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceExplorerSetupResponseSuccess
238
+
239
+ interface _GetServiceIndexResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceIndexOutput]
241
+ def arn: () -> ::String
242
+ def type: () -> ("LOCAL" | "AGGREGATOR")
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_service_index-instance_method
245
+ def get_service_index: () -> _GetServiceIndexResponseSuccess
246
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceIndexResponseSuccess
247
+
248
+ interface _GetServiceViewResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceViewOutput]
250
+ def view: () -> Types::ServiceView
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_service_view-instance_method
253
+ def get_service_view: (
254
+ service_view_arn: ::String
255
+ ) -> _GetServiceViewResponseSuccess
256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceViewResponseSuccess
257
+
203
258
  interface _GetViewResponseSuccess
204
259
  include ::Seahorse::Client::_ResponseSuccess[Types::GetViewOutput]
205
- def tags: () -> ::Hash[::String, ::String]
206
260
  def view: () -> Types::View
261
+ def tags: () -> ::Hash[::String, ::String]
207
262
  end
208
263
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#get_view-instance_method
209
264
  def get_view: (
@@ -218,10 +273,10 @@ module Aws
218
273
  end
219
274
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_indexes-instance_method
220
275
  def list_indexes: (
221
- ?max_results: ::Integer,
222
- ?next_token: ::String,
276
+ ?type: ("LOCAL" | "AGGREGATOR"),
223
277
  ?regions: Array[::String],
224
- ?type: ("LOCAL" | "AGGREGATOR")
278
+ ?max_results: ::Integer,
279
+ ?next_token: ::String
225
280
  ) -> _ListIndexesResponseSuccess
226
281
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndexesResponseSuccess
227
282
 
@@ -240,8 +295,8 @@ module Aws
240
295
 
241
296
  interface _ListManagedViewsResponseSuccess
242
297
  include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedViewsOutput]
243
- def managed_views: () -> ::Array[::String]
244
298
  def next_token: () -> ::String
299
+ def managed_views: () -> ::Array[::String]
245
300
  end
246
301
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_managed_views-instance_method
247
302
  def list_managed_views: (
@@ -253,8 +308,8 @@ module Aws
253
308
 
254
309
  interface _ListResourcesResponseSuccess
255
310
  include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesOutput]
256
- def next_token: () -> ::String
257
311
  def resources: () -> ::Array[Types::Resource]
312
+ def next_token: () -> ::String
258
313
  def view_arn: () -> ::String
259
314
  end
260
315
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_resources-instance_method
@@ -263,20 +318,57 @@ module Aws
263
318
  filter_string: ::String
264
319
  },
265
320
  ?max_results: ::Integer,
266
- ?next_token: ::String,
267
- ?view_arn: ::String
321
+ ?view_arn: ::String,
322
+ ?next_token: ::String
268
323
  ) -> _ListResourcesResponseSuccess
269
324
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesResponseSuccess
270
325
 
326
+ interface _ListServiceIndexesResponseSuccess
327
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceIndexesOutput]
328
+ def indexes: () -> ::Array[Types::Index]
329
+ def next_token: () -> ::String
330
+ end
331
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_service_indexes-instance_method
332
+ def list_service_indexes: (
333
+ ?regions: Array[::String],
334
+ ?max_results: ::Integer,
335
+ ?next_token: ::String
336
+ ) -> _ListServiceIndexesResponseSuccess
337
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceIndexesResponseSuccess
338
+
339
+ interface _ListServiceViewsResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceViewsOutput]
341
+ def next_token: () -> ::String
342
+ def service_views: () -> ::Array[::String]
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_service_views-instance_method
345
+ def list_service_views: (
346
+ ?max_results: ::Integer,
347
+ ?next_token: ::String
348
+ ) -> _ListServiceViewsResponseSuccess
349
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceViewsResponseSuccess
350
+
351
+ interface _ListStreamingAccessForServicesResponseSuccess
352
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamingAccessForServicesOutput]
353
+ def streaming_access_for_services: () -> ::Array[Types::StreamingAccessDetails]
354
+ def next_token: () -> ::String
355
+ end
356
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_streaming_access_for_services-instance_method
357
+ def list_streaming_access_for_services: (
358
+ ?max_results: ::Integer,
359
+ ?next_token: ::String
360
+ ) -> _ListStreamingAccessForServicesResponseSuccess
361
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamingAccessForServicesResponseSuccess
362
+
271
363
  interface _ListSupportedResourceTypesResponseSuccess
272
364
  include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportedResourceTypesOutput]
273
- def next_token: () -> ::String
274
365
  def resource_types: () -> ::Array[Types::SupportedResourceType]
366
+ def next_token: () -> ::String
275
367
  end
276
368
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_supported_resource_types-instance_method
277
369
  def list_supported_resource_types: (
278
- ?max_results: ::Integer,
279
- ?next_token: ::String
370
+ ?next_token: ::String,
371
+ ?max_results: ::Integer
280
372
  ) -> _ListSupportedResourceTypesResponseSuccess
281
373
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupportedResourceTypesResponseSuccess
282
374
 
@@ -292,29 +384,29 @@ module Aws
292
384
 
293
385
  interface _ListViewsResponseSuccess
294
386
  include ::Seahorse::Client::_ResponseSuccess[Types::ListViewsOutput]
295
- def next_token: () -> ::String
296
387
  def views: () -> ::Array[::String]
388
+ def next_token: () -> ::String
297
389
  end
298
390
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#list_views-instance_method
299
391
  def list_views: (
300
- ?max_results: ::Integer,
301
- ?next_token: ::String
392
+ ?next_token: ::String,
393
+ ?max_results: ::Integer
302
394
  ) -> _ListViewsResponseSuccess
303
395
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListViewsResponseSuccess
304
396
 
305
397
  interface _SearchResponseSuccess
306
398
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchOutput]
307
- def count: () -> Types::ResourceCount
308
- def next_token: () -> ::String
309
399
  def resources: () -> ::Array[Types::Resource]
400
+ def next_token: () -> ::String
310
401
  def view_arn: () -> ::String
402
+ def count: () -> Types::ResourceCount
311
403
  end
312
404
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#search-instance_method
313
405
  def search: (
314
- ?max_results: ::Integer,
315
- ?next_token: ::String,
316
406
  query_string: ::String,
317
- ?view_arn: ::String
407
+ ?max_results: ::Integer,
408
+ ?view_arn: ::String,
409
+ ?next_token: ::String
318
410
  ) -> _SearchResponseSuccess
319
411
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchResponseSuccess
320
412
 
@@ -323,8 +415,8 @@ module Aws
323
415
  end
324
416
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#tag_resource-instance_method
325
417
  def tag_resource: (
326
- ?tags: Hash[::String, ::String],
327
- resource_arn: ::String
418
+ resource_arn: ::String,
419
+ ?tags: Hash[::String, ::String]
328
420
  ) -> _TagResourceResponseSuccess
329
421
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
330
422
 
@@ -341,9 +433,9 @@ module Aws
341
433
  interface _UpdateIndexTypeResponseSuccess
342
434
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexTypeOutput]
343
435
  def arn: () -> ::String
344
- def last_updated_at: () -> ::Time
345
- def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
346
436
  def type: () -> ("LOCAL" | "AGGREGATOR")
437
+ def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "UPDATING")
438
+ def last_updated_at: () -> ::Time
347
439
  end
348
440
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#update_index_type-instance_method
349
441
  def update_index_type: (
@@ -358,15 +450,15 @@ module Aws
358
450
  end
359
451
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResourceExplorer2/Client.html#update_view-instance_method
360
452
  def update_view: (
361
- ?filters: {
362
- filter_string: ::String
363
- },
453
+ view_arn: ::String,
364
454
  ?included_properties: Array[
365
455
  {
366
456
  name: ::String
367
457
  },
368
458
  ],
369
- view_arn: ::String
459
+ ?filters: {
460
+ filter_string: ::String
461
+ }
370
462
  ) -> _UpdateViewResponseSuccess
371
463
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateViewResponseSuccess
372
464
  end
data/sig/errors.rbs CHANGED
@@ -35,8 +35,8 @@ module Aws
35
35
  def message: () -> ::String
36
36
  end
37
37
  class ValidationException < ::Aws::Errors::ServiceError
38
- def field_list: () -> ::String
39
38
  def message: () -> ::String
39
+ def field_list: () -> ::String
40
40
  end
41
41
  end
42
42
  end