@aws-sdk/client-agent-registry 3.1171.0 → 3.1173.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.
- package/dist-cjs/index.js +79 -8
- package/dist-es/AgentRegistry.js +2 -0
- package/dist-es/AgentRegistryClient.js +1 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +17 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/pagination/SearchDiscoverableRegistryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.js +17 -1
- package/dist-es/runtimeConfig.shared.js +6 -0
- package/dist-es/schemas/schemas_0.js +18 -6
- package/dist-types/AgentRegistry.d.ts +7 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
- package/dist-types/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +6 -2
- package/dist-types/commands/ListDiscoverableRegistryRecordsCommand.d.ts +1 -1
- package/dist-types/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +10 -2
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +46 -5
- package/dist-types/pagination/SearchDiscoverableRegistryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +10 -1
- package/dist-types/runtimeConfig.d.ts +13 -1
- package/dist-types/runtimeConfig.native.d.ts +10 -1
- package/dist-types/runtimeConfig.shared.d.ts +12 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/AgentRegistry.d.ts +7 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/pagination/SearchDiscoverableRegistryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +24 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +17 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +2 -1
|
@@ -24,7 +24,7 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p> Searches the discoverable registry records in a registry using a natural language query. Returns metadata for the matching records ordered by relevance.</p>
|
|
27
|
+
* <p> Searches the discoverable registry records in a registry using a natural language query. Returns metadata for the matching records ordered by relevance.</p> <p> Returns at most 1000 results across all pages when <code>searchType</code> is <code>KEYWORD</code>, and at most 20 results when it is <code>HYBRID</code> or <code>SEMANTIC</code>. To retrieve more records, refine the query or filters, or use <code>ListDiscoverableRegistryRecords</code> to list every record.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -40,6 +40,8 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
|
|
|
40
40
|
* ],
|
|
41
41
|
* maxResults: Number("int"),
|
|
42
42
|
* filters: "DOCUMENT_VALUE",
|
|
43
|
+
* searchType: "HYBRID" || "SEMANTIC" || "KEYWORD",
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
43
45
|
* };
|
|
44
46
|
* const command = new SearchDiscoverableRegistryRecordsCommand(input);
|
|
45
47
|
* const response = await client.send(command);
|
|
@@ -112,12 +114,18 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
|
|
|
112
114
|
* // },
|
|
113
115
|
* // },
|
|
114
116
|
* // recordVersion: "STRING_VALUE", // required
|
|
115
|
-
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
|
|
117
|
+
* // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
|
|
116
118
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
117
119
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
118
120
|
* // customMetadata: "DOCUMENT_VALUE",
|
|
121
|
+
* // artifact: { // RegistryRecordArtifactDownload
|
|
122
|
+
* // sha256: "STRING_VALUE",
|
|
123
|
+
* // downloadUrl: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
119
125
|
* // },
|
|
120
126
|
* // ],
|
|
127
|
+
* // searchType: "HYBRID" || "SEMANTIC" || "KEYWORD",
|
|
128
|
+
* // nextToken: "STRING_VALUE",
|
|
121
129
|
* // };
|
|
122
130
|
*
|
|
123
131
|
* ```
|
|
@@ -33,12 +33,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
|
33
33
|
export declare const RegistryRecordStatus: {
|
|
34
34
|
readonly APPROVED: "APPROVED";
|
|
35
35
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
36
|
+
readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
|
|
36
37
|
readonly CREATING: "CREATING";
|
|
37
38
|
readonly DEPRECATED: "DEPRECATED";
|
|
38
39
|
readonly DRAFT: "DRAFT";
|
|
39
40
|
readonly PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
40
41
|
readonly REJECTED: "REJECTED";
|
|
41
42
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
43
|
+
readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
|
|
42
44
|
readonly UPDATING: "UPDATING";
|
|
43
45
|
};
|
|
44
46
|
/**
|
|
@@ -55,6 +57,7 @@ export declare const ValidationExceptionReason: {
|
|
|
55
57
|
readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
|
|
56
58
|
readonly RESOURCE_CONFLICT: "ResourceConflict";
|
|
57
59
|
readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
|
|
60
|
+
readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
|
|
58
61
|
};
|
|
59
62
|
/**
|
|
60
63
|
* @public
|
|
@@ -75,3 +78,25 @@ export declare const RegistryRecordFilterName: {
|
|
|
75
78
|
* @public
|
|
76
79
|
*/
|
|
77
80
|
export type RegistryRecordFilterName = (typeof RegistryRecordFilterName)[keyof typeof RegistryRecordFilterName];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const SearchType: {
|
|
86
|
+
/**
|
|
87
|
+
* <p> Combines keyword ranking and semantic ranking. Use this type when a query mixes specific terms with a natural language description.</p>
|
|
88
|
+
*/
|
|
89
|
+
readonly HYBRID: "HYBRID";
|
|
90
|
+
/**
|
|
91
|
+
* <p> Ranks records by keyword match between the query terms and the record name, description, descriptors, and custom metadata text values. Use this type for queries built from specific terms, such as tool names or API names.</p>
|
|
92
|
+
*/
|
|
93
|
+
readonly KEYWORD: "KEYWORD";
|
|
94
|
+
/**
|
|
95
|
+
* <p> Ranks records by semantic similarity to the query. Use this type for natural language descriptions of a task. Returns the most similar records even when none of them closely matches the query.</p>
|
|
96
|
+
*/
|
|
97
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { BatchGetDiscoverableRegistryRecordErrorCode, RecordType, RegistryRecordFilterName, RegistryRecordStatus } from "./enums";
|
|
2
|
+
import type { BatchGetDiscoverableRegistryRecordErrorCode, RecordType, RegistryRecordFilterName, RegistryRecordStatus, SearchType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p> A URL-based descriptor source that identifies where descriptor content is retrieved from.</p>
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export interface DescriptorSourceFromUrl {
|
|
8
8
|
/**
|
|
9
|
-
* <p> The URL from which the descriptor content is retrieved.</p>
|
|
9
|
+
* <p> The URL from which the descriptor content is retrieved. For an agent skill that synchronizes its SKILL.md from GitHub, this is the GitHub folder URL. The data plane doesn't return Amazon S3 (<code>s3://</code>) source URLs.</p>
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
url: string | undefined;
|
|
@@ -95,6 +95,22 @@ export interface BatchGetDiscoverableRegistryRecordError {
|
|
|
95
95
|
*/
|
|
96
96
|
message?: string | undefined;
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>The skill package of a registry record, as a short-lived download URL and the package's SHA-256 checksum. Responses never include the package bytes.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export interface RegistryRecordArtifactDownload {
|
|
103
|
+
/**
|
|
104
|
+
* <p>The SHA-256 checksum of the package, as 64 lowercase hexadecimal characters. The download response carries no signature that you can check, so compare the checksum of the file that you download with this value before you use the package.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
sha256?: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>A presigned Amazon S3 URL that downloads the package. The URL is valid for up to 5 minutes, and the response doesn't include its expiry time. To get a new URL, call the operation again. Anyone who has the URL can download the package until it expires, so don't log, store, or share it.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
downloadUrl?: string | undefined;
|
|
113
|
+
}
|
|
98
114
|
/**
|
|
99
115
|
* <p> Markdown-format descriptor containing an agent skills document.</p>
|
|
100
116
|
* @public
|
|
@@ -340,6 +356,11 @@ export interface RegistryRecordSummary {
|
|
|
340
356
|
* @public
|
|
341
357
|
*/
|
|
342
358
|
customMetadata?: __DocumentType | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* <p> The skill package of the record's latest approved revision, as the package's SHA-256 checksum and a download URL that is valid for up to 5 minutes. Only <code>BatchGetDiscoverableRegistryRecord</code> returns this member, not <code>SearchDiscoverableRegistryRecords</code>. Absent when the record has no skill package.</p>
|
|
361
|
+
* @public
|
|
362
|
+
*/
|
|
363
|
+
artifact?: RegistryRecordArtifactDownload | undefined;
|
|
343
364
|
}
|
|
344
365
|
/**
|
|
345
366
|
* @public
|
|
@@ -499,7 +520,7 @@ export interface ListDiscoverableRegistryRecordsResponse {
|
|
|
499
520
|
*/
|
|
500
521
|
export interface SearchDiscoverableRegistryRecordsRequest {
|
|
501
522
|
/**
|
|
502
|
-
* <p> The natural language query to search for matching registry records
|
|
523
|
+
* <p> The natural language query to search for matching registry records. If you specify an empty string, the operation returns the records that match the <code>filters</code>, most recently updated first, up to the result limit for the <code>searchType</code>.</p>
|
|
503
524
|
* @public
|
|
504
525
|
*/
|
|
505
526
|
searchQuery: string | undefined;
|
|
@@ -509,7 +530,7 @@ export interface SearchDiscoverableRegistryRecordsRequest {
|
|
|
509
530
|
*/
|
|
510
531
|
registryIds: string[] | undefined;
|
|
511
532
|
/**
|
|
512
|
-
* <p> The maximum number of results to return. Valid values are 1 through 20
|
|
533
|
+
* <p> The maximum number of results to return in one page. Valid values are 1 through 50 when <code>searchType</code> is <code>KEYWORD</code>, and 1 through 20 when it is <code>HYBRID</code> or <code>SEMANTIC</code>. The default value is 10.</p>
|
|
513
534
|
* @public
|
|
514
535
|
*/
|
|
515
536
|
maxResults?: number | undefined;
|
|
@@ -518,14 +539,34 @@ export interface SearchDiscoverableRegistryRecordsRequest {
|
|
|
518
539
|
* @public
|
|
519
540
|
*/
|
|
520
541
|
filters?: __DocumentType | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p> Specifies how the service ranks registry records against the search query. If you omit this parameter, the service uses <code>HYBRID</code> in Amazon Web Services Regions that support semantic search and <code>KEYWORD</code> in Regions that do not. The response reports the search type that the service used. Valid values are the following:</p> <ul> <li> <p> <code>KEYWORD</code> – Ranks records by keyword match between the query terms and the record name, description, descriptors, and custom metadata text values. Available in every Amazon Web Services Region.</p> </li> <li> <p> <code>SEMANTIC</code> – Ranks records by semantic similarity to the query and returns the most similar records, up to <code>maxResults</code>, even when none of them closely matches the query.</p> </li> <li> <p> <code>HYBRID</code> – Combines keyword ranking and semantic ranking.</p> </li> </ul> <p> <code>HYBRID</code> and <code>SEMANTIC</code> are available in a limited number of Regions. If you specify either one in a Region that does not support semantic search, the request fails with a <code>ValidationException</code> that has the reason <code>UnsupportedInRegion</code>.</p>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
searchType?: SearchType | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* <p> The pagination token from a previous response. Use it to retrieve the next page of results, and send the same <code>searchQuery</code>, <code>registryIds</code>, <code>filters</code>, and <code>searchType</code> that you used for the first page. If any of them differ, the request fails with a <code>ValidationException</code>. A pagination token expires 15 minutes after the service returns the first page.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
nextToken?: string | undefined;
|
|
521
552
|
}
|
|
522
553
|
/**
|
|
523
554
|
* @public
|
|
524
555
|
*/
|
|
525
556
|
export interface SearchDiscoverableRegistryRecordsResponse {
|
|
526
557
|
/**
|
|
527
|
-
* <p> The registry records that match the search query, ordered by relevance
|
|
558
|
+
* <p> The registry records that match the search query, ordered by relevance. A page can contain fewer than <code>maxResults</code> records, or none, even when the response includes a <code>nextToken</code>. To retrieve every result, continue until the response has no <code>nextToken</code>.</p>
|
|
528
559
|
* @public
|
|
529
560
|
*/
|
|
530
561
|
registryRecords: RegistryRecordSummary[] | undefined;
|
|
562
|
+
/**
|
|
563
|
+
* <p> Specifies the search type that the service used to rank the returned records. If you omitted <code>searchType</code> in the request, this is the default for the Amazon Web Services Region: <code>HYBRID</code> where semantic search is supported, and <code>KEYWORD</code> elsewhere.</p>
|
|
564
|
+
* @public
|
|
565
|
+
*/
|
|
566
|
+
searchType?: SearchType | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* <p> The pagination token to pass to a subsequent request to retrieve the next page of results. This field is absent when there are no more results, or when the search has returned the maximum number of results for its search type.</p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
nextToken?: string | undefined;
|
|
531
572
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { SearchDiscoverableRegistryRecordsCommandInput, SearchDiscoverableRegistryRecordsCommandOutput } from "../commands/SearchDiscoverableRegistryRecordsCommand";
|
|
3
|
+
import type { AgentRegistryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateSearchDiscoverableRegistryRecords: (config: AgentRegistryPaginationConfiguration, input: SearchDiscoverableRegistryRecordsCommandInput, ...rest: any[]) => Paginator<SearchDiscoverableRegistryRecordsCommandOutput>;
|
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
20
20
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
21
21
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
23
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
23
24
|
apiVersion: string;
|
|
24
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
26
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +30,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
29
30
|
}) => import("@smithy/types").EndpointV2;
|
|
30
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
32
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
32
|
-
httpAuthSchemes:
|
|
33
|
+
httpAuthSchemes: ({
|
|
34
|
+
schemeId: string;
|
|
35
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
36
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
37
|
+
} | {
|
|
38
|
+
schemeId: string;
|
|
39
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
40
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
41
|
+
})[];
|
|
33
42
|
logger: import("@smithy/types").Logger;
|
|
34
43
|
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
35
44
|
protocolSettings: {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
1
3
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
4
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
2
5
|
import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
|
|
3
6
|
/**
|
|
4
7
|
* @internal
|
|
@@ -18,6 +21,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
18
21
|
signingRegion?: string;
|
|
19
22
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
23
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
21
25
|
apiVersion: string;
|
|
22
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -27,7 +31,6 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
27
31
|
}) => import("@smithy/types").EndpointV2;
|
|
28
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
33
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
30
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
31
34
|
logger: import("@smithy/types").Logger;
|
|
32
35
|
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
33
36
|
protocolSettings: {
|
|
@@ -46,6 +49,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
46
49
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
50
|
defaultSocketTimeout: number | undefined;
|
|
48
51
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
52
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
53
|
+
schemeId: string;
|
|
54
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
55
|
+
signer: AwsSdkSigV4Signer;
|
|
56
|
+
} | {
|
|
57
|
+
schemeId: string;
|
|
58
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>;
|
|
59
|
+
signer: HttpBearerAuthSigner;
|
|
60
|
+
})[];
|
|
49
61
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
62
|
region: string | import("@smithy/types").Provider<string>;
|
|
51
63
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
19
19
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
20
20
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
22
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
22
23
|
apiVersion: string;
|
|
23
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
25
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -28,7 +29,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
28
29
|
}) => import("@smithy/types").EndpointV2;
|
|
29
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
31
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
31
|
-
httpAuthSchemes:
|
|
32
|
+
httpAuthSchemes: ({
|
|
33
|
+
schemeId: string;
|
|
34
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
35
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
36
|
+
} | {
|
|
37
|
+
schemeId: string;
|
|
38
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
39
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
40
|
+
})[];
|
|
32
41
|
logger: import("@smithy/types").Logger;
|
|
33
42
|
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
34
43
|
protocolSettings: {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
4
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
2
5
|
import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
|
|
3
6
|
/**
|
|
4
7
|
* @internal
|
|
@@ -13,7 +16,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
13
16
|
}) => import("@smithy/types").EndpointV2;
|
|
14
17
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
16
|
-
httpAuthSchemes:
|
|
19
|
+
httpAuthSchemes: ({
|
|
20
|
+
schemeId: string;
|
|
21
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
22
|
+
signer: AwsSdkSigV4Signer;
|
|
23
|
+
} | {
|
|
24
|
+
schemeId: string;
|
|
25
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
26
|
+
signer: HttpBearerAuthSigner;
|
|
27
|
+
})[];
|
|
17
28
|
logger: import("@smithy/types").Logger;
|
|
18
29
|
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
30
|
protocolSettings: {
|
|
@@ -32,6 +32,7 @@ export declare var ListDiscoverableRegistryRecordsResponse$: StaticStructureSche
|
|
|
32
32
|
export declare var McpServerAdditionalData$: StaticStructureSchema;
|
|
33
33
|
export declare var McpServerDescriptor$: StaticStructureSchema;
|
|
34
34
|
export declare var McpToolsDescriptor$: StaticStructureSchema;
|
|
35
|
+
export declare var RegistryRecordArtifactDownload$: StaticStructureSchema;
|
|
35
36
|
export declare var RegistryRecordFilter$: StaticStructureSchema;
|
|
36
37
|
export declare var RegistryRecordsEntry$: StaticStructureSchema;
|
|
37
38
|
export declare var RegistryRecordSummary$: StaticStructureSchema;
|
|
@@ -67,5 +67,12 @@ export interface AgentRegistry {
|
|
|
67
67
|
Exclude<keyof PaginationConfiguration, "client">
|
|
68
68
|
>,
|
|
69
69
|
): Paginator<ListDiscoverableRegistryRecordsCommandOutput>;
|
|
70
|
+
paginateSearchDiscoverableRegistryRecords(
|
|
71
|
+
args: SearchDiscoverableRegistryRecordsCommandInput,
|
|
72
|
+
paginationConfig?: Pick<
|
|
73
|
+
PaginationConfiguration,
|
|
74
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
75
|
+
>,
|
|
76
|
+
): Paginator<SearchDiscoverableRegistryRecordsCommandOutput>;
|
|
70
77
|
}
|
|
71
78
|
export declare class AgentRegistry extends AgentRegistryClient implements AgentRegistry {}
|
|
@@ -2,6 +2,8 @@ import {
|
|
|
2
2
|
AwsCredentialIdentity,
|
|
3
3
|
AwsCredentialIdentityProvider,
|
|
4
4
|
HttpAuthScheme,
|
|
5
|
+
TokenIdentity,
|
|
6
|
+
TokenIdentityProvider,
|
|
5
7
|
} from "@smithy/types";
|
|
6
8
|
import { AgentRegistryHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
9
|
export interface HttpAuthExtensionConfiguration {
|
|
@@ -11,11 +13,14 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
11
13
|
httpAuthSchemeProvider(): AgentRegistryHttpAuthSchemeProvider;
|
|
12
14
|
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
15
|
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
16
|
+
setToken(token: TokenIdentity | TokenIdentityProvider): void;
|
|
17
|
+
token(): TokenIdentity | TokenIdentityProvider | undefined;
|
|
14
18
|
}
|
|
15
19
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
16
20
|
httpAuthSchemes: HttpAuthScheme[];
|
|
17
21
|
httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
|
|
18
22
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
23
|
+
token: TokenIdentity | TokenIdentityProvider;
|
|
19
24
|
}>;
|
|
20
25
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
21
26
|
runtimeConfig: HttpAuthRuntimeConfig,
|
|
@@ -10,6 +10,8 @@ import {
|
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
12
|
Provider,
|
|
13
|
+
TokenIdentity,
|
|
14
|
+
TokenIdentityProvider,
|
|
13
15
|
} from "@smithy/types";
|
|
14
16
|
import { AgentRegistryClientResolvedConfig } from "../AgentRegistryClient";
|
|
15
17
|
export interface AgentRegistryHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
@@ -32,11 +34,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
32
34
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
33
35
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
34
36
|
httpAuthSchemeProvider?: AgentRegistryHttpAuthSchemeProvider;
|
|
37
|
+
token?: TokenIdentity | TokenIdentityProvider;
|
|
35
38
|
}
|
|
36
39
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
37
40
|
readonly authSchemePreference: Provider<string[]>;
|
|
38
41
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
39
42
|
readonly httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
|
|
43
|
+
readonly token?: TokenIdentityProvider;
|
|
40
44
|
}
|
|
41
45
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
42
46
|
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
@@ -16,12 +16,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
|
16
16
|
export declare const RegistryRecordStatus: {
|
|
17
17
|
readonly APPROVED: "APPROVED";
|
|
18
18
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
19
|
+
readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
|
|
19
20
|
readonly CREATING: "CREATING";
|
|
20
21
|
readonly DEPRECATED: "DEPRECATED";
|
|
21
22
|
readonly DRAFT: "DRAFT";
|
|
22
23
|
readonly PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
23
24
|
readonly REJECTED: "REJECTED";
|
|
24
25
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
26
|
+
readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
|
|
25
27
|
readonly UPDATING: "UPDATING";
|
|
26
28
|
};
|
|
27
29
|
export type RegistryRecordStatus = (typeof RegistryRecordStatus)[keyof typeof RegistryRecordStatus];
|
|
@@ -31,6 +33,7 @@ export declare const ValidationExceptionReason: {
|
|
|
31
33
|
readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
|
|
32
34
|
readonly RESOURCE_CONFLICT: "ResourceConflict";
|
|
33
35
|
readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
|
|
36
|
+
readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
|
|
34
37
|
};
|
|
35
38
|
export type ValidationExceptionReason =
|
|
36
39
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
@@ -40,3 +43,9 @@ export declare const RegistryRecordFilterName: {
|
|
|
40
43
|
};
|
|
41
44
|
export type RegistryRecordFilterName =
|
|
42
45
|
(typeof RegistryRecordFilterName)[keyof typeof RegistryRecordFilterName];
|
|
46
|
+
export declare const SearchType: {
|
|
47
|
+
readonly HYBRID: "HYBRID";
|
|
48
|
+
readonly KEYWORD: "KEYWORD";
|
|
49
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
50
|
+
};
|
|
51
|
+
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
RecordType,
|
|
5
5
|
RegistryRecordFilterName,
|
|
6
6
|
RegistryRecordStatus,
|
|
7
|
+
SearchType,
|
|
7
8
|
} from "./enums";
|
|
8
9
|
export interface DescriptorSourceFromUrl {
|
|
9
10
|
url: string | undefined;
|
|
@@ -29,6 +30,10 @@ export interface BatchGetDiscoverableRegistryRecordError {
|
|
|
29
30
|
errorCode: BatchGetDiscoverableRegistryRecordErrorCode | undefined;
|
|
30
31
|
message?: string | undefined;
|
|
31
32
|
}
|
|
33
|
+
export interface RegistryRecordArtifactDownload {
|
|
34
|
+
sha256?: string | undefined;
|
|
35
|
+
downloadUrl?: string | undefined;
|
|
36
|
+
}
|
|
32
37
|
export interface AgentSkillsMdDescriptor {
|
|
33
38
|
data?: string | undefined;
|
|
34
39
|
dataSchemaVersion?: string | undefined;
|
|
@@ -86,6 +91,7 @@ export interface RegistryRecordSummary {
|
|
|
86
91
|
createdAt: Date | undefined;
|
|
87
92
|
updatedAt: Date | undefined;
|
|
88
93
|
customMetadata?: __DocumentType | undefined;
|
|
94
|
+
artifact?: RegistryRecordArtifactDownload | undefined;
|
|
89
95
|
}
|
|
90
96
|
export interface BatchGetDiscoverableRegistryRecordResponse {
|
|
91
97
|
registryRecords: RegistryRecordSummary[] | undefined;
|
|
@@ -128,7 +134,11 @@ export interface SearchDiscoverableRegistryRecordsRequest {
|
|
|
128
134
|
registryIds: string[] | undefined;
|
|
129
135
|
maxResults?: number | undefined;
|
|
130
136
|
filters?: __DocumentType | undefined;
|
|
137
|
+
searchType?: SearchType | undefined;
|
|
138
|
+
nextToken?: string | undefined;
|
|
131
139
|
}
|
|
132
140
|
export interface SearchDiscoverableRegistryRecordsResponse {
|
|
133
141
|
registryRecords: RegistryRecordSummary[] | undefined;
|
|
142
|
+
searchType?: SearchType | undefined;
|
|
143
|
+
nextToken?: string | undefined;
|
|
134
144
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SearchDiscoverableRegistryRecordsCommandInput,
|
|
4
|
+
SearchDiscoverableRegistryRecordsCommandOutput,
|
|
5
|
+
} from "../commands/SearchDiscoverableRegistryRecordsCommand";
|
|
6
|
+
import { AgentRegistryPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateSearchDiscoverableRegistryRecords: (
|
|
8
|
+
config: AgentRegistryPaginationConfiguration,
|
|
9
|
+
input: SearchDiscoverableRegistryRecordsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchDiscoverableRegistryRecordsCommandOutput>;
|
|
@@ -42,6 +42,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
42
42
|
) => import("@smithy/types").RequestSigner;
|
|
43
43
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
45
46
|
apiVersion: string;
|
|
46
47
|
base64Decoder: import("@smithy/types").Decoder;
|
|
47
48
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -54,7 +55,22 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
54
55
|
) => import("@smithy/types").EndpointV2;
|
|
55
56
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
57
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
57
|
-
httpAuthSchemes:
|
|
58
|
+
httpAuthSchemes: (
|
|
59
|
+
| {
|
|
60
|
+
schemeId: string;
|
|
61
|
+
identityProvider: (
|
|
62
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
63
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
64
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
65
|
+
}
|
|
66
|
+
| {
|
|
67
|
+
schemeId: string;
|
|
68
|
+
identityProvider: (
|
|
69
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
70
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
71
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
72
|
+
}
|
|
73
|
+
)[];
|
|
58
74
|
logger: import("@smithy/types").Logger;
|
|
59
75
|
protocol:
|
|
60
76
|
| import("@smithy/types").$ClientProtocol<any, any>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
1
3
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
4
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
2
5
|
import { AgentRegistryClientConfig } from "./AgentRegistryClient";
|
|
3
6
|
export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
4
7
|
cacheMiddleware?: boolean;
|
|
@@ -40,6 +43,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
40
43
|
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
41
44
|
) => import("@smithy/types").RequestSigner;
|
|
42
45
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
46
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
43
47
|
apiVersion: string;
|
|
44
48
|
base64Decoder: import("@smithy/types").Decoder;
|
|
45
49
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -52,7 +56,6 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
52
56
|
) => import("@smithy/types").EndpointV2;
|
|
53
57
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
58
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
55
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
56
59
|
logger: import("@smithy/types").Logger;
|
|
57
60
|
protocol:
|
|
58
61
|
| import("@smithy/types").$ClientProtocol<any, any>
|
|
@@ -82,6 +85,26 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
82
85
|
defaultUserAgentProvider: (
|
|
83
86
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
84
87
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
88
|
+
httpAuthSchemes:
|
|
89
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
90
|
+
| (
|
|
91
|
+
| {
|
|
92
|
+
schemeId: string;
|
|
93
|
+
identityProvider: (
|
|
94
|
+
ipc: IdentityProviderConfig,
|
|
95
|
+
) =>
|
|
96
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
97
|
+
| undefined;
|
|
98
|
+
signer: AwsSdkSigV4Signer;
|
|
99
|
+
}
|
|
100
|
+
| {
|
|
101
|
+
schemeId: string;
|
|
102
|
+
identityProvider: (
|
|
103
|
+
ipc: IdentityProviderConfig,
|
|
104
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>;
|
|
105
|
+
signer: HttpBearerAuthSigner;
|
|
106
|
+
}
|
|
107
|
+
)[];
|
|
85
108
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
86
109
|
region: string | import("@smithy/types").Provider<string>;
|
|
87
110
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -41,6 +41,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
41
41
|
) => import("@smithy/types").RequestSigner;
|
|
42
42
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
43
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
|
|
44
45
|
apiVersion: string;
|
|
45
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
46
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -53,7 +54,22 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
53
54
|
) => import("@smithy/types").EndpointV2;
|
|
54
55
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
56
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
56
|
-
httpAuthSchemes:
|
|
57
|
+
httpAuthSchemes: (
|
|
58
|
+
| {
|
|
59
|
+
schemeId: string;
|
|
60
|
+
identityProvider: (
|
|
61
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
62
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
63
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
64
|
+
}
|
|
65
|
+
| {
|
|
66
|
+
schemeId: string;
|
|
67
|
+
identityProvider: (
|
|
68
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
69
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
70
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
71
|
+
}
|
|
72
|
+
)[];
|
|
57
73
|
logger: import("@smithy/types").Logger;
|
|
58
74
|
protocol:
|
|
59
75
|
| import("@smithy/types").$ClientProtocol<any, any>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
4
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
2
5
|
import { AgentRegistryClientConfig } from "./AgentRegistryClient";
|
|
3
6
|
export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
4
7
|
apiVersion: string;
|
|
@@ -13,7 +16,22 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
|
13
16
|
) => import("@smithy/types").EndpointV2;
|
|
14
17
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
16
|
-
httpAuthSchemes:
|
|
19
|
+
httpAuthSchemes: (
|
|
20
|
+
| {
|
|
21
|
+
schemeId: string;
|
|
22
|
+
identityProvider: (
|
|
23
|
+
ipc: IdentityProviderConfig,
|
|
24
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
25
|
+
signer: AwsSdkSigV4Signer;
|
|
26
|
+
}
|
|
27
|
+
| {
|
|
28
|
+
schemeId: string;
|
|
29
|
+
identityProvider: (
|
|
30
|
+
ipc: IdentityProviderConfig,
|
|
31
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
32
|
+
signer: HttpBearerAuthSigner;
|
|
33
|
+
}
|
|
34
|
+
)[];
|
|
17
35
|
logger: import("@smithy/types").Logger;
|
|
18
36
|
protocol:
|
|
19
37
|
| import("@smithy/types").$ClientProtocol<any, any>
|