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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-agentregistrycontrol/client.rb +1971 -0
- data/lib/aws-sdk-agentregistrycontrol/client_api.rb +937 -0
- data/lib/aws-sdk-agentregistrycontrol/customizations.rb +0 -0
- data/lib/aws-sdk-agentregistrycontrol/endpoint_parameters.rb +49 -0
- data/lib/aws-sdk-agentregistrycontrol/endpoint_provider.rb +24 -0
- data/lib/aws-sdk-agentregistrycontrol/endpoints.rb +20 -0
- data/lib/aws-sdk-agentregistrycontrol/errors.rb +160 -0
- data/lib/aws-sdk-agentregistrycontrol/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-agentregistrycontrol/resource.rb +26 -0
- data/lib/aws-sdk-agentregistrycontrol/types.rb +2308 -0
- data/lib/aws-sdk-agentregistrycontrol/waiters.rb +189 -0
- data/lib/aws-sdk-agentregistrycontrol.rb +62 -0
- data/sig/client.rbs +464 -0
- data/sig/errors.rbs +39 -0
- data/sig/params.rbs +98 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +678 -0
- data/sig/waiters.rbs +34 -0
- metadata +98 -0
|
@@ -0,0 +1,1971 @@
|
|
|
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 'seahorse/client/plugins/content_length'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
|
+
|
|
39
|
+
module Aws::AgentRegistryControl
|
|
40
|
+
# An API client for AgentRegistryControl. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
41
|
+
#
|
|
42
|
+
# client = Aws::AgentRegistryControl::Client.new(
|
|
43
|
+
# region: region_name,
|
|
44
|
+
# credentials: credentials,
|
|
45
|
+
# # ...
|
|
46
|
+
# )
|
|
47
|
+
#
|
|
48
|
+
# For details on configuring region and credentials see
|
|
49
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
50
|
+
#
|
|
51
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
52
|
+
class Client < Seahorse::Client::Base
|
|
53
|
+
|
|
54
|
+
include Aws::ClientStubs
|
|
55
|
+
|
|
56
|
+
@identifier = :agentregistrycontrol
|
|
57
|
+
|
|
58
|
+
set_api(ClientApi::API)
|
|
59
|
+
|
|
60
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
61
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
62
|
+
add_plugin(Aws::Plugins::Logging)
|
|
63
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
64
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
65
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
66
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
67
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
68
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
69
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
70
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
71
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
72
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
74
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
76
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
77
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
78
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
79
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
|
80
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
82
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
83
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
|
+
add_plugin(Aws::Plugins::Sign)
|
|
87
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
|
+
add_plugin(Aws::AgentRegistryControl::Plugins::Endpoints)
|
|
89
|
+
|
|
90
|
+
# @overload initialize(options)
|
|
91
|
+
# @param [Hash] options
|
|
92
|
+
#
|
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
|
95
|
+
# class name or an instance of a plugin class.
|
|
96
|
+
#
|
|
97
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
|
100
|
+
#
|
|
101
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
102
|
+
# credentials.
|
|
103
|
+
#
|
|
104
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
105
|
+
# shared file, such as `~/.aws/config`.
|
|
106
|
+
#
|
|
107
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
108
|
+
#
|
|
109
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
110
|
+
# assume a role after providing credentials via the web.
|
|
111
|
+
#
|
|
112
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
113
|
+
# access token generated from `aws login`.
|
|
114
|
+
#
|
|
115
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
116
|
+
# process that outputs to stdout.
|
|
117
|
+
#
|
|
118
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
119
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
120
|
+
#
|
|
121
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
122
|
+
# instances running in ECS.
|
|
123
|
+
#
|
|
124
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
125
|
+
# from the Cognito Identity service.
|
|
126
|
+
#
|
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
|
128
|
+
#
|
|
129
|
+
# * `Aws.config[:credentials]`
|
|
130
|
+
#
|
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
|
132
|
+
# `:account_id` options.
|
|
133
|
+
#
|
|
134
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
|
135
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
|
136
|
+
#
|
|
137
|
+
# * `~/.aws/credentials`
|
|
138
|
+
#
|
|
139
|
+
# * `~/.aws/config`
|
|
140
|
+
#
|
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
|
145
|
+
#
|
|
146
|
+
# @option options [required, String] :region
|
|
147
|
+
# The AWS region to connect to. The configured `:region` is
|
|
148
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
149
|
+
# a default `:region` is searched for in the following locations:
|
|
150
|
+
#
|
|
151
|
+
# * `Aws.config[:region]`
|
|
152
|
+
# * `ENV['AWS_REGION']`
|
|
153
|
+
# * `ENV['AMAZON_REGION']`
|
|
154
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
155
|
+
# * `~/.aws/credentials`
|
|
156
|
+
# * `~/.aws/config`
|
|
157
|
+
#
|
|
158
|
+
# @option options [String] :access_key_id
|
|
159
|
+
#
|
|
160
|
+
# @option options [String] :account_id
|
|
161
|
+
#
|
|
162
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
163
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
164
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
165
|
+
#
|
|
166
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
167
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
168
|
+
# until there is sufficent client side capacity to retry the request.
|
|
169
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
170
|
+
# not retry instead of sleeping.
|
|
171
|
+
#
|
|
172
|
+
# @option options [Array<String>] :auth_scheme_preference
|
|
173
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
|
174
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
|
175
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
|
176
|
+
#
|
|
177
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
178
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
179
|
+
# this client.
|
|
180
|
+
#
|
|
181
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
182
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
183
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
|
186
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
|
187
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
|
188
|
+
#
|
|
189
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
190
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
191
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
192
|
+
#
|
|
193
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
194
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
195
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
196
|
+
#
|
|
197
|
+
# @option options [Boolean] :convert_params (true)
|
|
198
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
199
|
+
# the required types.
|
|
200
|
+
#
|
|
201
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
|
+
#
|
|
205
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
206
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
|
+
# accepted modes and the configuration defaults that are included.
|
|
208
|
+
#
|
|
209
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
|
+
#
|
|
212
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
213
|
+
# When set to 'true' the request body will not be compressed
|
|
214
|
+
# for supported operations.
|
|
215
|
+
#
|
|
216
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
217
|
+
# Normally you should not configure the `:endpoint` option
|
|
218
|
+
# directly. This is normally constructed from the `:region`
|
|
219
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
220
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
221
|
+
# be a URI formatted like:
|
|
222
|
+
#
|
|
223
|
+
# 'http://example.com'
|
|
224
|
+
# 'https://example.com'
|
|
225
|
+
# 'http://example.com:123'
|
|
226
|
+
#
|
|
227
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
228
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
229
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
230
|
+
#
|
|
231
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
232
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
233
|
+
#
|
|
234
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
235
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
236
|
+
# Use this option to config the time interval in seconds for making
|
|
237
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
238
|
+
#
|
|
239
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
240
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
241
|
+
#
|
|
242
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
243
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
244
|
+
# variables and the shared configuration file.
|
|
245
|
+
#
|
|
246
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
247
|
+
# The log formatter.
|
|
248
|
+
#
|
|
249
|
+
# @option options [Symbol] :log_level (:info)
|
|
250
|
+
# The log level to send messages to the `:logger` at.
|
|
251
|
+
#
|
|
252
|
+
# @option options [Logger] :logger
|
|
253
|
+
# The Logger instance to send log messages to. If this option
|
|
254
|
+
# is not set, logging will be disabled.
|
|
255
|
+
#
|
|
256
|
+
# @option options [Integer] :max_attempts (3)
|
|
257
|
+
# An integer representing the maximum number attempts that will be made for
|
|
258
|
+
# a single request, including the initial attempt. For example,
|
|
259
|
+
# setting this value to 5 will result in a request being retried up to
|
|
260
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
|
261
|
+
#
|
|
262
|
+
# @option options [String] :profile ("default")
|
|
263
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
264
|
+
# When not specified, 'default' is used.
|
|
265
|
+
#
|
|
266
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
|
267
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
|
268
|
+
#
|
|
269
|
+
# * `when_supported` - (default) When set, a checksum will be
|
|
270
|
+
# calculated for all request payloads of operations modeled with the
|
|
271
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
|
272
|
+
# `requestAlgorithmMember` is modeled.
|
|
273
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
|
274
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
|
275
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
|
276
|
+
# is modeled and supplied.
|
|
277
|
+
#
|
|
278
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
279
|
+
# The minimum size in bytes that triggers compression for request
|
|
280
|
+
# bodies. The value must be non-negative integer value between 0
|
|
281
|
+
# and 10485780 bytes inclusive.
|
|
282
|
+
#
|
|
283
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
|
284
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
|
285
|
+
#
|
|
286
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
|
287
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
|
288
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
|
289
|
+
# are supported.
|
|
290
|
+
# * `when_required` - When set, checksum validation is not performed on
|
|
291
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
|
292
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
|
293
|
+
#
|
|
294
|
+
# @option options [Proc] :retry_backoff
|
|
295
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
296
|
+
# This option is only used in the `legacy` retry mode.
|
|
297
|
+
#
|
|
298
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
299
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
300
|
+
# is only used in the `legacy` retry mode.
|
|
301
|
+
#
|
|
302
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
303
|
+
# A delay randomiser function used by the default backoff function.
|
|
304
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
305
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
306
|
+
# in the `legacy` retry mode.
|
|
307
|
+
#
|
|
308
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
309
|
+
#
|
|
310
|
+
# @option options [Integer] :retry_limit (3)
|
|
311
|
+
# The maximum number of times to retry failed requests. Only
|
|
312
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
313
|
+
# are retried. Generally, these are throttling errors, data
|
|
314
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
315
|
+
# endpoint discovery, and errors from expired credentials.
|
|
316
|
+
# This option is only used in the `legacy` retry mode.
|
|
317
|
+
#
|
|
318
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
319
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
320
|
+
# used by the default backoff function. This option is only used in the
|
|
321
|
+
# `legacy` retry mode.
|
|
322
|
+
#
|
|
323
|
+
# @option options [String] :retry_mode ("legacy")
|
|
324
|
+
# Specifies which retry algorithm to use. Values are:
|
|
325
|
+
#
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
|
+
#
|
|
329
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
|
+
# This includes support for retry quotas, which limit the number of
|
|
331
|
+
# unsuccessful retries a client can make.
|
|
332
|
+
#
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
335
|
+
#
|
|
336
|
+
# @option options [String] :sdk_ua_app_id
|
|
337
|
+
# A unique and opaque application ID that is appended to the
|
|
338
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
339
|
+
# maximum length of 50. This variable is sourced from environment
|
|
340
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
341
|
+
#
|
|
342
|
+
# @option options [String] :secret_access_key
|
|
343
|
+
#
|
|
344
|
+
# @option options [String] :session_token
|
|
345
|
+
#
|
|
346
|
+
# @option options [Array] :sigv4a_signing_region_set
|
|
347
|
+
# A list of regions that should be signed with SigV4a signing. When
|
|
348
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
|
349
|
+
# in the following locations:
|
|
350
|
+
#
|
|
351
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
|
352
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
|
353
|
+
# * `~/.aws/config`
|
|
354
|
+
#
|
|
355
|
+
# @option options [Boolean] :stub_responses (false)
|
|
356
|
+
# Causes the client to return stubbed responses. By default
|
|
357
|
+
# fake responses are generated and returned. You can specify
|
|
358
|
+
# the response data to return or errors to raise by calling
|
|
359
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
360
|
+
#
|
|
361
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
362
|
+
# requests are made, and retries are disabled.
|
|
363
|
+
#
|
|
364
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
365
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
366
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
367
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
368
|
+
# following telemetry providers:
|
|
369
|
+
#
|
|
370
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
371
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
372
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
373
|
+
#
|
|
374
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
375
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
|
376
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
|
377
|
+
#
|
|
378
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
379
|
+
# tokens.
|
|
380
|
+
#
|
|
381
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
382
|
+
# access token generated from `aws login`.
|
|
383
|
+
#
|
|
384
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
385
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
386
|
+
#
|
|
387
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
388
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
389
|
+
# will be used if available.
|
|
390
|
+
#
|
|
391
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
392
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
393
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
394
|
+
# is set to `true`.
|
|
395
|
+
#
|
|
396
|
+
# @option options [Boolean] :validate_params (true)
|
|
397
|
+
# When `true`, request parameters are validated before
|
|
398
|
+
# sending the request.
|
|
399
|
+
#
|
|
400
|
+
# @option options [Aws::AgentRegistryControl::EndpointProvider] :endpoint_provider
|
|
401
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
|
402
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
|
403
|
+
# `Aws::AgentRegistryControl::EndpointParameters`.
|
|
404
|
+
#
|
|
405
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
406
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
407
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
408
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
409
|
+
# behaviour. This value can safely be set per request on the session.
|
|
410
|
+
#
|
|
411
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
412
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
413
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
414
|
+
# pool before making a request.
|
|
415
|
+
#
|
|
416
|
+
# @option options [Float] :http_open_timeout (15)
|
|
417
|
+
# The default number of seconds to wait for response data.
|
|
418
|
+
# This value can safely be set per-request on the session.
|
|
419
|
+
#
|
|
420
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
421
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
422
|
+
#
|
|
423
|
+
# @option options [Float] :http_read_timeout (60)
|
|
424
|
+
# The default number of seconds to wait for response data.
|
|
425
|
+
# This value can safely be set per-request on the session.
|
|
426
|
+
#
|
|
427
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
428
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
429
|
+
#
|
|
430
|
+
# @option options [Proc] :on_chunk_received
|
|
431
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
432
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
433
|
+
# the number of bytes received, and the total number of
|
|
434
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
435
|
+
#
|
|
436
|
+
# @option options [Proc] :on_chunk_sent
|
|
437
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
438
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
439
|
+
# the number of bytes read from the body, and the total number of
|
|
440
|
+
# bytes in the body.
|
|
441
|
+
#
|
|
442
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
443
|
+
# When `true`, response errors are raised.
|
|
444
|
+
#
|
|
445
|
+
# @option options [String] :ssl_ca_bundle
|
|
446
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
447
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
448
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
449
|
+
#
|
|
450
|
+
# @option options [String] :ssl_ca_directory
|
|
451
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
452
|
+
# authority files for verifying peer certificates. If you do
|
|
453
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
454
|
+
# default will be used if available.
|
|
455
|
+
#
|
|
456
|
+
# @option options [String] :ssl_ca_store
|
|
457
|
+
# Sets the X509::Store to verify peer certificate.
|
|
458
|
+
#
|
|
459
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
|
460
|
+
# Sets a client certificate when creating http connections.
|
|
461
|
+
#
|
|
462
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
|
463
|
+
# Sets a client key when creating http connections.
|
|
464
|
+
#
|
|
465
|
+
# @option options [Float] :ssl_timeout
|
|
466
|
+
# Sets the SSL timeout in seconds
|
|
467
|
+
#
|
|
468
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
469
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
470
|
+
#
|
|
471
|
+
def initialize(*args)
|
|
472
|
+
super
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# @!group API Operations
|
|
476
|
+
|
|
477
|
+
# Creates a new registry, a catalog that organizes registry records and
|
|
478
|
+
# defines their discovery authorization and record approval behavior.
|
|
479
|
+
# Creation is asynchronous: the registry begins in the CREATING status
|
|
480
|
+
# and becomes usable once it reaches READY.
|
|
481
|
+
#
|
|
482
|
+
# @option params [required, String] :name
|
|
483
|
+
# The name of the registry
|
|
484
|
+
#
|
|
485
|
+
# @option params [String] :description
|
|
486
|
+
# The description of the registry
|
|
487
|
+
#
|
|
488
|
+
# @option params [Types::DiscoveryConfiguration] :discovery_configuration
|
|
489
|
+
# Discovery configuration for the registry
|
|
490
|
+
#
|
|
491
|
+
# @option params [String] :client_token
|
|
492
|
+
# Client token for idempotency
|
|
493
|
+
#
|
|
494
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
495
|
+
# not need to pass this option.**
|
|
496
|
+
#
|
|
497
|
+
# @option params [Hash<String,String>] :tags
|
|
498
|
+
# Tags to associate with the registry
|
|
499
|
+
#
|
|
500
|
+
# @option params [Types::ApprovalConfiguration] :approval_configuration
|
|
501
|
+
# Approval configuration for registry records
|
|
502
|
+
#
|
|
503
|
+
# @return [Types::CreateRegistryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
504
|
+
#
|
|
505
|
+
# * {Types::CreateRegistryResponse#registry_arn #registry_arn} => String
|
|
506
|
+
#
|
|
507
|
+
# @example Request syntax with placeholder values
|
|
508
|
+
#
|
|
509
|
+
# resp = client.create_registry({
|
|
510
|
+
# name: "RegistryName", # required
|
|
511
|
+
# description: "Description",
|
|
512
|
+
# discovery_configuration: {
|
|
513
|
+
# authorizer_configuration: {
|
|
514
|
+
# custom_jwt_authorizer: {
|
|
515
|
+
# discovery_url: "DiscoveryUrl", # required
|
|
516
|
+
# allowed_audience: ["AllowedAudience"],
|
|
517
|
+
# allowed_clients: ["AllowedClient"],
|
|
518
|
+
# allowed_scopes: ["AllowedScopeType"],
|
|
519
|
+
# custom_claims: [
|
|
520
|
+
# {
|
|
521
|
+
# inbound_token_claim_name: "InboundTokenClaimNameType", # required
|
|
522
|
+
# inbound_token_claim_value_type: "STRING", # required, accepts STRING, STRING_ARRAY
|
|
523
|
+
# authorizing_claim_match_value: { # required
|
|
524
|
+
# claim_match_value: { # required
|
|
525
|
+
# match_value_string: "MatchValueString",
|
|
526
|
+
# match_value_string_list: ["MatchValueString"],
|
|
527
|
+
# },
|
|
528
|
+
# claim_match_operator: "EQUALS", # required, accepts EQUALS, CONTAINS, CONTAINS_ANY
|
|
529
|
+
# },
|
|
530
|
+
# },
|
|
531
|
+
# ],
|
|
532
|
+
# private_endpoint: {
|
|
533
|
+
# self_managed_lattice_resource: {
|
|
534
|
+
# resource_configuration_identifier: "ResourceConfigurationIdentifier",
|
|
535
|
+
# },
|
|
536
|
+
# managed_vpc_resource: {
|
|
537
|
+
# vpc_identifier: "VpcIdentifier", # required
|
|
538
|
+
# subnet_ids: ["SubnetId"], # required
|
|
539
|
+
# endpoint_ip_address_type: "IPV4", # required, accepts IPV4, IPV6
|
|
540
|
+
# security_group_ids: ["SecurityGroupIdentifier"],
|
|
541
|
+
# tags: {
|
|
542
|
+
# "TagKey" => "TagValue",
|
|
543
|
+
# },
|
|
544
|
+
# routing_domain: "RoutingDomain",
|
|
545
|
+
# },
|
|
546
|
+
# },
|
|
547
|
+
# private_endpoint_overrides: [
|
|
548
|
+
# {
|
|
549
|
+
# domain: "PrivateEndpointOverrideDomain", # required
|
|
550
|
+
# private_endpoint: { # required
|
|
551
|
+
# self_managed_lattice_resource: {
|
|
552
|
+
# resource_configuration_identifier: "ResourceConfigurationIdentifier",
|
|
553
|
+
# },
|
|
554
|
+
# managed_vpc_resource: {
|
|
555
|
+
# vpc_identifier: "VpcIdentifier", # required
|
|
556
|
+
# subnet_ids: ["SubnetId"], # required
|
|
557
|
+
# endpoint_ip_address_type: "IPV4", # required, accepts IPV4, IPV6
|
|
558
|
+
# security_group_ids: ["SecurityGroupIdentifier"],
|
|
559
|
+
# tags: {
|
|
560
|
+
# "TagKey" => "TagValue",
|
|
561
|
+
# },
|
|
562
|
+
# routing_domain: "RoutingDomain",
|
|
563
|
+
# },
|
|
564
|
+
# },
|
|
565
|
+
# },
|
|
566
|
+
# ],
|
|
567
|
+
# },
|
|
568
|
+
# },
|
|
569
|
+
# authorizer_type: "CUSTOM_JWT", # accepts CUSTOM_JWT, AWS_IAM
|
|
570
|
+
# },
|
|
571
|
+
# client_token: "ClientToken",
|
|
572
|
+
# tags: {
|
|
573
|
+
# "TagKey" => "TagValue",
|
|
574
|
+
# },
|
|
575
|
+
# approval_configuration: {
|
|
576
|
+
# auto_approval_rules: ["APPROVE_ALL"], # accepts APPROVE_ALL
|
|
577
|
+
# },
|
|
578
|
+
# })
|
|
579
|
+
#
|
|
580
|
+
# @example Response structure
|
|
581
|
+
#
|
|
582
|
+
# resp.registry_arn #=> String
|
|
583
|
+
#
|
|
584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/CreateRegistry AWS API Documentation
|
|
585
|
+
#
|
|
586
|
+
# @overload create_registry(params = {})
|
|
587
|
+
# @param [Hash] params ({})
|
|
588
|
+
def create_registry(params = {}, options = {})
|
|
589
|
+
req = build_request(:create_registry, params)
|
|
590
|
+
req.send_request(options)
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# Creates a registry record within a registry. A registry record
|
|
594
|
+
# describes a discoverable resource, such as an MCP server, an agent, an
|
|
595
|
+
# agent skill, or a custom resource. Creation is asynchronous: the
|
|
596
|
+
# record is returned with the CREATING status while it is processed.
|
|
597
|
+
#
|
|
598
|
+
# @option params [required, String] :registry_id
|
|
599
|
+
# The identifier of the registry in which to create the record (ARN or
|
|
600
|
+
# ID)
|
|
601
|
+
#
|
|
602
|
+
# @option params [required, String] :name
|
|
603
|
+
# The name of the registry record
|
|
604
|
+
#
|
|
605
|
+
# @option params [String] :display_name
|
|
606
|
+
# The human-readable display name of the registry record
|
|
607
|
+
#
|
|
608
|
+
# @option params [String] :description
|
|
609
|
+
# The description of the registry record
|
|
610
|
+
#
|
|
611
|
+
# @option params [required, String] :record_type
|
|
612
|
+
# The type of the registry record, which determines the descriptor
|
|
613
|
+
# format
|
|
614
|
+
#
|
|
615
|
+
# @option params [required, Types::Descriptors] :descriptors
|
|
616
|
+
# The typed descriptor content for the registry record
|
|
617
|
+
#
|
|
618
|
+
# @option params [String] :record_version
|
|
619
|
+
# The version of the registry record
|
|
620
|
+
#
|
|
621
|
+
# @option params [String] :client_token
|
|
622
|
+
# Client token for idempotency
|
|
623
|
+
#
|
|
624
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
625
|
+
# not need to pass this option.**
|
|
626
|
+
#
|
|
627
|
+
# @option params [Hash<String,String>] :tags
|
|
628
|
+
# Tags to associate with the registry record
|
|
629
|
+
#
|
|
630
|
+
# @return [Types::CreateRegistryRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
631
|
+
#
|
|
632
|
+
# * {Types::CreateRegistryRecordResponse#record_arn #record_arn} => String
|
|
633
|
+
# * {Types::CreateRegistryRecordResponse#status #status} => String
|
|
634
|
+
#
|
|
635
|
+
# @example Request syntax with placeholder values
|
|
636
|
+
#
|
|
637
|
+
# resp = client.create_registry_record({
|
|
638
|
+
# registry_id: "RegistryIdentifier", # required
|
|
639
|
+
# name: "RegistryRecordName", # required
|
|
640
|
+
# display_name: "RegistryRecordDisplayName",
|
|
641
|
+
# description: "Description",
|
|
642
|
+
# record_type: "MCP", # required, accepts MCP, AGENT, CUSTOM, SKILL
|
|
643
|
+
# descriptors: { # required
|
|
644
|
+
# mcp_server: {
|
|
645
|
+
# data: "DescriptorData",
|
|
646
|
+
# data_schema_version: "DataSchemaVersion",
|
|
647
|
+
# additional_data: {
|
|
648
|
+
# tools: {
|
|
649
|
+
# data: "DescriptorData",
|
|
650
|
+
# data_schema_version: "DataSchemaVersion",
|
|
651
|
+
# },
|
|
652
|
+
# },
|
|
653
|
+
# source: {
|
|
654
|
+
# from_url: {
|
|
655
|
+
# url: "DescriptorSourceUrl", # required
|
|
656
|
+
# credential_provider_configurations: [
|
|
657
|
+
# {
|
|
658
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
659
|
+
# credential_provider: { # required
|
|
660
|
+
# oauth_credential_provider: {
|
|
661
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
662
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
663
|
+
# scopes: ["String"],
|
|
664
|
+
# custom_parameters: {
|
|
665
|
+
# "String" => "String",
|
|
666
|
+
# },
|
|
667
|
+
# },
|
|
668
|
+
# iam_credential_provider: {
|
|
669
|
+
# role_arn: "IamRoleArn",
|
|
670
|
+
# service: "IamSigningServiceName",
|
|
671
|
+
# region: "IamSigningRegion",
|
|
672
|
+
# },
|
|
673
|
+
# },
|
|
674
|
+
# },
|
|
675
|
+
# ],
|
|
676
|
+
# },
|
|
677
|
+
# },
|
|
678
|
+
# },
|
|
679
|
+
# a2a_agent_card: {
|
|
680
|
+
# data: "DescriptorData",
|
|
681
|
+
# data_schema_version: "DataSchemaVersion",
|
|
682
|
+
# source: {
|
|
683
|
+
# from_url: {
|
|
684
|
+
# url: "DescriptorSourceUrl", # required
|
|
685
|
+
# credential_provider_configurations: [
|
|
686
|
+
# {
|
|
687
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
688
|
+
# credential_provider: { # required
|
|
689
|
+
# oauth_credential_provider: {
|
|
690
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
691
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
692
|
+
# scopes: ["String"],
|
|
693
|
+
# custom_parameters: {
|
|
694
|
+
# "String" => "String",
|
|
695
|
+
# },
|
|
696
|
+
# },
|
|
697
|
+
# iam_credential_provider: {
|
|
698
|
+
# role_arn: "IamRoleArn",
|
|
699
|
+
# service: "IamSigningServiceName",
|
|
700
|
+
# region: "IamSigningRegion",
|
|
701
|
+
# },
|
|
702
|
+
# },
|
|
703
|
+
# },
|
|
704
|
+
# ],
|
|
705
|
+
# },
|
|
706
|
+
# },
|
|
707
|
+
# },
|
|
708
|
+
# agent_skills_definition: {
|
|
709
|
+
# data: "DescriptorData",
|
|
710
|
+
# data_schema_version: "DataSchemaVersion",
|
|
711
|
+
# additional_data: {
|
|
712
|
+
# skill_md: {
|
|
713
|
+
# data: "DescriptorData",
|
|
714
|
+
# data_schema_version: "DataSchemaVersion",
|
|
715
|
+
# source: {
|
|
716
|
+
# from_url: {
|
|
717
|
+
# url: "DescriptorSourceUrl", # required
|
|
718
|
+
# credential_provider_configurations: [
|
|
719
|
+
# {
|
|
720
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
721
|
+
# credential_provider: { # required
|
|
722
|
+
# oauth_credential_provider: {
|
|
723
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
724
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
725
|
+
# scopes: ["String"],
|
|
726
|
+
# custom_parameters: {
|
|
727
|
+
# "String" => "String",
|
|
728
|
+
# },
|
|
729
|
+
# },
|
|
730
|
+
# iam_credential_provider: {
|
|
731
|
+
# role_arn: "IamRoleArn",
|
|
732
|
+
# service: "IamSigningServiceName",
|
|
733
|
+
# region: "IamSigningRegion",
|
|
734
|
+
# },
|
|
735
|
+
# },
|
|
736
|
+
# },
|
|
737
|
+
# ],
|
|
738
|
+
# },
|
|
739
|
+
# },
|
|
740
|
+
# },
|
|
741
|
+
# },
|
|
742
|
+
# },
|
|
743
|
+
# custom: {
|
|
744
|
+
# data: "DescriptorData",
|
|
745
|
+
# },
|
|
746
|
+
# },
|
|
747
|
+
# record_version: "RegistryRecordVersion",
|
|
748
|
+
# client_token: "ClientToken",
|
|
749
|
+
# tags: {
|
|
750
|
+
# "TagKey" => "TagValue",
|
|
751
|
+
# },
|
|
752
|
+
# })
|
|
753
|
+
#
|
|
754
|
+
# @example Response structure
|
|
755
|
+
#
|
|
756
|
+
# resp.record_arn #=> String
|
|
757
|
+
# resp.status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
758
|
+
#
|
|
759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/CreateRegistryRecord AWS API Documentation
|
|
760
|
+
#
|
|
761
|
+
# @overload create_registry_record(params = {})
|
|
762
|
+
# @param [Hash] params ({})
|
|
763
|
+
def create_registry_record(params = {}, options = {})
|
|
764
|
+
req = build_request(:create_registry_record, params)
|
|
765
|
+
req.send_request(options)
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
# Deletes a registry. Deletion is asynchronous: the registry transitions
|
|
769
|
+
# to the DELETING status and is removed along with its registry records.
|
|
770
|
+
#
|
|
771
|
+
# @option params [required, String] :registry_id
|
|
772
|
+
# The identifier of the registry to delete (ARN or ID)
|
|
773
|
+
#
|
|
774
|
+
# @return [Types::DeleteRegistryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
775
|
+
#
|
|
776
|
+
# * {Types::DeleteRegistryResponse#status #status} => String
|
|
777
|
+
#
|
|
778
|
+
# @example Request syntax with placeholder values
|
|
779
|
+
#
|
|
780
|
+
# resp = client.delete_registry({
|
|
781
|
+
# registry_id: "RegistryIdentifier", # required
|
|
782
|
+
# })
|
|
783
|
+
#
|
|
784
|
+
# @example Response structure
|
|
785
|
+
#
|
|
786
|
+
# resp.status #=> String, one of "CREATING", "READY", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
787
|
+
#
|
|
788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/DeleteRegistry AWS API Documentation
|
|
789
|
+
#
|
|
790
|
+
# @overload delete_registry(params = {})
|
|
791
|
+
# @param [Hash] params ({})
|
|
792
|
+
def delete_registry(params = {}, options = {})
|
|
793
|
+
req = build_request(:delete_registry, params)
|
|
794
|
+
req.send_request(options)
|
|
795
|
+
end
|
|
796
|
+
|
|
797
|
+
# Deletes a registry record
|
|
798
|
+
#
|
|
799
|
+
# @option params [required, String] :registry_id
|
|
800
|
+
# The identifier of the registry containing the record (ARN or ID)
|
|
801
|
+
#
|
|
802
|
+
# @option params [required, String] :record_id
|
|
803
|
+
# The identifier of the registry record to delete (ARN or ID)
|
|
804
|
+
#
|
|
805
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
806
|
+
#
|
|
807
|
+
# @example Request syntax with placeholder values
|
|
808
|
+
#
|
|
809
|
+
# resp = client.delete_registry_record({
|
|
810
|
+
# registry_id: "RegistryIdentifier", # required
|
|
811
|
+
# record_id: "RecordIdentifier", # required
|
|
812
|
+
# })
|
|
813
|
+
#
|
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/DeleteRegistryRecord AWS API Documentation
|
|
815
|
+
#
|
|
816
|
+
# @overload delete_registry_record(params = {})
|
|
817
|
+
# @param [Hash] params ({})
|
|
818
|
+
def delete_registry_record(params = {}, options = {})
|
|
819
|
+
req = build_request(:delete_registry_record, params)
|
|
820
|
+
req.send_request(options)
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
# Gets a registry by identifier (ARN or ID)
|
|
824
|
+
#
|
|
825
|
+
# @option params [required, String] :registry_id
|
|
826
|
+
# The identifier of the registry to retrieve (ARN or ID)
|
|
827
|
+
#
|
|
828
|
+
# @return [Types::GetRegistryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
829
|
+
#
|
|
830
|
+
# * {Types::GetRegistryResponse#name #name} => String
|
|
831
|
+
# * {Types::GetRegistryResponse#description #description} => String
|
|
832
|
+
# * {Types::GetRegistryResponse#registry_id #registry_id} => String
|
|
833
|
+
# * {Types::GetRegistryResponse#registry_arn #registry_arn} => String
|
|
834
|
+
# * {Types::GetRegistryResponse#discovery_configuration #discovery_configuration} => Types::DiscoveryConfiguration
|
|
835
|
+
# * {Types::GetRegistryResponse#approval_configuration #approval_configuration} => Types::ApprovalConfiguration
|
|
836
|
+
# * {Types::GetRegistryResponse#status #status} => String
|
|
837
|
+
# * {Types::GetRegistryResponse#status_reason #status_reason} => String
|
|
838
|
+
# * {Types::GetRegistryResponse#created_at #created_at} => Time
|
|
839
|
+
# * {Types::GetRegistryResponse#updated_at #updated_at} => Time
|
|
840
|
+
#
|
|
841
|
+
# @example Request syntax with placeholder values
|
|
842
|
+
#
|
|
843
|
+
# resp = client.get_registry({
|
|
844
|
+
# registry_id: "RegistryIdentifier", # required
|
|
845
|
+
# })
|
|
846
|
+
#
|
|
847
|
+
# @example Response structure
|
|
848
|
+
#
|
|
849
|
+
# resp.name #=> String
|
|
850
|
+
# resp.description #=> String
|
|
851
|
+
# resp.registry_id #=> String
|
|
852
|
+
# resp.registry_arn #=> String
|
|
853
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
854
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
855
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
856
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
857
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
858
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes #=> Array
|
|
859
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes[0] #=> String
|
|
860
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims #=> Array
|
|
861
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_name #=> String
|
|
862
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_value_type #=> String, one of "STRING", "STRING_ARRAY"
|
|
863
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string #=> String
|
|
864
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list #=> Array
|
|
865
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list[0] #=> String
|
|
866
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_operator #=> String, one of "EQUALS", "CONTAINS", "CONTAINS_ANY"
|
|
867
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
868
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
869
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
870
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
871
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
872
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
873
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
874
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
875
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
876
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
877
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides #=> Array
|
|
878
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].domain #=> String
|
|
879
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
880
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
881
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
882
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
883
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
884
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
885
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
886
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
887
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
888
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
889
|
+
# resp.discovery_configuration.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
890
|
+
# resp.approval_configuration.auto_approval_rules #=> Array
|
|
891
|
+
# resp.approval_configuration.auto_approval_rules[0] #=> String, one of "APPROVE_ALL"
|
|
892
|
+
# resp.status #=> String, one of "CREATING", "READY", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
893
|
+
# resp.status_reason #=> String
|
|
894
|
+
# resp.created_at #=> Time
|
|
895
|
+
# resp.updated_at #=> Time
|
|
896
|
+
#
|
|
897
|
+
#
|
|
898
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
899
|
+
#
|
|
900
|
+
# * registry_ready
|
|
901
|
+
#
|
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/GetRegistry AWS API Documentation
|
|
903
|
+
#
|
|
904
|
+
# @overload get_registry(params = {})
|
|
905
|
+
# @param [Hash] params ({})
|
|
906
|
+
def get_registry(params = {}, options = {})
|
|
907
|
+
req = build_request(:get_registry, params)
|
|
908
|
+
req.send_request(options)
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
# Retrieves the details of a registry record
|
|
912
|
+
#
|
|
913
|
+
# @option params [required, String] :registry_id
|
|
914
|
+
# The identifier of the registry containing the record (ARN or ID)
|
|
915
|
+
#
|
|
916
|
+
# @option params [required, String] :record_id
|
|
917
|
+
# The identifier of the registry record to retrieve (ARN or ID)
|
|
918
|
+
#
|
|
919
|
+
# @return [Types::GetRegistryRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
920
|
+
#
|
|
921
|
+
# * {Types::GetRegistryRecordResponse#registry_arn #registry_arn} => String
|
|
922
|
+
# * {Types::GetRegistryRecordResponse#record_arn #record_arn} => String
|
|
923
|
+
# * {Types::GetRegistryRecordResponse#record_id #record_id} => String
|
|
924
|
+
# * {Types::GetRegistryRecordResponse#name #name} => String
|
|
925
|
+
# * {Types::GetRegistryRecordResponse#display_name #display_name} => String
|
|
926
|
+
# * {Types::GetRegistryRecordResponse#description #description} => String
|
|
927
|
+
# * {Types::GetRegistryRecordResponse#record_type #record_type} => String
|
|
928
|
+
# * {Types::GetRegistryRecordResponse#descriptors #descriptors} => Types::Descriptors
|
|
929
|
+
# * {Types::GetRegistryRecordResponse#record_version #record_version} => String
|
|
930
|
+
# * {Types::GetRegistryRecordResponse#status #status} => String
|
|
931
|
+
# * {Types::GetRegistryRecordResponse#created_at #created_at} => Time
|
|
932
|
+
# * {Types::GetRegistryRecordResponse#updated_at #updated_at} => Time
|
|
933
|
+
# * {Types::GetRegistryRecordResponse#status_reason #status_reason} => String
|
|
934
|
+
#
|
|
935
|
+
# @example Request syntax with placeholder values
|
|
936
|
+
#
|
|
937
|
+
# resp = client.get_registry_record({
|
|
938
|
+
# registry_id: "RegistryIdentifier", # required
|
|
939
|
+
# record_id: "RecordIdentifier", # required
|
|
940
|
+
# })
|
|
941
|
+
#
|
|
942
|
+
# @example Response structure
|
|
943
|
+
#
|
|
944
|
+
# resp.registry_arn #=> String
|
|
945
|
+
# resp.record_arn #=> String
|
|
946
|
+
# resp.record_id #=> String
|
|
947
|
+
# resp.name #=> String
|
|
948
|
+
# resp.display_name #=> String
|
|
949
|
+
# resp.description #=> String
|
|
950
|
+
# resp.record_type #=> String, one of "MCP", "AGENT", "CUSTOM", "SKILL"
|
|
951
|
+
# resp.descriptors.mcp_server.data #=> String
|
|
952
|
+
# resp.descriptors.mcp_server.data_schema_version #=> String
|
|
953
|
+
# resp.descriptors.mcp_server.additional_data.tools.data #=> String
|
|
954
|
+
# resp.descriptors.mcp_server.additional_data.tools.data_schema_version #=> String
|
|
955
|
+
# resp.descriptors.mcp_server.source.from_url.url #=> String
|
|
956
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations #=> Array
|
|
957
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
958
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
959
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
960
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
961
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
962
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
963
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
964
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
965
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
966
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
967
|
+
# resp.descriptors.a2a_agent_card.data #=> String
|
|
968
|
+
# resp.descriptors.a2a_agent_card.data_schema_version #=> String
|
|
969
|
+
# resp.descriptors.a2a_agent_card.source.from_url.url #=> String
|
|
970
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations #=> Array
|
|
971
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
972
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
973
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
974
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
975
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
976
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
977
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
978
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
979
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
980
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
981
|
+
# resp.descriptors.agent_skills_definition.data #=> String
|
|
982
|
+
# resp.descriptors.agent_skills_definition.data_schema_version #=> String
|
|
983
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.data #=> String
|
|
984
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.data_schema_version #=> String
|
|
985
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.url #=> String
|
|
986
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations #=> Array
|
|
987
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
988
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
989
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
990
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
991
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
992
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
993
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
994
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
995
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
996
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
997
|
+
# resp.descriptors.custom.data #=> String
|
|
998
|
+
# resp.record_version #=> String
|
|
999
|
+
# resp.status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
1000
|
+
# resp.created_at #=> Time
|
|
1001
|
+
# resp.updated_at #=> Time
|
|
1002
|
+
# resp.status_reason #=> String
|
|
1003
|
+
#
|
|
1004
|
+
#
|
|
1005
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
1006
|
+
#
|
|
1007
|
+
# * registry_record_approved
|
|
1008
|
+
#
|
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/GetRegistryRecord AWS API Documentation
|
|
1010
|
+
#
|
|
1011
|
+
# @overload get_registry_record(params = {})
|
|
1012
|
+
# @param [Hash] params ({})
|
|
1013
|
+
def get_registry_record(params = {}, options = {})
|
|
1014
|
+
req = build_request(:get_registry_record, params)
|
|
1015
|
+
req.send_request(options)
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1018
|
+
# Lists the registries in the caller's account and Region, with
|
|
1019
|
+
# optional filtering by status and discovery authorizer type
|
|
1020
|
+
#
|
|
1021
|
+
# @option params [Integer] :max_results
|
|
1022
|
+
# Maximum number of results to return
|
|
1023
|
+
#
|
|
1024
|
+
# @option params [String] :next_token
|
|
1025
|
+
# Token for pagination
|
|
1026
|
+
#
|
|
1027
|
+
# @option params [Array<Types::RegistryFilter>] :filters
|
|
1028
|
+
# Filters to apply to the registry list
|
|
1029
|
+
#
|
|
1030
|
+
# @return [Types::ListRegistriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1031
|
+
#
|
|
1032
|
+
# * {Types::ListRegistriesResponse#registries #registries} => Array<Types::RegistrySummary>
|
|
1033
|
+
# * {Types::ListRegistriesResponse#next_token #next_token} => String
|
|
1034
|
+
#
|
|
1035
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1036
|
+
#
|
|
1037
|
+
# @example Request syntax with placeholder values
|
|
1038
|
+
#
|
|
1039
|
+
# resp = client.list_registries({
|
|
1040
|
+
# max_results: 1,
|
|
1041
|
+
# next_token: "NextToken",
|
|
1042
|
+
# filters: [
|
|
1043
|
+
# {
|
|
1044
|
+
# name: "status", # required, accepts status, discoveryConfiguration.authorizerType
|
|
1045
|
+
# values: ["FilterValue"], # required
|
|
1046
|
+
# },
|
|
1047
|
+
# ],
|
|
1048
|
+
# })
|
|
1049
|
+
#
|
|
1050
|
+
# @example Response structure
|
|
1051
|
+
#
|
|
1052
|
+
# resp.registries #=> Array
|
|
1053
|
+
# resp.registries[0].name #=> String
|
|
1054
|
+
# resp.registries[0].description #=> String
|
|
1055
|
+
# resp.registries[0].registry_id #=> String
|
|
1056
|
+
# resp.registries[0].registry_arn #=> String
|
|
1057
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
1058
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
1059
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
1060
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
1061
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
1062
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes #=> Array
|
|
1063
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes[0] #=> String
|
|
1064
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims #=> Array
|
|
1065
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_name #=> String
|
|
1066
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_value_type #=> String, one of "STRING", "STRING_ARRAY"
|
|
1067
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string #=> String
|
|
1068
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list #=> Array
|
|
1069
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list[0] #=> String
|
|
1070
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_operator #=> String, one of "EQUALS", "CONTAINS", "CONTAINS_ANY"
|
|
1071
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
1072
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
1073
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
1074
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
1075
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
1076
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
1077
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
1078
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
1079
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
1080
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
1081
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides #=> Array
|
|
1082
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].domain #=> String
|
|
1083
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
1084
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
1085
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
1086
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
1087
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
1088
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
1089
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
1090
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
1091
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
1092
|
+
# resp.registries[0].discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
1093
|
+
# resp.registries[0].discovery_configuration.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
1094
|
+
# resp.registries[0].status #=> String, one of "CREATING", "READY", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
1095
|
+
# resp.registries[0].status_reason #=> String
|
|
1096
|
+
# resp.registries[0].created_at #=> Time
|
|
1097
|
+
# resp.registries[0].updated_at #=> Time
|
|
1098
|
+
# resp.next_token #=> String
|
|
1099
|
+
#
|
|
1100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/ListRegistries AWS API Documentation
|
|
1101
|
+
#
|
|
1102
|
+
# @overload list_registries(params = {})
|
|
1103
|
+
# @param [Hash] params ({})
|
|
1104
|
+
def list_registries(params = {}, options = {})
|
|
1105
|
+
req = build_request(:list_registries, params)
|
|
1106
|
+
req.send_request(options)
|
|
1107
|
+
end
|
|
1108
|
+
|
|
1109
|
+
# Lists the registry records within a registry, with optional filtering
|
|
1110
|
+
# by name, status, and record type
|
|
1111
|
+
#
|
|
1112
|
+
# @option params [required, String] :registry_id
|
|
1113
|
+
# The identifier of the registry to list records from (ARN or ID)
|
|
1114
|
+
#
|
|
1115
|
+
# @option params [Integer] :max_results
|
|
1116
|
+
# Maximum number of records to return
|
|
1117
|
+
#
|
|
1118
|
+
# @option params [String] :next_token
|
|
1119
|
+
# Token for pagination
|
|
1120
|
+
#
|
|
1121
|
+
# @option params [Array<Types::RegistryRecordFilter>] :filters
|
|
1122
|
+
# Filters to apply to the registry record list
|
|
1123
|
+
#
|
|
1124
|
+
# @return [Types::ListRegistryRecordsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1125
|
+
#
|
|
1126
|
+
# * {Types::ListRegistryRecordsResponse#registry_records #registry_records} => Array<Types::RegistryRecordSummary>
|
|
1127
|
+
# * {Types::ListRegistryRecordsResponse#next_token #next_token} => String
|
|
1128
|
+
#
|
|
1129
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1130
|
+
#
|
|
1131
|
+
# @example Request syntax with placeholder values
|
|
1132
|
+
#
|
|
1133
|
+
# resp = client.list_registry_records({
|
|
1134
|
+
# registry_id: "RegistryIdentifier", # required
|
|
1135
|
+
# max_results: 1,
|
|
1136
|
+
# next_token: "NextToken",
|
|
1137
|
+
# filters: [
|
|
1138
|
+
# {
|
|
1139
|
+
# name: "name", # required, accepts name, status, recordType
|
|
1140
|
+
# values: ["FilterValue"], # required
|
|
1141
|
+
# },
|
|
1142
|
+
# ],
|
|
1143
|
+
# })
|
|
1144
|
+
#
|
|
1145
|
+
# @example Response structure
|
|
1146
|
+
#
|
|
1147
|
+
# resp.registry_records #=> Array
|
|
1148
|
+
# resp.registry_records[0].registry_arn #=> String
|
|
1149
|
+
# resp.registry_records[0].record_arn #=> String
|
|
1150
|
+
# resp.registry_records[0].record_id #=> String
|
|
1151
|
+
# resp.registry_records[0].name #=> String
|
|
1152
|
+
# resp.registry_records[0].display_name #=> String
|
|
1153
|
+
# resp.registry_records[0].description #=> String
|
|
1154
|
+
# resp.registry_records[0].record_type #=> String, one of "MCP", "AGENT", "CUSTOM", "SKILL"
|
|
1155
|
+
# resp.registry_records[0].record_version #=> String
|
|
1156
|
+
# resp.registry_records[0].status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
1157
|
+
# resp.registry_records[0].created_at #=> Time
|
|
1158
|
+
# resp.registry_records[0].updated_at #=> Time
|
|
1159
|
+
# resp.next_token #=> String
|
|
1160
|
+
#
|
|
1161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/ListRegistryRecords AWS API Documentation
|
|
1162
|
+
#
|
|
1163
|
+
# @overload list_registry_records(params = {})
|
|
1164
|
+
# @param [Hash] params ({})
|
|
1165
|
+
def list_registry_records(params = {}, options = {})
|
|
1166
|
+
req = build_request(:list_registry_records, params)
|
|
1167
|
+
req.send_request(options)
|
|
1168
|
+
end
|
|
1169
|
+
|
|
1170
|
+
# List the tags on a resource
|
|
1171
|
+
#
|
|
1172
|
+
# @option params [required, String] :resource_arn
|
|
1173
|
+
# ARN of a taggable Agent Registry resource.
|
|
1174
|
+
#
|
|
1175
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1176
|
+
#
|
|
1177
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
|
1178
|
+
#
|
|
1179
|
+
# @example Request syntax with placeholder values
|
|
1180
|
+
#
|
|
1181
|
+
# resp = client.list_tags_for_resource({
|
|
1182
|
+
# resource_arn: "ResourceArn", # required
|
|
1183
|
+
# })
|
|
1184
|
+
#
|
|
1185
|
+
# @example Response structure
|
|
1186
|
+
#
|
|
1187
|
+
# resp.tags #=> Hash
|
|
1188
|
+
# resp.tags["TagKey"] #=> String
|
|
1189
|
+
#
|
|
1190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/ListTagsForResource AWS API Documentation
|
|
1191
|
+
#
|
|
1192
|
+
# @overload list_tags_for_resource(params = {})
|
|
1193
|
+
# @param [Hash] params ({})
|
|
1194
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
1195
|
+
req = build_request(:list_tags_for_resource, params)
|
|
1196
|
+
req.send_request(options)
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
# Submits a DRAFT registry record for approval, moving it into the
|
|
1200
|
+
# registry's approval workflow. Depending on the registry's approval
|
|
1201
|
+
# configuration, the record is either auto-approved or set to
|
|
1202
|
+
# PENDING\_APPROVAL for a curator to approve or reject.
|
|
1203
|
+
#
|
|
1204
|
+
# @option params [required, String] :registry_id
|
|
1205
|
+
# The identifier of the registry containing the record (ARN or ID)
|
|
1206
|
+
#
|
|
1207
|
+
# @option params [required, String] :record_id
|
|
1208
|
+
# The identifier of the registry record to submit for approval (ARN or
|
|
1209
|
+
# ID)
|
|
1210
|
+
#
|
|
1211
|
+
# @return [Types::SubmitRegistryRecordForApprovalResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1212
|
+
#
|
|
1213
|
+
# * {Types::SubmitRegistryRecordForApprovalResponse#registry_arn #registry_arn} => String
|
|
1214
|
+
# * {Types::SubmitRegistryRecordForApprovalResponse#record_arn #record_arn} => String
|
|
1215
|
+
# * {Types::SubmitRegistryRecordForApprovalResponse#record_id #record_id} => String
|
|
1216
|
+
# * {Types::SubmitRegistryRecordForApprovalResponse#status #status} => String
|
|
1217
|
+
# * {Types::SubmitRegistryRecordForApprovalResponse#updated_at #updated_at} => Time
|
|
1218
|
+
#
|
|
1219
|
+
# @example Request syntax with placeholder values
|
|
1220
|
+
#
|
|
1221
|
+
# resp = client.submit_registry_record_for_approval({
|
|
1222
|
+
# registry_id: "RegistryIdentifier", # required
|
|
1223
|
+
# record_id: "RecordIdentifier", # required
|
|
1224
|
+
# })
|
|
1225
|
+
#
|
|
1226
|
+
# @example Response structure
|
|
1227
|
+
#
|
|
1228
|
+
# resp.registry_arn #=> String
|
|
1229
|
+
# resp.record_arn #=> String
|
|
1230
|
+
# resp.record_id #=> String
|
|
1231
|
+
# resp.status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
1232
|
+
# resp.updated_at #=> Time
|
|
1233
|
+
#
|
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/SubmitRegistryRecordForApproval AWS API Documentation
|
|
1235
|
+
#
|
|
1236
|
+
# @overload submit_registry_record_for_approval(params = {})
|
|
1237
|
+
# @param [Hash] params ({})
|
|
1238
|
+
def submit_registry_record_for_approval(params = {}, options = {})
|
|
1239
|
+
req = build_request(:submit_registry_record_for_approval, params)
|
|
1240
|
+
req.send_request(options)
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
# Tag a resource with key-value pairs
|
|
1244
|
+
#
|
|
1245
|
+
# @option params [required, String] :resource_arn
|
|
1246
|
+
# ARN of a taggable Agent Registry resource.
|
|
1247
|
+
#
|
|
1248
|
+
# @option params [required, Hash<String,String>] :tags
|
|
1249
|
+
# A map of tag keys to tag values.
|
|
1250
|
+
#
|
|
1251
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1252
|
+
#
|
|
1253
|
+
# @example Request syntax with placeholder values
|
|
1254
|
+
#
|
|
1255
|
+
# resp = client.tag_resource({
|
|
1256
|
+
# resource_arn: "ResourceArn", # required
|
|
1257
|
+
# tags: { # required
|
|
1258
|
+
# "TagKey" => "TagValue",
|
|
1259
|
+
# },
|
|
1260
|
+
# })
|
|
1261
|
+
#
|
|
1262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/TagResource AWS API Documentation
|
|
1263
|
+
#
|
|
1264
|
+
# @overload tag_resource(params = {})
|
|
1265
|
+
# @param [Hash] params ({})
|
|
1266
|
+
def tag_resource(params = {}, options = {})
|
|
1267
|
+
req = build_request(:tag_resource, params)
|
|
1268
|
+
req.send_request(options)
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1271
|
+
# Remove tags from a resource by key
|
|
1272
|
+
#
|
|
1273
|
+
# @option params [required, String] :resource_arn
|
|
1274
|
+
# ARN of a taggable Agent Registry resource.
|
|
1275
|
+
#
|
|
1276
|
+
# @option params [required, Array<String>] :tag_keys
|
|
1277
|
+
# A list of tag keys.
|
|
1278
|
+
#
|
|
1279
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1280
|
+
#
|
|
1281
|
+
# @example Request syntax with placeholder values
|
|
1282
|
+
#
|
|
1283
|
+
# resp = client.untag_resource({
|
|
1284
|
+
# resource_arn: "ResourceArn", # required
|
|
1285
|
+
# tag_keys: ["TagKey"], # required
|
|
1286
|
+
# })
|
|
1287
|
+
#
|
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UntagResource AWS API Documentation
|
|
1289
|
+
#
|
|
1290
|
+
# @overload untag_resource(params = {})
|
|
1291
|
+
# @param [Hash] params ({})
|
|
1292
|
+
def untag_resource(params = {}, options = {})
|
|
1293
|
+
req = build_request(:untag_resource, params)
|
|
1294
|
+
req.send_request(options)
|
|
1295
|
+
end
|
|
1296
|
+
|
|
1297
|
+
# Updates an existing registry. This operation uses PATCH semantics:
|
|
1298
|
+
# specify only the fields you want to change, and omit the rest to leave
|
|
1299
|
+
# them unchanged. Updates are applied asynchronously and the registry
|
|
1300
|
+
# transitions to the UPDATING status while they are processed.
|
|
1301
|
+
#
|
|
1302
|
+
# @option params [required, String] :registry_id
|
|
1303
|
+
# The identifier of the registry to update (ARN or ID)
|
|
1304
|
+
#
|
|
1305
|
+
# @option params [String] :name
|
|
1306
|
+
# The updated name of the registry
|
|
1307
|
+
#
|
|
1308
|
+
# @option params [Types::UpdatedDescription] :description
|
|
1309
|
+
# The updated description of the registry
|
|
1310
|
+
#
|
|
1311
|
+
# @option params [Types::UpdatedDiscoveryConfiguration] :discovery_configuration
|
|
1312
|
+
# The updated discovery configuration. Changing the discovery
|
|
1313
|
+
# authorization can break existing consumers that rely on the previous
|
|
1314
|
+
# authorization type.
|
|
1315
|
+
#
|
|
1316
|
+
# @option params [Types::UpdatedApprovalConfiguration] :approval_configuration
|
|
1317
|
+
# The updated approval configuration. The change applies only to records
|
|
1318
|
+
# that move to PENDING\_APPROVAL after the update; records already in
|
|
1319
|
+
# PENDING\_APPROVAL are unaffected.
|
|
1320
|
+
#
|
|
1321
|
+
# @return [Types::UpdateRegistryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1322
|
+
#
|
|
1323
|
+
# * {Types::UpdateRegistryResponse#name #name} => String
|
|
1324
|
+
# * {Types::UpdateRegistryResponse#description #description} => String
|
|
1325
|
+
# * {Types::UpdateRegistryResponse#registry_id #registry_id} => String
|
|
1326
|
+
# * {Types::UpdateRegistryResponse#registry_arn #registry_arn} => String
|
|
1327
|
+
# * {Types::UpdateRegistryResponse#discovery_configuration #discovery_configuration} => Types::DiscoveryConfiguration
|
|
1328
|
+
# * {Types::UpdateRegistryResponse#approval_configuration #approval_configuration} => Types::ApprovalConfiguration
|
|
1329
|
+
# * {Types::UpdateRegistryResponse#status #status} => String
|
|
1330
|
+
# * {Types::UpdateRegistryResponse#status_reason #status_reason} => String
|
|
1331
|
+
# * {Types::UpdateRegistryResponse#created_at #created_at} => Time
|
|
1332
|
+
# * {Types::UpdateRegistryResponse#updated_at #updated_at} => Time
|
|
1333
|
+
#
|
|
1334
|
+
# @example Request syntax with placeholder values
|
|
1335
|
+
#
|
|
1336
|
+
# resp = client.update_registry({
|
|
1337
|
+
# registry_id: "RegistryIdentifier", # required
|
|
1338
|
+
# name: "RegistryName",
|
|
1339
|
+
# description: {
|
|
1340
|
+
# optional_value: "Description",
|
|
1341
|
+
# },
|
|
1342
|
+
# discovery_configuration: {
|
|
1343
|
+
# authorizer_configuration: {
|
|
1344
|
+
# optional_value: {
|
|
1345
|
+
# custom_jwt_authorizer: {
|
|
1346
|
+
# discovery_url: "DiscoveryUrl", # required
|
|
1347
|
+
# allowed_audience: ["AllowedAudience"],
|
|
1348
|
+
# allowed_clients: ["AllowedClient"],
|
|
1349
|
+
# allowed_scopes: ["AllowedScopeType"],
|
|
1350
|
+
# custom_claims: [
|
|
1351
|
+
# {
|
|
1352
|
+
# inbound_token_claim_name: "InboundTokenClaimNameType", # required
|
|
1353
|
+
# inbound_token_claim_value_type: "STRING", # required, accepts STRING, STRING_ARRAY
|
|
1354
|
+
# authorizing_claim_match_value: { # required
|
|
1355
|
+
# claim_match_value: { # required
|
|
1356
|
+
# match_value_string: "MatchValueString",
|
|
1357
|
+
# match_value_string_list: ["MatchValueString"],
|
|
1358
|
+
# },
|
|
1359
|
+
# claim_match_operator: "EQUALS", # required, accepts EQUALS, CONTAINS, CONTAINS_ANY
|
|
1360
|
+
# },
|
|
1361
|
+
# },
|
|
1362
|
+
# ],
|
|
1363
|
+
# private_endpoint: {
|
|
1364
|
+
# self_managed_lattice_resource: {
|
|
1365
|
+
# resource_configuration_identifier: "ResourceConfigurationIdentifier",
|
|
1366
|
+
# },
|
|
1367
|
+
# managed_vpc_resource: {
|
|
1368
|
+
# vpc_identifier: "VpcIdentifier", # required
|
|
1369
|
+
# subnet_ids: ["SubnetId"], # required
|
|
1370
|
+
# endpoint_ip_address_type: "IPV4", # required, accepts IPV4, IPV6
|
|
1371
|
+
# security_group_ids: ["SecurityGroupIdentifier"],
|
|
1372
|
+
# tags: {
|
|
1373
|
+
# "TagKey" => "TagValue",
|
|
1374
|
+
# },
|
|
1375
|
+
# routing_domain: "RoutingDomain",
|
|
1376
|
+
# },
|
|
1377
|
+
# },
|
|
1378
|
+
# private_endpoint_overrides: [
|
|
1379
|
+
# {
|
|
1380
|
+
# domain: "PrivateEndpointOverrideDomain", # required
|
|
1381
|
+
# private_endpoint: { # required
|
|
1382
|
+
# self_managed_lattice_resource: {
|
|
1383
|
+
# resource_configuration_identifier: "ResourceConfigurationIdentifier",
|
|
1384
|
+
# },
|
|
1385
|
+
# managed_vpc_resource: {
|
|
1386
|
+
# vpc_identifier: "VpcIdentifier", # required
|
|
1387
|
+
# subnet_ids: ["SubnetId"], # required
|
|
1388
|
+
# endpoint_ip_address_type: "IPV4", # required, accepts IPV4, IPV6
|
|
1389
|
+
# security_group_ids: ["SecurityGroupIdentifier"],
|
|
1390
|
+
# tags: {
|
|
1391
|
+
# "TagKey" => "TagValue",
|
|
1392
|
+
# },
|
|
1393
|
+
# routing_domain: "RoutingDomain",
|
|
1394
|
+
# },
|
|
1395
|
+
# },
|
|
1396
|
+
# },
|
|
1397
|
+
# ],
|
|
1398
|
+
# },
|
|
1399
|
+
# },
|
|
1400
|
+
# },
|
|
1401
|
+
# },
|
|
1402
|
+
# approval_configuration: {
|
|
1403
|
+
# optional_value: {
|
|
1404
|
+
# auto_approval_rules: ["APPROVE_ALL"], # accepts APPROVE_ALL
|
|
1405
|
+
# },
|
|
1406
|
+
# },
|
|
1407
|
+
# })
|
|
1408
|
+
#
|
|
1409
|
+
# @example Response structure
|
|
1410
|
+
#
|
|
1411
|
+
# resp.name #=> String
|
|
1412
|
+
# resp.description #=> String
|
|
1413
|
+
# resp.registry_id #=> String
|
|
1414
|
+
# resp.registry_arn #=> String
|
|
1415
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.discovery_url #=> String
|
|
1416
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience #=> Array
|
|
1417
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_audience[0] #=> String
|
|
1418
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients #=> Array
|
|
1419
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_clients[0] #=> String
|
|
1420
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes #=> Array
|
|
1421
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.allowed_scopes[0] #=> String
|
|
1422
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims #=> Array
|
|
1423
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_name #=> String
|
|
1424
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].inbound_token_claim_value_type #=> String, one of "STRING", "STRING_ARRAY"
|
|
1425
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string #=> String
|
|
1426
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list #=> Array
|
|
1427
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_value.match_value_string_list[0] #=> String
|
|
1428
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.custom_claims[0].authorizing_claim_match_value.claim_match_operator #=> String, one of "EQUALS", "CONTAINS", "CONTAINS_ANY"
|
|
1429
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
1430
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
1431
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
1432
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
1433
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
1434
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
1435
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
1436
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
1437
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
1438
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
1439
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides #=> Array
|
|
1440
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].domain #=> String
|
|
1441
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.self_managed_lattice_resource.resource_configuration_identifier #=> String
|
|
1442
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.vpc_identifier #=> String
|
|
1443
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids #=> Array
|
|
1444
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.subnet_ids[0] #=> String
|
|
1445
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.endpoint_ip_address_type #=> String, one of "IPV4", "IPV6"
|
|
1446
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids #=> Array
|
|
1447
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.security_group_ids[0] #=> String
|
|
1448
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags #=> Hash
|
|
1449
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.tags["TagKey"] #=> String
|
|
1450
|
+
# resp.discovery_configuration.authorizer_configuration.custom_jwt_authorizer.private_endpoint_overrides[0].private_endpoint.managed_vpc_resource.routing_domain #=> String
|
|
1451
|
+
# resp.discovery_configuration.authorizer_type #=> String, one of "CUSTOM_JWT", "AWS_IAM"
|
|
1452
|
+
# resp.approval_configuration.auto_approval_rules #=> Array
|
|
1453
|
+
# resp.approval_configuration.auto_approval_rules[0] #=> String, one of "APPROVE_ALL"
|
|
1454
|
+
# resp.status #=> String, one of "CREATING", "READY", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
1455
|
+
# resp.status_reason #=> String
|
|
1456
|
+
# resp.created_at #=> Time
|
|
1457
|
+
# resp.updated_at #=> Time
|
|
1458
|
+
#
|
|
1459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdateRegistry AWS API Documentation
|
|
1460
|
+
#
|
|
1461
|
+
# @overload update_registry(params = {})
|
|
1462
|
+
# @param [Hash] params ({})
|
|
1463
|
+
def update_registry(params = {}, options = {})
|
|
1464
|
+
req = build_request(:update_registry, params)
|
|
1465
|
+
req.send_request(options)
|
|
1466
|
+
end
|
|
1467
|
+
|
|
1468
|
+
# Updates a registry record. The update is asynchronous: the record is
|
|
1469
|
+
# returned with the UPDATING status while it is processed. Fields that
|
|
1470
|
+
# use update wrappers follow PATCH semantics: omit the field to leave it
|
|
1471
|
+
# unchanged.
|
|
1472
|
+
#
|
|
1473
|
+
# @option params [required, String] :registry_id
|
|
1474
|
+
# The identifier of the registry containing the record (ARN or ID)
|
|
1475
|
+
#
|
|
1476
|
+
# @option params [required, String] :record_id
|
|
1477
|
+
# The identifier of the registry record to update (ARN or ID)
|
|
1478
|
+
#
|
|
1479
|
+
# @option params [String] :name
|
|
1480
|
+
# The updated name of the registry record. Omit to leave the name
|
|
1481
|
+
# unchanged.
|
|
1482
|
+
#
|
|
1483
|
+
# @option params [Types::UpdatedDisplayName] :display_name
|
|
1484
|
+
# The updated display name of the registry record. Omit to leave the
|
|
1485
|
+
# display name unchanged; provide an empty wrapper to unset it.
|
|
1486
|
+
#
|
|
1487
|
+
# @option params [Types::UpdatedDescription] :description
|
|
1488
|
+
# The updated description of the registry record. Omit to leave the
|
|
1489
|
+
# description unchanged; provide an empty wrapper to unset it.
|
|
1490
|
+
#
|
|
1491
|
+
# @option params [String] :record_type
|
|
1492
|
+
# The updated type of the registry record. Omit to leave the record type
|
|
1493
|
+
# unchanged.
|
|
1494
|
+
#
|
|
1495
|
+
# @option params [Types::UpdatedDescriptors] :descriptors
|
|
1496
|
+
# The updated typed descriptor content for the registry record. Omit to
|
|
1497
|
+
# leave the descriptors unchanged.
|
|
1498
|
+
#
|
|
1499
|
+
# @option params [String] :record_version
|
|
1500
|
+
# The updated version of the registry record. Omit to leave the version
|
|
1501
|
+
# unchanged.
|
|
1502
|
+
#
|
|
1503
|
+
# @option params [Boolean] :trigger_synchronization
|
|
1504
|
+
# Whether to trigger synchronization of the record's descriptor content
|
|
1505
|
+
# from its source
|
|
1506
|
+
#
|
|
1507
|
+
# @return [Types::UpdateRegistryRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1508
|
+
#
|
|
1509
|
+
# * {Types::UpdateRegistryRecordResponse#registry_arn #registry_arn} => String
|
|
1510
|
+
# * {Types::UpdateRegistryRecordResponse#record_arn #record_arn} => String
|
|
1511
|
+
# * {Types::UpdateRegistryRecordResponse#record_id #record_id} => String
|
|
1512
|
+
# * {Types::UpdateRegistryRecordResponse#name #name} => String
|
|
1513
|
+
# * {Types::UpdateRegistryRecordResponse#display_name #display_name} => String
|
|
1514
|
+
# * {Types::UpdateRegistryRecordResponse#description #description} => String
|
|
1515
|
+
# * {Types::UpdateRegistryRecordResponse#record_type #record_type} => String
|
|
1516
|
+
# * {Types::UpdateRegistryRecordResponse#descriptors #descriptors} => Types::Descriptors
|
|
1517
|
+
# * {Types::UpdateRegistryRecordResponse#record_version #record_version} => String
|
|
1518
|
+
# * {Types::UpdateRegistryRecordResponse#status #status} => String
|
|
1519
|
+
# * {Types::UpdateRegistryRecordResponse#created_at #created_at} => Time
|
|
1520
|
+
# * {Types::UpdateRegistryRecordResponse#updated_at #updated_at} => Time
|
|
1521
|
+
# * {Types::UpdateRegistryRecordResponse#status_reason #status_reason} => String
|
|
1522
|
+
#
|
|
1523
|
+
# @example Request syntax with placeholder values
|
|
1524
|
+
#
|
|
1525
|
+
# resp = client.update_registry_record({
|
|
1526
|
+
# registry_id: "RegistryIdentifier", # required
|
|
1527
|
+
# record_id: "RecordIdentifier", # required
|
|
1528
|
+
# name: "RegistryRecordName",
|
|
1529
|
+
# display_name: {
|
|
1530
|
+
# optional_value: "RegistryRecordDisplayName",
|
|
1531
|
+
# },
|
|
1532
|
+
# description: {
|
|
1533
|
+
# optional_value: "Description",
|
|
1534
|
+
# },
|
|
1535
|
+
# record_type: "MCP", # accepts MCP, AGENT, CUSTOM, SKILL
|
|
1536
|
+
# descriptors: {
|
|
1537
|
+
# optional_value: {
|
|
1538
|
+
# mcp_server: {
|
|
1539
|
+
# optional_value: {
|
|
1540
|
+
# data: {
|
|
1541
|
+
# optional_value: "DescriptorData",
|
|
1542
|
+
# },
|
|
1543
|
+
# data_schema_version: {
|
|
1544
|
+
# optional_value: "DataSchemaVersion",
|
|
1545
|
+
# },
|
|
1546
|
+
# source: {
|
|
1547
|
+
# optional_value: {
|
|
1548
|
+
# from_url: {
|
|
1549
|
+
# url: "DescriptorSourceUrl", # required
|
|
1550
|
+
# credential_provider_configurations: [
|
|
1551
|
+
# {
|
|
1552
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
1553
|
+
# credential_provider: { # required
|
|
1554
|
+
# oauth_credential_provider: {
|
|
1555
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
1556
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
1557
|
+
# scopes: ["String"],
|
|
1558
|
+
# custom_parameters: {
|
|
1559
|
+
# "String" => "String",
|
|
1560
|
+
# },
|
|
1561
|
+
# },
|
|
1562
|
+
# iam_credential_provider: {
|
|
1563
|
+
# role_arn: "IamRoleArn",
|
|
1564
|
+
# service: "IamSigningServiceName",
|
|
1565
|
+
# region: "IamSigningRegion",
|
|
1566
|
+
# },
|
|
1567
|
+
# },
|
|
1568
|
+
# },
|
|
1569
|
+
# ],
|
|
1570
|
+
# },
|
|
1571
|
+
# },
|
|
1572
|
+
# },
|
|
1573
|
+
# additional_data: {
|
|
1574
|
+
# optional_value: {
|
|
1575
|
+
# tools: {
|
|
1576
|
+
# optional_value: {
|
|
1577
|
+
# data: {
|
|
1578
|
+
# optional_value: "DescriptorData",
|
|
1579
|
+
# },
|
|
1580
|
+
# data_schema_version: {
|
|
1581
|
+
# optional_value: "DataSchemaVersion",
|
|
1582
|
+
# },
|
|
1583
|
+
# },
|
|
1584
|
+
# },
|
|
1585
|
+
# },
|
|
1586
|
+
# },
|
|
1587
|
+
# },
|
|
1588
|
+
# },
|
|
1589
|
+
# a2a_agent_card: {
|
|
1590
|
+
# optional_value: {
|
|
1591
|
+
# data: {
|
|
1592
|
+
# optional_value: "DescriptorData",
|
|
1593
|
+
# },
|
|
1594
|
+
# data_schema_version: {
|
|
1595
|
+
# optional_value: "DataSchemaVersion",
|
|
1596
|
+
# },
|
|
1597
|
+
# source: {
|
|
1598
|
+
# optional_value: {
|
|
1599
|
+
# from_url: {
|
|
1600
|
+
# url: "DescriptorSourceUrl", # required
|
|
1601
|
+
# credential_provider_configurations: [
|
|
1602
|
+
# {
|
|
1603
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
1604
|
+
# credential_provider: { # required
|
|
1605
|
+
# oauth_credential_provider: {
|
|
1606
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
1607
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
1608
|
+
# scopes: ["String"],
|
|
1609
|
+
# custom_parameters: {
|
|
1610
|
+
# "String" => "String",
|
|
1611
|
+
# },
|
|
1612
|
+
# },
|
|
1613
|
+
# iam_credential_provider: {
|
|
1614
|
+
# role_arn: "IamRoleArn",
|
|
1615
|
+
# service: "IamSigningServiceName",
|
|
1616
|
+
# region: "IamSigningRegion",
|
|
1617
|
+
# },
|
|
1618
|
+
# },
|
|
1619
|
+
# },
|
|
1620
|
+
# ],
|
|
1621
|
+
# },
|
|
1622
|
+
# },
|
|
1623
|
+
# },
|
|
1624
|
+
# },
|
|
1625
|
+
# },
|
|
1626
|
+
# agent_skills_definition: {
|
|
1627
|
+
# optional_value: {
|
|
1628
|
+
# data: {
|
|
1629
|
+
# optional_value: "DescriptorData",
|
|
1630
|
+
# },
|
|
1631
|
+
# data_schema_version: {
|
|
1632
|
+
# optional_value: "DataSchemaVersion",
|
|
1633
|
+
# },
|
|
1634
|
+
# additional_data: {
|
|
1635
|
+
# optional_value: {
|
|
1636
|
+
# skill_md: {
|
|
1637
|
+
# optional_value: {
|
|
1638
|
+
# data: {
|
|
1639
|
+
# optional_value: "DescriptorData",
|
|
1640
|
+
# },
|
|
1641
|
+
# data_schema_version: {
|
|
1642
|
+
# optional_value: "DataSchemaVersion",
|
|
1643
|
+
# },
|
|
1644
|
+
# source: {
|
|
1645
|
+
# optional_value: {
|
|
1646
|
+
# from_url: {
|
|
1647
|
+
# url: "DescriptorSourceUrl", # required
|
|
1648
|
+
# credential_provider_configurations: [
|
|
1649
|
+
# {
|
|
1650
|
+
# credential_provider_type: "OAUTH", # required, accepts OAUTH, IAM
|
|
1651
|
+
# credential_provider: { # required
|
|
1652
|
+
# oauth_credential_provider: {
|
|
1653
|
+
# provider_arn: "CredentialProviderArn", # required
|
|
1654
|
+
# grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS
|
|
1655
|
+
# scopes: ["String"],
|
|
1656
|
+
# custom_parameters: {
|
|
1657
|
+
# "String" => "String",
|
|
1658
|
+
# },
|
|
1659
|
+
# },
|
|
1660
|
+
# iam_credential_provider: {
|
|
1661
|
+
# role_arn: "IamRoleArn",
|
|
1662
|
+
# service: "IamSigningServiceName",
|
|
1663
|
+
# region: "IamSigningRegion",
|
|
1664
|
+
# },
|
|
1665
|
+
# },
|
|
1666
|
+
# },
|
|
1667
|
+
# ],
|
|
1668
|
+
# },
|
|
1669
|
+
# },
|
|
1670
|
+
# },
|
|
1671
|
+
# },
|
|
1672
|
+
# },
|
|
1673
|
+
# },
|
|
1674
|
+
# },
|
|
1675
|
+
# },
|
|
1676
|
+
# },
|
|
1677
|
+
# custom: {
|
|
1678
|
+
# optional_value: {
|
|
1679
|
+
# data: {
|
|
1680
|
+
# optional_value: "DescriptorData",
|
|
1681
|
+
# },
|
|
1682
|
+
# },
|
|
1683
|
+
# },
|
|
1684
|
+
# },
|
|
1685
|
+
# },
|
|
1686
|
+
# record_version: "RegistryRecordVersion",
|
|
1687
|
+
# trigger_synchronization: false,
|
|
1688
|
+
# })
|
|
1689
|
+
#
|
|
1690
|
+
# @example Response structure
|
|
1691
|
+
#
|
|
1692
|
+
# resp.registry_arn #=> String
|
|
1693
|
+
# resp.record_arn #=> String
|
|
1694
|
+
# resp.record_id #=> String
|
|
1695
|
+
# resp.name #=> String
|
|
1696
|
+
# resp.display_name #=> String
|
|
1697
|
+
# resp.description #=> String
|
|
1698
|
+
# resp.record_type #=> String, one of "MCP", "AGENT", "CUSTOM", "SKILL"
|
|
1699
|
+
# resp.descriptors.mcp_server.data #=> String
|
|
1700
|
+
# resp.descriptors.mcp_server.data_schema_version #=> String
|
|
1701
|
+
# resp.descriptors.mcp_server.additional_data.tools.data #=> String
|
|
1702
|
+
# resp.descriptors.mcp_server.additional_data.tools.data_schema_version #=> String
|
|
1703
|
+
# resp.descriptors.mcp_server.source.from_url.url #=> String
|
|
1704
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations #=> Array
|
|
1705
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
1706
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
1707
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
1708
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
1709
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
1710
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
1711
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
1712
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
1713
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
1714
|
+
# resp.descriptors.mcp_server.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
1715
|
+
# resp.descriptors.a2a_agent_card.data #=> String
|
|
1716
|
+
# resp.descriptors.a2a_agent_card.data_schema_version #=> String
|
|
1717
|
+
# resp.descriptors.a2a_agent_card.source.from_url.url #=> String
|
|
1718
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations #=> Array
|
|
1719
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
1720
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
1721
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
1722
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
1723
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
1724
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
1725
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
1726
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
1727
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
1728
|
+
# resp.descriptors.a2a_agent_card.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
1729
|
+
# resp.descriptors.agent_skills_definition.data #=> String
|
|
1730
|
+
# resp.descriptors.agent_skills_definition.data_schema_version #=> String
|
|
1731
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.data #=> String
|
|
1732
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.data_schema_version #=> String
|
|
1733
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.url #=> String
|
|
1734
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations #=> Array
|
|
1735
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider_type #=> String, one of "OAUTH", "IAM"
|
|
1736
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.provider_arn #=> String
|
|
1737
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.grant_type #=> String, one of "CLIENT_CREDENTIALS"
|
|
1738
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes #=> Array
|
|
1739
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.scopes[0] #=> String
|
|
1740
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters #=> Hash
|
|
1741
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.oauth_credential_provider.custom_parameters["String"] #=> String
|
|
1742
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.role_arn #=> String
|
|
1743
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.service #=> String
|
|
1744
|
+
# resp.descriptors.agent_skills_definition.additional_data.skill_md.source.from_url.credential_provider_configurations[0].credential_provider.iam_credential_provider.region #=> String
|
|
1745
|
+
# resp.descriptors.custom.data #=> String
|
|
1746
|
+
# resp.record_version #=> String
|
|
1747
|
+
# resp.status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
1748
|
+
# resp.created_at #=> Time
|
|
1749
|
+
# resp.updated_at #=> Time
|
|
1750
|
+
# resp.status_reason #=> String
|
|
1751
|
+
#
|
|
1752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdateRegistryRecord AWS API Documentation
|
|
1753
|
+
#
|
|
1754
|
+
# @overload update_registry_record(params = {})
|
|
1755
|
+
# @param [Hash] params ({})
|
|
1756
|
+
def update_registry_record(params = {}, options = {})
|
|
1757
|
+
req = build_request(:update_registry_record, params)
|
|
1758
|
+
req.send_request(options)
|
|
1759
|
+
end
|
|
1760
|
+
|
|
1761
|
+
# Updates the status of a registry record as part of the registry's
|
|
1762
|
+
# curation workflow, for example to approve or reject a record that is
|
|
1763
|
+
# pending approval, or to deprecate an approved record so that it is no
|
|
1764
|
+
# longer discoverable
|
|
1765
|
+
#
|
|
1766
|
+
# @option params [required, String] :registry_id
|
|
1767
|
+
# The identifier of the registry containing the record (ARN or ID)
|
|
1768
|
+
#
|
|
1769
|
+
# @option params [required, String] :record_id
|
|
1770
|
+
# The identifier of the registry record to update the status of (ARN or
|
|
1771
|
+
# ID)
|
|
1772
|
+
#
|
|
1773
|
+
# @option params [required, String] :status
|
|
1774
|
+
# The target status for the registry record
|
|
1775
|
+
#
|
|
1776
|
+
# @option params [required, String] :status_reason
|
|
1777
|
+
# The reason for the status change, for example why the record was
|
|
1778
|
+
# approved, rejected, or deprecated
|
|
1779
|
+
#
|
|
1780
|
+
# @return [Types::UpdateRegistryRecordStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1781
|
+
#
|
|
1782
|
+
# * {Types::UpdateRegistryRecordStatusResponse#registry_arn #registry_arn} => String
|
|
1783
|
+
# * {Types::UpdateRegistryRecordStatusResponse#record_arn #record_arn} => String
|
|
1784
|
+
# * {Types::UpdateRegistryRecordStatusResponse#record_id #record_id} => String
|
|
1785
|
+
# * {Types::UpdateRegistryRecordStatusResponse#status #status} => String
|
|
1786
|
+
# * {Types::UpdateRegistryRecordStatusResponse#status_reason #status_reason} => String
|
|
1787
|
+
# * {Types::UpdateRegistryRecordStatusResponse#updated_at #updated_at} => Time
|
|
1788
|
+
#
|
|
1789
|
+
# @example Request syntax with placeholder values
|
|
1790
|
+
#
|
|
1791
|
+
# resp = client.update_registry_record_status({
|
|
1792
|
+
# registry_id: "RegistryIdentifier", # required
|
|
1793
|
+
# record_id: "RecordIdentifier", # required
|
|
1794
|
+
# status: "DRAFT", # required, accepts DRAFT, PENDING_APPROVAL, APPROVED, REJECTED, DEPRECATED, CREATING, UPDATING, CREATE_FAILED, UPDATE_FAILED
|
|
1795
|
+
# status_reason: "UpdateRegistryRecordStatusRequestStatusReasonString", # required
|
|
1796
|
+
# })
|
|
1797
|
+
#
|
|
1798
|
+
# @example Response structure
|
|
1799
|
+
#
|
|
1800
|
+
# resp.registry_arn #=> String
|
|
1801
|
+
# resp.record_arn #=> String
|
|
1802
|
+
# resp.record_id #=> String
|
|
1803
|
+
# resp.status #=> String, one of "DRAFT", "PENDING_APPROVAL", "APPROVED", "REJECTED", "DEPRECATED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
|
|
1804
|
+
# resp.status_reason #=> String
|
|
1805
|
+
# resp.updated_at #=> Time
|
|
1806
|
+
#
|
|
1807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-registry-control-2025-12-01/UpdateRegistryRecordStatus AWS API Documentation
|
|
1808
|
+
#
|
|
1809
|
+
# @overload update_registry_record_status(params = {})
|
|
1810
|
+
# @param [Hash] params ({})
|
|
1811
|
+
def update_registry_record_status(params = {}, options = {})
|
|
1812
|
+
req = build_request(:update_registry_record_status, params)
|
|
1813
|
+
req.send_request(options)
|
|
1814
|
+
end
|
|
1815
|
+
|
|
1816
|
+
# @!endgroup
|
|
1817
|
+
|
|
1818
|
+
# @param params ({})
|
|
1819
|
+
# @api private
|
|
1820
|
+
def build_request(operation_name, params = {})
|
|
1821
|
+
handlers = @handlers.for(operation_name)
|
|
1822
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
1823
|
+
Aws::Telemetry.module_to_tracer_name('Aws::AgentRegistryControl')
|
|
1824
|
+
)
|
|
1825
|
+
context = Seahorse::Client::RequestContext.new(
|
|
1826
|
+
operation_name: operation_name,
|
|
1827
|
+
operation: config.api.operation(operation_name),
|
|
1828
|
+
client: self,
|
|
1829
|
+
params: params,
|
|
1830
|
+
config: config,
|
|
1831
|
+
tracer: tracer
|
|
1832
|
+
)
|
|
1833
|
+
context[:gem_name] = 'aws-sdk-agentregistrycontrol'
|
|
1834
|
+
context[:gem_version] = '1.0.0'
|
|
1835
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
1836
|
+
end
|
|
1837
|
+
|
|
1838
|
+
# Polls an API operation until a resource enters a desired state.
|
|
1839
|
+
#
|
|
1840
|
+
# ## Basic Usage
|
|
1841
|
+
#
|
|
1842
|
+
# A waiter will call an API operation until:
|
|
1843
|
+
#
|
|
1844
|
+
# * It is successful
|
|
1845
|
+
# * It enters a terminal state
|
|
1846
|
+
# * It makes the maximum number of attempts
|
|
1847
|
+
#
|
|
1848
|
+
# In between attempts, the waiter will sleep.
|
|
1849
|
+
#
|
|
1850
|
+
# # polls in a loop, sleeping between attempts
|
|
1851
|
+
# client.wait_until(waiter_name, params)
|
|
1852
|
+
#
|
|
1853
|
+
# ## Configuration
|
|
1854
|
+
#
|
|
1855
|
+
# You can configure the maximum number of polling attempts, and the
|
|
1856
|
+
# delay (in seconds) between each polling attempt. You can pass
|
|
1857
|
+
# configuration as the final arguments hash.
|
|
1858
|
+
#
|
|
1859
|
+
# # poll for ~25 seconds
|
|
1860
|
+
# client.wait_until(waiter_name, params, {
|
|
1861
|
+
# max_attempts: 5,
|
|
1862
|
+
# delay: 5,
|
|
1863
|
+
# })
|
|
1864
|
+
#
|
|
1865
|
+
# ## Callbacks
|
|
1866
|
+
#
|
|
1867
|
+
# You can be notified before each polling attempt and before each
|
|
1868
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
|
1869
|
+
# it will terminate the waiter.
|
|
1870
|
+
#
|
|
1871
|
+
# started_at = Time.now
|
|
1872
|
+
# client.wait_until(waiter_name, params, {
|
|
1873
|
+
#
|
|
1874
|
+
# # disable max attempts
|
|
1875
|
+
# max_attempts: nil,
|
|
1876
|
+
#
|
|
1877
|
+
# # poll for 1 hour, instead of a number of attempts
|
|
1878
|
+
# before_wait: -> (attempts, response) do
|
|
1879
|
+
# throw :failure if Time.now - started_at > 3600
|
|
1880
|
+
# end
|
|
1881
|
+
# })
|
|
1882
|
+
#
|
|
1883
|
+
# ## Handling Errors
|
|
1884
|
+
#
|
|
1885
|
+
# When a waiter is unsuccessful, it will raise an error.
|
|
1886
|
+
# All of the failure errors extend from
|
|
1887
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
|
1888
|
+
#
|
|
1889
|
+
# begin
|
|
1890
|
+
# client.wait_until(...)
|
|
1891
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
|
1892
|
+
# # resource did not enter the desired state in time
|
|
1893
|
+
# end
|
|
1894
|
+
#
|
|
1895
|
+
# ## Valid Waiters
|
|
1896
|
+
#
|
|
1897
|
+
# The following table lists the valid waiter names, the operations they call,
|
|
1898
|
+
# and the default `:delay` and `:max_attempts` values.
|
|
1899
|
+
#
|
|
1900
|
+
# | waiter_name | params | :delay | :max_attempts |
|
|
1901
|
+
# | ------------------------ | ---------------------------- | -------- | ------------- |
|
|
1902
|
+
# | registry_ready | {Client#get_registry} | 30 | 5 |
|
|
1903
|
+
# | registry_record_approved | {Client#get_registry_record} | 30 | 5 |
|
|
1904
|
+
#
|
|
1905
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
|
1906
|
+
# because the waiter has entered a state that it will not transition
|
|
1907
|
+
# out of, preventing success.
|
|
1908
|
+
#
|
|
1909
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
|
1910
|
+
# maximum number of attempts have been made, and the waiter is not
|
|
1911
|
+
# yet successful.
|
|
1912
|
+
#
|
|
1913
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
|
1914
|
+
# while polling for a resource that is not expected.
|
|
1915
|
+
#
|
|
1916
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
|
1917
|
+
# for an unknown state.
|
|
1918
|
+
#
|
|
1919
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
|
1920
|
+
# @param [Symbol] waiter_name
|
|
1921
|
+
# @param [Hash] params ({})
|
|
1922
|
+
# @param [Hash] options ({})
|
|
1923
|
+
# @option options [Integer] :max_attempts
|
|
1924
|
+
# @option options [Integer] :delay
|
|
1925
|
+
# @option options [Proc] :before_attempt
|
|
1926
|
+
# @option options [Proc] :before_wait
|
|
1927
|
+
def wait_until(waiter_name, params = {}, options = {})
|
|
1928
|
+
w = waiter(waiter_name, options)
|
|
1929
|
+
yield(w.waiter) if block_given? # deprecated
|
|
1930
|
+
w.wait(params)
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
# @api private
|
|
1934
|
+
# @deprecated
|
|
1935
|
+
def waiter_names
|
|
1936
|
+
waiters.keys
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1939
|
+
private
|
|
1940
|
+
|
|
1941
|
+
# @param [Symbol] waiter_name
|
|
1942
|
+
# @param [Hash] options ({})
|
|
1943
|
+
def waiter(waiter_name, options = {})
|
|
1944
|
+
waiter_class = waiters[waiter_name]
|
|
1945
|
+
if waiter_class
|
|
1946
|
+
waiter_class.new(options.merge(client: self))
|
|
1947
|
+
else
|
|
1948
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
|
1949
|
+
end
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
def waiters
|
|
1953
|
+
{
|
|
1954
|
+
registry_ready: Waiters::RegistryReady,
|
|
1955
|
+
registry_record_approved: Waiters::RegistryRecordApproved
|
|
1956
|
+
}
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1959
|
+
class << self
|
|
1960
|
+
|
|
1961
|
+
# @api private
|
|
1962
|
+
attr_reader :identifier
|
|
1963
|
+
|
|
1964
|
+
# @api private
|
|
1965
|
+
def errors_module
|
|
1966
|
+
Errors
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
end
|
|
1970
|
+
end
|
|
1971
|
+
end
|