@aws-sdk/client-schemas 3.1137.0 → 3.1138.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -474,10 +474,10 @@ const _t = "tags";
474
474
  const _tK = "tagKeys";
475
475
  const _ty = "type";
476
476
  const n0 = "com.amazonaws.schemas";
477
- const _s_registry = TypeRegistry.for(_s);
477
+ const _s_registry = new TypeRegistry(_s);
478
478
  var SchemasServiceException$ = [-3, _s, "SchemasServiceException", 0, [], []];
479
479
  _s_registry.registerError(SchemasServiceException$, SchemasServiceException);
480
- const n0_registry = TypeRegistry.for(n0);
480
+ const n0_registry = new TypeRegistry(n0);
481
481
  var BadRequestException$ = [-3, n0, _BRE,
482
482
  { [_e]: _c, [_hE]: 400 },
483
483
  [_C, _M],
@@ -176,10 +176,10 @@ const n0 = "com.amazonaws.schemas";
176
176
  import { TypeRegistry } from "@smithy/core/schema";
177
177
  import { BadRequestException, ConflictException, ForbiddenException, GoneException, InternalServerErrorException, NotFoundException, PreconditionFailedException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/errors";
178
178
  import { SchemasServiceException } from "../models/SchemasServiceException";
179
- const _s_registry = TypeRegistry.for(_s);
179
+ const _s_registry = new TypeRegistry(_s);
180
180
  export var SchemasServiceException$ = [-3, _s, "SchemasServiceException", 0, [], []];
181
181
  _s_registry.registerError(SchemasServiceException$, SchemasServiceException);
182
- const n0_registry = TypeRegistry.for(n0);
182
+ const n0_registry = new TypeRegistry(n0);
183
183
  export var BadRequestException$ = [-3, n0, _BRE,
184
184
  { [_e]: _c, [_hE]: 400 },
185
185
  [_C, _M],
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { type CreateDiscovererCommandInput, type CreateDiscovererCommandOutput } from "./commands/CreateDiscovererCommand";
4
4
  import { type CreateRegistryCommandInput, type CreateRegistryCommandOutput } from "./commands/CreateRegistryCommand";
5
5
  import { type CreateSchemaCommandInput, type CreateSchemaCommandOutput } from "./commands/CreateSchemaCommand";
@@ -32,197 +32,203 @@ import { type UpdateDiscovererCommandInput, type UpdateDiscovererCommandOutput }
32
32
  import { type UpdateRegistryCommandInput, type UpdateRegistryCommandOutput } from "./commands/UpdateRegistryCommand";
33
33
  import { type UpdateSchemaCommandInput, type UpdateSchemaCommandOutput } from "./commands/UpdateSchemaCommand";
34
34
  import { SchemasClient } from "./SchemasClient";
35
+ /**
36
+ * @public
37
+ */
38
+ export interface SchemasRequestOptions extends __HttpHandlerOptions {
39
+ metricsRecorder?: __MetricsRecorder<unknown>;
40
+ }
35
41
  export interface Schemas {
36
42
  /**
37
43
  * @see {@link CreateDiscovererCommand}
38
44
  */
39
- createDiscoverer(args: CreateDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<CreateDiscovererCommandOutput>;
45
+ createDiscoverer(args: CreateDiscovererCommandInput, options?: SchemasRequestOptions): Promise<CreateDiscovererCommandOutput>;
40
46
  createDiscoverer(args: CreateDiscovererCommandInput, cb: (err: any, data?: CreateDiscovererCommandOutput) => void): void;
41
- createDiscoverer(args: CreateDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDiscovererCommandOutput) => void): void;
47
+ createDiscoverer(args: CreateDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: CreateDiscovererCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link CreateRegistryCommand}
44
50
  */
45
- createRegistry(args: CreateRegistryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegistryCommandOutput>;
51
+ createRegistry(args: CreateRegistryCommandInput, options?: SchemasRequestOptions): Promise<CreateRegistryCommandOutput>;
46
52
  createRegistry(args: CreateRegistryCommandInput, cb: (err: any, data?: CreateRegistryCommandOutput) => void): void;
47
- createRegistry(args: CreateRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegistryCommandOutput) => void): void;
53
+ createRegistry(args: CreateRegistryCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: CreateRegistryCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link CreateSchemaCommand}
50
56
  */
51
- createSchema(args: CreateSchemaCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchemaCommandOutput>;
57
+ createSchema(args: CreateSchemaCommandInput, options?: SchemasRequestOptions): Promise<CreateSchemaCommandOutput>;
52
58
  createSchema(args: CreateSchemaCommandInput, cb: (err: any, data?: CreateSchemaCommandOutput) => void): void;
53
- createSchema(args: CreateSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchemaCommandOutput) => void): void;
59
+ createSchema(args: CreateSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: CreateSchemaCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link DeleteDiscovererCommand}
56
62
  */
57
- deleteDiscoverer(args: DeleteDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDiscovererCommandOutput>;
63
+ deleteDiscoverer(args: DeleteDiscovererCommandInput, options?: SchemasRequestOptions): Promise<DeleteDiscovererCommandOutput>;
58
64
  deleteDiscoverer(args: DeleteDiscovererCommandInput, cb: (err: any, data?: DeleteDiscovererCommandOutput) => void): void;
59
- deleteDiscoverer(args: DeleteDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDiscovererCommandOutput) => void): void;
65
+ deleteDiscoverer(args: DeleteDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DeleteDiscovererCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link DeleteRegistryCommand}
62
68
  */
63
- deleteRegistry(args: DeleteRegistryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegistryCommandOutput>;
69
+ deleteRegistry(args: DeleteRegistryCommandInput, options?: SchemasRequestOptions): Promise<DeleteRegistryCommandOutput>;
64
70
  deleteRegistry(args: DeleteRegistryCommandInput, cb: (err: any, data?: DeleteRegistryCommandOutput) => void): void;
65
- deleteRegistry(args: DeleteRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegistryCommandOutput) => void): void;
71
+ deleteRegistry(args: DeleteRegistryCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DeleteRegistryCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link DeleteResourcePolicyCommand}
68
74
  */
69
75
  deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
70
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
76
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: SchemasRequestOptions): Promise<DeleteResourcePolicyCommandOutput>;
71
77
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
72
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
78
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
73
79
  /**
74
80
  * @see {@link DeleteSchemaCommand}
75
81
  */
76
- deleteSchema(args: DeleteSchemaCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchemaCommandOutput>;
82
+ deleteSchema(args: DeleteSchemaCommandInput, options?: SchemasRequestOptions): Promise<DeleteSchemaCommandOutput>;
77
83
  deleteSchema(args: DeleteSchemaCommandInput, cb: (err: any, data?: DeleteSchemaCommandOutput) => void): void;
78
- deleteSchema(args: DeleteSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchemaCommandOutput) => void): void;
84
+ deleteSchema(args: DeleteSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DeleteSchemaCommandOutput) => void): void;
79
85
  /**
80
86
  * @see {@link DeleteSchemaVersionCommand}
81
87
  */
82
- deleteSchemaVersion(args: DeleteSchemaVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchemaVersionCommandOutput>;
88
+ deleteSchemaVersion(args: DeleteSchemaVersionCommandInput, options?: SchemasRequestOptions): Promise<DeleteSchemaVersionCommandOutput>;
83
89
  deleteSchemaVersion(args: DeleteSchemaVersionCommandInput, cb: (err: any, data?: DeleteSchemaVersionCommandOutput) => void): void;
84
- deleteSchemaVersion(args: DeleteSchemaVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchemaVersionCommandOutput) => void): void;
90
+ deleteSchemaVersion(args: DeleteSchemaVersionCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DeleteSchemaVersionCommandOutput) => void): void;
85
91
  /**
86
92
  * @see {@link DescribeCodeBindingCommand}
87
93
  */
88
- describeCodeBinding(args: DescribeCodeBindingCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCodeBindingCommandOutput>;
94
+ describeCodeBinding(args: DescribeCodeBindingCommandInput, options?: SchemasRequestOptions): Promise<DescribeCodeBindingCommandOutput>;
89
95
  describeCodeBinding(args: DescribeCodeBindingCommandInput, cb: (err: any, data?: DescribeCodeBindingCommandOutput) => void): void;
90
- describeCodeBinding(args: DescribeCodeBindingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCodeBindingCommandOutput) => void): void;
96
+ describeCodeBinding(args: DescribeCodeBindingCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DescribeCodeBindingCommandOutput) => void): void;
91
97
  /**
92
98
  * @see {@link DescribeDiscovererCommand}
93
99
  */
94
- describeDiscoverer(args: DescribeDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDiscovererCommandOutput>;
100
+ describeDiscoverer(args: DescribeDiscovererCommandInput, options?: SchemasRequestOptions): Promise<DescribeDiscovererCommandOutput>;
95
101
  describeDiscoverer(args: DescribeDiscovererCommandInput, cb: (err: any, data?: DescribeDiscovererCommandOutput) => void): void;
96
- describeDiscoverer(args: DescribeDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDiscovererCommandOutput) => void): void;
102
+ describeDiscoverer(args: DescribeDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DescribeDiscovererCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link DescribeRegistryCommand}
99
105
  */
100
- describeRegistry(args: DescribeRegistryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRegistryCommandOutput>;
106
+ describeRegistry(args: DescribeRegistryCommandInput, options?: SchemasRequestOptions): Promise<DescribeRegistryCommandOutput>;
101
107
  describeRegistry(args: DescribeRegistryCommandInput, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
102
- describeRegistry(args: DescribeRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
108
+ describeRegistry(args: DescribeRegistryCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link DescribeSchemaCommand}
105
111
  */
106
- describeSchema(args: DescribeSchemaCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchemaCommandOutput>;
112
+ describeSchema(args: DescribeSchemaCommandInput, options?: SchemasRequestOptions): Promise<DescribeSchemaCommandOutput>;
107
113
  describeSchema(args: DescribeSchemaCommandInput, cb: (err: any, data?: DescribeSchemaCommandOutput) => void): void;
108
- describeSchema(args: DescribeSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchemaCommandOutput) => void): void;
114
+ describeSchema(args: DescribeSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: DescribeSchemaCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link ExportSchemaCommand}
111
117
  */
112
- exportSchema(args: ExportSchemaCommandInput, options?: __HttpHandlerOptions): Promise<ExportSchemaCommandOutput>;
118
+ exportSchema(args: ExportSchemaCommandInput, options?: SchemasRequestOptions): Promise<ExportSchemaCommandOutput>;
113
119
  exportSchema(args: ExportSchemaCommandInput, cb: (err: any, data?: ExportSchemaCommandOutput) => void): void;
114
- exportSchema(args: ExportSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportSchemaCommandOutput) => void): void;
120
+ exportSchema(args: ExportSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ExportSchemaCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link GetCodeBindingSourceCommand}
117
123
  */
118
- getCodeBindingSource(args: GetCodeBindingSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeBindingSourceCommandOutput>;
124
+ getCodeBindingSource(args: GetCodeBindingSourceCommandInput, options?: SchemasRequestOptions): Promise<GetCodeBindingSourceCommandOutput>;
119
125
  getCodeBindingSource(args: GetCodeBindingSourceCommandInput, cb: (err: any, data?: GetCodeBindingSourceCommandOutput) => void): void;
120
- getCodeBindingSource(args: GetCodeBindingSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeBindingSourceCommandOutput) => void): void;
126
+ getCodeBindingSource(args: GetCodeBindingSourceCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: GetCodeBindingSourceCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link GetDiscoveredSchemaCommand}
123
129
  */
124
- getDiscoveredSchema(args: GetDiscoveredSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetDiscoveredSchemaCommandOutput>;
130
+ getDiscoveredSchema(args: GetDiscoveredSchemaCommandInput, options?: SchemasRequestOptions): Promise<GetDiscoveredSchemaCommandOutput>;
125
131
  getDiscoveredSchema(args: GetDiscoveredSchemaCommandInput, cb: (err: any, data?: GetDiscoveredSchemaCommandOutput) => void): void;
126
- getDiscoveredSchema(args: GetDiscoveredSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDiscoveredSchemaCommandOutput) => void): void;
132
+ getDiscoveredSchema(args: GetDiscoveredSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: GetDiscoveredSchemaCommandOutput) => void): void;
127
133
  /**
128
134
  * @see {@link GetResourcePolicyCommand}
129
135
  */
130
136
  getResourcePolicy(): Promise<GetResourcePolicyCommandOutput>;
131
- getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
137
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: SchemasRequestOptions): Promise<GetResourcePolicyCommandOutput>;
132
138
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
133
- getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
139
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link ListDiscoverersCommand}
136
142
  */
137
143
  listDiscoverers(): Promise<ListDiscoverersCommandOutput>;
138
- listDiscoverers(args: ListDiscoverersCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoverersCommandOutput>;
144
+ listDiscoverers(args: ListDiscoverersCommandInput, options?: SchemasRequestOptions): Promise<ListDiscoverersCommandOutput>;
139
145
  listDiscoverers(args: ListDiscoverersCommandInput, cb: (err: any, data?: ListDiscoverersCommandOutput) => void): void;
140
- listDiscoverers(args: ListDiscoverersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoverersCommandOutput) => void): void;
146
+ listDiscoverers(args: ListDiscoverersCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ListDiscoverersCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link ListRegistriesCommand}
143
149
  */
144
150
  listRegistries(): Promise<ListRegistriesCommandOutput>;
145
- listRegistries(args: ListRegistriesCommandInput, options?: __HttpHandlerOptions): Promise<ListRegistriesCommandOutput>;
151
+ listRegistries(args: ListRegistriesCommandInput, options?: SchemasRequestOptions): Promise<ListRegistriesCommandOutput>;
146
152
  listRegistries(args: ListRegistriesCommandInput, cb: (err: any, data?: ListRegistriesCommandOutput) => void): void;
147
- listRegistries(args: ListRegistriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegistriesCommandOutput) => void): void;
153
+ listRegistries(args: ListRegistriesCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ListRegistriesCommandOutput) => void): void;
148
154
  /**
149
155
  * @see {@link ListSchemasCommand}
150
156
  */
151
- listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
157
+ listSchemas(args: ListSchemasCommandInput, options?: SchemasRequestOptions): Promise<ListSchemasCommandOutput>;
152
158
  listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
153
- listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
159
+ listSchemas(args: ListSchemasCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
154
160
  /**
155
161
  * @see {@link ListSchemaVersionsCommand}
156
162
  */
157
- listSchemaVersions(args: ListSchemaVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemaVersionsCommandOutput>;
163
+ listSchemaVersions(args: ListSchemaVersionsCommandInput, options?: SchemasRequestOptions): Promise<ListSchemaVersionsCommandOutput>;
158
164
  listSchemaVersions(args: ListSchemaVersionsCommandInput, cb: (err: any, data?: ListSchemaVersionsCommandOutput) => void): void;
159
- listSchemaVersions(args: ListSchemaVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemaVersionsCommandOutput) => void): void;
165
+ listSchemaVersions(args: ListSchemaVersionsCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ListSchemaVersionsCommandOutput) => void): void;
160
166
  /**
161
167
  * @see {@link ListTagsForResourceCommand}
162
168
  */
163
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
169
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: SchemasRequestOptions): Promise<ListTagsForResourceCommandOutput>;
164
170
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
165
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
171
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
166
172
  /**
167
173
  * @see {@link PutCodeBindingCommand}
168
174
  */
169
- putCodeBinding(args: PutCodeBindingCommandInput, options?: __HttpHandlerOptions): Promise<PutCodeBindingCommandOutput>;
175
+ putCodeBinding(args: PutCodeBindingCommandInput, options?: SchemasRequestOptions): Promise<PutCodeBindingCommandOutput>;
170
176
  putCodeBinding(args: PutCodeBindingCommandInput, cb: (err: any, data?: PutCodeBindingCommandOutput) => void): void;
171
- putCodeBinding(args: PutCodeBindingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCodeBindingCommandOutput) => void): void;
177
+ putCodeBinding(args: PutCodeBindingCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: PutCodeBindingCommandOutput) => void): void;
172
178
  /**
173
179
  * @see {@link PutResourcePolicyCommand}
174
180
  */
175
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
181
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: SchemasRequestOptions): Promise<PutResourcePolicyCommandOutput>;
176
182
  putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
177
- putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
183
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
178
184
  /**
179
185
  * @see {@link SearchSchemasCommand}
180
186
  */
181
- searchSchemas(args: SearchSchemasCommandInput, options?: __HttpHandlerOptions): Promise<SearchSchemasCommandOutput>;
187
+ searchSchemas(args: SearchSchemasCommandInput, options?: SchemasRequestOptions): Promise<SearchSchemasCommandOutput>;
182
188
  searchSchemas(args: SearchSchemasCommandInput, cb: (err: any, data?: SearchSchemasCommandOutput) => void): void;
183
- searchSchemas(args: SearchSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSchemasCommandOutput) => void): void;
189
+ searchSchemas(args: SearchSchemasCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: SearchSchemasCommandOutput) => void): void;
184
190
  /**
185
191
  * @see {@link StartDiscovererCommand}
186
192
  */
187
- startDiscoverer(args: StartDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<StartDiscovererCommandOutput>;
193
+ startDiscoverer(args: StartDiscovererCommandInput, options?: SchemasRequestOptions): Promise<StartDiscovererCommandOutput>;
188
194
  startDiscoverer(args: StartDiscovererCommandInput, cb: (err: any, data?: StartDiscovererCommandOutput) => void): void;
189
- startDiscoverer(args: StartDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDiscovererCommandOutput) => void): void;
195
+ startDiscoverer(args: StartDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: StartDiscovererCommandOutput) => void): void;
190
196
  /**
191
197
  * @see {@link StopDiscovererCommand}
192
198
  */
193
- stopDiscoverer(args: StopDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<StopDiscovererCommandOutput>;
199
+ stopDiscoverer(args: StopDiscovererCommandInput, options?: SchemasRequestOptions): Promise<StopDiscovererCommandOutput>;
194
200
  stopDiscoverer(args: StopDiscovererCommandInput, cb: (err: any, data?: StopDiscovererCommandOutput) => void): void;
195
- stopDiscoverer(args: StopDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDiscovererCommandOutput) => void): void;
201
+ stopDiscoverer(args: StopDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: StopDiscovererCommandOutput) => void): void;
196
202
  /**
197
203
  * @see {@link TagResourceCommand}
198
204
  */
199
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
205
+ tagResource(args: TagResourceCommandInput, options?: SchemasRequestOptions): Promise<TagResourceCommandOutput>;
200
206
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
201
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
207
+ tagResource(args: TagResourceCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
202
208
  /**
203
209
  * @see {@link UntagResourceCommand}
204
210
  */
205
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
211
+ untagResource(args: UntagResourceCommandInput, options?: SchemasRequestOptions): Promise<UntagResourceCommandOutput>;
206
212
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
207
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
213
+ untagResource(args: UntagResourceCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
208
214
  /**
209
215
  * @see {@link UpdateDiscovererCommand}
210
216
  */
211
- updateDiscoverer(args: UpdateDiscovererCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDiscovererCommandOutput>;
217
+ updateDiscoverer(args: UpdateDiscovererCommandInput, options?: SchemasRequestOptions): Promise<UpdateDiscovererCommandOutput>;
212
218
  updateDiscoverer(args: UpdateDiscovererCommandInput, cb: (err: any, data?: UpdateDiscovererCommandOutput) => void): void;
213
- updateDiscoverer(args: UpdateDiscovererCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDiscovererCommandOutput) => void): void;
219
+ updateDiscoverer(args: UpdateDiscovererCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: UpdateDiscovererCommandOutput) => void): void;
214
220
  /**
215
221
  * @see {@link UpdateRegistryCommand}
216
222
  */
217
- updateRegistry(args: UpdateRegistryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegistryCommandOutput>;
223
+ updateRegistry(args: UpdateRegistryCommandInput, options?: SchemasRequestOptions): Promise<UpdateRegistryCommandOutput>;
218
224
  updateRegistry(args: UpdateRegistryCommandInput, cb: (err: any, data?: UpdateRegistryCommandOutput) => void): void;
219
- updateRegistry(args: UpdateRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegistryCommandOutput) => void): void;
225
+ updateRegistry(args: UpdateRegistryCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: UpdateRegistryCommandOutput) => void): void;
220
226
  /**
221
227
  * @see {@link UpdateSchemaCommand}
222
228
  */
223
- updateSchema(args: UpdateSchemaCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchemaCommandOutput>;
229
+ updateSchema(args: UpdateSchemaCommandInput, options?: SchemasRequestOptions): Promise<UpdateSchemaCommandOutput>;
224
230
  updateSchema(args: UpdateSchemaCommandInput, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
225
- updateSchema(args: UpdateSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
231
+ updateSchema(args: UpdateSchemaCommandInput, options: SchemasRequestOptions, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
226
232
  /**
227
233
  * @see {@link ListDiscoverersCommand}
228
234
  * @param args - command input.
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -124,10 +125,13 @@ import {
124
125
  UpdateSchemaCommandOutput,
125
126
  } from "./commands/UpdateSchemaCommand";
126
127
  import { SchemasClient } from "./SchemasClient";
128
+ export interface SchemasRequestOptions extends __HttpHandlerOptions {
129
+ metricsRecorder?: __MetricsRecorder<unknown>;
130
+ }
127
131
  export interface Schemas {
128
132
  createDiscoverer(
129
133
  args: CreateDiscovererCommandInput,
130
- options?: __HttpHandlerOptions,
134
+ options?: SchemasRequestOptions,
131
135
  ): Promise<CreateDiscovererCommandOutput>;
132
136
  createDiscoverer(
133
137
  args: CreateDiscovererCommandInput,
@@ -135,12 +139,12 @@ export interface Schemas {
135
139
  ): void;
136
140
  createDiscoverer(
137
141
  args: CreateDiscovererCommandInput,
138
- options: __HttpHandlerOptions,
142
+ options: SchemasRequestOptions,
139
143
  cb: (err: any, data?: CreateDiscovererCommandOutput) => void,
140
144
  ): void;
141
145
  createRegistry(
142
146
  args: CreateRegistryCommandInput,
143
- options?: __HttpHandlerOptions,
147
+ options?: SchemasRequestOptions,
144
148
  ): Promise<CreateRegistryCommandOutput>;
145
149
  createRegistry(
146
150
  args: CreateRegistryCommandInput,
@@ -148,12 +152,12 @@ export interface Schemas {
148
152
  ): void;
149
153
  createRegistry(
150
154
  args: CreateRegistryCommandInput,
151
- options: __HttpHandlerOptions,
155
+ options: SchemasRequestOptions,
152
156
  cb: (err: any, data?: CreateRegistryCommandOutput) => void,
153
157
  ): void;
154
158
  createSchema(
155
159
  args: CreateSchemaCommandInput,
156
- options?: __HttpHandlerOptions,
160
+ options?: SchemasRequestOptions,
157
161
  ): Promise<CreateSchemaCommandOutput>;
158
162
  createSchema(
159
163
  args: CreateSchemaCommandInput,
@@ -161,12 +165,12 @@ export interface Schemas {
161
165
  ): void;
162
166
  createSchema(
163
167
  args: CreateSchemaCommandInput,
164
- options: __HttpHandlerOptions,
168
+ options: SchemasRequestOptions,
165
169
  cb: (err: any, data?: CreateSchemaCommandOutput) => void,
166
170
  ): void;
167
171
  deleteDiscoverer(
168
172
  args: DeleteDiscovererCommandInput,
169
- options?: __HttpHandlerOptions,
173
+ options?: SchemasRequestOptions,
170
174
  ): Promise<DeleteDiscovererCommandOutput>;
171
175
  deleteDiscoverer(
172
176
  args: DeleteDiscovererCommandInput,
@@ -174,12 +178,12 @@ export interface Schemas {
174
178
  ): void;
175
179
  deleteDiscoverer(
176
180
  args: DeleteDiscovererCommandInput,
177
- options: __HttpHandlerOptions,
181
+ options: SchemasRequestOptions,
178
182
  cb: (err: any, data?: DeleteDiscovererCommandOutput) => void,
179
183
  ): void;
180
184
  deleteRegistry(
181
185
  args: DeleteRegistryCommandInput,
182
- options?: __HttpHandlerOptions,
186
+ options?: SchemasRequestOptions,
183
187
  ): Promise<DeleteRegistryCommandOutput>;
184
188
  deleteRegistry(
185
189
  args: DeleteRegistryCommandInput,
@@ -187,13 +191,13 @@ export interface Schemas {
187
191
  ): void;
188
192
  deleteRegistry(
189
193
  args: DeleteRegistryCommandInput,
190
- options: __HttpHandlerOptions,
194
+ options: SchemasRequestOptions,
191
195
  cb: (err: any, data?: DeleteRegistryCommandOutput) => void,
192
196
  ): void;
193
197
  deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
194
198
  deleteResourcePolicy(
195
199
  args: DeleteResourcePolicyCommandInput,
196
- options?: __HttpHandlerOptions,
200
+ options?: SchemasRequestOptions,
197
201
  ): Promise<DeleteResourcePolicyCommandOutput>;
198
202
  deleteResourcePolicy(
199
203
  args: DeleteResourcePolicyCommandInput,
@@ -201,12 +205,12 @@ export interface Schemas {
201
205
  ): void;
202
206
  deleteResourcePolicy(
203
207
  args: DeleteResourcePolicyCommandInput,
204
- options: __HttpHandlerOptions,
208
+ options: SchemasRequestOptions,
205
209
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
206
210
  ): void;
207
211
  deleteSchema(
208
212
  args: DeleteSchemaCommandInput,
209
- options?: __HttpHandlerOptions,
213
+ options?: SchemasRequestOptions,
210
214
  ): Promise<DeleteSchemaCommandOutput>;
211
215
  deleteSchema(
212
216
  args: DeleteSchemaCommandInput,
@@ -214,12 +218,12 @@ export interface Schemas {
214
218
  ): void;
215
219
  deleteSchema(
216
220
  args: DeleteSchemaCommandInput,
217
- options: __HttpHandlerOptions,
221
+ options: SchemasRequestOptions,
218
222
  cb: (err: any, data?: DeleteSchemaCommandOutput) => void,
219
223
  ): void;
220
224
  deleteSchemaVersion(
221
225
  args: DeleteSchemaVersionCommandInput,
222
- options?: __HttpHandlerOptions,
226
+ options?: SchemasRequestOptions,
223
227
  ): Promise<DeleteSchemaVersionCommandOutput>;
224
228
  deleteSchemaVersion(
225
229
  args: DeleteSchemaVersionCommandInput,
@@ -227,12 +231,12 @@ export interface Schemas {
227
231
  ): void;
228
232
  deleteSchemaVersion(
229
233
  args: DeleteSchemaVersionCommandInput,
230
- options: __HttpHandlerOptions,
234
+ options: SchemasRequestOptions,
231
235
  cb: (err: any, data?: DeleteSchemaVersionCommandOutput) => void,
232
236
  ): void;
233
237
  describeCodeBinding(
234
238
  args: DescribeCodeBindingCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: SchemasRequestOptions,
236
240
  ): Promise<DescribeCodeBindingCommandOutput>;
237
241
  describeCodeBinding(
238
242
  args: DescribeCodeBindingCommandInput,
@@ -240,12 +244,12 @@ export interface Schemas {
240
244
  ): void;
241
245
  describeCodeBinding(
242
246
  args: DescribeCodeBindingCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: SchemasRequestOptions,
244
248
  cb: (err: any, data?: DescribeCodeBindingCommandOutput) => void,
245
249
  ): void;
246
250
  describeDiscoverer(
247
251
  args: DescribeDiscovererCommandInput,
248
- options?: __HttpHandlerOptions,
252
+ options?: SchemasRequestOptions,
249
253
  ): Promise<DescribeDiscovererCommandOutput>;
250
254
  describeDiscoverer(
251
255
  args: DescribeDiscovererCommandInput,
@@ -253,12 +257,12 @@ export interface Schemas {
253
257
  ): void;
254
258
  describeDiscoverer(
255
259
  args: DescribeDiscovererCommandInput,
256
- options: __HttpHandlerOptions,
260
+ options: SchemasRequestOptions,
257
261
  cb: (err: any, data?: DescribeDiscovererCommandOutput) => void,
258
262
  ): void;
259
263
  describeRegistry(
260
264
  args: DescribeRegistryCommandInput,
261
- options?: __HttpHandlerOptions,
265
+ options?: SchemasRequestOptions,
262
266
  ): Promise<DescribeRegistryCommandOutput>;
263
267
  describeRegistry(
264
268
  args: DescribeRegistryCommandInput,
@@ -266,12 +270,12 @@ export interface Schemas {
266
270
  ): void;
267
271
  describeRegistry(
268
272
  args: DescribeRegistryCommandInput,
269
- options: __HttpHandlerOptions,
273
+ options: SchemasRequestOptions,
270
274
  cb: (err: any, data?: DescribeRegistryCommandOutput) => void,
271
275
  ): void;
272
276
  describeSchema(
273
277
  args: DescribeSchemaCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: SchemasRequestOptions,
275
279
  ): Promise<DescribeSchemaCommandOutput>;
276
280
  describeSchema(
277
281
  args: DescribeSchemaCommandInput,
@@ -279,12 +283,12 @@ export interface Schemas {
279
283
  ): void;
280
284
  describeSchema(
281
285
  args: DescribeSchemaCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: SchemasRequestOptions,
283
287
  cb: (err: any, data?: DescribeSchemaCommandOutput) => void,
284
288
  ): void;
285
289
  exportSchema(
286
290
  args: ExportSchemaCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: SchemasRequestOptions,
288
292
  ): Promise<ExportSchemaCommandOutput>;
289
293
  exportSchema(
290
294
  args: ExportSchemaCommandInput,
@@ -292,12 +296,12 @@ export interface Schemas {
292
296
  ): void;
293
297
  exportSchema(
294
298
  args: ExportSchemaCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: SchemasRequestOptions,
296
300
  cb: (err: any, data?: ExportSchemaCommandOutput) => void,
297
301
  ): void;
298
302
  getCodeBindingSource(
299
303
  args: GetCodeBindingSourceCommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: SchemasRequestOptions,
301
305
  ): Promise<GetCodeBindingSourceCommandOutput>;
302
306
  getCodeBindingSource(
303
307
  args: GetCodeBindingSourceCommandInput,
@@ -305,12 +309,12 @@ export interface Schemas {
305
309
  ): void;
306
310
  getCodeBindingSource(
307
311
  args: GetCodeBindingSourceCommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: SchemasRequestOptions,
309
313
  cb: (err: any, data?: GetCodeBindingSourceCommandOutput) => void,
310
314
  ): void;
311
315
  getDiscoveredSchema(
312
316
  args: GetDiscoveredSchemaCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: SchemasRequestOptions,
314
318
  ): Promise<GetDiscoveredSchemaCommandOutput>;
315
319
  getDiscoveredSchema(
316
320
  args: GetDiscoveredSchemaCommandInput,
@@ -318,13 +322,13 @@ export interface Schemas {
318
322
  ): void;
319
323
  getDiscoveredSchema(
320
324
  args: GetDiscoveredSchemaCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: SchemasRequestOptions,
322
326
  cb: (err: any, data?: GetDiscoveredSchemaCommandOutput) => void,
323
327
  ): void;
324
328
  getResourcePolicy(): Promise<GetResourcePolicyCommandOutput>;
325
329
  getResourcePolicy(
326
330
  args: GetResourcePolicyCommandInput,
327
- options?: __HttpHandlerOptions,
331
+ options?: SchemasRequestOptions,
328
332
  ): Promise<GetResourcePolicyCommandOutput>;
329
333
  getResourcePolicy(
330
334
  args: GetResourcePolicyCommandInput,
@@ -332,13 +336,13 @@ export interface Schemas {
332
336
  ): void;
333
337
  getResourcePolicy(
334
338
  args: GetResourcePolicyCommandInput,
335
- options: __HttpHandlerOptions,
339
+ options: SchemasRequestOptions,
336
340
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
337
341
  ): void;
338
342
  listDiscoverers(): Promise<ListDiscoverersCommandOutput>;
339
343
  listDiscoverers(
340
344
  args: ListDiscoverersCommandInput,
341
- options?: __HttpHandlerOptions,
345
+ options?: SchemasRequestOptions,
342
346
  ): Promise<ListDiscoverersCommandOutput>;
343
347
  listDiscoverers(
344
348
  args: ListDiscoverersCommandInput,
@@ -346,13 +350,13 @@ export interface Schemas {
346
350
  ): void;
347
351
  listDiscoverers(
348
352
  args: ListDiscoverersCommandInput,
349
- options: __HttpHandlerOptions,
353
+ options: SchemasRequestOptions,
350
354
  cb: (err: any, data?: ListDiscoverersCommandOutput) => void,
351
355
  ): void;
352
356
  listRegistries(): Promise<ListRegistriesCommandOutput>;
353
357
  listRegistries(
354
358
  args: ListRegistriesCommandInput,
355
- options?: __HttpHandlerOptions,
359
+ options?: SchemasRequestOptions,
356
360
  ): Promise<ListRegistriesCommandOutput>;
357
361
  listRegistries(
358
362
  args: ListRegistriesCommandInput,
@@ -360,12 +364,12 @@ export interface Schemas {
360
364
  ): void;
361
365
  listRegistries(
362
366
  args: ListRegistriesCommandInput,
363
- options: __HttpHandlerOptions,
367
+ options: SchemasRequestOptions,
364
368
  cb: (err: any, data?: ListRegistriesCommandOutput) => void,
365
369
  ): void;
366
370
  listSchemas(
367
371
  args: ListSchemasCommandInput,
368
- options?: __HttpHandlerOptions,
372
+ options?: SchemasRequestOptions,
369
373
  ): Promise<ListSchemasCommandOutput>;
370
374
  listSchemas(
371
375
  args: ListSchemasCommandInput,
@@ -373,12 +377,12 @@ export interface Schemas {
373
377
  ): void;
374
378
  listSchemas(
375
379
  args: ListSchemasCommandInput,
376
- options: __HttpHandlerOptions,
380
+ options: SchemasRequestOptions,
377
381
  cb: (err: any, data?: ListSchemasCommandOutput) => void,
378
382
  ): void;
379
383
  listSchemaVersions(
380
384
  args: ListSchemaVersionsCommandInput,
381
- options?: __HttpHandlerOptions,
385
+ options?: SchemasRequestOptions,
382
386
  ): Promise<ListSchemaVersionsCommandOutput>;
383
387
  listSchemaVersions(
384
388
  args: ListSchemaVersionsCommandInput,
@@ -386,12 +390,12 @@ export interface Schemas {
386
390
  ): void;
387
391
  listSchemaVersions(
388
392
  args: ListSchemaVersionsCommandInput,
389
- options: __HttpHandlerOptions,
393
+ options: SchemasRequestOptions,
390
394
  cb: (err: any, data?: ListSchemaVersionsCommandOutput) => void,
391
395
  ): void;
392
396
  listTagsForResource(
393
397
  args: ListTagsForResourceCommandInput,
394
- options?: __HttpHandlerOptions,
398
+ options?: SchemasRequestOptions,
395
399
  ): Promise<ListTagsForResourceCommandOutput>;
396
400
  listTagsForResource(
397
401
  args: ListTagsForResourceCommandInput,
@@ -399,12 +403,12 @@ export interface Schemas {
399
403
  ): void;
400
404
  listTagsForResource(
401
405
  args: ListTagsForResourceCommandInput,
402
- options: __HttpHandlerOptions,
406
+ options: SchemasRequestOptions,
403
407
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
404
408
  ): void;
405
409
  putCodeBinding(
406
410
  args: PutCodeBindingCommandInput,
407
- options?: __HttpHandlerOptions,
411
+ options?: SchemasRequestOptions,
408
412
  ): Promise<PutCodeBindingCommandOutput>;
409
413
  putCodeBinding(
410
414
  args: PutCodeBindingCommandInput,
@@ -412,12 +416,12 @@ export interface Schemas {
412
416
  ): void;
413
417
  putCodeBinding(
414
418
  args: PutCodeBindingCommandInput,
415
- options: __HttpHandlerOptions,
419
+ options: SchemasRequestOptions,
416
420
  cb: (err: any, data?: PutCodeBindingCommandOutput) => void,
417
421
  ): void;
418
422
  putResourcePolicy(
419
423
  args: PutResourcePolicyCommandInput,
420
- options?: __HttpHandlerOptions,
424
+ options?: SchemasRequestOptions,
421
425
  ): Promise<PutResourcePolicyCommandOutput>;
422
426
  putResourcePolicy(
423
427
  args: PutResourcePolicyCommandInput,
@@ -425,12 +429,12 @@ export interface Schemas {
425
429
  ): void;
426
430
  putResourcePolicy(
427
431
  args: PutResourcePolicyCommandInput,
428
- options: __HttpHandlerOptions,
432
+ options: SchemasRequestOptions,
429
433
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
430
434
  ): void;
431
435
  searchSchemas(
432
436
  args: SearchSchemasCommandInput,
433
- options?: __HttpHandlerOptions,
437
+ options?: SchemasRequestOptions,
434
438
  ): Promise<SearchSchemasCommandOutput>;
435
439
  searchSchemas(
436
440
  args: SearchSchemasCommandInput,
@@ -438,12 +442,12 @@ export interface Schemas {
438
442
  ): void;
439
443
  searchSchemas(
440
444
  args: SearchSchemasCommandInput,
441
- options: __HttpHandlerOptions,
445
+ options: SchemasRequestOptions,
442
446
  cb: (err: any, data?: SearchSchemasCommandOutput) => void,
443
447
  ): void;
444
448
  startDiscoverer(
445
449
  args: StartDiscovererCommandInput,
446
- options?: __HttpHandlerOptions,
450
+ options?: SchemasRequestOptions,
447
451
  ): Promise<StartDiscovererCommandOutput>;
448
452
  startDiscoverer(
449
453
  args: StartDiscovererCommandInput,
@@ -451,12 +455,12 @@ export interface Schemas {
451
455
  ): void;
452
456
  startDiscoverer(
453
457
  args: StartDiscovererCommandInput,
454
- options: __HttpHandlerOptions,
458
+ options: SchemasRequestOptions,
455
459
  cb: (err: any, data?: StartDiscovererCommandOutput) => void,
456
460
  ): void;
457
461
  stopDiscoverer(
458
462
  args: StopDiscovererCommandInput,
459
- options?: __HttpHandlerOptions,
463
+ options?: SchemasRequestOptions,
460
464
  ): Promise<StopDiscovererCommandOutput>;
461
465
  stopDiscoverer(
462
466
  args: StopDiscovererCommandInput,
@@ -464,12 +468,12 @@ export interface Schemas {
464
468
  ): void;
465
469
  stopDiscoverer(
466
470
  args: StopDiscovererCommandInput,
467
- options: __HttpHandlerOptions,
471
+ options: SchemasRequestOptions,
468
472
  cb: (err: any, data?: StopDiscovererCommandOutput) => void,
469
473
  ): void;
470
474
  tagResource(
471
475
  args: TagResourceCommandInput,
472
- options?: __HttpHandlerOptions,
476
+ options?: SchemasRequestOptions,
473
477
  ): Promise<TagResourceCommandOutput>;
474
478
  tagResource(
475
479
  args: TagResourceCommandInput,
@@ -477,12 +481,12 @@ export interface Schemas {
477
481
  ): void;
478
482
  tagResource(
479
483
  args: TagResourceCommandInput,
480
- options: __HttpHandlerOptions,
484
+ options: SchemasRequestOptions,
481
485
  cb: (err: any, data?: TagResourceCommandOutput) => void,
482
486
  ): void;
483
487
  untagResource(
484
488
  args: UntagResourceCommandInput,
485
- options?: __HttpHandlerOptions,
489
+ options?: SchemasRequestOptions,
486
490
  ): Promise<UntagResourceCommandOutput>;
487
491
  untagResource(
488
492
  args: UntagResourceCommandInput,
@@ -490,12 +494,12 @@ export interface Schemas {
490
494
  ): void;
491
495
  untagResource(
492
496
  args: UntagResourceCommandInput,
493
- options: __HttpHandlerOptions,
497
+ options: SchemasRequestOptions,
494
498
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
495
499
  ): void;
496
500
  updateDiscoverer(
497
501
  args: UpdateDiscovererCommandInput,
498
- options?: __HttpHandlerOptions,
502
+ options?: SchemasRequestOptions,
499
503
  ): Promise<UpdateDiscovererCommandOutput>;
500
504
  updateDiscoverer(
501
505
  args: UpdateDiscovererCommandInput,
@@ -503,12 +507,12 @@ export interface Schemas {
503
507
  ): void;
504
508
  updateDiscoverer(
505
509
  args: UpdateDiscovererCommandInput,
506
- options: __HttpHandlerOptions,
510
+ options: SchemasRequestOptions,
507
511
  cb: (err: any, data?: UpdateDiscovererCommandOutput) => void,
508
512
  ): void;
509
513
  updateRegistry(
510
514
  args: UpdateRegistryCommandInput,
511
- options?: __HttpHandlerOptions,
515
+ options?: SchemasRequestOptions,
512
516
  ): Promise<UpdateRegistryCommandOutput>;
513
517
  updateRegistry(
514
518
  args: UpdateRegistryCommandInput,
@@ -516,12 +520,12 @@ export interface Schemas {
516
520
  ): void;
517
521
  updateRegistry(
518
522
  args: UpdateRegistryCommandInput,
519
- options: __HttpHandlerOptions,
523
+ options: SchemasRequestOptions,
520
524
  cb: (err: any, data?: UpdateRegistryCommandOutput) => void,
521
525
  ): void;
522
526
  updateSchema(
523
527
  args: UpdateSchemaCommandInput,
524
- options?: __HttpHandlerOptions,
528
+ options?: SchemasRequestOptions,
525
529
  ): Promise<UpdateSchemaCommandOutput>;
526
530
  updateSchema(
527
531
  args: UpdateSchemaCommandInput,
@@ -529,7 +533,7 @@ export interface Schemas {
529
533
  ): void;
530
534
  updateSchema(
531
535
  args: UpdateSchemaCommandInput,
532
- options: __HttpHandlerOptions,
536
+ options: SchemasRequestOptions,
533
537
  cb: (err: any, data?: UpdateSchemaCommandOutput) => void,
534
538
  ): void;
535
539
  paginateListDiscoverers(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-schemas",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Schemas Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-schemas",
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": {