@aws-sdk/client-cognito-sync 3.52.0 → 3.54.1

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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
10
10
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
11
11
  import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
45
45
  * A function that can calculate the length of a request body.
46
46
  * @internal
47
47
  */
48
- bodyLengthChecker?: (body: any) => number | undefined;
48
+ bodyLengthChecker?: __BodyLengthCalculator;
49
49
  /**
50
50
  * A function that converts a stream into an array of bytes.
51
51
  * @internal
@@ -2,3 +2,4 @@ export * from "./CognitoSync";
2
2
  export * from "./CognitoSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from CognitoSync service.
4
+ */
5
+ export declare class CognitoSyncServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,14 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
2
3
  /**
3
4
  * An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.
4
5
  */
5
- export interface AlreadyStreamedException extends __SmithyException, $MetadataBearer {
6
- name: "AlreadyStreamedException";
7
- $fault: "client";
6
+ export declare class AlreadyStreamedException extends __BaseException {
7
+ readonly name: "AlreadyStreamedException";
8
+ readonly $fault: "client";
8
9
  /**
9
- * The message associated with the AlreadyStreamedException exception.
10
+ * @internal
10
11
  */
11
- message: string | undefined;
12
+ constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
12
13
  }
13
14
  /**
14
15
  * The input for the BulkPublish operation.
@@ -47,65 +48,61 @@ export declare namespace BulkPublishResponse {
47
48
  /**
48
49
  * An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
49
50
  */
50
- export interface DuplicateRequestException extends __SmithyException, $MetadataBearer {
51
- name: "DuplicateRequestException";
52
- $fault: "client";
51
+ export declare class DuplicateRequestException extends __BaseException {
52
+ readonly name: "DuplicateRequestException";
53
+ readonly $fault: "client";
53
54
  /**
54
- * The message associated with the DuplicateRequestException exception.
55
+ * @internal
55
56
  */
56
- message: string | undefined;
57
+ constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
57
58
  }
58
59
  /**
59
60
  * Indicates an internal service
60
61
  * error.
61
62
  */
62
- export interface InternalErrorException extends __SmithyException, $MetadataBearer {
63
- name: "InternalErrorException";
64
- $fault: "server";
63
+ export declare class InternalErrorException extends __BaseException {
64
+ readonly name: "InternalErrorException";
65
+ readonly $fault: "server";
65
66
  /**
66
- * Message returned by
67
- * InternalErrorException.
67
+ * @internal
68
68
  */
69
- message: string | undefined;
69
+ constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
70
70
  }
71
71
  /**
72
72
  * Thrown when a request parameter does not comply
73
73
  * with the associated constraints.
74
74
  */
75
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
76
- name: "InvalidParameterException";
77
- $fault: "client";
75
+ export declare class InvalidParameterException extends __BaseException {
76
+ readonly name: "InvalidParameterException";
77
+ readonly $fault: "client";
78
78
  /**
79
- * Message returned by
80
- * InvalidParameterException.
79
+ * @internal
81
80
  */
82
- message: string | undefined;
81
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
83
82
  }
84
83
  /**
85
84
  * Thrown when a user is not authorized to access the
86
85
  * requested resource.
87
86
  */
88
- export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
89
- name: "NotAuthorizedException";
90
- $fault: "client";
87
+ export declare class NotAuthorizedException extends __BaseException {
88
+ readonly name: "NotAuthorizedException";
89
+ readonly $fault: "client";
91
90
  /**
92
- * The message returned by a
93
- * NotAuthorizedException.
91
+ * @internal
94
92
  */
95
- message: string | undefined;
93
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
96
94
  }
97
95
  /**
98
96
  * Thrown if the resource doesn't
99
97
  * exist.
100
98
  */
101
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
102
- name: "ResourceNotFoundException";
103
- $fault: "client";
99
+ export declare class ResourceNotFoundException extends __BaseException {
100
+ readonly name: "ResourceNotFoundException";
101
+ readonly $fault: "client";
104
102
  /**
105
- * Message returned by a
106
- * ResourceNotFoundException.
103
+ * @internal
107
104
  */
108
- message: string | undefined;
105
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
109
106
  }
110
107
  /**
111
108
  * A request to delete the specific
@@ -211,27 +208,25 @@ export declare namespace DeleteDatasetResponse {
211
208
  * Thrown if an update can't be applied because
212
209
  * the resource was changed by another call and this would result in a conflict.
213
210
  */
214
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
215
- name: "ResourceConflictException";
216
- $fault: "client";
211
+ export declare class ResourceConflictException extends __BaseException {
212
+ readonly name: "ResourceConflictException";
213
+ readonly $fault: "client";
217
214
  /**
218
- * The message returned by a
219
- * ResourceConflictException.
215
+ * @internal
220
216
  */
221
- message: string | undefined;
217
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
222
218
  }
223
219
  /**
224
220
  * Thrown if the request is
225
221
  * throttled.
226
222
  */
227
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
228
- name: "TooManyRequestsException";
229
- $fault: "client";
223
+ export declare class TooManyRequestsException extends __BaseException {
224
+ readonly name: "TooManyRequestsException";
225
+ readonly $fault: "client";
230
226
  /**
231
- * Message returned by a
232
- * TooManyRequestsException.
227
+ * @internal
233
228
  */
234
- message: string | undefined;
229
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
235
230
  }
236
231
  /**
237
232
  * A request for meta data about a dataset (creation
@@ -861,14 +856,13 @@ export declare namespace ListRecordsResponse {
861
856
  */
862
857
  const filterSensitiveLog: (obj: ListRecordsResponse) => any;
863
858
  }
864
- export interface InvalidConfigurationException extends __SmithyException, $MetadataBearer {
865
- name: "InvalidConfigurationException";
866
- $fault: "client";
859
+ export declare class InvalidConfigurationException extends __BaseException {
860
+ readonly name: "InvalidConfigurationException";
861
+ readonly $fault: "client";
867
862
  /**
868
- * Message returned by
869
- * InvalidConfigurationException.
863
+ * @internal
870
864
  */
871
- message: string | undefined;
865
+ constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
872
866
  }
873
867
  export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
874
868
  /**
@@ -938,13 +932,13 @@ export declare namespace SetCognitoEventsRequest {
938
932
  /**
939
933
  * <p>Thrown if there are parallel requests to modify a resource.</p>
940
934
  */
941
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
942
- name: "ConcurrentModificationException";
943
- $fault: "client";
935
+ export declare class ConcurrentModificationException extends __BaseException {
936
+ readonly name: "ConcurrentModificationException";
937
+ readonly $fault: "client";
944
938
  /**
945
- * <p>The message returned by a ConcurrentModicationException.</p>
939
+ * @internal
946
940
  */
947
- message: string | undefined;
941
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
948
942
  }
949
943
  /**
950
944
  * <p>The input for the SetIdentityPoolConfiguration operation.</p>
@@ -1075,37 +1069,36 @@ export declare namespace UnsubscribeFromDatasetResponse {
1075
1069
  /**
1076
1070
  * <p>The AWS Lambda function returned invalid output or an exception.</p>
1077
1071
  */
1078
- export interface InvalidLambdaFunctionOutputException extends __SmithyException, $MetadataBearer {
1079
- name: "InvalidLambdaFunctionOutputException";
1080
- $fault: "client";
1072
+ export declare class InvalidLambdaFunctionOutputException extends __BaseException {
1073
+ readonly name: "InvalidLambdaFunctionOutputException";
1074
+ readonly $fault: "client";
1081
1075
  /**
1082
- * <p>A message returned when an InvalidLambdaFunctionOutputException occurs</p>
1076
+ * @internal
1083
1077
  */
1084
- message: string | undefined;
1078
+ constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
1085
1079
  }
1086
1080
  /**
1087
1081
  * <p>AWS Lambda throttled your account, please contact AWS Support</p>
1088
1082
  */
1089
- export interface LambdaThrottledException extends __SmithyException, $MetadataBearer {
1090
- name: "LambdaThrottledException";
1091
- $fault: "client";
1083
+ export declare class LambdaThrottledException extends __BaseException {
1084
+ readonly name: "LambdaThrottledException";
1085
+ readonly $fault: "client";
1092
1086
  /**
1093
- * <p>A message returned when an LambdaThrottledException is thrown</p>
1087
+ * @internal
1094
1088
  */
1095
- message: string | undefined;
1089
+ constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
1096
1090
  }
1097
1091
  /**
1098
1092
  * Thrown when the limit on the number of objects or
1099
1093
  * operations has been exceeded.
1100
1094
  */
1101
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1102
- name: "LimitExceededException";
1103
- $fault: "client";
1095
+ export declare class LimitExceededException extends __BaseException {
1096
+ readonly name: "LimitExceededException";
1097
+ readonly $fault: "client";
1104
1098
  /**
1105
- * Message returned by
1106
- * LimitExceededException.
1099
+ * @internal
1107
1100
  */
1108
- message: string | undefined;
1101
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1109
1102
  }
1110
1103
  export declare type Operation = "remove" | "replace";
1111
1104
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
10
10
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
11
11
  import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
33
33
 
34
34
  urlParser?: __UrlParser;
35
35
 
36
- bodyLengthChecker?: (body: any) => number | undefined;
36
+ bodyLengthChecker?: __BodyLengthCalculator;
37
37
 
38
38
  streamCollector?: __StreamCollector;
39
39
 
@@ -2,3 +2,4 @@ export * from "./CognitoSync";
2
2
  export * from "./CognitoSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class CognitoSyncServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,10 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
2
3
 
3
- export interface AlreadyStreamedException extends __SmithyException, $MetadataBearer {
4
- name: "AlreadyStreamedException";
5
- $fault: "client";
4
+ export declare class AlreadyStreamedException extends __BaseException {
5
+ readonly name: "AlreadyStreamedException";
6
+ readonly $fault: "client";
6
7
 
7
- message: string | undefined;
8
+ constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
8
9
  }
9
10
 
10
11
  export interface BulkPublishRequest {
@@ -25,39 +26,39 @@ export declare namespace BulkPublishResponse {
25
26
  const filterSensitiveLog: (obj: BulkPublishResponse) => any;
26
27
  }
27
28
 
28
- export interface DuplicateRequestException extends __SmithyException, $MetadataBearer {
29
- name: "DuplicateRequestException";
30
- $fault: "client";
29
+ export declare class DuplicateRequestException extends __BaseException {
30
+ readonly name: "DuplicateRequestException";
31
+ readonly $fault: "client";
31
32
 
32
- message: string | undefined;
33
+ constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
33
34
  }
34
35
 
35
- export interface InternalErrorException extends __SmithyException, $MetadataBearer {
36
- name: "InternalErrorException";
37
- $fault: "server";
36
+ export declare class InternalErrorException extends __BaseException {
37
+ readonly name: "InternalErrorException";
38
+ readonly $fault: "server";
38
39
 
39
- message: string | undefined;
40
+ constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
40
41
  }
41
42
 
42
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
43
- name: "InvalidParameterException";
44
- $fault: "client";
43
+ export declare class InvalidParameterException extends __BaseException {
44
+ readonly name: "InvalidParameterException";
45
+ readonly $fault: "client";
45
46
 
46
- message: string | undefined;
47
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
47
48
  }
48
49
 
49
- export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
50
- name: "NotAuthorizedException";
51
- $fault: "client";
50
+ export declare class NotAuthorizedException extends __BaseException {
51
+ readonly name: "NotAuthorizedException";
52
+ readonly $fault: "client";
52
53
 
53
- message: string | undefined;
54
+ constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
54
55
  }
55
56
 
56
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
57
- name: "ResourceNotFoundException";
58
- $fault: "client";
57
+ export declare class ResourceNotFoundException extends __BaseException {
58
+ readonly name: "ResourceNotFoundException";
59
+ readonly $fault: "client";
59
60
 
60
- message: string | undefined;
61
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
61
62
  }
62
63
 
63
64
  export interface DeleteDatasetRequest {
@@ -103,18 +104,18 @@ export declare namespace DeleteDatasetResponse {
103
104
  const filterSensitiveLog: (obj: DeleteDatasetResponse) => any;
104
105
  }
105
106
 
106
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
107
- name: "ResourceConflictException";
108
- $fault: "client";
107
+ export declare class ResourceConflictException extends __BaseException {
108
+ readonly name: "ResourceConflictException";
109
+ readonly $fault: "client";
109
110
 
110
- message: string | undefined;
111
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
111
112
  }
112
113
 
113
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
114
- name: "TooManyRequestsException";
115
- $fault: "client";
114
+ export declare class TooManyRequestsException extends __BaseException {
115
+ readonly name: "TooManyRequestsException";
116
+ readonly $fault: "client";
116
117
 
117
- message: string | undefined;
118
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
118
119
  }
119
120
 
120
121
  export interface DescribeDatasetRequest {
@@ -426,11 +427,11 @@ export declare namespace ListRecordsResponse {
426
427
 
427
428
  const filterSensitiveLog: (obj: ListRecordsResponse) => any;
428
429
  }
429
- export interface InvalidConfigurationException extends __SmithyException, $MetadataBearer {
430
- name: "InvalidConfigurationException";
431
- $fault: "client";
430
+ export declare class InvalidConfigurationException extends __BaseException {
431
+ readonly name: "InvalidConfigurationException";
432
+ readonly $fault: "client";
432
433
 
433
- message: string | undefined;
434
+ constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
434
435
  }
435
436
  export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
436
437
 
@@ -471,11 +472,11 @@ export declare namespace SetCognitoEventsRequest {
471
472
  const filterSensitiveLog: (obj: SetCognitoEventsRequest) => any;
472
473
  }
473
474
 
474
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
475
- name: "ConcurrentModificationException";
476
- $fault: "client";
475
+ export declare class ConcurrentModificationException extends __BaseException {
476
+ readonly name: "ConcurrentModificationException";
477
+ readonly $fault: "client";
477
478
 
478
- message: string | undefined;
479
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
479
480
  }
480
481
 
481
482
  export interface SetIdentityPoolConfigurationRequest {
@@ -548,25 +549,25 @@ export declare namespace UnsubscribeFromDatasetResponse {
548
549
  const filterSensitiveLog: (obj: UnsubscribeFromDatasetResponse) => any;
549
550
  }
550
551
 
551
- export interface InvalidLambdaFunctionOutputException extends __SmithyException, $MetadataBearer {
552
- name: "InvalidLambdaFunctionOutputException";
553
- $fault: "client";
552
+ export declare class InvalidLambdaFunctionOutputException extends __BaseException {
553
+ readonly name: "InvalidLambdaFunctionOutputException";
554
+ readonly $fault: "client";
554
555
 
555
- message: string | undefined;
556
+ constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
556
557
  }
557
558
 
558
- export interface LambdaThrottledException extends __SmithyException, $MetadataBearer {
559
- name: "LambdaThrottledException";
560
- $fault: "client";
559
+ export declare class LambdaThrottledException extends __BaseException {
560
+ readonly name: "LambdaThrottledException";
561
+ readonly $fault: "client";
561
562
 
562
- message: string | undefined;
563
+ constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
563
564
  }
564
565
 
565
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
566
- name: "LimitExceededException";
567
- $fault: "client";
566
+ export declare class LimitExceededException extends __BaseException {
567
+ readonly name: "LimitExceededException";
568
+ readonly $fault: "client";
568
569
 
569
- message: string | undefined;
570
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
570
571
  }
571
572
  export declare type Operation = "remove" | "replace";
572
573
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-sync",
3
3
  "description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.54.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"