aws-sdk-schemas 1.33.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79265aaedffcd931d65a3ab98cb58ea02bbfdd541932a3614ea1ff26268f1bd4
4
- data.tar.gz: 04af621e55cfe9d817a66da6e864ee4bcd72e8432d2228b285ad2456be2a493c
3
+ metadata.gz: 0fb15be85d261b3ccbfb692797d9d97ac2ca877538068ca90b85e22364430ab9
4
+ data.tar.gz: 181558675e6f3cf0c0296d480c1b11d4464cd13f91e816b50c24ad12ef096726
5
5
  SHA512:
6
- metadata.gz: bcf40c2496bfd7afefbca8191d6583dd28c4762a208a9463b30db5f086924628443cbdb6c4b52876d2f941534274e998a64ad3b4e63ec1e39dcbf760ecc25d22
7
- data.tar.gz: 3f3c3a03da07d6a47c017ef78b783e812add284e1690c8c2cc5ec0f172752f39699857b56f8110d5f4040a787128ba7276e0edd979bf8e275fd69b144eb17ce6
6
+ metadata.gz: 91c4fbd523ba4bc61ef9f6d08efc05373efedddb5fbbeefe8973bd417c166ec8528d5b357bed8c4398a6ff0932f02d9647571b5fdb7a8ab1b39c5f490e19bcba
7
+ data.tar.gz: 0757f38a449458f5d6afd9dcff427e4e4ef7893e62def67db01271fe1ac80e01aa8d7fad73d2fe5f05253dbf0ef505a1d043db6a430a2a72bc9275e02c6f7efb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.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.34.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.33.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -1575,7 +1575,7 @@ module Aws::Schemas
1575
1575
  params: params,
1576
1576
  config: config)
1577
1577
  context[:gem_name] = 'aws-sdk-schemas'
1578
- context[:gem_version] = '1.33.0'
1578
+ context[:gem_version] = '1.35.0'
1579
1579
  Seahorse::Client::Request.new(handlers, context)
1580
1580
  end
1581
1581
 
@@ -14,6 +14,7 @@ module Aws::Schemas
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Schemas::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::Schemas
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
 
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-schemas/customizations'
53
53
  # @!group service
54
54
  module Aws::Schemas
55
55
 
56
- GEM_VERSION = '1.33.0'
56
+ GEM_VERSION = '1.35.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,491 @@
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 Schemas
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/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 _CreateDiscovererResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDiscovererResponse]
77
+ def description: () -> ::String
78
+ def discoverer_arn: () -> ::String
79
+ def discoverer_id: () -> ::String
80
+ def source_arn: () -> ::String
81
+ def state: () -> ("STARTED" | "STOPPED")
82
+ def cross_account: () -> bool
83
+ def tags: () -> ::Hash[::String, ::String]
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#create_discoverer-instance_method
86
+ def create_discoverer: (
87
+ ?description: ::String,
88
+ source_arn: ::String,
89
+ ?cross_account: bool,
90
+ ?tags: Hash[::String, ::String]
91
+ ) -> _CreateDiscovererResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDiscovererResponseSuccess
93
+
94
+ interface _CreateRegistryResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegistryResponse]
96
+ def description: () -> ::String
97
+ def registry_arn: () -> ::String
98
+ def registry_name: () -> ::String
99
+ def tags: () -> ::Hash[::String, ::String]
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#create_registry-instance_method
102
+ def create_registry: (
103
+ ?description: ::String,
104
+ registry_name: ::String,
105
+ ?tags: Hash[::String, ::String]
106
+ ) -> _CreateRegistryResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRegistryResponseSuccess
108
+
109
+ interface _CreateSchemaResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSchemaResponse]
111
+ def description: () -> ::String
112
+ def last_modified: () -> ::Time
113
+ def schema_arn: () -> ::String
114
+ def schema_name: () -> ::String
115
+ def schema_version: () -> ::String
116
+ def tags: () -> ::Hash[::String, ::String]
117
+ def type: () -> ::String
118
+ def version_created_date: () -> ::Time
119
+ end
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#create_schema-instance_method
121
+ def create_schema: (
122
+ content: ::String,
123
+ ?description: ::String,
124
+ registry_name: ::String,
125
+ schema_name: ::String,
126
+ ?tags: Hash[::String, ::String],
127
+ type: ("OpenApi3")
128
+ ) -> _CreateSchemaResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSchemaResponseSuccess
130
+
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#delete_discoverer-instance_method
132
+ def delete_discoverer: (
133
+ discoverer_id: ::String
134
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
136
+
137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#delete_registry-instance_method
138
+ def delete_registry: (
139
+ registry_name: ::String
140
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
141
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
142
+
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#delete_resource_policy-instance_method
144
+ def delete_resource_policy: (
145
+ ?registry_name: ::String
146
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
147
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
148
+
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#delete_schema-instance_method
150
+ def delete_schema: (
151
+ registry_name: ::String,
152
+ schema_name: ::String
153
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
155
+
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#delete_schema_version-instance_method
157
+ def delete_schema_version: (
158
+ registry_name: ::String,
159
+ schema_name: ::String,
160
+ schema_version: ::String
161
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
163
+
164
+ interface _DescribeCodeBindingResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCodeBindingResponse]
166
+ def creation_date: () -> ::Time
167
+ def last_modified: () -> ::Time
168
+ def schema_version: () -> ::String
169
+ def status: () -> ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED")
170
+ end
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#describe_code_binding-instance_method
172
+ def describe_code_binding: (
173
+ language: ::String,
174
+ registry_name: ::String,
175
+ schema_name: ::String,
176
+ ?schema_version: ::String
177
+ ) -> _DescribeCodeBindingResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCodeBindingResponseSuccess
179
+
180
+ interface _DescribeDiscovererResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDiscovererResponse]
182
+ def description: () -> ::String
183
+ def discoverer_arn: () -> ::String
184
+ def discoverer_id: () -> ::String
185
+ def source_arn: () -> ::String
186
+ def state: () -> ("STARTED" | "STOPPED")
187
+ def cross_account: () -> bool
188
+ def tags: () -> ::Hash[::String, ::String]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#describe_discoverer-instance_method
191
+ def describe_discoverer: (
192
+ discoverer_id: ::String
193
+ ) -> _DescribeDiscovererResponseSuccess
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDiscovererResponseSuccess
195
+
196
+ interface _DescribeRegistryResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRegistryResponse]
198
+ def description: () -> ::String
199
+ def registry_arn: () -> ::String
200
+ def registry_name: () -> ::String
201
+ def tags: () -> ::Hash[::String, ::String]
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#describe_registry-instance_method
204
+ def describe_registry: (
205
+ registry_name: ::String
206
+ ) -> _DescribeRegistryResponseSuccess
207
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRegistryResponseSuccess
208
+
209
+ interface _DescribeSchemaResponseSuccess
210
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSchemaResponse]
211
+ def content: () -> ::String
212
+ def description: () -> ::String
213
+ def last_modified: () -> ::Time
214
+ def schema_arn: () -> ::String
215
+ def schema_name: () -> ::String
216
+ def schema_version: () -> ::String
217
+ def tags: () -> ::Hash[::String, ::String]
218
+ def type: () -> ::String
219
+ def version_created_date: () -> ::Time
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#describe_schema-instance_method
222
+ def describe_schema: (
223
+ registry_name: ::String,
224
+ schema_name: ::String,
225
+ ?schema_version: ::String
226
+ ) -> _DescribeSchemaResponseSuccess
227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSchemaResponseSuccess
228
+
229
+ interface _GetCodeBindingSourceResponseSuccess
230
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeBindingSourceResponse]
231
+ def body: () -> ::IO
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#get_code_binding_source-instance_method
234
+ def get_code_binding_source: (
235
+ language: ::String,
236
+ registry_name: ::String,
237
+ schema_name: ::String,
238
+ ?schema_version: ::String
239
+ ) ?{ (*untyped) -> void } -> _GetCodeBindingSourceResponseSuccess
240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetCodeBindingSourceResponseSuccess
241
+
242
+ interface _GetDiscoveredSchemaResponseSuccess
243
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDiscoveredSchemaResponse]
244
+ def content: () -> ::String
245
+ end
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#get_discovered_schema-instance_method
247
+ def get_discovered_schema: (
248
+ events: Array[::String],
249
+ type: ("OpenApi3")
250
+ ) -> _GetDiscoveredSchemaResponseSuccess
251
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDiscoveredSchemaResponseSuccess
252
+
253
+ interface _GetResourcePolicyResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
255
+ def policy: () -> ::String
256
+ def revision_id: () -> ::String
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#get_resource_policy-instance_method
259
+ def get_resource_policy: (
260
+ ?registry_name: ::String
261
+ ) -> _GetResourcePolicyResponseSuccess
262
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
263
+
264
+ interface _ListDiscoverersResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoverersResponse]
266
+ def discoverers: () -> ::Array[Types::DiscovererSummary]
267
+ def next_token: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#list_discoverers-instance_method
270
+ def list_discoverers: (
271
+ ?discoverer_id_prefix: ::String,
272
+ ?limit: ::Integer,
273
+ ?next_token: ::String,
274
+ ?source_arn_prefix: ::String
275
+ ) -> _ListDiscoverersResponseSuccess
276
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoverersResponseSuccess
277
+
278
+ interface _ListRegistriesResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegistriesResponse]
280
+ def next_token: () -> ::String
281
+ def registries: () -> ::Array[Types::RegistrySummary]
282
+ end
283
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#list_registries-instance_method
284
+ def list_registries: (
285
+ ?limit: ::Integer,
286
+ ?next_token: ::String,
287
+ ?registry_name_prefix: ::String,
288
+ ?scope: ::String
289
+ ) -> _ListRegistriesResponseSuccess
290
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegistriesResponseSuccess
291
+
292
+ interface _ListSchemaVersionsResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSchemaVersionsResponse]
294
+ def next_token: () -> ::String
295
+ def schema_versions: () -> ::Array[Types::SchemaVersionSummary]
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#list_schema_versions-instance_method
298
+ def list_schema_versions: (
299
+ ?limit: ::Integer,
300
+ ?next_token: ::String,
301
+ registry_name: ::String,
302
+ schema_name: ::String
303
+ ) -> _ListSchemaVersionsResponseSuccess
304
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchemaVersionsResponseSuccess
305
+
306
+ interface _ListSchemasResponseSuccess
307
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSchemasResponse]
308
+ def next_token: () -> ::String
309
+ def schemas: () -> ::Array[Types::SchemaSummary]
310
+ end
311
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#list_schemas-instance_method
312
+ def list_schemas: (
313
+ ?limit: ::Integer,
314
+ ?next_token: ::String,
315
+ registry_name: ::String,
316
+ ?schema_name_prefix: ::String
317
+ ) -> _ListSchemasResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchemasResponseSuccess
319
+
320
+ interface _ListTagsForResourceResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
322
+ def tags: () -> ::Hash[::String, ::String]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#list_tags_for_resource-instance_method
325
+ def list_tags_for_resource: (
326
+ resource_arn: ::String
327
+ ) -> _ListTagsForResourceResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
329
+
330
+ interface _PutCodeBindingResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutCodeBindingResponse]
332
+ def creation_date: () -> ::Time
333
+ def last_modified: () -> ::Time
334
+ def schema_version: () -> ::String
335
+ def status: () -> ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED")
336
+ end
337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#put_code_binding-instance_method
338
+ def put_code_binding: (
339
+ language: ::String,
340
+ registry_name: ::String,
341
+ schema_name: ::String,
342
+ ?schema_version: ::String
343
+ ) -> _PutCodeBindingResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutCodeBindingResponseSuccess
345
+
346
+ interface _PutResourcePolicyResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
348
+ def policy: () -> ::String
349
+ def revision_id: () -> ::String
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#put_resource_policy-instance_method
352
+ def put_resource_policy: (
353
+ policy: ::String,
354
+ ?registry_name: ::String,
355
+ ?revision_id: ::String
356
+ ) -> _PutResourcePolicyResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
358
+
359
+ interface _SearchSchemasResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchSchemasResponse]
361
+ def next_token: () -> ::String
362
+ def schemas: () -> ::Array[Types::SearchSchemaSummary]
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#search_schemas-instance_method
365
+ def search_schemas: (
366
+ keywords: ::String,
367
+ ?limit: ::Integer,
368
+ ?next_token: ::String,
369
+ registry_name: ::String
370
+ ) -> _SearchSchemasResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSchemasResponseSuccess
372
+
373
+ interface _StartDiscovererResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDiscovererResponse]
375
+ def discoverer_id: () -> ::String
376
+ def state: () -> ("STARTED" | "STOPPED")
377
+ end
378
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#start_discoverer-instance_method
379
+ def start_discoverer: (
380
+ discoverer_id: ::String
381
+ ) -> _StartDiscovererResponseSuccess
382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDiscovererResponseSuccess
383
+
384
+ interface _StopDiscovererResponseSuccess
385
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopDiscovererResponse]
386
+ def discoverer_id: () -> ::String
387
+ def state: () -> ("STARTED" | "STOPPED")
388
+ end
389
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#stop_discoverer-instance_method
390
+ def stop_discoverer: (
391
+ discoverer_id: ::String
392
+ ) -> _StopDiscovererResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDiscovererResponseSuccess
394
+
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#tag_resource-instance_method
396
+ def tag_resource: (
397
+ resource_arn: ::String,
398
+ tags: Hash[::String, ::String]
399
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
401
+
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#untag_resource-instance_method
403
+ def untag_resource: (
404
+ resource_arn: ::String,
405
+ tag_keys: Array[::String]
406
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
408
+
409
+ interface _UpdateDiscovererResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDiscovererResponse]
411
+ def description: () -> ::String
412
+ def discoverer_arn: () -> ::String
413
+ def discoverer_id: () -> ::String
414
+ def source_arn: () -> ::String
415
+ def state: () -> ("STARTED" | "STOPPED")
416
+ def cross_account: () -> bool
417
+ def tags: () -> ::Hash[::String, ::String]
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#update_discoverer-instance_method
420
+ def update_discoverer: (
421
+ ?description: ::String,
422
+ discoverer_id: ::String,
423
+ ?cross_account: bool
424
+ ) -> _UpdateDiscovererResponseSuccess
425
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDiscovererResponseSuccess
426
+
427
+ interface _UpdateRegistryResponseSuccess
428
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegistryResponse]
429
+ def description: () -> ::String
430
+ def registry_arn: () -> ::String
431
+ def registry_name: () -> ::String
432
+ def tags: () -> ::Hash[::String, ::String]
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#update_registry-instance_method
435
+ def update_registry: (
436
+ ?description: ::String,
437
+ registry_name: ::String
438
+ ) -> _UpdateRegistryResponseSuccess
439
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegistryResponseSuccess
440
+
441
+ interface _UpdateSchemaResponseSuccess
442
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSchemaResponse]
443
+ def description: () -> ::String
444
+ def last_modified: () -> ::Time
445
+ def schema_arn: () -> ::String
446
+ def schema_name: () -> ::String
447
+ def schema_version: () -> ::String
448
+ def tags: () -> ::Hash[::String, ::String]
449
+ def type: () -> ::String
450
+ def version_created_date: () -> ::Time
451
+ end
452
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#update_schema-instance_method
453
+ def update_schema: (
454
+ ?client_token_id: ::String,
455
+ ?content: ::String,
456
+ ?description: ::String,
457
+ registry_name: ::String,
458
+ schema_name: ::String,
459
+ ?type: ("OpenApi3")
460
+ ) -> _UpdateSchemaResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSchemaResponseSuccess
462
+
463
+ interface _ExportSchemaResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportSchemaResponse]
465
+ def content: () -> ::String
466
+ def schema_arn: () -> ::String
467
+ def schema_name: () -> ::String
468
+ def schema_version: () -> ::String
469
+ def type: () -> ::String
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#export_schema-instance_method
472
+ def export_schema: (
473
+ registry_name: ::String,
474
+ schema_name: ::String,
475
+ ?schema_version: ::String,
476
+ type: ::String
477
+ ) -> _ExportSchemaResponseSuccess
478
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportSchemaResponseSuccess
479
+
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Schemas/Client.html#wait_until-instance_method
481
+ def wait_until: (:code_binding_exists waiter_name,
482
+ language: ::String,
483
+ registry_name: ::String,
484
+ schema_name: ::String,
485
+ ?schema_version: ::String
486
+ ) -> Client::_DescribeCodeBindingResponseSuccess
487
+ | (:code_binding_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeCodeBindingResponseSuccess
488
+ end
489
+ end
490
+ end
491
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,56 @@
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 Schemas
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class BadRequestException < ::Aws::Errors::ServiceError
15
+ def code: () -> ::String
16
+ def message: () -> ::String
17
+ end
18
+ class ConflictException < ::Aws::Errors::ServiceError
19
+ def code: () -> ::String
20
+ def message: () -> ::String
21
+ end
22
+ class ForbiddenException < ::Aws::Errors::ServiceError
23
+ def code: () -> ::String
24
+ def message: () -> ::String
25
+ end
26
+ class GoneException < ::Aws::Errors::ServiceError
27
+ def code: () -> ::String
28
+ def message: () -> ::String
29
+ end
30
+ class InternalServerErrorException < ::Aws::Errors::ServiceError
31
+ def code: () -> ::String
32
+ def message: () -> ::String
33
+ end
34
+ class NotFoundException < ::Aws::Errors::ServiceError
35
+ def code: () -> ::String
36
+ def message: () -> ::String
37
+ end
38
+ class PreconditionFailedException < ::Aws::Errors::ServiceError
39
+ def code: () -> ::String
40
+ def message: () -> ::String
41
+ end
42
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
43
+ def code: () -> ::String
44
+ def message: () -> ::String
45
+ end
46
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
47
+ def code: () -> ::String
48
+ def message: () -> ::String
49
+ end
50
+ class UnauthorizedException < ::Aws::Errors::ServiceError
51
+ def code: () -> ::String
52
+ def message: () -> ::String
53
+ end
54
+ end
55
+ end
56
+ end