@aws-sdk/client-cognito-sync 3.1087.0 → 3.1089.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/CognitoSync.d.ts +54 -62
  3. package/dist-types/ts3.4/CognitoSyncClient.d.ts +7 -22
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +3 -5
  8. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +4 -9
  10. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +4 -6
  11. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +4 -6
  15. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +3 -5
  18. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +4 -9
  19. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +2 -2
  20. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +4 -6
  21. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  25. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  26. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  27. package/dist-types/ts3.4/models/enums.d.ts +2 -4
  28. package/dist-types/ts3.4/models/errors.d.ts +13 -45
  29. package/dist-types/ts3.4/models/models_0.d.ts +1 -6
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  36. package/package.json +38 -38
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.1086.0";
72
+ var version = "3.1088.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,9 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CognitoSyncClient } from "./CognitoSyncClient";
3
- import {
4
- BulkPublishCommandInput,
5
- BulkPublishCommandOutput,
6
- } from "./commands/BulkPublishCommand";
3
+ import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
7
4
  import {
8
5
  DeleteDatasetCommandInput,
9
6
  DeleteDatasetCommandOutput,
@@ -40,10 +37,7 @@ import {
40
37
  ListIdentityPoolUsageCommandInput,
41
38
  ListIdentityPoolUsageCommandOutput,
42
39
  } from "./commands/ListIdentityPoolUsageCommand";
43
- import {
44
- ListRecordsCommandInput,
45
- ListRecordsCommandOutput,
46
- } from "./commands/ListRecordsCommand";
40
+ import { ListRecordsCommandInput, ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
47
41
  import {
48
42
  RegisterDeviceCommandInput,
49
43
  RegisterDeviceCommandOutput,
@@ -71,227 +65,225 @@ import {
71
65
  export interface CognitoSync {
72
66
  bulkPublish(
73
67
  args: BulkPublishCommandInput,
74
- options?: __HttpHandlerOptions
68
+ options?: __HttpHandlerOptions,
75
69
  ): Promise<BulkPublishCommandOutput>;
76
70
  bulkPublish(
77
71
  args: BulkPublishCommandInput,
78
- cb: (err: any, data?: BulkPublishCommandOutput) => void
72
+ cb: (err: any, data?: BulkPublishCommandOutput) => void,
79
73
  ): void;
80
74
  bulkPublish(
81
75
  args: BulkPublishCommandInput,
82
76
  options: __HttpHandlerOptions,
83
- cb: (err: any, data?: BulkPublishCommandOutput) => void
77
+ cb: (err: any, data?: BulkPublishCommandOutput) => void,
84
78
  ): void;
85
79
  deleteDataset(
86
80
  args: DeleteDatasetCommandInput,
87
- options?: __HttpHandlerOptions
81
+ options?: __HttpHandlerOptions,
88
82
  ): Promise<DeleteDatasetCommandOutput>;
89
83
  deleteDataset(
90
84
  args: DeleteDatasetCommandInput,
91
- cb: (err: any, data?: DeleteDatasetCommandOutput) => void
85
+ cb: (err: any, data?: DeleteDatasetCommandOutput) => void,
92
86
  ): void;
93
87
  deleteDataset(
94
88
  args: DeleteDatasetCommandInput,
95
89
  options: __HttpHandlerOptions,
96
- cb: (err: any, data?: DeleteDatasetCommandOutput) => void
90
+ cb: (err: any, data?: DeleteDatasetCommandOutput) => void,
97
91
  ): void;
98
92
  describeDataset(
99
93
  args: DescribeDatasetCommandInput,
100
- options?: __HttpHandlerOptions
94
+ options?: __HttpHandlerOptions,
101
95
  ): Promise<DescribeDatasetCommandOutput>;
102
96
  describeDataset(
103
97
  args: DescribeDatasetCommandInput,
104
- cb: (err: any, data?: DescribeDatasetCommandOutput) => void
98
+ cb: (err: any, data?: DescribeDatasetCommandOutput) => void,
105
99
  ): void;
106
100
  describeDataset(
107
101
  args: DescribeDatasetCommandInput,
108
102
  options: __HttpHandlerOptions,
109
- cb: (err: any, data?: DescribeDatasetCommandOutput) => void
103
+ cb: (err: any, data?: DescribeDatasetCommandOutput) => void,
110
104
  ): void;
111
105
  describeIdentityPoolUsage(
112
106
  args: DescribeIdentityPoolUsageCommandInput,
113
- options?: __HttpHandlerOptions
107
+ options?: __HttpHandlerOptions,
114
108
  ): Promise<DescribeIdentityPoolUsageCommandOutput>;
115
109
  describeIdentityPoolUsage(
116
110
  args: DescribeIdentityPoolUsageCommandInput,
117
- cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void
111
+ cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void,
118
112
  ): void;
119
113
  describeIdentityPoolUsage(
120
114
  args: DescribeIdentityPoolUsageCommandInput,
121
115
  options: __HttpHandlerOptions,
122
- cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void
116
+ cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void,
123
117
  ): void;
124
118
  describeIdentityUsage(
125
119
  args: DescribeIdentityUsageCommandInput,
126
- options?: __HttpHandlerOptions
120
+ options?: __HttpHandlerOptions,
127
121
  ): Promise<DescribeIdentityUsageCommandOutput>;
128
122
  describeIdentityUsage(
129
123
  args: DescribeIdentityUsageCommandInput,
130
- cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void
124
+ cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void,
131
125
  ): void;
132
126
  describeIdentityUsage(
133
127
  args: DescribeIdentityUsageCommandInput,
134
128
  options: __HttpHandlerOptions,
135
- cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void
129
+ cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void,
136
130
  ): void;
137
131
  getBulkPublishDetails(
138
132
  args: GetBulkPublishDetailsCommandInput,
139
- options?: __HttpHandlerOptions
133
+ options?: __HttpHandlerOptions,
140
134
  ): Promise<GetBulkPublishDetailsCommandOutput>;
141
135
  getBulkPublishDetails(
142
136
  args: GetBulkPublishDetailsCommandInput,
143
- cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void
137
+ cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void,
144
138
  ): void;
145
139
  getBulkPublishDetails(
146
140
  args: GetBulkPublishDetailsCommandInput,
147
141
  options: __HttpHandlerOptions,
148
- cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void
142
+ cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void,
149
143
  ): void;
150
144
  getCognitoEvents(
151
145
  args: GetCognitoEventsCommandInput,
152
- options?: __HttpHandlerOptions
146
+ options?: __HttpHandlerOptions,
153
147
  ): Promise<GetCognitoEventsCommandOutput>;
154
148
  getCognitoEvents(
155
149
  args: GetCognitoEventsCommandInput,
156
- cb: (err: any, data?: GetCognitoEventsCommandOutput) => void
150
+ cb: (err: any, data?: GetCognitoEventsCommandOutput) => void,
157
151
  ): void;
158
152
  getCognitoEvents(
159
153
  args: GetCognitoEventsCommandInput,
160
154
  options: __HttpHandlerOptions,
161
- cb: (err: any, data?: GetCognitoEventsCommandOutput) => void
155
+ cb: (err: any, data?: GetCognitoEventsCommandOutput) => void,
162
156
  ): void;
163
157
  getIdentityPoolConfiguration(
164
158
  args: GetIdentityPoolConfigurationCommandInput,
165
- options?: __HttpHandlerOptions
159
+ options?: __HttpHandlerOptions,
166
160
  ): Promise<GetIdentityPoolConfigurationCommandOutput>;
167
161
  getIdentityPoolConfiguration(
168
162
  args: GetIdentityPoolConfigurationCommandInput,
169
- cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void
163
+ cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void,
170
164
  ): void;
171
165
  getIdentityPoolConfiguration(
172
166
  args: GetIdentityPoolConfigurationCommandInput,
173
167
  options: __HttpHandlerOptions,
174
- cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void
168
+ cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void,
175
169
  ): void;
176
170
  listDatasets(
177
171
  args: ListDatasetsCommandInput,
178
- options?: __HttpHandlerOptions
172
+ options?: __HttpHandlerOptions,
179
173
  ): Promise<ListDatasetsCommandOutput>;
180
174
  listDatasets(
181
175
  args: ListDatasetsCommandInput,
182
- cb: (err: any, data?: ListDatasetsCommandOutput) => void
176
+ cb: (err: any, data?: ListDatasetsCommandOutput) => void,
183
177
  ): void;
184
178
  listDatasets(
185
179
  args: ListDatasetsCommandInput,
186
180
  options: __HttpHandlerOptions,
187
- cb: (err: any, data?: ListDatasetsCommandOutput) => void
181
+ cb: (err: any, data?: ListDatasetsCommandOutput) => void,
188
182
  ): void;
189
183
  listIdentityPoolUsage(): Promise<ListIdentityPoolUsageCommandOutput>;
190
184
  listIdentityPoolUsage(
191
185
  args: ListIdentityPoolUsageCommandInput,
192
- options?: __HttpHandlerOptions
186
+ options?: __HttpHandlerOptions,
193
187
  ): Promise<ListIdentityPoolUsageCommandOutput>;
194
188
  listIdentityPoolUsage(
195
189
  args: ListIdentityPoolUsageCommandInput,
196
- cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void
190
+ cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void,
197
191
  ): void;
198
192
  listIdentityPoolUsage(
199
193
  args: ListIdentityPoolUsageCommandInput,
200
194
  options: __HttpHandlerOptions,
201
- cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void
195
+ cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void,
202
196
  ): void;
203
197
  listRecords(
204
198
  args: ListRecordsCommandInput,
205
- options?: __HttpHandlerOptions
199
+ options?: __HttpHandlerOptions,
206
200
  ): Promise<ListRecordsCommandOutput>;
207
201
  listRecords(
208
202
  args: ListRecordsCommandInput,
209
- cb: (err: any, data?: ListRecordsCommandOutput) => void
203
+ cb: (err: any, data?: ListRecordsCommandOutput) => void,
210
204
  ): void;
211
205
  listRecords(
212
206
  args: ListRecordsCommandInput,
213
207
  options: __HttpHandlerOptions,
214
- cb: (err: any, data?: ListRecordsCommandOutput) => void
208
+ cb: (err: any, data?: ListRecordsCommandOutput) => void,
215
209
  ): void;
216
210
  registerDevice(
217
211
  args: RegisterDeviceCommandInput,
218
- options?: __HttpHandlerOptions
212
+ options?: __HttpHandlerOptions,
219
213
  ): Promise<RegisterDeviceCommandOutput>;
220
214
  registerDevice(
221
215
  args: RegisterDeviceCommandInput,
222
- cb: (err: any, data?: RegisterDeviceCommandOutput) => void
216
+ cb: (err: any, data?: RegisterDeviceCommandOutput) => void,
223
217
  ): void;
224
218
  registerDevice(
225
219
  args: RegisterDeviceCommandInput,
226
220
  options: __HttpHandlerOptions,
227
- cb: (err: any, data?: RegisterDeviceCommandOutput) => void
221
+ cb: (err: any, data?: RegisterDeviceCommandOutput) => void,
228
222
  ): void;
229
223
  setCognitoEvents(
230
224
  args: SetCognitoEventsCommandInput,
231
- options?: __HttpHandlerOptions
225
+ options?: __HttpHandlerOptions,
232
226
  ): Promise<SetCognitoEventsCommandOutput>;
233
227
  setCognitoEvents(
234
228
  args: SetCognitoEventsCommandInput,
235
- cb: (err: any, data?: SetCognitoEventsCommandOutput) => void
229
+ cb: (err: any, data?: SetCognitoEventsCommandOutput) => void,
236
230
  ): void;
237
231
  setCognitoEvents(
238
232
  args: SetCognitoEventsCommandInput,
239
233
  options: __HttpHandlerOptions,
240
- cb: (err: any, data?: SetCognitoEventsCommandOutput) => void
234
+ cb: (err: any, data?: SetCognitoEventsCommandOutput) => void,
241
235
  ): void;
242
236
  setIdentityPoolConfiguration(
243
237
  args: SetIdentityPoolConfigurationCommandInput,
244
- options?: __HttpHandlerOptions
238
+ options?: __HttpHandlerOptions,
245
239
  ): Promise<SetIdentityPoolConfigurationCommandOutput>;
246
240
  setIdentityPoolConfiguration(
247
241
  args: SetIdentityPoolConfigurationCommandInput,
248
- cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void
242
+ cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void,
249
243
  ): void;
250
244
  setIdentityPoolConfiguration(
251
245
  args: SetIdentityPoolConfigurationCommandInput,
252
246
  options: __HttpHandlerOptions,
253
- cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void
247
+ cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void,
254
248
  ): void;
255
249
  subscribeToDataset(
256
250
  args: SubscribeToDatasetCommandInput,
257
- options?: __HttpHandlerOptions
251
+ options?: __HttpHandlerOptions,
258
252
  ): Promise<SubscribeToDatasetCommandOutput>;
259
253
  subscribeToDataset(
260
254
  args: SubscribeToDatasetCommandInput,
261
- cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void
255
+ cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void,
262
256
  ): void;
263
257
  subscribeToDataset(
264
258
  args: SubscribeToDatasetCommandInput,
265
259
  options: __HttpHandlerOptions,
266
- cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void
260
+ cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void,
267
261
  ): void;
268
262
  unsubscribeFromDataset(
269
263
  args: UnsubscribeFromDatasetCommandInput,
270
- options?: __HttpHandlerOptions
264
+ options?: __HttpHandlerOptions,
271
265
  ): Promise<UnsubscribeFromDatasetCommandOutput>;
272
266
  unsubscribeFromDataset(
273
267
  args: UnsubscribeFromDatasetCommandInput,
274
- cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void
268
+ cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void,
275
269
  ): void;
276
270
  unsubscribeFromDataset(
277
271
  args: UnsubscribeFromDatasetCommandInput,
278
272
  options: __HttpHandlerOptions,
279
- cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void
273
+ cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void,
280
274
  ): void;
281
275
  updateRecords(
282
276
  args: UpdateRecordsCommandInput,
283
- options?: __HttpHandlerOptions
277
+ options?: __HttpHandlerOptions,
284
278
  ): Promise<UpdateRecordsCommandOutput>;
285
279
  updateRecords(
286
280
  args: UpdateRecordsCommandInput,
287
- cb: (err: any, data?: UpdateRecordsCommandOutput) => void
281
+ cb: (err: any, data?: UpdateRecordsCommandOutput) => void,
288
282
  ): void;
289
283
  updateRecords(
290
284
  args: UpdateRecordsCommandInput,
291
285
  options: __HttpHandlerOptions,
292
- cb: (err: any, data?: UpdateRecordsCommandOutput) => void
286
+ cb: (err: any, data?: UpdateRecordsCommandOutput) => void,
293
287
  ): void;
294
288
  }
295
- export declare class CognitoSync
296
- extends CognitoSyncClient
297
- implements CognitoSync {}
289
+ export declare class CognitoSync extends CognitoSyncClient implements CognitoSync {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -36,10 +33,7 @@ import {
36
33
  HttpAuthSchemeInputConfig,
37
34
  HttpAuthSchemeResolvedConfig,
38
35
  } from "./auth/httpAuthSchemeProvider";
39
- import {
40
- BulkPublishCommandInput,
41
- BulkPublishCommandOutput,
42
- } from "./commands/BulkPublishCommand";
36
+ import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
43
37
  import {
44
38
  DeleteDatasetCommandInput,
45
39
  DeleteDatasetCommandOutput,
@@ -76,10 +70,7 @@ import {
76
70
  ListIdentityPoolUsageCommandInput,
77
71
  ListIdentityPoolUsageCommandOutput,
78
72
  } from "./commands/ListIdentityPoolUsageCommand";
79
- import {
80
- ListRecordsCommandInput,
81
- ListRecordsCommandOutput,
82
- } from "./commands/ListRecordsCommand";
73
+ import { ListRecordsCommandInput, ListRecordsCommandOutput } from "./commands/ListRecordsCommand";
83
74
  import {
84
75
  RegisterDeviceCommandInput,
85
76
  RegisterDeviceCommandOutput,
@@ -147,8 +138,7 @@ export type ServiceOutputTypes =
147
138
  | SubscribeToDatasetCommandOutput
148
139
  | UnsubscribeFromDatasetCommandOutput
149
140
  | UpdateRecordsCommandOutput;
150
- export interface ClientDefaults
151
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
141
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
152
142
  requestHandler?: __HttpHandlerUserInput;
153
143
  sha256?: __ChecksumConstructor | __HashConstructor;
154
144
  urlParser?: __UrlParser;
@@ -173,9 +163,7 @@ export interface ClientDefaults
173
163
  extensions?: RuntimeExtension[];
174
164
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
175
165
  }
176
- export type CognitoSyncClientConfigType = Partial<
177
- __SmithyConfiguration<__HttpHandlerOptions>
178
- > &
166
+ export type CognitoSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
179
167
  ClientDefaults &
180
168
  UserAgentInputConfig &
181
169
  RetryInputConfig &
@@ -196,8 +184,7 @@ export type CognitoSyncClientResolvedConfigType =
196
184
  EndpointResolvedConfig<EndpointParameters> &
197
185
  HttpAuthSchemeResolvedConfig &
198
186
  ClientResolvedEndpointParameters;
199
- export interface CognitoSyncClientResolvedConfig
200
- extends CognitoSyncClientResolvedConfigType {}
187
+ export interface CognitoSyncClientResolvedConfig extends CognitoSyncClientResolvedConfigType {}
201
188
  export declare class CognitoSyncClient extends __Client<
202
189
  __HttpHandlerOptions,
203
190
  ServiceInputTypes,
@@ -205,8 +192,6 @@ export declare class CognitoSyncClient extends __Client<
205
192
  CognitoSyncClientResolvedConfig
206
193
  > {
207
194
  readonly config: CognitoSyncClientResolvedConfig;
208
- constructor(
209
- ...[configuration]: __CheckOptionalClientConfig<CognitoSyncClientConfig>
210
- );
195
+ constructor(...[configuration]: __CheckOptionalClientConfig<CognitoSyncClientConfig>);
211
196
  destroy(): void;
212
197
  }
@@ -7,17 +7,10 @@ import { CognitoSyncHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: CognitoSyncHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoSyncHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): CognitoSyncHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { CognitoSyncClientResolvedConfig } from "../CognitoSyncClient";
15
- export interface CognitoSyncHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface CognitoSyncHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface CognitoSyncHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- CognitoSyncClientResolvedConfig,
22
- HandlerExecutionContext,
23
- CognitoSyncHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface CognitoSyncHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ CognitoSyncClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ CognitoSyncHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultCognitoSyncHttpAuthSchemeParametersProvider: (
27
25
  config: CognitoSyncClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<CognitoSyncHttpAuthSchemeParameters>;
31
- export interface CognitoSyncHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<CognitoSyncHttpAuthSchemeParameters> {}
29
+ export interface CognitoSyncHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CognitoSyncHttpAuthSchemeParameters> {}
33
30
  export declare const defaultCognitoSyncHttpAuthSchemeProvider: CognitoSyncHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: CognitoSyncHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: CognitoSyncHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./CognitoSyncClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  CognitoSyncClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { BulkPublishRequest, BulkPublishResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface BulkPublishCommandInput extends BulkPublishRequest {}
5
- export interface BulkPublishCommandOutput
6
- extends BulkPublishResponse,
7
- __MetadataBearer {}
5
+ export interface BulkPublishCommandOutput extends BulkPublishResponse, __MetadataBearer {}
8
6
  declare const BulkPublishCommand_base: {
9
7
  new (
10
- input: BulkPublishCommandInput
8
+ input: BulkPublishCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  BulkPublishCommandInput,
13
11
  BulkPublishCommandOutput,
@@ -16,7 +14,7 @@ declare const BulkPublishCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: BulkPublishCommandInput
17
+ input: BulkPublishCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  BulkPublishCommandInput,
22
20
  BulkPublishCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DeleteDatasetRequest,
4
- DeleteDatasetResponse,
5
- } from "../models/models_0";
2
+ import { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {}
8
- export interface DeleteDatasetCommandOutput
9
- extends DeleteDatasetResponse,
10
- __MetadataBearer {}
5
+ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __MetadataBearer {}
11
6
  declare const DeleteDatasetCommand_base: {
12
7
  new (
13
- input: DeleteDatasetCommandInput
8
+ input: DeleteDatasetCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  DeleteDatasetCommandInput,
16
11
  DeleteDatasetCommandOutput,
@@ -19,7 +14,7 @@ declare const DeleteDatasetCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: DeleteDatasetCommandInput
17
+ input: DeleteDatasetCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  DeleteDatasetCommandInput,
25
20
  DeleteDatasetCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DescribeDatasetRequest,
4
- DescribeDatasetResponse,
5
- } from "../models/models_0";
2
+ import { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {}
8
- export interface DescribeDatasetCommandOutput
9
- extends DescribeDatasetResponse,
10
- __MetadataBearer {}
5
+ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {}
11
6
  declare const DescribeDatasetCommand_base: {
12
7
  new (
13
- input: DescribeDatasetCommandInput
8
+ input: DescribeDatasetCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  DescribeDatasetCommandInput,
16
11
  DescribeDatasetCommandOutput,
@@ -19,7 +14,7 @@ declare const DescribeDatasetCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: DescribeDatasetCommandInput
17
+ input: DescribeDatasetCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  DescribeDatasetCommandInput,
25
20
  DescribeDatasetCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  DescribeIdentityPoolUsageResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface DescribeIdentityPoolUsageCommandInput
8
- extends DescribeIdentityPoolUsageRequest {}
7
+ export interface DescribeIdentityPoolUsageCommandInput extends DescribeIdentityPoolUsageRequest {}
9
8
  export interface DescribeIdentityPoolUsageCommandOutput
10
- extends DescribeIdentityPoolUsageResponse,
11
- __MetadataBearer {}
9
+ extends DescribeIdentityPoolUsageResponse, __MetadataBearer {}
12
10
  declare const DescribeIdentityPoolUsageCommand_base: {
13
11
  new (
14
- input: DescribeIdentityPoolUsageCommandInput
12
+ input: DescribeIdentityPoolUsageCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  DescribeIdentityPoolUsageCommandInput,
17
15
  DescribeIdentityPoolUsageCommandOutput,
@@ -20,7 +18,7 @@ declare const DescribeIdentityPoolUsageCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: DescribeIdentityPoolUsageCommandInput
21
+ input: DescribeIdentityPoolUsageCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  DescribeIdentityPoolUsageCommandInput,
26
24
  DescribeIdentityPoolUsageCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DescribeIdentityUsageRequest,
4
- DescribeIdentityUsageResponse,
5
- } from "../models/models_0";
2
+ import { DescribeIdentityUsageRequest, DescribeIdentityUsageResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface DescribeIdentityUsageCommandInput
8
- extends DescribeIdentityUsageRequest {}
4
+ export interface DescribeIdentityUsageCommandInput extends DescribeIdentityUsageRequest {}
9
5
  export interface DescribeIdentityUsageCommandOutput
10
- extends DescribeIdentityUsageResponse,
11
- __MetadataBearer {}
6
+ extends DescribeIdentityUsageResponse, __MetadataBearer {}
12
7
  declare const DescribeIdentityUsageCommand_base: {
13
8
  new (
14
- input: DescribeIdentityUsageCommandInput
9
+ input: DescribeIdentityUsageCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  DescribeIdentityUsageCommandInput,
17
12
  DescribeIdentityUsageCommandOutput,
@@ -20,7 +15,7 @@ declare const DescribeIdentityUsageCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: DescribeIdentityUsageCommandInput
18
+ input: DescribeIdentityUsageCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  DescribeIdentityUsageCommandInput,
26
21
  DescribeIdentityUsageCommandOutput,