@aws-sdk/client-chime 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./ChimeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ChimeServiceException } from "./models/ChimeServiceException";
@@ -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 Chime service.
4
+ */
5
+ export declare class ChimeServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ChimeServiceException as __BaseException } from "./ChimeServiceException";
2
3
  export declare enum ErrorCode {
3
4
  AccessDenied = "AccessDenied",
4
5
  BadRequest = "BadRequest",
@@ -19,11 +20,15 @@ export declare enum ErrorCode {
19
20
  /**
20
21
  * <p>You don't have permissions to perform the requested operation.</p>
21
22
  */
22
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
23
- name: "AccessDeniedException";
24
- $fault: "client";
23
+ export declare class AccessDeniedException extends __BaseException {
24
+ readonly name: "AccessDeniedException";
25
+ readonly $fault: "client";
25
26
  Code?: ErrorCode | string;
26
27
  Message?: string;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
27
32
  }
28
33
  export declare enum AccountStatus {
29
34
  Active = "Active",
@@ -537,65 +542,93 @@ export declare namespace AssociatePhoneNumbersWithVoiceConnectorResponse {
537
542
  /**
538
543
  * <p>The input parameters don't match the service's restrictions.</p>
539
544
  */
540
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
541
- name: "BadRequestException";
542
- $fault: "client";
545
+ export declare class BadRequestException extends __BaseException {
546
+ readonly name: "BadRequestException";
547
+ readonly $fault: "client";
543
548
  Code?: ErrorCode | string;
544
549
  Message?: string;
550
+ /**
551
+ * @internal
552
+ */
553
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
545
554
  }
546
555
  /**
547
556
  * <p>The client is permanently forbidden from making the request.</p>
548
557
  */
549
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
550
- name: "ForbiddenException";
551
- $fault: "client";
558
+ export declare class ForbiddenException extends __BaseException {
559
+ readonly name: "ForbiddenException";
560
+ readonly $fault: "client";
552
561
  Code?: ErrorCode | string;
553
562
  Message?: string;
563
+ /**
564
+ * @internal
565
+ */
566
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
554
567
  }
555
568
  /**
556
569
  * <p>One or more of the resources in the request does not exist in the system.</p>
557
570
  */
558
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
559
- name: "NotFoundException";
560
- $fault: "client";
571
+ export declare class NotFoundException extends __BaseException {
572
+ readonly name: "NotFoundException";
573
+ readonly $fault: "client";
561
574
  Code?: ErrorCode | string;
562
575
  Message?: string;
576
+ /**
577
+ * @internal
578
+ */
579
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
563
580
  }
564
581
  /**
565
582
  * <p>The service encountered an unexpected error.</p>
566
583
  */
567
- export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
568
- name: "ServiceFailureException";
569
- $fault: "server";
584
+ export declare class ServiceFailureException extends __BaseException {
585
+ readonly name: "ServiceFailureException";
586
+ readonly $fault: "server";
570
587
  Code?: ErrorCode | string;
571
588
  Message?: string;
589
+ /**
590
+ * @internal
591
+ */
592
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
572
593
  }
573
594
  /**
574
595
  * <p>The service is currently unavailable.</p>
575
596
  */
576
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
577
- name: "ServiceUnavailableException";
578
- $fault: "server";
597
+ export declare class ServiceUnavailableException extends __BaseException {
598
+ readonly name: "ServiceUnavailableException";
599
+ readonly $fault: "server";
579
600
  Code?: ErrorCode | string;
580
601
  Message?: string;
602
+ /**
603
+ * @internal
604
+ */
605
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
581
606
  }
582
607
  /**
583
608
  * <p>The client exceeded its request rate limit.</p>
584
609
  */
585
- export interface ThrottledClientException extends __SmithyException, $MetadataBearer {
586
- name: "ThrottledClientException";
587
- $fault: "client";
610
+ export declare class ThrottledClientException extends __BaseException {
611
+ readonly name: "ThrottledClientException";
612
+ readonly $fault: "client";
588
613
  Code?: ErrorCode | string;
589
614
  Message?: string;
615
+ /**
616
+ * @internal
617
+ */
618
+ constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
590
619
  }
591
620
  /**
592
621
  * <p>The client is not currently authorized to make the request.</p>
593
622
  */
594
- export interface UnauthorizedClientException extends __SmithyException, $MetadataBearer {
595
- name: "UnauthorizedClientException";
596
- $fault: "client";
623
+ export declare class UnauthorizedClientException extends __BaseException {
624
+ readonly name: "UnauthorizedClientException";
625
+ readonly $fault: "client";
597
626
  Code?: ErrorCode | string;
598
627
  Message?: string;
628
+ /**
629
+ * @internal
630
+ */
631
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
599
632
  }
600
633
  export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest {
601
634
  /**
@@ -844,11 +877,15 @@ export declare namespace BatchCreateAttendeeResponse {
844
877
  /**
845
878
  * <p>The request exceeds the resource limit.</p>
846
879
  */
847
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
848
- name: "ResourceLimitExceededException";
849
- $fault: "client";
880
+ export declare class ResourceLimitExceededException extends __BaseException {
881
+ readonly name: "ResourceLimitExceededException";
882
+ readonly $fault: "client";
850
883
  Code?: ErrorCode | string;
851
884
  Message?: string;
885
+ /**
886
+ * @internal
887
+ */
888
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
852
889
  }
853
890
  export interface BatchCreateChannelMembershipRequest {
854
891
  /**
@@ -1717,11 +1754,15 @@ export declare namespace ChimeSdkMeetingConfiguration {
1717
1754
  * <p>The request could not be processed because of conflict in the current state of the
1718
1755
  * resource.</p>
1719
1756
  */
1720
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1721
- name: "ConflictException";
1722
- $fault: "client";
1757
+ export declare class ConflictException extends __BaseException {
1758
+ readonly name: "ConflictException";
1759
+ readonly $fault: "client";
1723
1760
  Code?: ErrorCode | string;
1724
1761
  Message?: string;
1762
+ /**
1763
+ * @internal
1764
+ */
1765
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1725
1766
  }
1726
1767
  /**
1727
1768
  * <p>The retention settings that determine how long to retain conversation messages for an Amazon Chime Enterprise account.</p>
@@ -3552,11 +3593,15 @@ export declare namespace DeleteAccountResponse {
3552
3593
  /**
3553
3594
  * <p>The request was well-formed but was unable to be followed due to semantic errors.</p>
3554
3595
  */
3555
- export interface UnprocessableEntityException extends __SmithyException, $MetadataBearer {
3556
- name: "UnprocessableEntityException";
3557
- $fault: "client";
3596
+ export declare class UnprocessableEntityException extends __BaseException {
3597
+ readonly name: "UnprocessableEntityException";
3598
+ readonly $fault: "client";
3558
3599
  Code?: ErrorCode | string;
3559
3600
  Message?: string;
3601
+ /**
3602
+ * @internal
3603
+ */
3604
+ constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
3560
3605
  }
3561
3606
  export interface DeleteAppInstanceRequest {
3562
3607
  /**
@@ -3,3 +3,4 @@ export * from "./ChimeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ChimeServiceException } from "./models/ChimeServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ChimeServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ChimeServiceException as __BaseException } from "./ChimeServiceException";
2
3
  export declare enum ErrorCode {
3
4
  AccessDenied = "AccessDenied",
4
5
  BadRequest = "BadRequest",
@@ -17,11 +18,13 @@ export declare enum ErrorCode {
17
18
  VoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"
18
19
  }
19
20
 
20
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
21
- name: "AccessDeniedException";
22
- $fault: "client";
21
+ export declare class AccessDeniedException extends __BaseException {
22
+ readonly name: "AccessDeniedException";
23
+ readonly $fault: "client";
23
24
  Code?: ErrorCode | string;
24
25
  Message?: string;
26
+
27
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
25
28
  }
26
29
  export declare enum AccountStatus {
27
30
  Active = "Active",
@@ -328,53 +331,67 @@ export declare namespace AssociatePhoneNumbersWithVoiceConnectorResponse {
328
331
  const filterSensitiveLog: (obj: AssociatePhoneNumbersWithVoiceConnectorResponse) => any;
329
332
  }
330
333
 
331
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
332
- name: "BadRequestException";
333
- $fault: "client";
334
+ export declare class BadRequestException extends __BaseException {
335
+ readonly name: "BadRequestException";
336
+ readonly $fault: "client";
334
337
  Code?: ErrorCode | string;
335
338
  Message?: string;
339
+
340
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
336
341
  }
337
342
 
338
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
339
- name: "ForbiddenException";
340
- $fault: "client";
343
+ export declare class ForbiddenException extends __BaseException {
344
+ readonly name: "ForbiddenException";
345
+ readonly $fault: "client";
341
346
  Code?: ErrorCode | string;
342
347
  Message?: string;
348
+
349
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
343
350
  }
344
351
 
345
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
346
- name: "NotFoundException";
347
- $fault: "client";
352
+ export declare class NotFoundException extends __BaseException {
353
+ readonly name: "NotFoundException";
354
+ readonly $fault: "client";
348
355
  Code?: ErrorCode | string;
349
356
  Message?: string;
357
+
358
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
350
359
  }
351
360
 
352
- export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
353
- name: "ServiceFailureException";
354
- $fault: "server";
361
+ export declare class ServiceFailureException extends __BaseException {
362
+ readonly name: "ServiceFailureException";
363
+ readonly $fault: "server";
355
364
  Code?: ErrorCode | string;
356
365
  Message?: string;
366
+
367
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
357
368
  }
358
369
 
359
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
360
- name: "ServiceUnavailableException";
361
- $fault: "server";
370
+ export declare class ServiceUnavailableException extends __BaseException {
371
+ readonly name: "ServiceUnavailableException";
372
+ readonly $fault: "server";
362
373
  Code?: ErrorCode | string;
363
374
  Message?: string;
375
+
376
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
364
377
  }
365
378
 
366
- export interface ThrottledClientException extends __SmithyException, $MetadataBearer {
367
- name: "ThrottledClientException";
368
- $fault: "client";
379
+ export declare class ThrottledClientException extends __BaseException {
380
+ readonly name: "ThrottledClientException";
381
+ readonly $fault: "client";
369
382
  Code?: ErrorCode | string;
370
383
  Message?: string;
384
+
385
+ constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
371
386
  }
372
387
 
373
- export interface UnauthorizedClientException extends __SmithyException, $MetadataBearer {
374
- name: "UnauthorizedClientException";
375
- $fault: "client";
388
+ export declare class UnauthorizedClientException extends __BaseException {
389
+ readonly name: "UnauthorizedClientException";
390
+ readonly $fault: "client";
376
391
  Code?: ErrorCode | string;
377
392
  Message?: string;
393
+
394
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
378
395
  }
379
396
  export interface AssociatePhoneNumbersWithVoiceConnectorGroupRequest {
380
397
 
@@ -514,11 +531,13 @@ export declare namespace BatchCreateAttendeeResponse {
514
531
  const filterSensitiveLog: (obj: BatchCreateAttendeeResponse) => any;
515
532
  }
516
533
 
517
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
518
- name: "ResourceLimitExceededException";
519
- $fault: "client";
534
+ export declare class ResourceLimitExceededException extends __BaseException {
535
+ readonly name: "ResourceLimitExceededException";
536
+ readonly $fault: "client";
520
537
  Code?: ErrorCode | string;
521
538
  Message?: string;
539
+
540
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
522
541
  }
523
542
  export interface BatchCreateChannelMembershipRequest {
524
543
 
@@ -1030,11 +1049,13 @@ export declare namespace ChimeSdkMeetingConfiguration {
1030
1049
  const filterSensitiveLog: (obj: ChimeSdkMeetingConfiguration) => any;
1031
1050
  }
1032
1051
 
1033
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1034
- name: "ConflictException";
1035
- $fault: "client";
1052
+ export declare class ConflictException extends __BaseException {
1053
+ readonly name: "ConflictException";
1054
+ readonly $fault: "client";
1036
1055
  Code?: ErrorCode | string;
1037
1056
  Message?: string;
1057
+
1058
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1038
1059
  }
1039
1060
 
1040
1061
  export interface ConversationRetentionSettings {
@@ -2048,11 +2069,13 @@ export declare namespace DeleteAccountResponse {
2048
2069
  const filterSensitiveLog: (obj: DeleteAccountResponse) => any;
2049
2070
  }
2050
2071
 
2051
- export interface UnprocessableEntityException extends __SmithyException, $MetadataBearer {
2052
- name: "UnprocessableEntityException";
2053
- $fault: "client";
2072
+ export declare class UnprocessableEntityException extends __BaseException {
2073
+ readonly name: "UnprocessableEntityException";
2074
+ readonly $fault: "client";
2054
2075
  Code?: ErrorCode | string;
2055
2076
  Message?: string;
2077
+
2078
+ constructor(opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>);
2056
2079
  }
2057
2080
  export interface DeleteAppInstanceRequest {
2058
2081
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime",
3
3
  "description": "AWS SDK for JavaScript Chime Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.0",
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.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
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",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
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",