aws-sdk-agentregistrycontrol 1.0.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,464 @@
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 AgentRegistryControl
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _CreateRegistryResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegistryResponse]
83
+ def registry_arn: () -> ::String
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#create_registry-instance_method
86
+ def create_registry: (
87
+ name: ::String,
88
+ ?description: ::String,
89
+ ?discovery_configuration: {
90
+ authorizer_configuration: Params::authorizer_configuration?,
91
+ authorizer_type: ("CUSTOM_JWT" | "AWS_IAM")?
92
+ },
93
+ ?client_token: ::String,
94
+ ?tags: Hash[::String, ::String],
95
+ ?approval_configuration: {
96
+ auto_approval_rules: Array[("APPROVE_ALL")]?
97
+ }
98
+ ) -> _CreateRegistryResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRegistryResponseSuccess
100
+
101
+ interface _CreateRegistryRecordResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRegistryRecordResponse]
103
+ def record_arn: () -> ::String
104
+ def status: () -> ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
105
+ end
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#create_registry_record-instance_method
107
+ def create_registry_record: (
108
+ registry_id: ::String,
109
+ name: ::String,
110
+ ?display_name: ::String,
111
+ ?description: ::String,
112
+ record_type: ("MCP" | "AGENT" | "CUSTOM" | "SKILL"),
113
+ descriptors: {
114
+ mcp_server: {
115
+ data: ::String?,
116
+ data_schema_version: ::String?,
117
+ additional_data: {
118
+ tools: {
119
+ data: ::String?,
120
+ data_schema_version: ::String?
121
+ }?
122
+ }?,
123
+ source: Params::descriptor_source?
124
+ }?,
125
+ a2a_agent_card: {
126
+ data: ::String?,
127
+ data_schema_version: ::String?,
128
+ source: Params::descriptor_source?
129
+ }?,
130
+ agent_skills_definition: {
131
+ data: ::String?,
132
+ data_schema_version: ::String?,
133
+ additional_data: {
134
+ skill_md: {
135
+ data: ::String?,
136
+ data_schema_version: ::String?,
137
+ source: Params::descriptor_source?
138
+ }?
139
+ }?
140
+ }?,
141
+ custom: {
142
+ data: ::String?
143
+ }?
144
+ },
145
+ ?record_version: ::String,
146
+ ?client_token: ::String,
147
+ ?tags: Hash[::String, ::String]
148
+ ) -> _CreateRegistryRecordResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRegistryRecordResponseSuccess
150
+
151
+ interface _DeleteRegistryResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegistryResponse]
153
+ def status: () -> ("CREATING" | "READY" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#delete_registry-instance_method
156
+ def delete_registry: (
157
+ registry_id: ::String
158
+ ) -> _DeleteRegistryResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegistryResponseSuccess
160
+
161
+ interface _DeleteRegistryRecordResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRegistryRecordResponse]
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#delete_registry_record-instance_method
165
+ def delete_registry_record: (
166
+ registry_id: ::String,
167
+ record_id: ::String
168
+ ) -> _DeleteRegistryRecordResponseSuccess
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRegistryRecordResponseSuccess
170
+
171
+ interface _GetRegistryResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegistryResponse]
173
+ def name: () -> ::String
174
+ def description: () -> ::String
175
+ def registry_id: () -> ::String
176
+ def registry_arn: () -> ::String
177
+ def discovery_configuration: () -> Types::DiscoveryConfiguration
178
+ def approval_configuration: () -> Types::ApprovalConfiguration
179
+ def status: () -> ("CREATING" | "READY" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
180
+ def status_reason: () -> ::String
181
+ def created_at: () -> ::Time
182
+ def updated_at: () -> ::Time
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#get_registry-instance_method
185
+ def get_registry: (
186
+ registry_id: ::String
187
+ ) -> _GetRegistryResponseSuccess
188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegistryResponseSuccess
189
+
190
+ interface _GetRegistryRecordResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRegistryRecordResponse]
192
+ def registry_arn: () -> ::String
193
+ def record_arn: () -> ::String
194
+ def record_id: () -> ::String
195
+ def name: () -> ::String
196
+ def display_name: () -> ::String
197
+ def description: () -> ::String
198
+ def record_type: () -> ("MCP" | "AGENT" | "CUSTOM" | "SKILL")
199
+ def descriptors: () -> Types::Descriptors
200
+ def record_version: () -> ::String
201
+ def status: () -> ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
202
+ def created_at: () -> ::Time
203
+ def updated_at: () -> ::Time
204
+ def status_reason: () -> ::String
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#get_registry_record-instance_method
207
+ def get_registry_record: (
208
+ registry_id: ::String,
209
+ record_id: ::String
210
+ ) -> _GetRegistryRecordResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegistryRecordResponseSuccess
212
+
213
+ interface _ListRegistriesResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegistriesResponse]
215
+ def registries: () -> ::Array[Types::RegistrySummary]
216
+ def next_token: () -> ::String
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#list_registries-instance_method
219
+ def list_registries: (
220
+ ?max_results: ::Integer,
221
+ ?next_token: ::String,
222
+ ?filters: Array[
223
+ {
224
+ name: ("status" | "discoveryConfiguration.authorizerType"),
225
+ values: Array[::String]
226
+ }
227
+ ]
228
+ ) -> _ListRegistriesResponseSuccess
229
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegistriesResponseSuccess
230
+
231
+ interface _ListRegistryRecordsResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRegistryRecordsResponse]
233
+ def registry_records: () -> ::Array[Types::RegistryRecordSummary]
234
+ def next_token: () -> ::String
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#list_registry_records-instance_method
237
+ def list_registry_records: (
238
+ registry_id: ::String,
239
+ ?max_results: ::Integer,
240
+ ?next_token: ::String,
241
+ ?filters: Array[
242
+ {
243
+ name: ("name" | "status" | "recordType"),
244
+ values: Array[::String]
245
+ }
246
+ ]
247
+ ) -> _ListRegistryRecordsResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegistryRecordsResponseSuccess
249
+
250
+ interface _ListTagsForResourceResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
252
+ def tags: () -> ::Hash[::String, ::String]
253
+ end
254
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#list_tags_for_resource-instance_method
255
+ def list_tags_for_resource: (
256
+ resource_arn: ::String
257
+ ) -> _ListTagsForResourceResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
259
+
260
+ interface _SubmitRegistryRecordForApprovalResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubmitRegistryRecordForApprovalResponse]
262
+ def registry_arn: () -> ::String
263
+ def record_arn: () -> ::String
264
+ def record_id: () -> ::String
265
+ def status: () -> ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
266
+ def updated_at: () -> ::Time
267
+ end
268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#submit_registry_record_for_approval-instance_method
269
+ def submit_registry_record_for_approval: (
270
+ registry_id: ::String,
271
+ record_id: ::String
272
+ ) -> _SubmitRegistryRecordForApprovalResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitRegistryRecordForApprovalResponseSuccess
274
+
275
+ interface _TagResourceResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
277
+ end
278
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#tag_resource-instance_method
279
+ def tag_resource: (
280
+ resource_arn: ::String,
281
+ tags: Hash[::String, ::String]
282
+ ) -> _TagResourceResponseSuccess
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
284
+
285
+ interface _UntagResourceResponseSuccess
286
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
287
+ end
288
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#untag_resource-instance_method
289
+ def untag_resource: (
290
+ resource_arn: ::String,
291
+ tag_keys: Array[::String]
292
+ ) -> _UntagResourceResponseSuccess
293
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
294
+
295
+ interface _UpdateRegistryResponseSuccess
296
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegistryResponse]
297
+ def name: () -> ::String
298
+ def description: () -> ::String
299
+ def registry_id: () -> ::String
300
+ def registry_arn: () -> ::String
301
+ def discovery_configuration: () -> Types::DiscoveryConfiguration
302
+ def approval_configuration: () -> Types::ApprovalConfiguration
303
+ def status: () -> ("CREATING" | "READY" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED")
304
+ def status_reason: () -> ::String
305
+ def created_at: () -> ::Time
306
+ def updated_at: () -> ::Time
307
+ end
308
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#update_registry-instance_method
309
+ def update_registry: (
310
+ registry_id: ::String,
311
+ ?name: ::String,
312
+ ?description: {
313
+ optional_value: ::String?
314
+ },
315
+ ?discovery_configuration: {
316
+ authorizer_configuration: {
317
+ optional_value: Params::authorizer_configuration?
318
+ }?
319
+ },
320
+ ?approval_configuration: {
321
+ optional_value: {
322
+ auto_approval_rules: Array[("APPROVE_ALL")]?
323
+ }?
324
+ }
325
+ ) -> _UpdateRegistryResponseSuccess
326
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegistryResponseSuccess
327
+
328
+ interface _UpdateRegistryRecordResponseSuccess
329
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegistryRecordResponse]
330
+ def registry_arn: () -> ::String
331
+ def record_arn: () -> ::String
332
+ def record_id: () -> ::String
333
+ def name: () -> ::String
334
+ def display_name: () -> ::String
335
+ def description: () -> ::String
336
+ def record_type: () -> ("MCP" | "AGENT" | "CUSTOM" | "SKILL")
337
+ def descriptors: () -> Types::Descriptors
338
+ def record_version: () -> ::String
339
+ def status: () -> ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
340
+ def created_at: () -> ::Time
341
+ def updated_at: () -> ::Time
342
+ def status_reason: () -> ::String
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#update_registry_record-instance_method
345
+ def update_registry_record: (
346
+ registry_id: ::String,
347
+ record_id: ::String,
348
+ ?name: ::String,
349
+ ?display_name: {
350
+ optional_value: ::String?
351
+ },
352
+ ?description: {
353
+ optional_value: ::String?
354
+ },
355
+ ?record_type: ("MCP" | "AGENT" | "CUSTOM" | "SKILL"),
356
+ ?descriptors: {
357
+ optional_value: {
358
+ mcp_server: {
359
+ optional_value: {
360
+ data: {
361
+ optional_value: ::String?
362
+ }?,
363
+ data_schema_version: {
364
+ optional_value: ::String?
365
+ }?,
366
+ source: Params::updated_descriptor_source?,
367
+ additional_data: {
368
+ optional_value: {
369
+ tools: {
370
+ optional_value: {
371
+ data: {
372
+ optional_value: ::String?
373
+ }?,
374
+ data_schema_version: {
375
+ optional_value: ::String?
376
+ }?
377
+ }?
378
+ }?
379
+ }?
380
+ }?
381
+ }?
382
+ }?,
383
+ a2a_agent_card: {
384
+ optional_value: {
385
+ data: {
386
+ optional_value: ::String?
387
+ }?,
388
+ data_schema_version: {
389
+ optional_value: ::String?
390
+ }?,
391
+ source: Params::updated_descriptor_source?
392
+ }?
393
+ }?,
394
+ agent_skills_definition: {
395
+ optional_value: {
396
+ data: {
397
+ optional_value: ::String?
398
+ }?,
399
+ data_schema_version: {
400
+ optional_value: ::String?
401
+ }?,
402
+ additional_data: {
403
+ optional_value: {
404
+ skill_md: {
405
+ optional_value: {
406
+ data: {
407
+ optional_value: ::String?
408
+ }?,
409
+ data_schema_version: {
410
+ optional_value: ::String?
411
+ }?,
412
+ source: Params::updated_descriptor_source?
413
+ }?
414
+ }?
415
+ }?
416
+ }?
417
+ }?
418
+ }?,
419
+ custom: {
420
+ optional_value: {
421
+ data: {
422
+ optional_value: ::String?
423
+ }?
424
+ }?
425
+ }?
426
+ }?
427
+ },
428
+ ?record_version: ::String,
429
+ ?trigger_synchronization: bool
430
+ ) -> _UpdateRegistryRecordResponseSuccess
431
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegistryRecordResponseSuccess
432
+
433
+ interface _UpdateRegistryRecordStatusResponseSuccess
434
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRegistryRecordStatusResponse]
435
+ def registry_arn: () -> ::String
436
+ def record_arn: () -> ::String
437
+ def record_id: () -> ::String
438
+ def status: () -> ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED")
439
+ def status_reason: () -> ::String
440
+ def updated_at: () -> ::Time
441
+ end
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#update_registry_record_status-instance_method
443
+ def update_registry_record_status: (
444
+ registry_id: ::String,
445
+ record_id: ::String,
446
+ status: ("DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "DEPRECATED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED"),
447
+ status_reason: ::String
448
+ ) -> _UpdateRegistryRecordStatusResponseSuccess
449
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRegistryRecordStatusResponseSuccess
450
+
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentRegistryControl/Client.html#wait_until-instance_method
452
+ def wait_until: (:registry_ready waiter_name,
453
+ registry_id: ::String
454
+ ) -> Client::_GetRegistryResponseSuccess
455
+ | (:registry_ready waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetRegistryResponseSuccess
456
+ | (:registry_record_approved waiter_name,
457
+ registry_id: ::String,
458
+ record_id: ::String
459
+ ) -> Client::_GetRegistryRecordResponseSuccess
460
+ | (:registry_record_approved waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetRegistryRecordResponseSuccess
461
+ end
462
+ end
463
+ end
464
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,39 @@
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 AgentRegistryControl
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ThrottlingException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ValidationException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def reason: () -> ::String
35
+ def field_list: () -> ::String
36
+ end
37
+ end
38
+ end
39
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,98 @@
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 AgentRegistryControl
10
+ module Params
11
+ type managed_vpc_resource = {
12
+ vpc_identifier: ::String,
13
+ subnet_ids: Array[::String],
14
+ endpoint_ip_address_type: ("IPV4" | "IPV6"),
15
+ security_group_ids: Array[::String]?,
16
+ tags: Hash[::String, ::String]?,
17
+ routing_domain: ::String?
18
+ }
19
+
20
+ type private_endpoint = {
21
+ self_managed_lattice_resource: {
22
+ resource_configuration_identifier: ::String?
23
+ }?,
24
+ managed_vpc_resource: Params::managed_vpc_resource?
25
+ }
26
+
27
+ type custom_jwt_authorizer_configuration = {
28
+ discovery_url: ::String,
29
+ allowed_audience: Array[::String]?,
30
+ allowed_clients: Array[::String]?,
31
+ allowed_scopes: Array[::String]?,
32
+ custom_claims: Array[
33
+ Params::custom_claim_validation_type
34
+ ]?,
35
+ private_endpoint: Params::private_endpoint?,
36
+ private_endpoint_overrides: Array[
37
+ Params::private_endpoint_override
38
+ ]?
39
+ }
40
+
41
+ type authorizer_configuration = {
42
+ custom_jwt_authorizer: Params::custom_jwt_authorizer_configuration?
43
+ }
44
+
45
+ type custom_claim_validation_type = {
46
+ inbound_token_claim_name: ::String,
47
+ inbound_token_claim_value_type: ("STRING" | "STRING_ARRAY"),
48
+ authorizing_claim_match_value: {
49
+ claim_match_value: {
50
+ match_value_string: ::String?,
51
+ match_value_string_list: Array[::String]?
52
+ },
53
+ claim_match_operator: ("EQUALS" | "CONTAINS" | "CONTAINS_ANY")
54
+ }
55
+ }
56
+
57
+ type private_endpoint_override = {
58
+ domain: ::String,
59
+ private_endpoint: Params::private_endpoint
60
+ }
61
+
62
+ type descriptor_source_from_url = {
63
+ url: ::String,
64
+ credential_provider_configurations: Array[
65
+ Params::registry_record_credential_provider_configuration
66
+ ]?
67
+ }
68
+
69
+ type descriptor_source = {
70
+ from_url: Params::descriptor_source_from_url?
71
+ }
72
+
73
+ type registry_record_credential_provider_union = {
74
+ oauth_credential_provider: {
75
+ provider_arn: ::String,
76
+ grant_type: ("CLIENT_CREDENTIALS")?,
77
+ scopes: Array[::String]?,
78
+ custom_parameters: Hash[::String, ::String]?
79
+ }?,
80
+ iam_credential_provider: {
81
+ role_arn: ::String?,
82
+ service: ::String?,
83
+ region: ::String?
84
+ }?
85
+ }
86
+
87
+ type registry_record_credential_provider_configuration = {
88
+ credential_provider_type: ("OAUTH" | "IAM"),
89
+ credential_provider: Params::registry_record_credential_provider_union
90
+ }
91
+
92
+ type updated_descriptor_source = {
93
+ optional_value: Params::descriptor_source?
94
+ }
95
+
96
+ end
97
+ end
98
+ end