@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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CognitoSyncServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +172 -1
- package/dist-cjs/protocols/Aws_restJson1.js +249 -812
- package/dist-es/index.js +1 -0
- package/dist-es/models/CognitoSyncServiceException.js +12 -0
- package/dist-es/models/models_0.js +158 -1
- package/dist-es/protocols/Aws_restJson1.js +451 -894
- package/dist-types/CognitoSyncClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CognitoSyncServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +67 -74
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CognitoSyncClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +54 -53
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -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?:
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
49
|
/**
|
|
50
50
|
* A function that converts a stream into an array of bytes.
|
|
51
51
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -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 {
|
|
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
|
|
6
|
-
name: "AlreadyStreamedException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AlreadyStreamedException extends __BaseException {
|
|
7
|
+
readonly name: "AlreadyStreamedException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* @internal
|
|
10
11
|
*/
|
|
11
|
-
|
|
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
|
|
51
|
-
name: "DuplicateRequestException";
|
|
52
|
-
$fault: "client";
|
|
51
|
+
export declare class DuplicateRequestException extends __BaseException {
|
|
52
|
+
readonly name: "DuplicateRequestException";
|
|
53
|
+
readonly $fault: "client";
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* @internal
|
|
55
56
|
*/
|
|
56
|
-
|
|
57
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* Indicates an internal service
|
|
60
61
|
* error.
|
|
61
62
|
*/
|
|
62
|
-
export
|
|
63
|
-
name: "InternalErrorException";
|
|
64
|
-
$fault: "server";
|
|
63
|
+
export declare class InternalErrorException extends __BaseException {
|
|
64
|
+
readonly name: "InternalErrorException";
|
|
65
|
+
readonly $fault: "server";
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
-
* InternalErrorException.
|
|
67
|
+
* @internal
|
|
68
68
|
*/
|
|
69
|
-
|
|
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
|
|
76
|
-
name: "InvalidParameterException";
|
|
77
|
-
$fault: "client";
|
|
75
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
76
|
+
readonly name: "InvalidParameterException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
80
|
-
* InvalidParameterException.
|
|
79
|
+
* @internal
|
|
81
80
|
*/
|
|
82
|
-
|
|
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
|
|
89
|
-
name: "NotAuthorizedException";
|
|
90
|
-
$fault: "client";
|
|
87
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
88
|
+
readonly name: "NotAuthorizedException";
|
|
89
|
+
readonly $fault: "client";
|
|
91
90
|
/**
|
|
92
|
-
*
|
|
93
|
-
* NotAuthorizedException.
|
|
91
|
+
* @internal
|
|
94
92
|
*/
|
|
95
|
-
|
|
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
|
|
102
|
-
name: "ResourceNotFoundException";
|
|
103
|
-
$fault: "client";
|
|
99
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
readonly name: "ResourceNotFoundException";
|
|
101
|
+
readonly $fault: "client";
|
|
104
102
|
/**
|
|
105
|
-
*
|
|
106
|
-
* ResourceNotFoundException.
|
|
103
|
+
* @internal
|
|
107
104
|
*/
|
|
108
|
-
|
|
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
|
|
215
|
-
name: "ResourceConflictException";
|
|
216
|
-
$fault: "client";
|
|
211
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
212
|
+
readonly name: "ResourceConflictException";
|
|
213
|
+
readonly $fault: "client";
|
|
217
214
|
/**
|
|
218
|
-
*
|
|
219
|
-
* ResourceConflictException.
|
|
215
|
+
* @internal
|
|
220
216
|
*/
|
|
221
|
-
|
|
217
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
222
218
|
}
|
|
223
219
|
/**
|
|
224
220
|
* Thrown if the request is
|
|
225
221
|
* throttled.
|
|
226
222
|
*/
|
|
227
|
-
export
|
|
228
|
-
name: "TooManyRequestsException";
|
|
229
|
-
$fault: "client";
|
|
223
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
224
|
+
readonly name: "TooManyRequestsException";
|
|
225
|
+
readonly $fault: "client";
|
|
230
226
|
/**
|
|
231
|
-
*
|
|
232
|
-
* TooManyRequestsException.
|
|
227
|
+
* @internal
|
|
233
228
|
*/
|
|
234
|
-
|
|
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
|
|
865
|
-
name: "InvalidConfigurationException";
|
|
866
|
-
$fault: "client";
|
|
859
|
+
export declare class InvalidConfigurationException extends __BaseException {
|
|
860
|
+
readonly name: "InvalidConfigurationException";
|
|
861
|
+
readonly $fault: "client";
|
|
867
862
|
/**
|
|
868
|
-
*
|
|
869
|
-
* InvalidConfigurationException.
|
|
863
|
+
* @internal
|
|
870
864
|
*/
|
|
871
|
-
|
|
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
|
|
942
|
-
name: "ConcurrentModificationException";
|
|
943
|
-
$fault: "client";
|
|
935
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
936
|
+
readonly name: "ConcurrentModificationException";
|
|
937
|
+
readonly $fault: "client";
|
|
944
938
|
/**
|
|
945
|
-
*
|
|
939
|
+
* @internal
|
|
946
940
|
*/
|
|
947
|
-
|
|
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
|
|
1079
|
-
name: "InvalidLambdaFunctionOutputException";
|
|
1080
|
-
$fault: "client";
|
|
1072
|
+
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
1073
|
+
readonly name: "InvalidLambdaFunctionOutputException";
|
|
1074
|
+
readonly $fault: "client";
|
|
1081
1075
|
/**
|
|
1082
|
-
*
|
|
1076
|
+
* @internal
|
|
1083
1077
|
*/
|
|
1084
|
-
|
|
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
|
|
1090
|
-
name: "LambdaThrottledException";
|
|
1091
|
-
$fault: "client";
|
|
1083
|
+
export declare class LambdaThrottledException extends __BaseException {
|
|
1084
|
+
readonly name: "LambdaThrottledException";
|
|
1085
|
+
readonly $fault: "client";
|
|
1092
1086
|
/**
|
|
1093
|
-
*
|
|
1087
|
+
* @internal
|
|
1094
1088
|
*/
|
|
1095
|
-
|
|
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
|
|
1102
|
-
name: "LimitExceededException";
|
|
1103
|
-
$fault: "client";
|
|
1095
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1096
|
+
readonly name: "LimitExceededException";
|
|
1097
|
+
readonly $fault: "client";
|
|
1104
1098
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
* LimitExceededException.
|
|
1099
|
+
* @internal
|
|
1107
1100
|
*/
|
|
1108
|
-
|
|
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: (
|
|
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: (
|
|
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: (
|
|
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?:
|
|
36
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
37
37
|
|
|
38
38
|
streamCollector?: __StreamCollector;
|
|
39
39
|
|
|
@@ -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 {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AlreadyStreamedException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class AlreadyStreamedException extends __BaseException {
|
|
5
|
+
readonly name: "AlreadyStreamedException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
|
|
7
|
-
|
|
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
|
|
29
|
-
name: "DuplicateRequestException";
|
|
30
|
-
$fault: "client";
|
|
29
|
+
export declare class DuplicateRequestException extends __BaseException {
|
|
30
|
+
readonly name: "DuplicateRequestException";
|
|
31
|
+
readonly $fault: "client";
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
export
|
|
36
|
-
name: "InternalErrorException";
|
|
37
|
-
$fault: "server";
|
|
36
|
+
export declare class InternalErrorException extends __BaseException {
|
|
37
|
+
readonly name: "InternalErrorException";
|
|
38
|
+
readonly $fault: "server";
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
export
|
|
43
|
-
name: "InvalidParameterException";
|
|
44
|
-
$fault: "client";
|
|
43
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
44
|
+
readonly name: "InvalidParameterException";
|
|
45
|
+
readonly $fault: "client";
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
export
|
|
50
|
-
name: "NotAuthorizedException";
|
|
51
|
-
$fault: "client";
|
|
50
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
51
|
+
readonly name: "NotAuthorizedException";
|
|
52
|
+
readonly $fault: "client";
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
export
|
|
57
|
-
name: "ResourceNotFoundException";
|
|
58
|
-
$fault: "client";
|
|
57
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
|
+
readonly name: "ResourceNotFoundException";
|
|
59
|
+
readonly $fault: "client";
|
|
59
60
|
|
|
60
|
-
|
|
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
|
|
107
|
-
name: "ResourceConflictException";
|
|
108
|
-
$fault: "client";
|
|
107
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
108
|
+
readonly name: "ResourceConflictException";
|
|
109
|
+
readonly $fault: "client";
|
|
109
110
|
|
|
110
|
-
|
|
111
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
|
-
export
|
|
114
|
-
name: "TooManyRequestsException";
|
|
115
|
-
$fault: "client";
|
|
114
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
115
|
+
readonly name: "TooManyRequestsException";
|
|
116
|
+
readonly $fault: "client";
|
|
116
117
|
|
|
117
|
-
|
|
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
|
|
430
|
-
name: "InvalidConfigurationException";
|
|
431
|
-
$fault: "client";
|
|
430
|
+
export declare class InvalidConfigurationException extends __BaseException {
|
|
431
|
+
readonly name: "InvalidConfigurationException";
|
|
432
|
+
readonly $fault: "client";
|
|
432
433
|
|
|
433
|
-
|
|
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
|
|
475
|
-
name: "ConcurrentModificationException";
|
|
476
|
-
$fault: "client";
|
|
475
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
476
|
+
readonly name: "ConcurrentModificationException";
|
|
477
|
+
readonly $fault: "client";
|
|
477
478
|
|
|
478
|
-
|
|
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
|
|
552
|
-
name: "InvalidLambdaFunctionOutputException";
|
|
553
|
-
$fault: "client";
|
|
552
|
+
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
553
|
+
readonly name: "InvalidLambdaFunctionOutputException";
|
|
554
|
+
readonly $fault: "client";
|
|
554
555
|
|
|
555
|
-
|
|
556
|
+
constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
|
|
556
557
|
}
|
|
557
558
|
|
|
558
|
-
export
|
|
559
|
-
name: "LambdaThrottledException";
|
|
560
|
-
$fault: "client";
|
|
559
|
+
export declare class LambdaThrottledException extends __BaseException {
|
|
560
|
+
readonly name: "LambdaThrottledException";
|
|
561
|
+
readonly $fault: "client";
|
|
561
562
|
|
|
562
|
-
|
|
563
|
+
constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
|
|
563
564
|
}
|
|
564
565
|
|
|
565
|
-
export
|
|
566
|
-
name: "LimitExceededException";
|
|
567
|
-
$fault: "client";
|
|
566
|
+
export declare class LimitExceededException extends __BaseException {
|
|
567
|
+
readonly name: "LimitExceededException";
|
|
568
|
+
readonly $fault: "client";
|
|
568
569
|
|
|
569
|
-
|
|
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: (
|
|
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: (
|
|
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: (
|
|
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.
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
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.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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"
|