@aws-sdk/client-agent-registry 3.1137.0 → 3.1139.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 CHANGED
@@ -65,7 +65,7 @@ const commonParams = {
65
65
  Region: { type: "builtInParams", name: "region" },
66
66
  };
67
67
 
68
- var version = "3.1136.0";
68
+ var version = "3.1138.0";
69
69
  var packageInfo = {
70
70
  version: version};
71
71
 
@@ -279,10 +279,10 @@ const _u = "url";
279
279
  const _uA = "updatedAt";
280
280
  const _v = "values";
281
281
  const n0 = "com.amazonaws.agentregistry";
282
- const _s_registry = TypeRegistry.for(_s);
282
+ const _s_registry = new TypeRegistry(_s);
283
283
  var AgentRegistryServiceException$ = [-3, _s, "AgentRegistryServiceException", 0, [], []];
284
284
  _s_registry.registerError(AgentRegistryServiceException$, AgentRegistryServiceException);
285
- const n0_registry = TypeRegistry.for(n0);
285
+ const n0_registry = new TypeRegistry(n0);
286
286
  var AccessDeniedException$ = [-3, n0, _ADE,
287
287
  { [_e]: _c, [_hE]: 403 },
288
288
  [_m],
@@ -93,10 +93,10 @@ const n0 = "com.amazonaws.agentregistry";
93
93
  import { TypeRegistry } from "@smithy/core/schema";
94
94
  import { AgentRegistryServiceException } from "../models/AgentRegistryServiceException";
95
95
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/errors";
96
- const _s_registry = TypeRegistry.for(_s);
96
+ const _s_registry = new TypeRegistry(_s);
97
97
  export var AgentRegistryServiceException$ = [-3, _s, "AgentRegistryServiceException", 0, [], []];
98
98
  _s_registry.registerError(AgentRegistryServiceException$, AgentRegistryServiceException);
99
- const n0_registry = TypeRegistry.for(n0);
99
+ const n0_registry = new TypeRegistry(n0);
100
100
  export var AccessDeniedException$ = [-3, n0, _ADE,
101
101
  { [_e]: _c, [_hE]: 403 },
102
102
  [_m],
@@ -1,27 +1,33 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { AgentRegistryClient } from "./AgentRegistryClient";
3
3
  import { type BatchGetDiscoverableRegistryRecordCommandInput, type BatchGetDiscoverableRegistryRecordCommandOutput } from "./commands/BatchGetDiscoverableRegistryRecordCommand";
4
4
  import { type ListDiscoverableRegistryRecordsCommandInput, type ListDiscoverableRegistryRecordsCommandOutput } from "./commands/ListDiscoverableRegistryRecordsCommand";
5
5
  import { type SearchDiscoverableRegistryRecordsCommandInput, type SearchDiscoverableRegistryRecordsCommandOutput } from "./commands/SearchDiscoverableRegistryRecordsCommand";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface AgentRegistryRequestOptions extends __HttpHandlerOptions {
10
+ metricsRecorder?: __MetricsRecorder<unknown>;
11
+ }
6
12
  export interface AgentRegistry {
7
13
  /**
8
14
  * @see {@link BatchGetDiscoverableRegistryRecordCommand}
9
15
  */
10
- batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDiscoverableRegistryRecordCommandOutput>;
16
+ batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options?: AgentRegistryRequestOptions): Promise<BatchGetDiscoverableRegistryRecordCommandOutput>;
11
17
  batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void): void;
12
- batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void): void;
18
+ batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options: AgentRegistryRequestOptions, cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void): void;
13
19
  /**
14
20
  * @see {@link ListDiscoverableRegistryRecordsCommand}
15
21
  */
16
- listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoverableRegistryRecordsCommandOutput>;
22
+ listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options?: AgentRegistryRequestOptions): Promise<ListDiscoverableRegistryRecordsCommandOutput>;
17
23
  listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void): void;
18
- listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void): void;
24
+ listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options: AgentRegistryRequestOptions, cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void): void;
19
25
  /**
20
26
  * @see {@link SearchDiscoverableRegistryRecordsCommand}
21
27
  */
22
- searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<SearchDiscoverableRegistryRecordsCommandOutput>;
28
+ searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options?: AgentRegistryRequestOptions): Promise<SearchDiscoverableRegistryRecordsCommandOutput>;
23
29
  searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void): void;
24
- searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void): void;
30
+ searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options: AgentRegistryRequestOptions, cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void): void;
25
31
  /**
26
32
  * @see {@link ListDiscoverableRegistryRecordsCommand}
27
33
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -16,10 +17,13 @@ import {
16
17
  SearchDiscoverableRegistryRecordsCommandInput,
17
18
  SearchDiscoverableRegistryRecordsCommandOutput,
18
19
  } from "./commands/SearchDiscoverableRegistryRecordsCommand";
20
+ export interface AgentRegistryRequestOptions extends __HttpHandlerOptions {
21
+ metricsRecorder?: __MetricsRecorder<unknown>;
22
+ }
19
23
  export interface AgentRegistry {
20
24
  batchGetDiscoverableRegistryRecord(
21
25
  args: BatchGetDiscoverableRegistryRecordCommandInput,
22
- options?: __HttpHandlerOptions,
26
+ options?: AgentRegistryRequestOptions,
23
27
  ): Promise<BatchGetDiscoverableRegistryRecordCommandOutput>;
24
28
  batchGetDiscoverableRegistryRecord(
25
29
  args: BatchGetDiscoverableRegistryRecordCommandInput,
@@ -27,12 +31,12 @@ export interface AgentRegistry {
27
31
  ): void;
28
32
  batchGetDiscoverableRegistryRecord(
29
33
  args: BatchGetDiscoverableRegistryRecordCommandInput,
30
- options: __HttpHandlerOptions,
34
+ options: AgentRegistryRequestOptions,
31
35
  cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void,
32
36
  ): void;
33
37
  listDiscoverableRegistryRecords(
34
38
  args: ListDiscoverableRegistryRecordsCommandInput,
35
- options?: __HttpHandlerOptions,
39
+ options?: AgentRegistryRequestOptions,
36
40
  ): Promise<ListDiscoverableRegistryRecordsCommandOutput>;
37
41
  listDiscoverableRegistryRecords(
38
42
  args: ListDiscoverableRegistryRecordsCommandInput,
@@ -40,12 +44,12 @@ export interface AgentRegistry {
40
44
  ): void;
41
45
  listDiscoverableRegistryRecords(
42
46
  args: ListDiscoverableRegistryRecordsCommandInput,
43
- options: __HttpHandlerOptions,
47
+ options: AgentRegistryRequestOptions,
44
48
  cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void,
45
49
  ): void;
46
50
  searchDiscoverableRegistryRecords(
47
51
  args: SearchDiscoverableRegistryRecordsCommandInput,
48
- options?: __HttpHandlerOptions,
52
+ options?: AgentRegistryRequestOptions,
49
53
  ): Promise<SearchDiscoverableRegistryRecordsCommandOutput>;
50
54
  searchDiscoverableRegistryRecords(
51
55
  args: SearchDiscoverableRegistryRecordsCommandInput,
@@ -53,7 +57,7 @@ export interface AgentRegistry {
53
57
  ): void;
54
58
  searchDiscoverableRegistryRecords(
55
59
  args: SearchDiscoverableRegistryRecordsCommandInput,
56
- options: __HttpHandlerOptions,
60
+ options: AgentRegistryRequestOptions,
57
61
  cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void,
58
62
  ): void;
59
63
  paginateListDiscoverableRegistryRecords(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-agent-registry",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Agent Registry Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-agent-registry",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {