@aws-sdk/client-cognito-identity 3.1148.0 → 3.1150.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
@@ -94,7 +94,7 @@ const commonParams = {
94
94
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
95
95
  };
96
96
 
97
- var version = "3.1147.0";
97
+ var version = "3.1149.0";
98
98
  var packageInfo = {
99
99
  version: version};
100
100
 
@@ -172,6 +172,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
172
172
  customEndpointFunctions.aws = awsEndpointFunctions;
173
173
 
174
174
  class CognitoIdentityServiceException extends ServiceException {
175
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity#CognitoIdentityServiceException";
175
176
  constructor(options) {
176
177
  super(options);
177
178
  Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
@@ -179,6 +180,7 @@ class CognitoIdentityServiceException extends ServiceException {
179
180
  }
180
181
 
181
182
  class InternalErrorException extends CognitoIdentityServiceException {
183
+ static shapeId = "com.amazonaws.cognitoidentity#InternalErrorException";
182
184
  name = "InternalErrorException";
183
185
  $fault = "server";
184
186
  constructor(opts) {
@@ -191,6 +193,7 @@ class InternalErrorException extends CognitoIdentityServiceException {
191
193
  }
192
194
  }
193
195
  class InvalidParameterException extends CognitoIdentityServiceException {
196
+ static shapeId = "com.amazonaws.cognitoidentity#InvalidParameterException";
194
197
  name = "InvalidParameterException";
195
198
  $fault = "client";
196
199
  constructor(opts) {
@@ -203,6 +206,7 @@ class InvalidParameterException extends CognitoIdentityServiceException {
203
206
  }
204
207
  }
205
208
  class LimitExceededException extends CognitoIdentityServiceException {
209
+ static shapeId = "com.amazonaws.cognitoidentity#LimitExceededException";
206
210
  name = "LimitExceededException";
207
211
  $fault = "client";
208
212
  constructor(opts) {
@@ -215,6 +219,7 @@ class LimitExceededException extends CognitoIdentityServiceException {
215
219
  }
216
220
  }
217
221
  class NotAuthorizedException extends CognitoIdentityServiceException {
222
+ static shapeId = "com.amazonaws.cognitoidentity#NotAuthorizedException";
218
223
  name = "NotAuthorizedException";
219
224
  $fault = "client";
220
225
  constructor(opts) {
@@ -227,6 +232,7 @@ class NotAuthorizedException extends CognitoIdentityServiceException {
227
232
  }
228
233
  }
229
234
  class ResourceConflictException extends CognitoIdentityServiceException {
235
+ static shapeId = "com.amazonaws.cognitoidentity#ResourceConflictException";
230
236
  name = "ResourceConflictException";
231
237
  $fault = "client";
232
238
  constructor(opts) {
@@ -239,6 +245,7 @@ class ResourceConflictException extends CognitoIdentityServiceException {
239
245
  }
240
246
  }
241
247
  class TooManyRequestsException extends CognitoIdentityServiceException {
248
+ static shapeId = "com.amazonaws.cognitoidentity#TooManyRequestsException";
242
249
  name = "TooManyRequestsException";
243
250
  $fault = "client";
244
251
  constructor(opts) {
@@ -251,6 +258,7 @@ class TooManyRequestsException extends CognitoIdentityServiceException {
251
258
  }
252
259
  }
253
260
  class ResourceNotFoundException extends CognitoIdentityServiceException {
261
+ static shapeId = "com.amazonaws.cognitoidentity#ResourceNotFoundException";
254
262
  name = "ResourceNotFoundException";
255
263
  $fault = "client";
256
264
  constructor(opts) {
@@ -263,6 +271,7 @@ class ResourceNotFoundException extends CognitoIdentityServiceException {
263
271
  }
264
272
  }
265
273
  class ExternalServiceException extends CognitoIdentityServiceException {
274
+ static shapeId = "com.amazonaws.cognitoidentity#ExternalServiceException";
266
275
  name = "ExternalServiceException";
267
276
  $fault = "client";
268
277
  constructor(opts) {
@@ -275,6 +284,7 @@ class ExternalServiceException extends CognitoIdentityServiceException {
275
284
  }
276
285
  }
277
286
  class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException {
287
+ static shapeId = "com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException";
278
288
  name = "InvalidIdentityPoolConfigurationException";
279
289
  $fault = "client";
280
290
  constructor(opts) {
@@ -287,6 +297,7 @@ class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceEx
287
297
  }
288
298
  }
289
299
  class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException {
300
+ static shapeId = "com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException";
290
301
  name = "DeveloperUserAlreadyRegisteredException";
291
302
  $fault = "client";
292
303
  constructor(opts) {
@@ -299,6 +310,7 @@ class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceExce
299
310
  }
300
311
  }
301
312
  class ConcurrentModificationException extends CognitoIdentityServiceException {
313
+ static shapeId = "com.amazonaws.cognitoidentity#ConcurrentModificationException";
302
314
  name = "ConcurrentModificationException";
303
315
  $fault = "client";
304
316
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class CognitoIdentityServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity#CognitoIdentityServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
2
2
  export class InternalErrorException extends __BaseException {
3
+ static shapeId = "com.amazonaws.cognitoidentity#InternalErrorException";
3
4
  name = "InternalErrorException";
4
5
  $fault = "server";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class InternalErrorException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InvalidParameterException extends __BaseException {
16
+ static shapeId = "com.amazonaws.cognitoidentity#InvalidParameterException";
15
17
  name = "InvalidParameterException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InvalidParameterException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class LimitExceededException extends __BaseException {
29
+ static shapeId = "com.amazonaws.cognitoidentity#LimitExceededException";
27
30
  name = "LimitExceededException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class LimitExceededException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class NotAuthorizedException extends __BaseException {
42
+ static shapeId = "com.amazonaws.cognitoidentity#NotAuthorizedException";
39
43
  name = "NotAuthorizedException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class NotAuthorizedException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class ResourceConflictException extends __BaseException {
55
+ static shapeId = "com.amazonaws.cognitoidentity#ResourceConflictException";
51
56
  name = "ResourceConflictException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class ResourceConflictException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class TooManyRequestsException extends __BaseException {
68
+ static shapeId = "com.amazonaws.cognitoidentity#TooManyRequestsException";
63
69
  name = "TooManyRequestsException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class TooManyRequestsException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class ResourceNotFoundException extends __BaseException {
81
+ static shapeId = "com.amazonaws.cognitoidentity#ResourceNotFoundException";
75
82
  name = "ResourceNotFoundException";
76
83
  $fault = "client";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class ResourceNotFoundException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class ExternalServiceException extends __BaseException {
94
+ static shapeId = "com.amazonaws.cognitoidentity#ExternalServiceException";
87
95
  name = "ExternalServiceException";
88
96
  $fault = "client";
89
97
  constructor(opts) {
@@ -96,6 +104,7 @@ export class ExternalServiceException extends __BaseException {
96
104
  }
97
105
  }
98
106
  export class InvalidIdentityPoolConfigurationException extends __BaseException {
107
+ static shapeId = "com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException";
99
108
  name = "InvalidIdentityPoolConfigurationException";
100
109
  $fault = "client";
101
110
  constructor(opts) {
@@ -108,6 +117,7 @@ export class InvalidIdentityPoolConfigurationException extends __BaseException {
108
117
  }
109
118
  }
110
119
  export class DeveloperUserAlreadyRegisteredException extends __BaseException {
120
+ static shapeId = "com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException";
111
121
  name = "DeveloperUserAlreadyRegisteredException";
112
122
  $fault = "client";
113
123
  constructor(opts) {
@@ -120,6 +130,7 @@ export class DeveloperUserAlreadyRegisteredException extends __BaseException {
120
130
  }
121
131
  }
122
132
  export class ConcurrentModificationException extends __BaseException {
133
+ static shapeId = "com.amazonaws.cognitoidentity#ConcurrentModificationException";
123
134
  name = "ConcurrentModificationException";
124
135
  $fault = "client";
125
136
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from CognitoIdentity service.
8
8
  */
9
9
  export declare class CognitoIdentityServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { CognitoIdentityServiceException as __BaseException } from "./CognitoIde
5
5
  * @public
6
6
  */
7
7
  export declare class InternalErrorException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "InternalErrorException";
9
10
  readonly $fault: "server";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class InternalErrorException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class InvalidParameterException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "InvalidParameterException";
21
23
  readonly $fault: "client";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class InvalidParameterException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class LimitExceededException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "LimitExceededException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -41,6 +44,7 @@ export declare class LimitExceededException extends __BaseException {
41
44
  * @public
42
45
  */
43
46
  export declare class NotAuthorizedException extends __BaseException {
47
+ static readonly shapeId: string;
44
48
  readonly name: "NotAuthorizedException";
45
49
  readonly $fault: "client";
46
50
  /**
@@ -54,6 +58,7 @@ export declare class NotAuthorizedException extends __BaseException {
54
58
  * @public
55
59
  */
56
60
  export declare class ResourceConflictException extends __BaseException {
61
+ static readonly shapeId: string;
57
62
  readonly name: "ResourceConflictException";
58
63
  readonly $fault: "client";
59
64
  /**
@@ -66,6 +71,7 @@ export declare class ResourceConflictException extends __BaseException {
66
71
  * @public
67
72
  */
68
73
  export declare class TooManyRequestsException extends __BaseException {
74
+ static readonly shapeId: string;
69
75
  readonly name: "TooManyRequestsException";
70
76
  readonly $fault: "client";
71
77
  /**
@@ -79,6 +85,7 @@ export declare class TooManyRequestsException extends __BaseException {
79
85
  * @public
80
86
  */
81
87
  export declare class ResourceNotFoundException extends __BaseException {
88
+ static readonly shapeId: string;
82
89
  readonly name: "ResourceNotFoundException";
83
90
  readonly $fault: "client";
84
91
  /**
@@ -92,6 +99,7 @@ export declare class ResourceNotFoundException extends __BaseException {
92
99
  * @public
93
100
  */
94
101
  export declare class ExternalServiceException extends __BaseException {
102
+ static readonly shapeId: string;
95
103
  readonly name: "ExternalServiceException";
96
104
  readonly $fault: "client";
97
105
  /**
@@ -110,6 +118,7 @@ export declare class ExternalServiceException extends __BaseException {
110
118
  * @public
111
119
  */
112
120
  export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
121
+ static readonly shapeId: string;
113
122
  readonly name: "InvalidIdentityPoolConfigurationException";
114
123
  readonly $fault: "client";
115
124
  /**
@@ -123,6 +132,7 @@ export declare class InvalidIdentityPoolConfigurationException extends __BaseExc
123
132
  * @public
124
133
  */
125
134
  export declare class DeveloperUserAlreadyRegisteredException extends __BaseException {
135
+ static readonly shapeId: string;
126
136
  readonly name: "DeveloperUserAlreadyRegisteredException";
127
137
  readonly $fault: "client";
128
138
  /**
@@ -135,6 +145,7 @@ export declare class DeveloperUserAlreadyRegisteredException extends __BaseExcep
135
145
  * @public
136
146
  */
137
147
  export declare class ConcurrentModificationException extends __BaseException {
148
+ static readonly shapeId: string;
138
149
  readonly name: "ConcurrentModificationException";
139
150
  readonly $fault: "client";
140
151
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class CognitoIdentityServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,46 +1,55 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
3
3
  export declare class InternalErrorException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "InternalErrorException";
5
6
  readonly $fault: "server";
6
7
  constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
7
8
  }
8
9
  export declare class InvalidParameterException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "InvalidParameterException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
12
14
  }
13
15
  export declare class LimitExceededException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "LimitExceededException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
17
20
  }
18
21
  export declare class NotAuthorizedException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "NotAuthorizedException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
22
26
  }
23
27
  export declare class ResourceConflictException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "ResourceConflictException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
27
32
  }
28
33
  export declare class TooManyRequestsException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "TooManyRequestsException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
32
38
  }
33
39
  export declare class ResourceNotFoundException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "ResourceNotFoundException";
35
42
  readonly $fault: "client";
36
43
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
37
44
  }
38
45
  export declare class ExternalServiceException extends __BaseException {
46
+ static readonly shapeId: string;
39
47
  readonly name: "ExternalServiceException";
40
48
  readonly $fault: "client";
41
49
  constructor(opts: __ExceptionOptionType<ExternalServiceException, __BaseException>);
42
50
  }
43
51
  export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
52
+ static readonly shapeId: string;
44
53
  readonly name: "InvalidIdentityPoolConfigurationException";
45
54
  readonly $fault: "client";
46
55
  constructor(
@@ -48,6 +57,7 @@ export declare class InvalidIdentityPoolConfigurationException extends __BaseExc
48
57
  );
49
58
  }
50
59
  export declare class DeveloperUserAlreadyRegisteredException extends __BaseException {
60
+ static readonly shapeId: string;
51
61
  readonly name: "DeveloperUserAlreadyRegisteredException";
52
62
  readonly $fault: "client";
53
63
  constructor(
@@ -55,6 +65,7 @@ export declare class DeveloperUserAlreadyRegisteredException extends __BaseExcep
55
65
  );
56
66
  }
57
67
  export declare class ConcurrentModificationException extends __BaseException {
68
+ static readonly shapeId: string;
58
69
  readonly name: "ConcurrentModificationException";
59
70
  readonly $fault: "client";
60
71
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",
6
6
  "license": "Apache-2.0",
@@ -52,17 +52,17 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.1",
56
- "@aws-sdk/credential-provider-node": "^3.972.84",
55
+ "@aws-sdk/core": "^3.978.3",
56
+ "@aws-sdk/credential-provider-node": "^3.972.86",
57
57
  "@aws-sdk/types": "^3.974.6",
58
- "@smithy/core": "^3.35.0",
58
+ "@smithy/core": "^3.35.2",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
60
  "@smithy/node-http-handler": "^4.12.1",
61
61
  "@smithy/types": "^4.19.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/client-iam": "3.1148.0",
65
+ "@aws-sdk/client-iam": "3.1150.0",
66
66
  "@smithy/snapshot-testing": "^2.3.2",
67
67
  "@tsconfig/node20": "20.1.8",
68
68
  "@types/chai": "^4.2.11",