@aws-sdk/client-agent-registry 3.1105.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.
Files changed (85) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +202 -0
  3. package/dist-cjs/index.js +729 -0
  4. package/dist-es/AgentRegistry.js +17 -0
  5. package/dist-es/AgentRegistryClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/BatchGetDiscoverableRegistryRecordCommand.js +4 -0
  10. package/dist-es/commands/ListDiscoverableRegistryRecordsCommand.js +4 -0
  11. package/dist-es/commands/SearchDiscoverableRegistryRecordsCommand.js +4 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/endpoint/EndpointParameters.js +9 -0
  14. package/dist-es/endpoint/bdd.js +22 -0
  15. package/dist-es/endpoint/endpointResolver.js +14 -0
  16. package/dist-es/extensionConfiguration.js +1 -0
  17. package/dist-es/index.js +10 -0
  18. package/dist-es/models/AgentRegistryServiceException.js +8 -0
  19. package/dist-es/models/enums.js +33 -0
  20. package/dist-es/models/errors.js +77 -0
  21. package/dist-es/models/models_0.js +1 -0
  22. package/dist-es/pagination/Interfaces.js +1 -0
  23. package/dist-es/pagination/ListDiscoverableRegistryRecordsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/runtimeConfig.browser.js +29 -0
  26. package/dist-es/runtimeConfig.js +43 -0
  27. package/dist-es/runtimeConfig.native.js +9 -0
  28. package/dist-es/runtimeConfig.shared.js +40 -0
  29. package/dist-es/runtimeExtensions.js +9 -0
  30. package/dist-es/schemas/schemas_0.js +286 -0
  31. package/dist-types/AgentRegistry.d.ts +38 -0
  32. package/dist-types/AgentRegistryClient.d.ts +189 -0
  33. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  34. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +162 -0
  37. package/dist-types/commands/ListDiscoverableRegistryRecordsCommand.d.ts +114 -0
  38. package/dist-types/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +152 -0
  39. package/dist-types/commands/index.d.ts +3 -0
  40. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  41. package/dist-types/endpoint/bdd.d.ts +2 -0
  42. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  43. package/dist-types/extensionConfiguration.d.ts +9 -0
  44. package/dist-types/index.d.ts +18 -0
  45. package/dist-types/models/AgentRegistryServiceException.d.ts +14 -0
  46. package/dist-types/models/enums.d.ts +76 -0
  47. package/dist-types/models/errors.d.ts +86 -0
  48. package/dist-types/models/models_0.d.ts +489 -0
  49. package/dist-types/pagination/Interfaces.d.ts +8 -0
  50. package/dist-types/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/index.d.ts +2 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  53. package/dist-types/runtimeConfig.d.ts +57 -0
  54. package/dist-types/runtimeConfig.native.d.ts +56 -0
  55. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  56. package/dist-types/runtimeExtensions.d.ts +17 -0
  57. package/dist-types/schemas/schemas_0.d.ts +41 -0
  58. package/dist-types/ts3.4/AgentRegistry.d.ts +67 -0
  59. package/dist-types/ts3.4/AgentRegistryClient.d.ts +119 -0
  60. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  61. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  62. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListDiscoverableRegistryRecordsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  67. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
  68. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  69. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  70. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  71. package/dist-types/ts3.4/index.d.ts +13 -0
  72. package/dist-types/ts3.4/models/AgentRegistryServiceException.d.ts +9 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  74. package/dist-types/ts3.4/models/errors.d.ts +36 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +124 -0
  76. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  77. package/dist-types/ts3.4/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  83. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
  85. package/package.json +69 -0
@@ -0,0 +1,57 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ cacheMiddleware?: boolean | undefined;
22
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
23
+ protocolSettings: {
24
+ defaultNamespace?: string;
25
+ [setting: string]: unknown;
26
+ };
27
+ apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ profile?: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
40
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
+ logger?: import("@smithy/types").Logger;
44
+ }) => import("@smithy/types").EndpointV2;
45
+ tls?: boolean;
46
+ ignoreConfiguredEndpointUrls?: boolean;
47
+ serviceConfiguredEndpoint?: never;
48
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
50
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
+ signingEscapePath?: boolean;
53
+ systemClockOffset?: number;
54
+ signingRegion?: string;
55
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
57
+ };
@@ -0,0 +1,56 @@
1
+ import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
6
+ runtime: string;
7
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ cacheMiddleware?: boolean;
9
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
10
+ protocolSettings: {
11
+ defaultNamespace?: string;
12
+ [setting: string]: unknown;
13
+ };
14
+ apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: Uint8Array | string) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
+ maxAttempts: number | import("@smithy/types").Provider<number>;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
40
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
+ logger?: import("@smithy/types").Logger;
42
+ }) => import("@smithy/types").EndpointV2;
43
+ tls?: boolean;
44
+ ignoreConfiguredEndpointUrls?: boolean;
45
+ serviceConfiguredEndpoint?: never;
46
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
56
+ };
@@ -0,0 +1,28 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
7
+ apiVersion: string;
8
+ base64Decoder: import("@smithy/types").Decoder;
9
+ base64Encoder: (_input: Uint8Array | string) => string;
10
+ disableHostPrefix: boolean;
11
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
+ logger?: import("@smithy/types").Logger;
13
+ }) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
23
+ serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
25
+ urlParser: import("@smithy/types").UrlParser;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: Uint8Array | string) => string;
28
+ };
@@ -0,0 +1,17 @@
1
+ import type { AgentRegistryExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: AgentRegistryExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,41 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var AgentRegistryServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ThrottlingException$: StaticErrorSchema;
8
+ export declare var UnauthorizedException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var A2aAgentCardDescriptor$: StaticStructureSchema;
17
+ export declare var AgentSkillsAdditionalData$: StaticStructureSchema;
18
+ export declare var AgentSkillsDefinitionDescriptor$: StaticStructureSchema;
19
+ export declare var AgentSkillsMdDescriptor$: StaticStructureSchema;
20
+ export declare var BatchGetDiscoverableRegistryRecordError$: StaticStructureSchema;
21
+ export declare var BatchGetDiscoverableRegistryRecordRequest$: StaticStructureSchema;
22
+ export declare var BatchGetDiscoverableRegistryRecordResponse$: StaticStructureSchema;
23
+ export declare var CustomDescriptor$: StaticStructureSchema;
24
+ export declare var Descriptors$: StaticStructureSchema;
25
+ export declare var DescriptorSource$: StaticStructureSchema;
26
+ export declare var DescriptorSourceFromUrl$: StaticStructureSchema;
27
+ export declare var DiscoverableRegistryRecordSummary$: StaticStructureSchema;
28
+ export declare var ListDiscoverableRegistryRecordsRequest$: StaticStructureSchema;
29
+ export declare var ListDiscoverableRegistryRecordsResponse$: StaticStructureSchema;
30
+ export declare var McpServerAdditionalData$: StaticStructureSchema;
31
+ export declare var McpServerDescriptor$: StaticStructureSchema;
32
+ export declare var McpToolsDescriptor$: StaticStructureSchema;
33
+ export declare var RegistryRecordFilter$: StaticStructureSchema;
34
+ export declare var RegistryRecordsEntry$: StaticStructureSchema;
35
+ export declare var RegistryRecordSummary$: StaticStructureSchema;
36
+ export declare var SearchDiscoverableRegistryRecordsRequest$: StaticStructureSchema;
37
+ export declare var SearchDiscoverableRegistryRecordsResponse$: StaticStructureSchema;
38
+ export declare var ValidationExceptionField$: StaticStructureSchema;
39
+ export declare var BatchGetDiscoverableRegistryRecord$: StaticOperationSchema;
40
+ export declare var ListDiscoverableRegistryRecords$: StaticOperationSchema;
41
+ export declare var SearchDiscoverableRegistryRecords$: StaticOperationSchema;
@@ -0,0 +1,67 @@
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
6
+ import { AgentRegistryClient } from "./AgentRegistryClient";
7
+ import {
8
+ BatchGetDiscoverableRegistryRecordCommandInput,
9
+ BatchGetDiscoverableRegistryRecordCommandOutput,
10
+ } from "./commands/BatchGetDiscoverableRegistryRecordCommand";
11
+ import {
12
+ ListDiscoverableRegistryRecordsCommandInput,
13
+ ListDiscoverableRegistryRecordsCommandOutput,
14
+ } from "./commands/ListDiscoverableRegistryRecordsCommand";
15
+ import {
16
+ SearchDiscoverableRegistryRecordsCommandInput,
17
+ SearchDiscoverableRegistryRecordsCommandOutput,
18
+ } from "./commands/SearchDiscoverableRegistryRecordsCommand";
19
+ export interface AgentRegistry {
20
+ batchGetDiscoverableRegistryRecord(
21
+ args: BatchGetDiscoverableRegistryRecordCommandInput,
22
+ options?: __HttpHandlerOptions,
23
+ ): Promise<BatchGetDiscoverableRegistryRecordCommandOutput>;
24
+ batchGetDiscoverableRegistryRecord(
25
+ args: BatchGetDiscoverableRegistryRecordCommandInput,
26
+ cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void,
27
+ ): void;
28
+ batchGetDiscoverableRegistryRecord(
29
+ args: BatchGetDiscoverableRegistryRecordCommandInput,
30
+ options: __HttpHandlerOptions,
31
+ cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void,
32
+ ): void;
33
+ listDiscoverableRegistryRecords(
34
+ args: ListDiscoverableRegistryRecordsCommandInput,
35
+ options?: __HttpHandlerOptions,
36
+ ): Promise<ListDiscoverableRegistryRecordsCommandOutput>;
37
+ listDiscoverableRegistryRecords(
38
+ args: ListDiscoverableRegistryRecordsCommandInput,
39
+ cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void,
40
+ ): void;
41
+ listDiscoverableRegistryRecords(
42
+ args: ListDiscoverableRegistryRecordsCommandInput,
43
+ options: __HttpHandlerOptions,
44
+ cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void,
45
+ ): void;
46
+ searchDiscoverableRegistryRecords(
47
+ args: SearchDiscoverableRegistryRecordsCommandInput,
48
+ options?: __HttpHandlerOptions,
49
+ ): Promise<SearchDiscoverableRegistryRecordsCommandOutput>;
50
+ searchDiscoverableRegistryRecords(
51
+ args: SearchDiscoverableRegistryRecordsCommandInput,
52
+ cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void,
53
+ ): void;
54
+ searchDiscoverableRegistryRecords(
55
+ args: SearchDiscoverableRegistryRecordsCommandInput,
56
+ options: __HttpHandlerOptions,
57
+ cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void,
58
+ ): void;
59
+ paginateListDiscoverableRegistryRecords(
60
+ args: ListDiscoverableRegistryRecordsCommandInput,
61
+ paginationConfig?: Pick<
62
+ PaginationConfiguration,
63
+ Exclude<keyof PaginationConfiguration, "client">
64
+ >,
65
+ ): Paginator<ListDiscoverableRegistryRecordsCommandOutput>;
66
+ }
67
+ export declare class AgentRegistry extends AgentRegistryClient implements AgentRegistry {}
@@ -0,0 +1,119 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ UserAgentInputConfig,
5
+ UserAgentResolvedConfig,
6
+ } from "@aws-sdk/core/client";
7
+ import {
8
+ DefaultsMode as __DefaultsMode,
9
+ SmithyConfiguration as __SmithyConfiguration,
10
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
11
+ Client as __Client,
12
+ } from "@smithy/core/client";
13
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
15
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
16
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
17
+ import {
18
+ AwsCredentialIdentityProvider,
19
+ BodyLengthCalculator as __BodyLengthCalculator,
20
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
21
+ ChecksumConstructor as __ChecksumConstructor,
22
+ Decoder as __Decoder,
23
+ Encoder as __Encoder,
24
+ HashConstructor as __HashConstructor,
25
+ HttpHandlerOptions as __HttpHandlerOptions,
26
+ Logger as __Logger,
27
+ Provider as __Provider,
28
+ StreamCollector as __StreamCollector,
29
+ UrlParser as __UrlParser,
30
+ UserAgent as __UserAgent,
31
+ } from "@smithy/types";
32
+ import {
33
+ HttpAuthSchemeInputConfig,
34
+ HttpAuthSchemeResolvedConfig,
35
+ } from "./auth/httpAuthSchemeProvider";
36
+ import {
37
+ BatchGetDiscoverableRegistryRecordCommandInput,
38
+ BatchGetDiscoverableRegistryRecordCommandOutput,
39
+ } from "./commands/BatchGetDiscoverableRegistryRecordCommand";
40
+ import {
41
+ ListDiscoverableRegistryRecordsCommandInput,
42
+ ListDiscoverableRegistryRecordsCommandOutput,
43
+ } from "./commands/ListDiscoverableRegistryRecordsCommand";
44
+ import {
45
+ SearchDiscoverableRegistryRecordsCommandInput,
46
+ SearchDiscoverableRegistryRecordsCommandOutput,
47
+ } from "./commands/SearchDiscoverableRegistryRecordsCommand";
48
+ import {
49
+ ClientInputEndpointParameters,
50
+ ClientResolvedEndpointParameters,
51
+ EndpointParameters,
52
+ } from "./endpoint/EndpointParameters";
53
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
54
+ export { __Client };
55
+ export type ServiceInputTypes =
56
+ | BatchGetDiscoverableRegistryRecordCommandInput
57
+ | ListDiscoverableRegistryRecordsCommandInput
58
+ | SearchDiscoverableRegistryRecordsCommandInput;
59
+ export type ServiceOutputTypes =
60
+ | BatchGetDiscoverableRegistryRecordCommandOutput
61
+ | ListDiscoverableRegistryRecordsCommandOutput
62
+ | SearchDiscoverableRegistryRecordsCommandOutput;
63
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
64
+ requestHandler?: __HttpHandlerUserInput;
65
+ sha256?: __ChecksumConstructor | __HashConstructor;
66
+ urlParser?: __UrlParser;
67
+ bodyLengthChecker?: __BodyLengthCalculator;
68
+ streamCollector?: __StreamCollector;
69
+ base64Decoder?: __Decoder;
70
+ base64Encoder?: __Encoder;
71
+ utf8Decoder?: __Decoder;
72
+ utf8Encoder?: __Encoder;
73
+ runtime?: string;
74
+ disableHostPrefix?: boolean;
75
+ serviceId?: string;
76
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
77
+ useFipsEndpoint?: boolean | __Provider<boolean>;
78
+ region?: string | __Provider<string>;
79
+ profile?: string;
80
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
81
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
82
+ maxAttempts?: number | __Provider<number>;
83
+ retryMode?: string | __Provider<string>;
84
+ logger?: __Logger;
85
+ extensions?: RuntimeExtension[];
86
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
87
+ }
88
+ export type AgentRegistryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
89
+ ClientDefaults &
90
+ UserAgentInputConfig &
91
+ RetryInputConfig &
92
+ RegionInputConfig &
93
+ HostHeaderInputConfig &
94
+ EndpointInputConfig<EndpointParameters> &
95
+ HttpAuthSchemeInputConfig &
96
+ ClientInputEndpointParameters;
97
+ export interface AgentRegistryClientConfig extends AgentRegistryClientConfigType {}
98
+ export type AgentRegistryClientResolvedConfigType =
99
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
100
+ Required<ClientDefaults> &
101
+ RuntimeExtensionsConfig &
102
+ UserAgentResolvedConfig &
103
+ RetryResolvedConfig &
104
+ RegionResolvedConfig &
105
+ HostHeaderResolvedConfig &
106
+ EndpointResolvedConfig<EndpointParameters> &
107
+ HttpAuthSchemeResolvedConfig &
108
+ ClientResolvedEndpointParameters;
109
+ export interface AgentRegistryClientResolvedConfig extends AgentRegistryClientResolvedConfigType {}
110
+ export declare class AgentRegistryClient extends __Client<
111
+ __HttpHandlerOptions,
112
+ ServiceInputTypes,
113
+ ServiceOutputTypes,
114
+ AgentRegistryClientResolvedConfig
115
+ > {
116
+ readonly config: AgentRegistryClientResolvedConfig;
117
+ constructor(...[configuration]: __CheckOptionalClientConfig<AgentRegistryClientConfig>);
118
+ destroy(): void;
119
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { AgentRegistryHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider): void;
11
+ httpAuthSchemeProvider(): AgentRegistryHttpAuthSchemeProvider;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
14
+ }
15
+ export type HttpAuthRuntimeConfig = Partial<{
16
+ httpAuthSchemes: HttpAuthScheme[];
17
+ httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
18
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
19
+ }>;
20
+ export declare const getHttpAuthExtensionConfiguration: (
21
+ runtimeConfig: HttpAuthRuntimeConfig,
22
+ ) => HttpAuthExtensionConfiguration;
23
+ export declare const resolveHttpAuthRuntimeConfig: (
24
+ config: HttpAuthExtensionConfiguration,
25
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,43 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { AgentRegistryClientResolvedConfig } from "../AgentRegistryClient";
15
+ export interface AgentRegistryHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface AgentRegistryHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ AgentRegistryClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ AgentRegistryHttpAuthSchemeParameters,
22
+ object
23
+ > {}
24
+ export declare const defaultAgentRegistryHttpAuthSchemeParametersProvider: (
25
+ config: AgentRegistryClientResolvedConfig,
26
+ context: HandlerExecutionContext,
27
+ input: object,
28
+ ) => Promise<AgentRegistryHttpAuthSchemeParameters>;
29
+ export interface AgentRegistryHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AgentRegistryHttpAuthSchemeParameters> {}
30
+ export declare const defaultAgentRegistryHttpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ authSchemePreference?: string[] | Provider<string[]>;
33
+ httpAuthSchemes?: HttpAuthScheme[];
34
+ httpAuthSchemeProvider?: AgentRegistryHttpAuthSchemeProvider;
35
+ }
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
37
+ readonly authSchemePreference: Provider<string[]>;
38
+ readonly httpAuthSchemes: HttpAuthScheme[];
39
+ readonly httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
40
+ }
41
+ export declare const resolveHttpAuthSchemeConfig: <T>(
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
43
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ AgentRegistryClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./AgentRegistryClient";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ AgentRegistryClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ AgentRegistryClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ BatchGetDiscoverableRegistryRecordRequest,
4
+ BatchGetDiscoverableRegistryRecordResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface BatchGetDiscoverableRegistryRecordCommandInput extends BatchGetDiscoverableRegistryRecordRequest {}
8
+ export interface BatchGetDiscoverableRegistryRecordCommandOutput
9
+ extends BatchGetDiscoverableRegistryRecordResponse, __MetadataBearer {}
10
+ declare const BatchGetDiscoverableRegistryRecordCommand_base: {
11
+ new (
12
+ input: BatchGetDiscoverableRegistryRecordCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ BatchGetDiscoverableRegistryRecordCommandInput,
15
+ BatchGetDiscoverableRegistryRecordCommandOutput,
16
+ import("..").AgentRegistryClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: BatchGetDiscoverableRegistryRecordCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ BatchGetDiscoverableRegistryRecordCommandInput,
24
+ BatchGetDiscoverableRegistryRecordCommandOutput,
25
+ import("..").AgentRegistryClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class BatchGetDiscoverableRegistryRecordCommand extends BatchGetDiscoverableRegistryRecordCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: BatchGetDiscoverableRegistryRecordRequest;
35
+ output: BatchGetDiscoverableRegistryRecordResponse;
36
+ };
37
+ sdk: {
38
+ input: BatchGetDiscoverableRegistryRecordCommandInput;
39
+ output: BatchGetDiscoverableRegistryRecordCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListDiscoverableRegistryRecordsRequest,
4
+ ListDiscoverableRegistryRecordsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListDiscoverableRegistryRecordsCommandInput extends ListDiscoverableRegistryRecordsRequest {}
8
+ export interface ListDiscoverableRegistryRecordsCommandOutput
9
+ extends ListDiscoverableRegistryRecordsResponse, __MetadataBearer {}
10
+ declare const ListDiscoverableRegistryRecordsCommand_base: {
11
+ new (
12
+ input: ListDiscoverableRegistryRecordsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListDiscoverableRegistryRecordsCommandInput,
15
+ ListDiscoverableRegistryRecordsCommandOutput,
16
+ import("..").AgentRegistryClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: ListDiscoverableRegistryRecordsCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListDiscoverableRegistryRecordsCommandInput,
24
+ ListDiscoverableRegistryRecordsCommandOutput,
25
+ import("..").AgentRegistryClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListDiscoverableRegistryRecordsCommand extends ListDiscoverableRegistryRecordsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListDiscoverableRegistryRecordsRequest;
35
+ output: ListDiscoverableRegistryRecordsResponse;
36
+ };
37
+ sdk: {
38
+ input: ListDiscoverableRegistryRecordsCommandInput;
39
+ output: ListDiscoverableRegistryRecordsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ SearchDiscoverableRegistryRecordsRequest,
4
+ SearchDiscoverableRegistryRecordsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface SearchDiscoverableRegistryRecordsCommandInput extends SearchDiscoverableRegistryRecordsRequest {}
8
+ export interface SearchDiscoverableRegistryRecordsCommandOutput
9
+ extends SearchDiscoverableRegistryRecordsResponse, __MetadataBearer {}
10
+ declare const SearchDiscoverableRegistryRecordsCommand_base: {
11
+ new (
12
+ input: SearchDiscoverableRegistryRecordsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ SearchDiscoverableRegistryRecordsCommandInput,
15
+ SearchDiscoverableRegistryRecordsCommandOutput,
16
+ import("..").AgentRegistryClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: SearchDiscoverableRegistryRecordsCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ SearchDiscoverableRegistryRecordsCommandInput,
24
+ SearchDiscoverableRegistryRecordsCommandOutput,
25
+ import("..").AgentRegistryClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class SearchDiscoverableRegistryRecordsCommand extends SearchDiscoverableRegistryRecordsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: SearchDiscoverableRegistryRecordsRequest;
35
+ output: SearchDiscoverableRegistryRecordsResponse;
36
+ };
37
+ sdk: {
38
+ input: SearchDiscoverableRegistryRecordsCommandInput;
39
+ output: SearchDiscoverableRegistryRecordsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./BatchGetDiscoverableRegistryRecordCommand";
2
+ export * from "./ListDiscoverableRegistryRecordsCommand";
3
+ export * from "./SearchDiscoverableRegistryRecordsCommand";