@aws-sdk/client-chime-sdk-identity 3.934.0 → 3.935.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.
@@ -0,0 +1,130 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
+ import { ErrorCode } from "./enums";
4
+ /**
5
+ * <p>The input parameters don't match the service's restrictions.</p>
6
+ * @public
7
+ */
8
+ export declare class BadRequestException extends __BaseException {
9
+ readonly name: "BadRequestException";
10
+ readonly $fault: "client";
11
+ Code?: ErrorCode | undefined;
12
+ Message?: string | undefined;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
17
+ }
18
+ /**
19
+ * <p>The request could not be processed because of conflict in the current state of the
20
+ * resource.</p>
21
+ * @public
22
+ */
23
+ export declare class ConflictException extends __BaseException {
24
+ readonly name: "ConflictException";
25
+ readonly $fault: "client";
26
+ Code?: ErrorCode | undefined;
27
+ Message?: string | undefined;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
+ }
33
+ /**
34
+ * <p>The client is permanently forbidden from making the request.</p>
35
+ * @public
36
+ */
37
+ export declare class ForbiddenException extends __BaseException {
38
+ readonly name: "ForbiddenException";
39
+ readonly $fault: "client";
40
+ Code?: ErrorCode | undefined;
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>The request exceeds the resource limit.</p>
49
+ * @public
50
+ */
51
+ export declare class ResourceLimitExceededException extends __BaseException {
52
+ readonly name: "ResourceLimitExceededException";
53
+ readonly $fault: "client";
54
+ Code?: ErrorCode | undefined;
55
+ Message?: string | undefined;
56
+ /**
57
+ * @internal
58
+ */
59
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
60
+ }
61
+ /**
62
+ * <p>The service encountered an unexpected error.</p>
63
+ * @public
64
+ */
65
+ export declare class ServiceFailureException extends __BaseException {
66
+ readonly name: "ServiceFailureException";
67
+ readonly $fault: "server";
68
+ Code?: ErrorCode | undefined;
69
+ Message?: string | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The service is currently unavailable.</p>
77
+ * @public
78
+ */
79
+ export declare class ServiceUnavailableException extends __BaseException {
80
+ readonly name: "ServiceUnavailableException";
81
+ readonly $fault: "server";
82
+ Code?: ErrorCode | undefined;
83
+ Message?: string | undefined;
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
88
+ }
89
+ /**
90
+ * <p>The client exceeded its request rate limit.</p>
91
+ * @public
92
+ */
93
+ export declare class ThrottledClientException extends __BaseException {
94
+ readonly name: "ThrottledClientException";
95
+ readonly $fault: "client";
96
+ Code?: ErrorCode | undefined;
97
+ Message?: string | undefined;
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
102
+ }
103
+ /**
104
+ * <p>The client is not currently authorized to make the request.</p>
105
+ * @public
106
+ */
107
+ export declare class UnauthorizedClientException extends __BaseException {
108
+ readonly name: "UnauthorizedClientException";
109
+ readonly $fault: "client";
110
+ Code?: ErrorCode | undefined;
111
+ Message?: string | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p>One or more of the resources in the request does not exist in the system.</p>
119
+ * @public
120
+ */
121
+ export declare class NotFoundException extends __BaseException {
122
+ readonly name: "NotFoundException";
123
+ readonly $fault: "client";
124
+ Code?: ErrorCode | undefined;
125
+ Message?: string | undefined;
126
+ /**
127
+ * @internal
128
+ */
129
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
130
+ }
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const AllowMessages: {
8
- readonly ALL: "ALL";
9
- readonly NONE: "NONE";
10
- };
11
- /**
12
- * @public
13
- */
14
- export type AllowMessages = (typeof AllowMessages)[keyof typeof AllowMessages];
1
+ import { AllowMessages, AppInstanceUserEndpointType, EndpointStatus, EndpointStatusReason, ExpirationCriterion, RespondsTo, StandardMessages, TargetedMessages } from "./enums";
15
2
  /**
16
3
  * <p>The details of an <code>AppInstance</code>, an instance of an Amazon Chime SDK messaging
17
4
  * application.</p>
@@ -92,32 +79,6 @@ export interface AppInstanceAdminSummary {
92
79
  */
93
80
  Admin?: Identity | undefined;
94
81
  }
95
- /**
96
- * @public
97
- * @enum
98
- */
99
- export declare const StandardMessages: {
100
- readonly ALL: "ALL";
101
- readonly AUTO: "AUTO";
102
- readonly MENTIONS: "MENTIONS";
103
- readonly NONE: "NONE";
104
- };
105
- /**
106
- * @public
107
- */
108
- export type StandardMessages = (typeof StandardMessages)[keyof typeof StandardMessages];
109
- /**
110
- * @public
111
- * @enum
112
- */
113
- export declare const TargetedMessages: {
114
- readonly ALL: "ALL";
115
- readonly NONE: "NONE";
116
- };
117
- /**
118
- * @public
119
- */
120
- export type TargetedMessages = (typeof TargetedMessages)[keyof typeof TargetedMessages];
121
82
  /**
122
83
  * <p>Specifies the type of message that triggers a bot.</p>
123
84
  * @public
@@ -165,17 +126,6 @@ export interface InvokedBy {
165
126
  */
166
127
  TargetedMessages: TargetedMessages | undefined;
167
128
  }
168
- /**
169
- * @public
170
- * @enum
171
- */
172
- export declare const RespondsTo: {
173
- readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
174
- };
175
- /**
176
- * @public
177
- */
178
- export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
179
129
  /**
180
130
  * <p>The configuration for an Amazon Lex V2 bot.</p>
181
131
  * @public
@@ -326,17 +276,6 @@ export interface AppInstanceRetentionSettings {
326
276
  */
327
277
  ChannelRetentionSettings?: ChannelRetentionSettings | undefined;
328
278
  }
329
- /**
330
- * @public
331
- * @enum
332
- */
333
- export declare const ExpirationCriterion: {
334
- readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
335
- };
336
- /**
337
- * @public
338
- */
339
- export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
340
279
  /**
341
280
  * <p>Determines the interval after which an <code>AppInstanceUser</code> is automatically deleted.</p>
342
281
  * @public
@@ -405,30 +344,6 @@ export interface EndpointAttributes {
405
344
  */
406
345
  VoipDeviceToken?: string | undefined;
407
346
  }
408
- /**
409
- * @public
410
- * @enum
411
- */
412
- export declare const EndpointStatus: {
413
- readonly ACTIVE: "ACTIVE";
414
- readonly INACTIVE: "INACTIVE";
415
- };
416
- /**
417
- * @public
418
- */
419
- export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
420
- /**
421
- * @public
422
- * @enum
423
- */
424
- export declare const EndpointStatusReason: {
425
- readonly INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN";
426
- readonly INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN";
427
- };
428
- /**
429
- * @public
430
- */
431
- export type EndpointStatusReason = (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
432
347
  /**
433
348
  * <p>A read-only field that represents the state of an <code>AppInstanceUserEndpoint</code>. Supported values:</p>
434
349
  * <ul>
@@ -465,19 +380,6 @@ export interface EndpointState {
465
380
  */
466
381
  StatusReason?: EndpointStatusReason | undefined;
467
382
  }
468
- /**
469
- * @public
470
- * @enum
471
- */
472
- export declare const AppInstanceUserEndpointType: {
473
- readonly APNS: "APNS";
474
- readonly APNS_SANDBOX: "APNS_SANDBOX";
475
- readonly GCM: "GCM";
476
- };
477
- /**
478
- * @public
479
- */
480
- export type AppInstanceUserEndpointType = (typeof AppInstanceUserEndpointType)[keyof typeof AppInstanceUserEndpointType];
481
383
  /**
482
384
  * <p>An endpoint under an Amazon Chime <code>AppInstanceUser</code> that receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.</p>
483
385
  * @public
@@ -613,60 +515,6 @@ export interface AppInstanceUserSummary {
613
515
  */
614
516
  Metadata?: string | undefined;
615
517
  }
616
- /**
617
- * @public
618
- * @enum
619
- */
620
- export declare const ErrorCode: {
621
- readonly AccessDenied: "AccessDenied";
622
- readonly BadRequest: "BadRequest";
623
- readonly Conflict: "Conflict";
624
- readonly Forbidden: "Forbidden";
625
- readonly NotFound: "NotFound";
626
- readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
627
- readonly PreconditionFailed: "PreconditionFailed";
628
- readonly ResourceLimitExceeded: "ResourceLimitExceeded";
629
- readonly ServiceFailure: "ServiceFailure";
630
- readonly ServiceUnavailable: "ServiceUnavailable";
631
- readonly Throttled: "Throttled";
632
- readonly Throttling: "Throttling";
633
- readonly Unauthorized: "Unauthorized";
634
- readonly Unprocessable: "Unprocessable";
635
- readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
636
- };
637
- /**
638
- * @public
639
- */
640
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
641
- /**
642
- * <p>The input parameters don't match the service's restrictions.</p>
643
- * @public
644
- */
645
- export declare class BadRequestException extends __BaseException {
646
- readonly name: "BadRequestException";
647
- readonly $fault: "client";
648
- Code?: ErrorCode | undefined;
649
- Message?: string | undefined;
650
- /**
651
- * @internal
652
- */
653
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
654
- }
655
- /**
656
- * <p>The request could not be processed because of conflict in the current state of the
657
- * resource.</p>
658
- * @public
659
- */
660
- export declare class ConflictException extends __BaseException {
661
- readonly name: "ConflictException";
662
- readonly $fault: "client";
663
- Code?: ErrorCode | undefined;
664
- Message?: string | undefined;
665
- /**
666
- * @internal
667
- */
668
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
669
- }
670
518
  /**
671
519
  * <p>A tag object containing a key-value pair.</p>
672
520
  * @public
@@ -718,90 +566,6 @@ export interface CreateAppInstanceResponse {
718
566
  */
719
567
  AppInstanceArn?: string | undefined;
720
568
  }
721
- /**
722
- * <p>The client is permanently forbidden from making the request.</p>
723
- * @public
724
- */
725
- export declare class ForbiddenException extends __BaseException {
726
- readonly name: "ForbiddenException";
727
- readonly $fault: "client";
728
- Code?: ErrorCode | undefined;
729
- Message?: string | undefined;
730
- /**
731
- * @internal
732
- */
733
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
734
- }
735
- /**
736
- * <p>The request exceeds the resource limit.</p>
737
- * @public
738
- */
739
- export declare class ResourceLimitExceededException extends __BaseException {
740
- readonly name: "ResourceLimitExceededException";
741
- readonly $fault: "client";
742
- Code?: ErrorCode | undefined;
743
- Message?: string | undefined;
744
- /**
745
- * @internal
746
- */
747
- constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
748
- }
749
- /**
750
- * <p>The service encountered an unexpected error.</p>
751
- * @public
752
- */
753
- export declare class ServiceFailureException extends __BaseException {
754
- readonly name: "ServiceFailureException";
755
- readonly $fault: "server";
756
- Code?: ErrorCode | undefined;
757
- Message?: string | undefined;
758
- /**
759
- * @internal
760
- */
761
- constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
762
- }
763
- /**
764
- * <p>The service is currently unavailable.</p>
765
- * @public
766
- */
767
- export declare class ServiceUnavailableException extends __BaseException {
768
- readonly name: "ServiceUnavailableException";
769
- readonly $fault: "server";
770
- Code?: ErrorCode | undefined;
771
- Message?: string | undefined;
772
- /**
773
- * @internal
774
- */
775
- constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
776
- }
777
- /**
778
- * <p>The client exceeded its request rate limit.</p>
779
- * @public
780
- */
781
- export declare class ThrottledClientException extends __BaseException {
782
- readonly name: "ThrottledClientException";
783
- readonly $fault: "client";
784
- Code?: ErrorCode | undefined;
785
- Message?: string | undefined;
786
- /**
787
- * @internal
788
- */
789
- constructor(opts: __ExceptionOptionType<ThrottledClientException, __BaseException>);
790
- }
791
- /**
792
- * <p>The client is not currently authorized to make the request.</p>
793
- * @public
794
- */
795
- export declare class UnauthorizedClientException extends __BaseException {
796
- readonly name: "UnauthorizedClientException";
797
- readonly $fault: "client";
798
- Code?: ErrorCode | undefined;
799
- Message?: string | undefined;
800
- /**
801
- * @internal
802
- */
803
- constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
804
- }
805
569
  /**
806
570
  * @public
807
571
  */
@@ -1056,20 +820,6 @@ export interface DescribeAppInstanceBotResponse {
1056
820
  */
1057
821
  AppInstanceBot?: AppInstanceBot | undefined;
1058
822
  }
1059
- /**
1060
- * <p>One or more of the resources in the request does not exist in the system.</p>
1061
- * @public
1062
- */
1063
- export declare class NotFoundException extends __BaseException {
1064
- readonly name: "NotFoundException";
1065
- readonly $fault: "client";
1066
- Code?: ErrorCode | undefined;
1067
- Message?: string | undefined;
1068
- /**
1069
- * @internal
1070
- */
1071
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1072
- }
1073
823
  /**
1074
824
  * @public
1075
825
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ChimeSDKIdentityExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ChimeSDKIdentityServiceException } from "./models/ChimeSDKIdentityServiceException";
@@ -0,0 +1,65 @@
1
+ export declare const AllowMessages: {
2
+ readonly ALL: "ALL";
3
+ readonly NONE: "NONE";
4
+ };
5
+ export type AllowMessages = (typeof AllowMessages)[keyof typeof AllowMessages];
6
+ export declare const StandardMessages: {
7
+ readonly ALL: "ALL";
8
+ readonly AUTO: "AUTO";
9
+ readonly MENTIONS: "MENTIONS";
10
+ readonly NONE: "NONE";
11
+ };
12
+ export type StandardMessages =
13
+ (typeof StandardMessages)[keyof typeof StandardMessages];
14
+ export declare const TargetedMessages: {
15
+ readonly ALL: "ALL";
16
+ readonly NONE: "NONE";
17
+ };
18
+ export type TargetedMessages =
19
+ (typeof TargetedMessages)[keyof typeof TargetedMessages];
20
+ export declare const RespondsTo: {
21
+ readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
22
+ };
23
+ export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
24
+ export declare const ExpirationCriterion: {
25
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
26
+ };
27
+ export type ExpirationCriterion =
28
+ (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
29
+ export declare const EndpointStatus: {
30
+ readonly ACTIVE: "ACTIVE";
31
+ readonly INACTIVE: "INACTIVE";
32
+ };
33
+ export type EndpointStatus =
34
+ (typeof EndpointStatus)[keyof typeof EndpointStatus];
35
+ export declare const EndpointStatusReason: {
36
+ readonly INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN";
37
+ readonly INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN";
38
+ };
39
+ export type EndpointStatusReason =
40
+ (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
41
+ export declare const AppInstanceUserEndpointType: {
42
+ readonly APNS: "APNS";
43
+ readonly APNS_SANDBOX: "APNS_SANDBOX";
44
+ readonly GCM: "GCM";
45
+ };
46
+ export type AppInstanceUserEndpointType =
47
+ (typeof AppInstanceUserEndpointType)[keyof typeof AppInstanceUserEndpointType];
48
+ export declare const ErrorCode: {
49
+ readonly AccessDenied: "AccessDenied";
50
+ readonly BadRequest: "BadRequest";
51
+ readonly Conflict: "Conflict";
52
+ readonly Forbidden: "Forbidden";
53
+ readonly NotFound: "NotFound";
54
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
55
+ readonly PreconditionFailed: "PreconditionFailed";
56
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
57
+ readonly ServiceFailure: "ServiceFailure";
58
+ readonly ServiceUnavailable: "ServiceUnavailable";
59
+ readonly Throttled: "Throttled";
60
+ readonly Throttling: "Throttling";
61
+ readonly Unauthorized: "Unauthorized";
62
+ readonly Unprocessable: "Unprocessable";
63
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
64
+ };
65
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
@@ -0,0 +1,78 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
+ import { ErrorCode } from "./enums";
4
+ export declare class BadRequestException extends __BaseException {
5
+ readonly name: "BadRequestException";
6
+ readonly $fault: "client";
7
+ Code?: ErrorCode | undefined;
8
+ Message?: string | undefined;
9
+ constructor(
10
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
11
+ );
12
+ }
13
+ export declare class ConflictException extends __BaseException {
14
+ readonly name: "ConflictException";
15
+ readonly $fault: "client";
16
+ Code?: ErrorCode | undefined;
17
+ Message?: string | undefined;
18
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
19
+ }
20
+ export declare class ForbiddenException extends __BaseException {
21
+ readonly name: "ForbiddenException";
22
+ readonly $fault: "client";
23
+ Code?: ErrorCode | undefined;
24
+ Message?: string | undefined;
25
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
26
+ }
27
+ export declare class ResourceLimitExceededException extends __BaseException {
28
+ readonly name: "ResourceLimitExceededException";
29
+ readonly $fault: "client";
30
+ Code?: ErrorCode | undefined;
31
+ Message?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ServiceFailureException extends __BaseException {
37
+ readonly name: "ServiceFailureException";
38
+ readonly $fault: "server";
39
+ Code?: ErrorCode | undefined;
40
+ Message?: string | undefined;
41
+ constructor(
42
+ opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
43
+ );
44
+ }
45
+ export declare class ServiceUnavailableException extends __BaseException {
46
+ readonly name: "ServiceUnavailableException";
47
+ readonly $fault: "server";
48
+ Code?: ErrorCode | undefined;
49
+ Message?: string | undefined;
50
+ constructor(
51
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ThrottledClientException extends __BaseException {
55
+ readonly name: "ThrottledClientException";
56
+ readonly $fault: "client";
57
+ Code?: ErrorCode | undefined;
58
+ Message?: string | undefined;
59
+ constructor(
60
+ opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
61
+ );
62
+ }
63
+ export declare class UnauthorizedClientException extends __BaseException {
64
+ readonly name: "UnauthorizedClientException";
65
+ readonly $fault: "client";
66
+ Code?: ErrorCode | undefined;
67
+ Message?: string | undefined;
68
+ constructor(
69
+ opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
70
+ );
71
+ }
72
+ export declare class NotFoundException extends __BaseException {
73
+ readonly name: "NotFoundException";
74
+ readonly $fault: "client";
75
+ Code?: ErrorCode | undefined;
76
+ Message?: string | undefined;
77
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
78
+ }