aws-sdk-agentdiscovery 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-agentdiscovery/client.rb +610 -0
- data/lib/aws-sdk-agentdiscovery/client_api.rb +162 -0
- data/lib/aws-sdk-agentdiscovery/customizations.rb +0 -0
- data/lib/aws-sdk-agentdiscovery/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-agentdiscovery/endpoint_provider.rb +45 -0
- data/lib/aws-sdk-agentdiscovery/endpoints.rb +20 -0
- data/lib/aws-sdk-agentdiscovery/errors.rb +109 -0
- data/lib/aws-sdk-agentdiscovery/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-agentdiscovery/resource.rb +26 -0
- data/lib/aws-sdk-agentdiscovery/types.rb +359 -0
- data/lib/aws-sdk-agentdiscovery.rb +61 -0
- data/sig/client.rbs +99 -0
- data/sig/errors.rbs +28 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +101 -0
- metadata +95 -0
|
@@ -0,0 +1,359 @@
|
|
|
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
|
+
module Aws::AgentDiscovery
|
|
11
|
+
module Types
|
|
12
|
+
|
|
13
|
+
# A descriptor slot value (A2A card, MCP server card, skills definition,
|
|
14
|
+
# custom). Content is either inline (`data`) or a reference (`source`).
|
|
15
|
+
# `additionalData` carries nested sub-descriptors (e.g. mcpServer.tools,
|
|
16
|
+
# agentSkillsDefinition.skillMd).
|
|
17
|
+
#
|
|
18
|
+
# @!attribute [rw] data
|
|
19
|
+
# Inline descriptor content (JSON string).
|
|
20
|
+
# @return [String]
|
|
21
|
+
#
|
|
22
|
+
# @!attribute [rw] version
|
|
23
|
+
# Descriptor type version.
|
|
24
|
+
# @return [String]
|
|
25
|
+
#
|
|
26
|
+
# @!attribute [rw] source
|
|
27
|
+
# Reference to externally-hosted descriptor content.
|
|
28
|
+
# @return [Types::DescriptorSource]
|
|
29
|
+
#
|
|
30
|
+
# @!attribute [rw] additional_data
|
|
31
|
+
# Nested sub-descriptors keyed by slot name (e.g. `tools`, `skillMd`).
|
|
32
|
+
# @return [Hash<String,Types::DescriptorEntry>]
|
|
33
|
+
#
|
|
34
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/DescriptorEntry AWS API Documentation
|
|
35
|
+
#
|
|
36
|
+
class DescriptorEntry < Struct.new(
|
|
37
|
+
:data,
|
|
38
|
+
:version,
|
|
39
|
+
:source,
|
|
40
|
+
:additional_data)
|
|
41
|
+
SENSITIVE = []
|
|
42
|
+
include Aws::Structure
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Reference to descriptor content hosted at a URL.
|
|
46
|
+
#
|
|
47
|
+
# @!attribute [rw] from_url
|
|
48
|
+
# The URL that hosts the descriptor content.
|
|
49
|
+
# @return [Types::DescriptorSourceUrl]
|
|
50
|
+
#
|
|
51
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/DescriptorSource AWS API Documentation
|
|
52
|
+
#
|
|
53
|
+
class DescriptorSource < Struct.new(
|
|
54
|
+
:from_url)
|
|
55
|
+
SENSITIVE = []
|
|
56
|
+
include Aws::Structure
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# A URL that hosts descriptor content.
|
|
60
|
+
#
|
|
61
|
+
# @!attribute [rw] url
|
|
62
|
+
# The URL of the externally hosted descriptor content.
|
|
63
|
+
# @return [String]
|
|
64
|
+
#
|
|
65
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/DescriptorSourceUrl AWS API Documentation
|
|
66
|
+
#
|
|
67
|
+
class DescriptorSourceUrl < Struct.new(
|
|
68
|
+
:url)
|
|
69
|
+
SENSITIVE = []
|
|
70
|
+
include Aws::Structure
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# The resolvable identifier value. Discriminated union — exactly one
|
|
74
|
+
# member is set.
|
|
75
|
+
#
|
|
76
|
+
# @note Identifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Identifier corresponding to the set member.
|
|
77
|
+
#
|
|
78
|
+
# @!attribute [rw] domain
|
|
79
|
+
# Verified domain (e.g. example.com).
|
|
80
|
+
# @return [String]
|
|
81
|
+
#
|
|
82
|
+
# @!attribute [rw] uri
|
|
83
|
+
# Arbitrary resolvable URI (urn / url / did).
|
|
84
|
+
# @return [String]
|
|
85
|
+
#
|
|
86
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/Identifier AWS API Documentation
|
|
87
|
+
#
|
|
88
|
+
class Identifier < Struct.new(
|
|
89
|
+
:domain,
|
|
90
|
+
:uri,
|
|
91
|
+
:unknown)
|
|
92
|
+
SENSITIVE = []
|
|
93
|
+
include Aws::Structure
|
|
94
|
+
include Aws::Structure::Union
|
|
95
|
+
|
|
96
|
+
class Domain < Identifier; end
|
|
97
|
+
class Uri < Identifier; end
|
|
98
|
+
class Unknown < Identifier; end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Thrown on an internal defect — a bug or malformed state, not a failed
|
|
102
|
+
# dependency.
|
|
103
|
+
#
|
|
104
|
+
# ⚠️ Deliberately a **permanent** failure. Repeating a request that
|
|
105
|
+
# failed to serialize will fail identically, so treating a 500 as
|
|
106
|
+
# retryable would spin a poison message through redelivery forever
|
|
107
|
+
# instead of letting it reach a dead-letter queue. Dependency failures
|
|
108
|
+
# that *are* worth retrying use `ServiceUnavailableException` and
|
|
109
|
+
# its 503 instead.
|
|
110
|
+
#
|
|
111
|
+
# @!attribute [rw] message
|
|
112
|
+
# @return [String]
|
|
113
|
+
#
|
|
114
|
+
# @!attribute [rw] error_code
|
|
115
|
+
# ARD's Appendix B code on the ARD surface, `INTERNAL_ERROR`.
|
|
116
|
+
# @return [String]
|
|
117
|
+
#
|
|
118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/InternalServerException AWS API Documentation
|
|
119
|
+
#
|
|
120
|
+
class InternalServerException < Struct.new(
|
|
121
|
+
:message,
|
|
122
|
+
:error_code)
|
|
123
|
+
SENSITIVE = []
|
|
124
|
+
include Aws::Structure
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Lineage of a record (AI Catalog Provenance Link Object), with only its
|
|
128
|
+
# required members.
|
|
129
|
+
#
|
|
130
|
+
# @!attribute [rw] relation
|
|
131
|
+
# How the contributor got the record.
|
|
132
|
+
# @return [String]
|
|
133
|
+
#
|
|
134
|
+
# @!attribute [rw] source_id
|
|
135
|
+
# The source of the record. Not always a URI. On `publishedFrom` it's
|
|
136
|
+
# the value of the record's `identifier` union member,
|
|
137
|
+
# `identifier.uri` or `identifier.domain`, unchanged. On
|
|
138
|
+
# `discoveredFrom` it's the name the registry gave the partner source
|
|
139
|
+
# when it was configured for crawling, not a URL.
|
|
140
|
+
# @return [String]
|
|
141
|
+
#
|
|
142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/ProvenanceLink AWS API Documentation
|
|
143
|
+
#
|
|
144
|
+
class ProvenanceLink < Struct.new(
|
|
145
|
+
:relation,
|
|
146
|
+
:source_id)
|
|
147
|
+
SENSITIVE = []
|
|
148
|
+
include Aws::Structure
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# A public record returned by search. Only the record's public
|
|
152
|
+
# descriptors are included.
|
|
153
|
+
#
|
|
154
|
+
# @!attribute [rw] identifier
|
|
155
|
+
# The resolvable identifier value. Discriminated union — exactly one
|
|
156
|
+
# member is set.
|
|
157
|
+
# @return [Types::Identifier]
|
|
158
|
+
#
|
|
159
|
+
# @!attribute [rw] display_name
|
|
160
|
+
# The record's display name.
|
|
161
|
+
# @return [String]
|
|
162
|
+
#
|
|
163
|
+
# @!attribute [rw] description
|
|
164
|
+
# A description of the record.
|
|
165
|
+
# @return [String]
|
|
166
|
+
#
|
|
167
|
+
# @!attribute [rw] record_type
|
|
168
|
+
# The kind of resource the record describes, such as an agent, a tool,
|
|
169
|
+
# or a skill.
|
|
170
|
+
# @return [String]
|
|
171
|
+
#
|
|
172
|
+
# @!attribute [rw] domain
|
|
173
|
+
# FQDN per RFC-1035/1123, case-insensitive, at least two labels.
|
|
174
|
+
# @return [String]
|
|
175
|
+
#
|
|
176
|
+
# @!attribute [rw] descriptors
|
|
177
|
+
# Every PUBLIC descriptor slot the record was published with, as
|
|
178
|
+
# published: each slot's `source`, inline `data`, `version` and
|
|
179
|
+
# nested `additionalData`, the `custom` slot included. Absent on a
|
|
180
|
+
# record discovered at a partner source; ARD serves the partner's
|
|
181
|
+
# cards.
|
|
182
|
+
# @return [Hash<String,Types::DescriptorEntry>]
|
|
183
|
+
#
|
|
184
|
+
# @!attribute [rw] trust_manifests
|
|
185
|
+
# Trust Manifests (AI Catalog Trust Manifest Object), today only the
|
|
186
|
+
# registry's own, `contributor`
|
|
187
|
+
# `did:web:agent-registry.global.api.aws`. Its one provenance link
|
|
188
|
+
# says how the registry got the record: `relation` is `publishedFrom`
|
|
189
|
+
# for a record its owner published and `discoveredFrom` for one the
|
|
190
|
+
# registry discovered at a partner source, with `sourceId` as
|
|
191
|
+
# `ProvenanceLink.sourceId` describes. The `provenance` filter takes
|
|
192
|
+
# the same values (see `ProvenanceRelation`). It's left off when the
|
|
193
|
+
# registry can't name the source: a `federatedFrom` record until the
|
|
194
|
+
# index carries the peer registry, a discovered record with no source,
|
|
195
|
+
# or a missing or unknown origin. The manifest is unsigned, so it
|
|
196
|
+
# attributes the claim to the registry and doesn't authenticate it.
|
|
197
|
+
# @return [Array<Types::TrustManifest>]
|
|
198
|
+
#
|
|
199
|
+
# @!attribute [rw] record_version
|
|
200
|
+
# The record's version string, set by its publisher. Left off when
|
|
201
|
+
# the record has none, for example a discovered record whose source
|
|
202
|
+
# carries no version.
|
|
203
|
+
# @return [String]
|
|
204
|
+
#
|
|
205
|
+
# @!attribute [rw] created_at
|
|
206
|
+
# When the record was created.
|
|
207
|
+
# @return [Time]
|
|
208
|
+
#
|
|
209
|
+
# @!attribute [rw] updated_at
|
|
210
|
+
# When the record was last updated.
|
|
211
|
+
# @return [Time]
|
|
212
|
+
#
|
|
213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/PublicRecord AWS API Documentation
|
|
214
|
+
#
|
|
215
|
+
class PublicRecord < Struct.new(
|
|
216
|
+
:identifier,
|
|
217
|
+
:display_name,
|
|
218
|
+
:description,
|
|
219
|
+
:record_type,
|
|
220
|
+
:domain,
|
|
221
|
+
:descriptors,
|
|
222
|
+
:trust_manifests,
|
|
223
|
+
:record_version,
|
|
224
|
+
:created_at,
|
|
225
|
+
:updated_at)
|
|
226
|
+
SENSITIVE = []
|
|
227
|
+
include Aws::Structure
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# @!attribute [rw] search_query
|
|
231
|
+
# Free-text natural-language query (ARD `text`). Drives semantic +
|
|
232
|
+
# lexical ranking.
|
|
233
|
+
# @return [String]
|
|
234
|
+
#
|
|
235
|
+
# @!attribute [rw] filters
|
|
236
|
+
# Structured filter narrowing the results, in the grammar of Agent
|
|
237
|
+
# Registry's SearchDiscoverableRegistryRecords `filters`: `$eq`,
|
|
238
|
+
# `$ne` and `$in` on a field, with `$and` or `$or` over
|
|
239
|
+
# single-condition objects, never nested. Fields are `identifier`,
|
|
240
|
+
# `domain`, `recordType`, `descriptorType`, `provenance` and
|
|
241
|
+
# `recordVersion`, and `identifier` also takes `$prefix`. For example
|
|
242
|
+
# `{"recordType": {"$eq": "AGENT"}}` or `{"$or": [{"recordType":
|
|
243
|
+
# {"$eq": "MCP"}}, {"domain": {"$eq": "acme.com"}}]}`.
|
|
244
|
+
#
|
|
245
|
+
# Limits, the same ones Agent Registry applies: at most 10 conditions,
|
|
246
|
+
# `$in` takes 1-25 values, values are strings of 1-512 characters,
|
|
247
|
+
# and `\{}` is invalid. A `document` can't carry `@length`, so
|
|
248
|
+
# the service enforces these and answers a filter past them with a
|
|
249
|
+
# ValidationException, as Agent Registry does.
|
|
250
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
251
|
+
#
|
|
252
|
+
# @!attribute [rw] max_results
|
|
253
|
+
# Max records per page. Default 20, max 100.
|
|
254
|
+
# @return [Integer]
|
|
255
|
+
#
|
|
256
|
+
# @!attribute [rw] next_token
|
|
257
|
+
# Opaque composite-cursor pagination token (O-DM12).
|
|
258
|
+
# @return [String]
|
|
259
|
+
#
|
|
260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/SearchPublicRecordsRequest AWS API Documentation
|
|
261
|
+
#
|
|
262
|
+
class SearchPublicRecordsRequest < Struct.new(
|
|
263
|
+
:search_query,
|
|
264
|
+
:filters,
|
|
265
|
+
:max_results,
|
|
266
|
+
:next_token)
|
|
267
|
+
SENSITIVE = []
|
|
268
|
+
include Aws::Structure
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# @!attribute [rw] records
|
|
272
|
+
# The records that match the search, most relevant first.
|
|
273
|
+
# @return [Array<Types::PublicRecord>]
|
|
274
|
+
#
|
|
275
|
+
# @!attribute [rw] next_token
|
|
276
|
+
# The token to pass in a later request to get the next page of
|
|
277
|
+
# results. Absent when there are no more results.
|
|
278
|
+
# @return [String]
|
|
279
|
+
#
|
|
280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/SearchPublicRecordsResponse AWS API Documentation
|
|
281
|
+
#
|
|
282
|
+
class SearchPublicRecordsResponse < Struct.new(
|
|
283
|
+
:records,
|
|
284
|
+
:next_token)
|
|
285
|
+
SENSITIVE = []
|
|
286
|
+
include Aws::Structure
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# Thrown when the caller exceeds a rate/burst limit (D-9). ARD's code
|
|
290
|
+
# for it is `RATE_LIMIT_EXCEEDED`.
|
|
291
|
+
#
|
|
292
|
+
# @!attribute [rw] message
|
|
293
|
+
# @return [String]
|
|
294
|
+
#
|
|
295
|
+
# @!attribute [rw] error_code
|
|
296
|
+
# ARD's error classification (Appendix B). Values are ARD's,
|
|
297
|
+
# uppercase on the wire.
|
|
298
|
+
# @return [String]
|
|
299
|
+
#
|
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/ThrottlingException AWS API Documentation
|
|
301
|
+
#
|
|
302
|
+
class ThrottlingException < Struct.new(
|
|
303
|
+
:message,
|
|
304
|
+
:error_code)
|
|
305
|
+
SENSITIVE = []
|
|
306
|
+
include Aws::Structure
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# One contributor's trust metadata about a record (AI Catalog Trust
|
|
310
|
+
# Manifest Object), with only the members the registry sets. AI
|
|
311
|
+
# Catalog's other members (`subject`, `signature`, `trustSchema`,
|
|
312
|
+
# `attestations`, `extensions`) are optional, so each can be added when
|
|
313
|
+
# something sets it.
|
|
314
|
+
#
|
|
315
|
+
# @!attribute [rw] contributor
|
|
316
|
+
# Absolute URI of the contributor these claims are attributed to.
|
|
317
|
+
# @return [String]
|
|
318
|
+
#
|
|
319
|
+
# @!attribute [rw] provenance
|
|
320
|
+
# The record's lineage as the contributor states it: how the
|
|
321
|
+
# contributor got the record, and from which source.
|
|
322
|
+
# @return [Array<Types::ProvenanceLink>]
|
|
323
|
+
#
|
|
324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/TrustManifest AWS API Documentation
|
|
325
|
+
#
|
|
326
|
+
class TrustManifest < Struct.new(
|
|
327
|
+
:contributor,
|
|
328
|
+
:provenance)
|
|
329
|
+
SENSITIVE = []
|
|
330
|
+
include Aws::Structure
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# Thrown when a request fails input validation.
|
|
334
|
+
#
|
|
335
|
+
# `errorCode` carries ARD's Appendix B code, `INVALID\_ARGUMENT`,
|
|
336
|
+
# which ARD's OpenAPI makes a required member of every error body on
|
|
337
|
+
# the ARD surface. The Amazon-shaped and internal surfaces leave it
|
|
338
|
+
# unset.
|
|
339
|
+
#
|
|
340
|
+
# @!attribute [rw] message
|
|
341
|
+
# @return [String]
|
|
342
|
+
#
|
|
343
|
+
# @!attribute [rw] error_code
|
|
344
|
+
# ARD's error classification (Appendix B). Values are ARD's,
|
|
345
|
+
# uppercase on the wire.
|
|
346
|
+
# @return [String]
|
|
347
|
+
#
|
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/agent-discovery-2022-07-26/ValidationException AWS API Documentation
|
|
349
|
+
#
|
|
350
|
+
class ValidationException < Struct.new(
|
|
351
|
+
:message,
|
|
352
|
+
:error_code)
|
|
353
|
+
SENSITIVE = []
|
|
354
|
+
include Aws::Structure
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
|
|
11
|
+
require 'aws-sdk-core'
|
|
12
|
+
require 'aws-sigv4'
|
|
13
|
+
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:agentdiscovery)
|
|
15
|
+
|
|
16
|
+
# This module provides support for Agent Discovery. This module is available in the
|
|
17
|
+
# `aws-sdk-agentdiscovery` gem.
|
|
18
|
+
#
|
|
19
|
+
# # Client
|
|
20
|
+
#
|
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
|
23
|
+
# structure.
|
|
24
|
+
#
|
|
25
|
+
# agent_discovery = Aws::AgentDiscovery::Client.new
|
|
26
|
+
# resp = agent_discovery.search_public_records(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from Agent Discovery are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::AgentDiscovery::Errors::ServiceError
|
|
38
|
+
# # rescues all Agent Discovery API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::AgentDiscovery
|
|
45
|
+
autoload :Types, 'aws-sdk-agentdiscovery/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-agentdiscovery/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-agentdiscovery/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-agentdiscovery/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-agentdiscovery/errors'
|
|
52
|
+
autoload :Resource, 'aws-sdk-agentdiscovery/resource'
|
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-agentdiscovery/endpoint_parameters'
|
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-agentdiscovery/endpoint_provider'
|
|
55
|
+
autoload :Endpoints, 'aws-sdk-agentdiscovery/endpoints'
|
|
56
|
+
|
|
57
|
+
GEM_VERSION = '1.0.0'
|
|
58
|
+
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
require_relative 'aws-sdk-agentdiscovery/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module AgentDiscovery
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentDiscovery/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?ignore_configured_endpoint_urls: bool,
|
|
39
|
+
?log_formatter: untyped,
|
|
40
|
+
?log_level: Symbol,
|
|
41
|
+
?logger: untyped,
|
|
42
|
+
?max_attempts: Integer,
|
|
43
|
+
?profile: String,
|
|
44
|
+
?request_checksum_calculation: String,
|
|
45
|
+
?request_min_compression_size_bytes: Integer,
|
|
46
|
+
?response_checksum_validation: String,
|
|
47
|
+
?retry_backoff: Proc,
|
|
48
|
+
?retry_base_delay: Float,
|
|
49
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
50
|
+
?retry_limit: Integer,
|
|
51
|
+
?retry_max_delay: Integer,
|
|
52
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
53
|
+
?sdk_ua_app_id: String,
|
|
54
|
+
?secret_access_key: String,
|
|
55
|
+
?session_token: String,
|
|
56
|
+
?sigv4a_signing_region_set: Array[String],
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> instance
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
interface _SearchPublicRecordsResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SearchPublicRecordsResponse]
|
|
84
|
+
def records: () -> ::Array[Types::PublicRecord]
|
|
85
|
+
def next_token: () -> ::String
|
|
86
|
+
end
|
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentDiscovery/Client.html#search_public_records-instance_method
|
|
88
|
+
def search_public_records: (
|
|
89
|
+
?search_query: ::String,
|
|
90
|
+
?filters: {
|
|
91
|
+
},
|
|
92
|
+
?max_results: ::Integer,
|
|
93
|
+
?next_token: ::String
|
|
94
|
+
) -> _SearchPublicRecordsResponseSuccess
|
|
95
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchPublicRecordsResponseSuccess
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module AgentDiscovery
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class InternalServerException < ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
def error_code: () -> ::String
|
|
17
|
+
end
|
|
18
|
+
class ThrottlingException < ServiceError
|
|
19
|
+
def message: () -> ::String
|
|
20
|
+
def error_code: () -> ::String
|
|
21
|
+
end
|
|
22
|
+
class ValidationException < ServiceError
|
|
23
|
+
def message: () -> ::String
|
|
24
|
+
def error_code: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module AgentDiscovery
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentDiscovery/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AgentDiscovery/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?ignore_configured_endpoint_urls: bool,
|
|
39
|
+
?log_formatter: untyped,
|
|
40
|
+
?log_level: Symbol,
|
|
41
|
+
?logger: untyped,
|
|
42
|
+
?max_attempts: Integer,
|
|
43
|
+
?profile: String,
|
|
44
|
+
?request_checksum_calculation: String,
|
|
45
|
+
?request_min_compression_size_bytes: Integer,
|
|
46
|
+
?response_checksum_validation: String,
|
|
47
|
+
?retry_backoff: Proc,
|
|
48
|
+
?retry_base_delay: Float,
|
|
49
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
50
|
+
?retry_limit: Integer,
|
|
51
|
+
?retry_max_delay: Integer,
|
|
52
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
53
|
+
?sdk_ua_app_id: String,
|
|
54
|
+
?secret_access_key: String,
|
|
55
|
+
?session_token: String,
|
|
56
|
+
?sigv4a_signing_region_set: Array[String],
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> void
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
80
|
+
|
|
81
|
+
def client: () -> Client
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|