@aws-sdk/client-cognito-sync 3.1136.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.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -426,10 +426,10 @@ const _sST = "syncSessionToken";
426
426
  const _se = "server";
427
427
  const _xaCC = "x-amz-Client-Context";
428
428
  const n0 = "com.amazonaws.cognitosync";
429
- const _s_registry = TypeRegistry.for(_s);
429
+ const _s_registry = new TypeRegistry(_s);
430
430
  var CognitoSyncServiceException$ = [-3, _s, "CognitoSyncServiceException", 0, [], []];
431
431
  _s_registry.registerError(CognitoSyncServiceException$, CognitoSyncServiceException);
432
- const n0_registry = TypeRegistry.for(n0);
432
+ const n0_registry = new TypeRegistry(n0);
433
433
  var AlreadyStreamedException$ = [-3, n0, _ASE,
434
434
  { [_aQE]: [`AlreadyStreamed`, 400], [_e]: _c, [_hE]: 400 },
435
435
  [_m],
@@ -132,10 +132,10 @@ const n0 = "com.amazonaws.cognitosync";
132
132
  import { TypeRegistry } from "@smithy/core/schema";
133
133
  import { CognitoSyncServiceException } from "../models/CognitoSyncServiceException";
134
134
  import { AlreadyStreamedException, ConcurrentModificationException, DuplicateRequestException, InternalErrorException, InvalidConfigurationException, InvalidLambdaFunctionOutputException, InvalidParameterException, LambdaThrottledException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException, } from "../models/errors";
135
- const _s_registry = TypeRegistry.for(_s);
135
+ const _s_registry = new TypeRegistry(_s);
136
136
  export var CognitoSyncServiceException$ = [-3, _s, "CognitoSyncServiceException", 0, [], []];
137
137
  _s_registry.registerError(CognitoSyncServiceException$, CognitoSyncServiceException);
138
- const n0_registry = TypeRegistry.for(n0);
138
+ const n0_registry = new TypeRegistry(n0);
139
139
  export var AlreadyStreamedException$ = [-3, n0, _ASE,
140
140
  { [_aQE]: [`AlreadyStreamed`, 400], [_e]: _c, [_hE]: 400 },
141
141
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { CognitoSyncClient } from "./CognitoSyncClient";
3
3
  import { type BulkPublishCommandInput, type BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
4
4
  import { type DeleteDatasetCommandInput, type DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
@@ -17,110 +17,116 @@ import { type SetIdentityPoolConfigurationCommandInput, type SetIdentityPoolConf
17
17
  import { type SubscribeToDatasetCommandInput, type SubscribeToDatasetCommandOutput } from "./commands/SubscribeToDatasetCommand";
18
18
  import { type UnsubscribeFromDatasetCommandInput, type UnsubscribeFromDatasetCommandOutput } from "./commands/UnsubscribeFromDatasetCommand";
19
19
  import { type UpdateRecordsCommandInput, type UpdateRecordsCommandOutput } from "./commands/UpdateRecordsCommand";
20
+ /**
21
+ * @public
22
+ */
23
+ export interface CognitoSyncRequestOptions extends __HttpHandlerOptions {
24
+ metricsRecorder?: __MetricsRecorder<unknown>;
25
+ }
20
26
  export interface CognitoSync {
21
27
  /**
22
28
  * @see {@link BulkPublishCommand}
23
29
  */
24
- bulkPublish(args: BulkPublishCommandInput, options?: __HttpHandlerOptions): Promise<BulkPublishCommandOutput>;
30
+ bulkPublish(args: BulkPublishCommandInput, options?: CognitoSyncRequestOptions): Promise<BulkPublishCommandOutput>;
25
31
  bulkPublish(args: BulkPublishCommandInput, cb: (err: any, data?: BulkPublishCommandOutput) => void): void;
26
- bulkPublish(args: BulkPublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BulkPublishCommandOutput) => void): void;
32
+ bulkPublish(args: BulkPublishCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: BulkPublishCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link DeleteDatasetCommand}
29
35
  */
30
- deleteDataset(args: DeleteDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatasetCommandOutput>;
36
+ deleteDataset(args: DeleteDatasetCommandInput, options?: CognitoSyncRequestOptions): Promise<DeleteDatasetCommandOutput>;
31
37
  deleteDataset(args: DeleteDatasetCommandInput, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
32
- deleteDataset(args: DeleteDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
38
+ deleteDataset(args: DeleteDatasetCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link DescribeDatasetCommand}
35
41
  */
36
- describeDataset(args: DescribeDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatasetCommandOutput>;
42
+ describeDataset(args: DescribeDatasetCommandInput, options?: CognitoSyncRequestOptions): Promise<DescribeDatasetCommandOutput>;
37
43
  describeDataset(args: DescribeDatasetCommandInput, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
38
- describeDataset(args: DescribeDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
44
+ describeDataset(args: DescribeDatasetCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link DescribeIdentityPoolUsageCommand}
41
47
  */
42
- describeIdentityPoolUsage(args: DescribeIdentityPoolUsageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityPoolUsageCommandOutput>;
48
+ describeIdentityPoolUsage(args: DescribeIdentityPoolUsageCommandInput, options?: CognitoSyncRequestOptions): Promise<DescribeIdentityPoolUsageCommandOutput>;
43
49
  describeIdentityPoolUsage(args: DescribeIdentityPoolUsageCommandInput, cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void): void;
44
- describeIdentityPoolUsage(args: DescribeIdentityPoolUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void): void;
50
+ describeIdentityPoolUsage(args: DescribeIdentityPoolUsageCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link DescribeIdentityUsageCommand}
47
53
  */
48
- describeIdentityUsage(args: DescribeIdentityUsageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityUsageCommandOutput>;
54
+ describeIdentityUsage(args: DescribeIdentityUsageCommandInput, options?: CognitoSyncRequestOptions): Promise<DescribeIdentityUsageCommandOutput>;
49
55
  describeIdentityUsage(args: DescribeIdentityUsageCommandInput, cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void): void;
50
- describeIdentityUsage(args: DescribeIdentityUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void): void;
56
+ describeIdentityUsage(args: DescribeIdentityUsageCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link GetBulkPublishDetailsCommand}
53
59
  */
54
- getBulkPublishDetails(args: GetBulkPublishDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetBulkPublishDetailsCommandOutput>;
60
+ getBulkPublishDetails(args: GetBulkPublishDetailsCommandInput, options?: CognitoSyncRequestOptions): Promise<GetBulkPublishDetailsCommandOutput>;
55
61
  getBulkPublishDetails(args: GetBulkPublishDetailsCommandInput, cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void): void;
56
- getBulkPublishDetails(args: GetBulkPublishDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void): void;
62
+ getBulkPublishDetails(args: GetBulkPublishDetailsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link GetCognitoEventsCommand}
59
65
  */
60
- getCognitoEvents(args: GetCognitoEventsCommandInput, options?: __HttpHandlerOptions): Promise<GetCognitoEventsCommandOutput>;
66
+ getCognitoEvents(args: GetCognitoEventsCommandInput, options?: CognitoSyncRequestOptions): Promise<GetCognitoEventsCommandOutput>;
61
67
  getCognitoEvents(args: GetCognitoEventsCommandInput, cb: (err: any, data?: GetCognitoEventsCommandOutput) => void): void;
62
- getCognitoEvents(args: GetCognitoEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCognitoEventsCommandOutput) => void): void;
68
+ getCognitoEvents(args: GetCognitoEventsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: GetCognitoEventsCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link GetIdentityPoolConfigurationCommand}
65
71
  */
66
- getIdentityPoolConfiguration(args: GetIdentityPoolConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetIdentityPoolConfigurationCommandOutput>;
72
+ getIdentityPoolConfiguration(args: GetIdentityPoolConfigurationCommandInput, options?: CognitoSyncRequestOptions): Promise<GetIdentityPoolConfigurationCommandOutput>;
67
73
  getIdentityPoolConfiguration(args: GetIdentityPoolConfigurationCommandInput, cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void): void;
68
- getIdentityPoolConfiguration(args: GetIdentityPoolConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void): void;
74
+ getIdentityPoolConfiguration(args: GetIdentityPoolConfigurationCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void): void;
69
75
  /**
70
76
  * @see {@link ListDatasetsCommand}
71
77
  */
72
- listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
78
+ listDatasets(args: ListDatasetsCommandInput, options?: CognitoSyncRequestOptions): Promise<ListDatasetsCommandOutput>;
73
79
  listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
74
- listDatasets(args: ListDatasetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
80
+ listDatasets(args: ListDatasetsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
75
81
  /**
76
82
  * @see {@link ListIdentityPoolUsageCommand}
77
83
  */
78
84
  listIdentityPoolUsage(): Promise<ListIdentityPoolUsageCommandOutput>;
79
- listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityPoolUsageCommandOutput>;
85
+ listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options?: CognitoSyncRequestOptions): Promise<ListIdentityPoolUsageCommandOutput>;
80
86
  listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void): void;
81
- listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void): void;
87
+ listIdentityPoolUsage(args: ListIdentityPoolUsageCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link ListRecordsCommand}
84
90
  */
85
- listRecords(args: ListRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecordsCommandOutput>;
91
+ listRecords(args: ListRecordsCommandInput, options?: CognitoSyncRequestOptions): Promise<ListRecordsCommandOutput>;
86
92
  listRecords(args: ListRecordsCommandInput, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
87
- listRecords(args: ListRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
93
+ listRecords(args: ListRecordsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: ListRecordsCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link RegisterDeviceCommand}
90
96
  */
91
- registerDevice(args: RegisterDeviceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterDeviceCommandOutput>;
97
+ registerDevice(args: RegisterDeviceCommandInput, options?: CognitoSyncRequestOptions): Promise<RegisterDeviceCommandOutput>;
92
98
  registerDevice(args: RegisterDeviceCommandInput, cb: (err: any, data?: RegisterDeviceCommandOutput) => void): void;
93
- registerDevice(args: RegisterDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterDeviceCommandOutput) => void): void;
99
+ registerDevice(args: RegisterDeviceCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: RegisterDeviceCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link SetCognitoEventsCommand}
96
102
  */
97
- setCognitoEvents(args: SetCognitoEventsCommandInput, options?: __HttpHandlerOptions): Promise<SetCognitoEventsCommandOutput>;
103
+ setCognitoEvents(args: SetCognitoEventsCommandInput, options?: CognitoSyncRequestOptions): Promise<SetCognitoEventsCommandOutput>;
98
104
  setCognitoEvents(args: SetCognitoEventsCommandInput, cb: (err: any, data?: SetCognitoEventsCommandOutput) => void): void;
99
- setCognitoEvents(args: SetCognitoEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetCognitoEventsCommandOutput) => void): void;
105
+ setCognitoEvents(args: SetCognitoEventsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: SetCognitoEventsCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link SetIdentityPoolConfigurationCommand}
102
108
  */
103
- setIdentityPoolConfiguration(args: SetIdentityPoolConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<SetIdentityPoolConfigurationCommandOutput>;
109
+ setIdentityPoolConfiguration(args: SetIdentityPoolConfigurationCommandInput, options?: CognitoSyncRequestOptions): Promise<SetIdentityPoolConfigurationCommandOutput>;
104
110
  setIdentityPoolConfiguration(args: SetIdentityPoolConfigurationCommandInput, cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void): void;
105
- setIdentityPoolConfiguration(args: SetIdentityPoolConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void): void;
111
+ setIdentityPoolConfiguration(args: SetIdentityPoolConfigurationCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link SubscribeToDatasetCommand}
108
114
  */
109
- subscribeToDataset(args: SubscribeToDatasetCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeToDatasetCommandOutput>;
115
+ subscribeToDataset(args: SubscribeToDatasetCommandInput, options?: CognitoSyncRequestOptions): Promise<SubscribeToDatasetCommandOutput>;
110
116
  subscribeToDataset(args: SubscribeToDatasetCommandInput, cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void): void;
111
- subscribeToDataset(args: SubscribeToDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void): void;
117
+ subscribeToDataset(args: SubscribeToDatasetCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link UnsubscribeFromDatasetCommand}
114
120
  */
115
- unsubscribeFromDataset(args: UnsubscribeFromDatasetCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromDatasetCommandOutput>;
121
+ unsubscribeFromDataset(args: UnsubscribeFromDatasetCommandInput, options?: CognitoSyncRequestOptions): Promise<UnsubscribeFromDatasetCommandOutput>;
116
122
  unsubscribeFromDataset(args: UnsubscribeFromDatasetCommandInput, cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void): void;
117
- unsubscribeFromDataset(args: UnsubscribeFromDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void): void;
123
+ unsubscribeFromDataset(args: UnsubscribeFromDatasetCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link UpdateRecordsCommand}
120
126
  */
121
- updateRecords(args: UpdateRecordsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecordsCommandOutput>;
127
+ updateRecords(args: UpdateRecordsCommandInput, options?: CognitoSyncRequestOptions): Promise<UpdateRecordsCommandOutput>;
122
128
  updateRecords(args: UpdateRecordsCommandInput, cb: (err: any, data?: UpdateRecordsCommandOutput) => void): void;
123
- updateRecords(args: UpdateRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecordsCommandOutput) => void): void;
129
+ updateRecords(args: UpdateRecordsCommandInput, options: CognitoSyncRequestOptions, cb: (err: any, data?: UpdateRecordsCommandOutput) => void): void;
124
130
  }
125
131
  /**
126
132
  * <fullname>Amazon Cognito Sync</fullname>
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CognitoSyncClient } from "./CognitoSyncClient";
3
6
  import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
4
7
  import {
@@ -62,10 +65,13 @@ import {
62
65
  UpdateRecordsCommandInput,
63
66
  UpdateRecordsCommandOutput,
64
67
  } from "./commands/UpdateRecordsCommand";
68
+ export interface CognitoSyncRequestOptions extends __HttpHandlerOptions {
69
+ metricsRecorder?: __MetricsRecorder<unknown>;
70
+ }
65
71
  export interface CognitoSync {
66
72
  bulkPublish(
67
73
  args: BulkPublishCommandInput,
68
- options?: __HttpHandlerOptions,
74
+ options?: CognitoSyncRequestOptions,
69
75
  ): Promise<BulkPublishCommandOutput>;
70
76
  bulkPublish(
71
77
  args: BulkPublishCommandInput,
@@ -73,12 +79,12 @@ export interface CognitoSync {
73
79
  ): void;
74
80
  bulkPublish(
75
81
  args: BulkPublishCommandInput,
76
- options: __HttpHandlerOptions,
82
+ options: CognitoSyncRequestOptions,
77
83
  cb: (err: any, data?: BulkPublishCommandOutput) => void,
78
84
  ): void;
79
85
  deleteDataset(
80
86
  args: DeleteDatasetCommandInput,
81
- options?: __HttpHandlerOptions,
87
+ options?: CognitoSyncRequestOptions,
82
88
  ): Promise<DeleteDatasetCommandOutput>;
83
89
  deleteDataset(
84
90
  args: DeleteDatasetCommandInput,
@@ -86,12 +92,12 @@ export interface CognitoSync {
86
92
  ): void;
87
93
  deleteDataset(
88
94
  args: DeleteDatasetCommandInput,
89
- options: __HttpHandlerOptions,
95
+ options: CognitoSyncRequestOptions,
90
96
  cb: (err: any, data?: DeleteDatasetCommandOutput) => void,
91
97
  ): void;
92
98
  describeDataset(
93
99
  args: DescribeDatasetCommandInput,
94
- options?: __HttpHandlerOptions,
100
+ options?: CognitoSyncRequestOptions,
95
101
  ): Promise<DescribeDatasetCommandOutput>;
96
102
  describeDataset(
97
103
  args: DescribeDatasetCommandInput,
@@ -99,12 +105,12 @@ export interface CognitoSync {
99
105
  ): void;
100
106
  describeDataset(
101
107
  args: DescribeDatasetCommandInput,
102
- options: __HttpHandlerOptions,
108
+ options: CognitoSyncRequestOptions,
103
109
  cb: (err: any, data?: DescribeDatasetCommandOutput) => void,
104
110
  ): void;
105
111
  describeIdentityPoolUsage(
106
112
  args: DescribeIdentityPoolUsageCommandInput,
107
- options?: __HttpHandlerOptions,
113
+ options?: CognitoSyncRequestOptions,
108
114
  ): Promise<DescribeIdentityPoolUsageCommandOutput>;
109
115
  describeIdentityPoolUsage(
110
116
  args: DescribeIdentityPoolUsageCommandInput,
@@ -112,12 +118,12 @@ export interface CognitoSync {
112
118
  ): void;
113
119
  describeIdentityPoolUsage(
114
120
  args: DescribeIdentityPoolUsageCommandInput,
115
- options: __HttpHandlerOptions,
121
+ options: CognitoSyncRequestOptions,
116
122
  cb: (err: any, data?: DescribeIdentityPoolUsageCommandOutput) => void,
117
123
  ): void;
118
124
  describeIdentityUsage(
119
125
  args: DescribeIdentityUsageCommandInput,
120
- options?: __HttpHandlerOptions,
126
+ options?: CognitoSyncRequestOptions,
121
127
  ): Promise<DescribeIdentityUsageCommandOutput>;
122
128
  describeIdentityUsage(
123
129
  args: DescribeIdentityUsageCommandInput,
@@ -125,12 +131,12 @@ export interface CognitoSync {
125
131
  ): void;
126
132
  describeIdentityUsage(
127
133
  args: DescribeIdentityUsageCommandInput,
128
- options: __HttpHandlerOptions,
134
+ options: CognitoSyncRequestOptions,
129
135
  cb: (err: any, data?: DescribeIdentityUsageCommandOutput) => void,
130
136
  ): void;
131
137
  getBulkPublishDetails(
132
138
  args: GetBulkPublishDetailsCommandInput,
133
- options?: __HttpHandlerOptions,
139
+ options?: CognitoSyncRequestOptions,
134
140
  ): Promise<GetBulkPublishDetailsCommandOutput>;
135
141
  getBulkPublishDetails(
136
142
  args: GetBulkPublishDetailsCommandInput,
@@ -138,12 +144,12 @@ export interface CognitoSync {
138
144
  ): void;
139
145
  getBulkPublishDetails(
140
146
  args: GetBulkPublishDetailsCommandInput,
141
- options: __HttpHandlerOptions,
147
+ options: CognitoSyncRequestOptions,
142
148
  cb: (err: any, data?: GetBulkPublishDetailsCommandOutput) => void,
143
149
  ): void;
144
150
  getCognitoEvents(
145
151
  args: GetCognitoEventsCommandInput,
146
- options?: __HttpHandlerOptions,
152
+ options?: CognitoSyncRequestOptions,
147
153
  ): Promise<GetCognitoEventsCommandOutput>;
148
154
  getCognitoEvents(
149
155
  args: GetCognitoEventsCommandInput,
@@ -151,12 +157,12 @@ export interface CognitoSync {
151
157
  ): void;
152
158
  getCognitoEvents(
153
159
  args: GetCognitoEventsCommandInput,
154
- options: __HttpHandlerOptions,
160
+ options: CognitoSyncRequestOptions,
155
161
  cb: (err: any, data?: GetCognitoEventsCommandOutput) => void,
156
162
  ): void;
157
163
  getIdentityPoolConfiguration(
158
164
  args: GetIdentityPoolConfigurationCommandInput,
159
- options?: __HttpHandlerOptions,
165
+ options?: CognitoSyncRequestOptions,
160
166
  ): Promise<GetIdentityPoolConfigurationCommandOutput>;
161
167
  getIdentityPoolConfiguration(
162
168
  args: GetIdentityPoolConfigurationCommandInput,
@@ -164,12 +170,12 @@ export interface CognitoSync {
164
170
  ): void;
165
171
  getIdentityPoolConfiguration(
166
172
  args: GetIdentityPoolConfigurationCommandInput,
167
- options: __HttpHandlerOptions,
173
+ options: CognitoSyncRequestOptions,
168
174
  cb: (err: any, data?: GetIdentityPoolConfigurationCommandOutput) => void,
169
175
  ): void;
170
176
  listDatasets(
171
177
  args: ListDatasetsCommandInput,
172
- options?: __HttpHandlerOptions,
178
+ options?: CognitoSyncRequestOptions,
173
179
  ): Promise<ListDatasetsCommandOutput>;
174
180
  listDatasets(
175
181
  args: ListDatasetsCommandInput,
@@ -177,13 +183,13 @@ export interface CognitoSync {
177
183
  ): void;
178
184
  listDatasets(
179
185
  args: ListDatasetsCommandInput,
180
- options: __HttpHandlerOptions,
186
+ options: CognitoSyncRequestOptions,
181
187
  cb: (err: any, data?: ListDatasetsCommandOutput) => void,
182
188
  ): void;
183
189
  listIdentityPoolUsage(): Promise<ListIdentityPoolUsageCommandOutput>;
184
190
  listIdentityPoolUsage(
185
191
  args: ListIdentityPoolUsageCommandInput,
186
- options?: __HttpHandlerOptions,
192
+ options?: CognitoSyncRequestOptions,
187
193
  ): Promise<ListIdentityPoolUsageCommandOutput>;
188
194
  listIdentityPoolUsage(
189
195
  args: ListIdentityPoolUsageCommandInput,
@@ -191,12 +197,12 @@ export interface CognitoSync {
191
197
  ): void;
192
198
  listIdentityPoolUsage(
193
199
  args: ListIdentityPoolUsageCommandInput,
194
- options: __HttpHandlerOptions,
200
+ options: CognitoSyncRequestOptions,
195
201
  cb: (err: any, data?: ListIdentityPoolUsageCommandOutput) => void,
196
202
  ): void;
197
203
  listRecords(
198
204
  args: ListRecordsCommandInput,
199
- options?: __HttpHandlerOptions,
205
+ options?: CognitoSyncRequestOptions,
200
206
  ): Promise<ListRecordsCommandOutput>;
201
207
  listRecords(
202
208
  args: ListRecordsCommandInput,
@@ -204,12 +210,12 @@ export interface CognitoSync {
204
210
  ): void;
205
211
  listRecords(
206
212
  args: ListRecordsCommandInput,
207
- options: __HttpHandlerOptions,
213
+ options: CognitoSyncRequestOptions,
208
214
  cb: (err: any, data?: ListRecordsCommandOutput) => void,
209
215
  ): void;
210
216
  registerDevice(
211
217
  args: RegisterDeviceCommandInput,
212
- options?: __HttpHandlerOptions,
218
+ options?: CognitoSyncRequestOptions,
213
219
  ): Promise<RegisterDeviceCommandOutput>;
214
220
  registerDevice(
215
221
  args: RegisterDeviceCommandInput,
@@ -217,12 +223,12 @@ export interface CognitoSync {
217
223
  ): void;
218
224
  registerDevice(
219
225
  args: RegisterDeviceCommandInput,
220
- options: __HttpHandlerOptions,
226
+ options: CognitoSyncRequestOptions,
221
227
  cb: (err: any, data?: RegisterDeviceCommandOutput) => void,
222
228
  ): void;
223
229
  setCognitoEvents(
224
230
  args: SetCognitoEventsCommandInput,
225
- options?: __HttpHandlerOptions,
231
+ options?: CognitoSyncRequestOptions,
226
232
  ): Promise<SetCognitoEventsCommandOutput>;
227
233
  setCognitoEvents(
228
234
  args: SetCognitoEventsCommandInput,
@@ -230,12 +236,12 @@ export interface CognitoSync {
230
236
  ): void;
231
237
  setCognitoEvents(
232
238
  args: SetCognitoEventsCommandInput,
233
- options: __HttpHandlerOptions,
239
+ options: CognitoSyncRequestOptions,
234
240
  cb: (err: any, data?: SetCognitoEventsCommandOutput) => void,
235
241
  ): void;
236
242
  setIdentityPoolConfiguration(
237
243
  args: SetIdentityPoolConfigurationCommandInput,
238
- options?: __HttpHandlerOptions,
244
+ options?: CognitoSyncRequestOptions,
239
245
  ): Promise<SetIdentityPoolConfigurationCommandOutput>;
240
246
  setIdentityPoolConfiguration(
241
247
  args: SetIdentityPoolConfigurationCommandInput,
@@ -243,12 +249,12 @@ export interface CognitoSync {
243
249
  ): void;
244
250
  setIdentityPoolConfiguration(
245
251
  args: SetIdentityPoolConfigurationCommandInput,
246
- options: __HttpHandlerOptions,
252
+ options: CognitoSyncRequestOptions,
247
253
  cb: (err: any, data?: SetIdentityPoolConfigurationCommandOutput) => void,
248
254
  ): void;
249
255
  subscribeToDataset(
250
256
  args: SubscribeToDatasetCommandInput,
251
- options?: __HttpHandlerOptions,
257
+ options?: CognitoSyncRequestOptions,
252
258
  ): Promise<SubscribeToDatasetCommandOutput>;
253
259
  subscribeToDataset(
254
260
  args: SubscribeToDatasetCommandInput,
@@ -256,12 +262,12 @@ export interface CognitoSync {
256
262
  ): void;
257
263
  subscribeToDataset(
258
264
  args: SubscribeToDatasetCommandInput,
259
- options: __HttpHandlerOptions,
265
+ options: CognitoSyncRequestOptions,
260
266
  cb: (err: any, data?: SubscribeToDatasetCommandOutput) => void,
261
267
  ): void;
262
268
  unsubscribeFromDataset(
263
269
  args: UnsubscribeFromDatasetCommandInput,
264
- options?: __HttpHandlerOptions,
270
+ options?: CognitoSyncRequestOptions,
265
271
  ): Promise<UnsubscribeFromDatasetCommandOutput>;
266
272
  unsubscribeFromDataset(
267
273
  args: UnsubscribeFromDatasetCommandInput,
@@ -269,12 +275,12 @@ export interface CognitoSync {
269
275
  ): void;
270
276
  unsubscribeFromDataset(
271
277
  args: UnsubscribeFromDatasetCommandInput,
272
- options: __HttpHandlerOptions,
278
+ options: CognitoSyncRequestOptions,
273
279
  cb: (err: any, data?: UnsubscribeFromDatasetCommandOutput) => void,
274
280
  ): void;
275
281
  updateRecords(
276
282
  args: UpdateRecordsCommandInput,
277
- options?: __HttpHandlerOptions,
283
+ options?: CognitoSyncRequestOptions,
278
284
  ): Promise<UpdateRecordsCommandOutput>;
279
285
  updateRecords(
280
286
  args: UpdateRecordsCommandInput,
@@ -282,7 +288,7 @@ export interface CognitoSync {
282
288
  ): void;
283
289
  updateRecords(
284
290
  args: UpdateRecordsCommandInput,
285
- options: __HttpHandlerOptions,
291
+ options: CognitoSyncRequestOptions,
286
292
  cb: (err: any, data?: UpdateRecordsCommandOutput) => void,
287
293
  ): void;
288
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-sync",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-sync",
6
6
  "license": "Apache-2.0",
@@ -50,13 +50,13 @@
50
50
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.978.0",
54
- "@aws-sdk/credential-provider-node": "^3.972.83",
55
- "@aws-sdk/types": "^3.974.5",
56
- "@smithy/core": "^3.33.3",
57
- "@smithy/fetch-http-handler": "^5.7.2",
58
- "@smithy/node-http-handler": "^4.11.3",
59
- "@smithy/types": "^4.17.2",
53
+ "@aws-sdk/core": "^3.978.1",
54
+ "@aws-sdk/credential-provider-node": "^3.972.84",
55
+ "@aws-sdk/types": "^3.974.6",
56
+ "@smithy/core": "^3.35.0",
57
+ "@smithy/fetch-http-handler": "^5.8.0",
58
+ "@smithy/node-http-handler": "^4.12.1",
59
+ "@smithy/types": "^4.19.0",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {