@aws-sdk/client-chime-sdk-identity 3.428.0 → 3.430.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.
@@ -147,7 +147,7 @@ export interface InvokedBy {
147
147
  * </li>
148
148
  * </ul>
149
149
  */
150
- StandardMessages: StandardMessages | string | undefined;
150
+ StandardMessages: StandardMessages | undefined;
151
151
  /**
152
152
  * @public
153
153
  * <p>Sets targeted messages as the bot trigger. For targeted messages:</p>
@@ -163,7 +163,7 @@ export interface InvokedBy {
163
163
  * </li>
164
164
  * </ul>
165
165
  */
166
- TargetedMessages: TargetedMessages | string | undefined;
166
+ TargetedMessages: TargetedMessages | undefined;
167
167
  }
168
168
  /**
169
169
  * @public
@@ -189,7 +189,7 @@ export interface LexConfiguration {
189
189
  * </important>
190
190
  * <p>Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.</p>
191
191
  */
192
- RespondsTo?: RespondsTo | string;
192
+ RespondsTo?: RespondsTo;
193
193
  /**
194
194
  * @public
195
195
  * <p>Specifies the type of message that triggers a bot.</p>
@@ -351,7 +351,7 @@ export interface ExpirationSettings {
351
351
  * @public
352
352
  * <p>Specifies the conditions under which an <code>AppInstanceUser</code> will expire.</p>
353
353
  */
354
- ExpirationCriterion: ExpirationCriterion | string | undefined;
354
+ ExpirationCriterion: ExpirationCriterion | undefined;
355
355
  }
356
356
  /**
357
357
  * @public
@@ -458,12 +458,12 @@ export interface EndpointState {
458
458
  * @public
459
459
  * <p>Enum that indicates the Status of an <code>AppInstanceUserEndpoint</code>.</p>
460
460
  */
461
- Status: EndpointStatus | string | undefined;
461
+ Status: EndpointStatus | undefined;
462
462
  /**
463
463
  * @public
464
464
  * <p>The reason for the <code>EndpointStatus</code>.</p>
465
465
  */
466
- StatusReason?: EndpointStatusReason | string;
466
+ StatusReason?: EndpointStatusReason;
467
467
  }
468
468
  /**
469
469
  * @public
@@ -502,7 +502,7 @@ export interface AppInstanceUserEndpoint {
502
502
  * @public
503
503
  * <p>The type of the <code>AppInstanceUserEndpoint</code>.</p>
504
504
  */
505
- Type?: AppInstanceUserEndpointType | string;
505
+ Type?: AppInstanceUserEndpointType;
506
506
  /**
507
507
  * @public
508
508
  * <p>The ARN of the resource to which the endpoint belongs.</p>
@@ -528,7 +528,7 @@ export interface AppInstanceUserEndpoint {
528
528
  * <p>Boolean that controls whether the <code>AppInstanceUserEndpoint</code> is opted in to receive messages. <code>ALL</code> indicates the endpoint will receive all messages.
529
529
  * <code>NONE</code> indicates the endpoint will receive no messages.</p>
530
530
  */
531
- AllowMessages?: AllowMessages | string;
531
+ AllowMessages?: AllowMessages;
532
532
  /**
533
533
  * @public
534
534
  * <p>A read-only field that represents the state of an <code>AppInstanceUserEndpoint</code>. Supported values:</p>
@@ -579,13 +579,13 @@ export interface AppInstanceUserEndpointSummary {
579
579
  * @public
580
580
  * <p>The type of the <code>AppInstanceUserEndpoint</code>.</p>
581
581
  */
582
- Type?: AppInstanceUserEndpointType | string;
582
+ Type?: AppInstanceUserEndpointType;
583
583
  /**
584
584
  * @public
585
585
  * <p>BBoolean that controls whether the <code>AppInstanceUserEndpoint</code> is opted in to receive messages. <code>ALL</code> indicates the endpoint will receive all messages.
586
586
  * <code>NONE</code> indicates the endpoint will receive no messages.</p>
587
587
  */
588
- AllowMessages?: AllowMessages | string;
588
+ AllowMessages?: AllowMessages;
589
589
  /**
590
590
  * @public
591
591
  * <p>A read-only field that represent the state of an <code>AppInstanceUserEndpoint</code>.</p>
@@ -645,7 +645,7 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
645
645
  export declare class BadRequestException extends __BaseException {
646
646
  readonly name: "BadRequestException";
647
647
  readonly $fault: "client";
648
- Code?: ErrorCode | string;
648
+ Code?: ErrorCode;
649
649
  Message?: string;
650
650
  /**
651
651
  * @internal
@@ -660,7 +660,7 @@ export declare class BadRequestException extends __BaseException {
660
660
  export declare class ConflictException extends __BaseException {
661
661
  readonly name: "ConflictException";
662
662
  readonly $fault: "client";
663
- Code?: ErrorCode | string;
663
+ Code?: ErrorCode;
664
664
  Message?: string;
665
665
  /**
666
666
  * @internal
@@ -725,7 +725,7 @@ export interface CreateAppInstanceResponse {
725
725
  export declare class ForbiddenException extends __BaseException {
726
726
  readonly name: "ForbiddenException";
727
727
  readonly $fault: "client";
728
- Code?: ErrorCode | string;
728
+ Code?: ErrorCode;
729
729
  Message?: string;
730
730
  /**
731
731
  * @internal
@@ -739,7 +739,7 @@ export declare class ForbiddenException extends __BaseException {
739
739
  export declare class ResourceLimitExceededException extends __BaseException {
740
740
  readonly name: "ResourceLimitExceededException";
741
741
  readonly $fault: "client";
742
- Code?: ErrorCode | string;
742
+ Code?: ErrorCode;
743
743
  Message?: string;
744
744
  /**
745
745
  * @internal
@@ -753,7 +753,7 @@ export declare class ResourceLimitExceededException extends __BaseException {
753
753
  export declare class ServiceFailureException extends __BaseException {
754
754
  readonly name: "ServiceFailureException";
755
755
  readonly $fault: "server";
756
- Code?: ErrorCode | string;
756
+ Code?: ErrorCode;
757
757
  Message?: string;
758
758
  /**
759
759
  * @internal
@@ -767,7 +767,7 @@ export declare class ServiceFailureException extends __BaseException {
767
767
  export declare class ServiceUnavailableException extends __BaseException {
768
768
  readonly name: "ServiceUnavailableException";
769
769
  readonly $fault: "server";
770
- Code?: ErrorCode | string;
770
+ Code?: ErrorCode;
771
771
  Message?: string;
772
772
  /**
773
773
  * @internal
@@ -781,7 +781,7 @@ export declare class ServiceUnavailableException extends __BaseException {
781
781
  export declare class ThrottledClientException extends __BaseException {
782
782
  readonly name: "ThrottledClientException";
783
783
  readonly $fault: "client";
784
- Code?: ErrorCode | string;
784
+ Code?: ErrorCode;
785
785
  Message?: string;
786
786
  /**
787
787
  * @internal
@@ -795,7 +795,7 @@ export declare class ThrottledClientException extends __BaseException {
795
795
  export declare class UnauthorizedClientException extends __BaseException {
796
796
  readonly name: "UnauthorizedClientException";
797
797
  readonly $fault: "client";
798
- Code?: ErrorCode | string;
798
+ Code?: ErrorCode;
799
799
  Message?: string;
800
800
  /**
801
801
  * @internal
@@ -1063,7 +1063,7 @@ export interface DescribeAppInstanceBotResponse {
1063
1063
  export declare class NotFoundException extends __BaseException {
1064
1064
  readonly name: "NotFoundException";
1065
1065
  readonly $fault: "client";
1066
- Code?: ErrorCode | string;
1066
+ Code?: ErrorCode;
1067
1067
  Message?: string;
1068
1068
  /**
1069
1069
  * @internal
@@ -1444,7 +1444,7 @@ export interface RegisterAppInstanceUserEndpointRequest {
1444
1444
  * </ul>
1445
1445
  * <p>Populate the <code>ResourceArn</code> value of each type as <code>PinpointAppArn</code>.</p>
1446
1446
  */
1447
- Type: AppInstanceUserEndpointType | string | undefined;
1447
+ Type: AppInstanceUserEndpointType | undefined;
1448
1448
  /**
1449
1449
  * @public
1450
1450
  * <p>The ARN of the resource to which the endpoint belongs.</p>
@@ -1465,7 +1465,7 @@ export interface RegisterAppInstanceUserEndpointRequest {
1465
1465
  * <p>Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. <code>ALL</code> indicates the endpoint receives all messages.
1466
1466
  * <code>NONE</code> indicates the endpoint receives no messages.</p>
1467
1467
  */
1468
- AllowMessages?: AllowMessages | string;
1468
+ AllowMessages?: AllowMessages;
1469
1469
  }
1470
1470
  /**
1471
1471
  * @public
@@ -1631,7 +1631,7 @@ export interface UpdateAppInstanceUserEndpointRequest {
1631
1631
  * <p>Boolean that controls whether the <code>AppInstanceUserEndpoint</code> is opted in to receive messages. <code>ALL</code> indicates the endpoint will receive all messages.
1632
1632
  * <code>NONE</code> indicates the endpoint will receive no messages.</p>
1633
1633
  */
1634
- AllowMessages?: AllowMessages | string;
1634
+ AllowMessages?: AllowMessages;
1635
1635
  }
1636
1636
  /**
1637
1637
  * @public
@@ -39,15 +39,15 @@ export declare const TargetedMessages: {
39
39
  export type TargetedMessages =
40
40
  (typeof TargetedMessages)[keyof typeof TargetedMessages];
41
41
  export interface InvokedBy {
42
- StandardMessages: StandardMessages | string | undefined;
43
- TargetedMessages: TargetedMessages | string | undefined;
42
+ StandardMessages: StandardMessages | undefined;
43
+ TargetedMessages: TargetedMessages | undefined;
44
44
  }
45
45
  export declare const RespondsTo: {
46
46
  readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
47
47
  };
48
48
  export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
49
49
  export interface LexConfiguration {
50
- RespondsTo?: RespondsTo | string;
50
+ RespondsTo?: RespondsTo;
51
51
  InvokedBy?: InvokedBy;
52
52
  LexBotAliasArn: string | undefined;
53
53
  LocaleId: string | undefined;
@@ -87,7 +87,7 @@ export type ExpirationCriterion =
87
87
  (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
88
88
  export interface ExpirationSettings {
89
89
  ExpirationDays: number | undefined;
90
- ExpirationCriterion: ExpirationCriterion | string | undefined;
90
+ ExpirationCriterion: ExpirationCriterion | undefined;
91
91
  }
92
92
  export interface AppInstanceUser {
93
93
  AppInstanceUserArn?: string;
@@ -114,8 +114,8 @@ export declare const EndpointStatusReason: {
114
114
  export type EndpointStatusReason =
115
115
  (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
116
116
  export interface EndpointState {
117
- Status: EndpointStatus | string | undefined;
118
- StatusReason?: EndpointStatusReason | string;
117
+ Status: EndpointStatus | undefined;
118
+ StatusReason?: EndpointStatusReason;
119
119
  }
120
120
  export declare const AppInstanceUserEndpointType: {
121
121
  readonly APNS: "APNS";
@@ -128,20 +128,20 @@ export interface AppInstanceUserEndpoint {
128
128
  AppInstanceUserArn?: string;
129
129
  EndpointId?: string;
130
130
  Name?: string;
131
- Type?: AppInstanceUserEndpointType | string;
131
+ Type?: AppInstanceUserEndpointType;
132
132
  ResourceArn?: string;
133
133
  EndpointAttributes?: EndpointAttributes;
134
134
  CreatedTimestamp?: Date;
135
135
  LastUpdatedTimestamp?: Date;
136
- AllowMessages?: AllowMessages | string;
136
+ AllowMessages?: AllowMessages;
137
137
  EndpointState?: EndpointState;
138
138
  }
139
139
  export interface AppInstanceUserEndpointSummary {
140
140
  AppInstanceUserArn?: string;
141
141
  EndpointId?: string;
142
142
  Name?: string;
143
- Type?: AppInstanceUserEndpointType | string;
144
- AllowMessages?: AllowMessages | string;
143
+ Type?: AppInstanceUserEndpointType;
144
+ AllowMessages?: AllowMessages;
145
145
  EndpointState?: EndpointState;
146
146
  }
147
147
  export interface AppInstanceUserSummary {
@@ -170,7 +170,7 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
170
170
  export declare class BadRequestException extends __BaseException {
171
171
  readonly name: "BadRequestException";
172
172
  readonly $fault: "client";
173
- Code?: ErrorCode | string;
173
+ Code?: ErrorCode;
174
174
  Message?: string;
175
175
  constructor(
176
176
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
@@ -179,7 +179,7 @@ export declare class BadRequestException extends __BaseException {
179
179
  export declare class ConflictException extends __BaseException {
180
180
  readonly name: "ConflictException";
181
181
  readonly $fault: "client";
182
- Code?: ErrorCode | string;
182
+ Code?: ErrorCode;
183
183
  Message?: string;
184
184
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
185
185
  }
@@ -199,14 +199,14 @@ export interface CreateAppInstanceResponse {
199
199
  export declare class ForbiddenException extends __BaseException {
200
200
  readonly name: "ForbiddenException";
201
201
  readonly $fault: "client";
202
- Code?: ErrorCode | string;
202
+ Code?: ErrorCode;
203
203
  Message?: string;
204
204
  constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
205
205
  }
206
206
  export declare class ResourceLimitExceededException extends __BaseException {
207
207
  readonly name: "ResourceLimitExceededException";
208
208
  readonly $fault: "client";
209
- Code?: ErrorCode | string;
209
+ Code?: ErrorCode;
210
210
  Message?: string;
211
211
  constructor(
212
212
  opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
@@ -215,7 +215,7 @@ export declare class ResourceLimitExceededException extends __BaseException {
215
215
  export declare class ServiceFailureException extends __BaseException {
216
216
  readonly name: "ServiceFailureException";
217
217
  readonly $fault: "server";
218
- Code?: ErrorCode | string;
218
+ Code?: ErrorCode;
219
219
  Message?: string;
220
220
  constructor(
221
221
  opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
@@ -224,7 +224,7 @@ export declare class ServiceFailureException extends __BaseException {
224
224
  export declare class ServiceUnavailableException extends __BaseException {
225
225
  readonly name: "ServiceUnavailableException";
226
226
  readonly $fault: "server";
227
- Code?: ErrorCode | string;
227
+ Code?: ErrorCode;
228
228
  Message?: string;
229
229
  constructor(
230
230
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
@@ -233,7 +233,7 @@ export declare class ServiceUnavailableException extends __BaseException {
233
233
  export declare class ThrottledClientException extends __BaseException {
234
234
  readonly name: "ThrottledClientException";
235
235
  readonly $fault: "client";
236
- Code?: ErrorCode | string;
236
+ Code?: ErrorCode;
237
237
  Message?: string;
238
238
  constructor(
239
239
  opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
@@ -242,7 +242,7 @@ export declare class ThrottledClientException extends __BaseException {
242
242
  export declare class UnauthorizedClientException extends __BaseException {
243
243
  readonly name: "UnauthorizedClientException";
244
244
  readonly $fault: "client";
245
- Code?: ErrorCode | string;
245
+ Code?: ErrorCode;
246
246
  Message?: string;
247
247
  constructor(
248
248
  opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
@@ -318,7 +318,7 @@ export interface DescribeAppInstanceBotResponse {
318
318
  export declare class NotFoundException extends __BaseException {
319
319
  readonly name: "NotFoundException";
320
320
  readonly $fault: "client";
321
- Code?: ErrorCode | string;
321
+ Code?: ErrorCode;
322
322
  Message?: string;
323
323
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
324
324
  }
@@ -414,11 +414,11 @@ export interface PutAppInstanceUserExpirationSettingsResponse {
414
414
  export interface RegisterAppInstanceUserEndpointRequest {
415
415
  AppInstanceUserArn: string | undefined;
416
416
  Name?: string;
417
- Type: AppInstanceUserEndpointType | string | undefined;
417
+ Type: AppInstanceUserEndpointType | undefined;
418
418
  ResourceArn: string | undefined;
419
419
  EndpointAttributes: EndpointAttributes | undefined;
420
420
  ClientRequestToken?: string;
421
- AllowMessages?: AllowMessages | string;
421
+ AllowMessages?: AllowMessages;
422
422
  }
423
423
  export interface RegisterAppInstanceUserEndpointResponse {
424
424
  AppInstanceUserArn?: string;
@@ -461,7 +461,7 @@ export interface UpdateAppInstanceUserEndpointRequest {
461
461
  AppInstanceUserArn: string | undefined;
462
462
  EndpointId: string | undefined;
463
463
  Name?: string;
464
- AllowMessages?: AllowMessages | string;
464
+ AllowMessages?: AllowMessages;
465
465
  }
466
466
  export interface UpdateAppInstanceUserEndpointResponse {
467
467
  AppInstanceUserArn?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-identity",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Identity Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.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",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",