@aws-sdk/client-chime-sdk-identity 3.300.0 → 3.303.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.
Files changed (35) hide show
  1. package/dist-cjs/models/models_0.js +40 -47
  2. package/dist-es/models/models_0.js +40 -47
  3. package/dist-types/commands/CreateAppInstanceAdminCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateAppInstanceBotCommand.d.ts +5 -5
  5. package/dist-types/commands/CreateAppInstanceCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateAppInstanceUserCommand.d.ts +4 -4
  7. package/dist-types/commands/DeleteAppInstanceAdminCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteAppInstanceBotCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteAppInstanceCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteAppInstanceUserCommand.d.ts +1 -1
  11. package/dist-types/commands/DeregisterAppInstanceUserEndpointCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeAppInstanceAdminCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeAppInstanceBotCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeAppInstanceCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeAppInstanceUserCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeAppInstanceUserEndpointCommand.d.ts +1 -1
  17. package/dist-types/commands/GetAppInstanceRetentionSettingsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAppInstanceAdminsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListAppInstanceBotsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListAppInstanceUserEndpointsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAppInstanceUsersCommand.d.ts +1 -1
  22. package/dist-types/commands/ListAppInstancesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/PutAppInstanceRetentionSettingsCommand.d.ts +3 -3
  25. package/dist-types/commands/PutAppInstanceUserExpirationSettingsCommand.d.ts +2 -2
  26. package/dist-types/commands/RegisterAppInstanceUserEndpointCommand.d.ts +2 -2
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  28. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateAppInstanceBotCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateAppInstanceCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateAppInstanceUserCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateAppInstanceUserEndpointCommand.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +75 -40
  34. package/dist-types/ts3.4/models/models_0.d.ts +51 -40
  35. package/package.json +34 -34
@@ -4,53 +4,46 @@ exports.ListAppInstanceUsersResponseFilterSensitiveLog = exports.ListAppInstance
4
4
  exports.UpdateAppInstanceUserEndpointResponseFilterSensitiveLog = exports.UpdateAppInstanceUserEndpointRequestFilterSensitiveLog = exports.UpdateAppInstanceUserRequestFilterSensitiveLog = exports.UpdateAppInstanceBotRequestFilterSensitiveLog = exports.UpdateAppInstanceRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RegisterAppInstanceUserEndpointResponseFilterSensitiveLog = exports.RegisterAppInstanceUserEndpointRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const ChimeSDKIdentityServiceException_1 = require("./ChimeSDKIdentityServiceException");
7
- var AllowMessages;
8
- (function (AllowMessages) {
9
- AllowMessages["ALL"] = "ALL";
10
- AllowMessages["NONE"] = "NONE";
11
- })(AllowMessages = exports.AllowMessages || (exports.AllowMessages = {}));
12
- var RespondsTo;
13
- (function (RespondsTo) {
14
- RespondsTo["STANDARD_MESSAGES"] = "STANDARD_MESSAGES";
15
- })(RespondsTo = exports.RespondsTo || (exports.RespondsTo = {}));
16
- var ExpirationCriterion;
17
- (function (ExpirationCriterion) {
18
- ExpirationCriterion["CREATED_TIMESTAMP"] = "CREATED_TIMESTAMP";
19
- })(ExpirationCriterion = exports.ExpirationCriterion || (exports.ExpirationCriterion = {}));
20
- var EndpointStatus;
21
- (function (EndpointStatus) {
22
- EndpointStatus["ACTIVE"] = "ACTIVE";
23
- EndpointStatus["INACTIVE"] = "INACTIVE";
24
- })(EndpointStatus = exports.EndpointStatus || (exports.EndpointStatus = {}));
25
- var EndpointStatusReason;
26
- (function (EndpointStatusReason) {
27
- EndpointStatusReason["INVALID_DEVICE_TOKEN"] = "INVALID_DEVICE_TOKEN";
28
- EndpointStatusReason["INVALID_PINPOINT_ARN"] = "INVALID_PINPOINT_ARN";
29
- })(EndpointStatusReason = exports.EndpointStatusReason || (exports.EndpointStatusReason = {}));
30
- var AppInstanceUserEndpointType;
31
- (function (AppInstanceUserEndpointType) {
32
- AppInstanceUserEndpointType["APNS"] = "APNS";
33
- AppInstanceUserEndpointType["APNS_SANDBOX"] = "APNS_SANDBOX";
34
- AppInstanceUserEndpointType["GCM"] = "GCM";
35
- })(AppInstanceUserEndpointType = exports.AppInstanceUserEndpointType || (exports.AppInstanceUserEndpointType = {}));
36
- var ErrorCode;
37
- (function (ErrorCode) {
38
- ErrorCode["AccessDenied"] = "AccessDenied";
39
- ErrorCode["BadRequest"] = "BadRequest";
40
- ErrorCode["Conflict"] = "Conflict";
41
- ErrorCode["Forbidden"] = "Forbidden";
42
- ErrorCode["NotFound"] = "NotFound";
43
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
44
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
45
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
46
- ErrorCode["ServiceFailure"] = "ServiceFailure";
47
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
48
- ErrorCode["Throttled"] = "Throttled";
49
- ErrorCode["Throttling"] = "Throttling";
50
- ErrorCode["Unauthorized"] = "Unauthorized";
51
- ErrorCode["Unprocessable"] = "Unprocessable";
52
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
53
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
7
+ exports.AllowMessages = {
8
+ ALL: "ALL",
9
+ NONE: "NONE",
10
+ };
11
+ exports.RespondsTo = {
12
+ STANDARD_MESSAGES: "STANDARD_MESSAGES",
13
+ };
14
+ exports.ExpirationCriterion = {
15
+ CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
16
+ };
17
+ exports.EndpointStatus = {
18
+ ACTIVE: "ACTIVE",
19
+ INACTIVE: "INACTIVE",
20
+ };
21
+ exports.EndpointStatusReason = {
22
+ INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
23
+ INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
24
+ };
25
+ exports.AppInstanceUserEndpointType = {
26
+ APNS: "APNS",
27
+ APNS_SANDBOX: "APNS_SANDBOX",
28
+ GCM: "GCM",
29
+ };
30
+ exports.ErrorCode = {
31
+ AccessDenied: "AccessDenied",
32
+ BadRequest: "BadRequest",
33
+ Conflict: "Conflict",
34
+ Forbidden: "Forbidden",
35
+ NotFound: "NotFound",
36
+ PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
37
+ PreconditionFailed: "PreconditionFailed",
38
+ ResourceLimitExceeded: "ResourceLimitExceeded",
39
+ ServiceFailure: "ServiceFailure",
40
+ ServiceUnavailable: "ServiceUnavailable",
41
+ Throttled: "Throttled",
42
+ Throttling: "Throttling",
43
+ Unauthorized: "Unauthorized",
44
+ Unprocessable: "Unprocessable",
45
+ VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
46
+ };
54
47
  class BadRequestException extends ChimeSDKIdentityServiceException_1.ChimeSDKIdentityServiceException {
55
48
  constructor(opts) {
56
49
  super({
@@ -1,52 +1,45 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
- export var AllowMessages;
4
- (function (AllowMessages) {
5
- AllowMessages["ALL"] = "ALL";
6
- AllowMessages["NONE"] = "NONE";
7
- })(AllowMessages || (AllowMessages = {}));
8
- export var RespondsTo;
9
- (function (RespondsTo) {
10
- RespondsTo["STANDARD_MESSAGES"] = "STANDARD_MESSAGES";
11
- })(RespondsTo || (RespondsTo = {}));
12
- export var ExpirationCriterion;
13
- (function (ExpirationCriterion) {
14
- ExpirationCriterion["CREATED_TIMESTAMP"] = "CREATED_TIMESTAMP";
15
- })(ExpirationCriterion || (ExpirationCriterion = {}));
16
- export var EndpointStatus;
17
- (function (EndpointStatus) {
18
- EndpointStatus["ACTIVE"] = "ACTIVE";
19
- EndpointStatus["INACTIVE"] = "INACTIVE";
20
- })(EndpointStatus || (EndpointStatus = {}));
21
- export var EndpointStatusReason;
22
- (function (EndpointStatusReason) {
23
- EndpointStatusReason["INVALID_DEVICE_TOKEN"] = "INVALID_DEVICE_TOKEN";
24
- EndpointStatusReason["INVALID_PINPOINT_ARN"] = "INVALID_PINPOINT_ARN";
25
- })(EndpointStatusReason || (EndpointStatusReason = {}));
26
- export var AppInstanceUserEndpointType;
27
- (function (AppInstanceUserEndpointType) {
28
- AppInstanceUserEndpointType["APNS"] = "APNS";
29
- AppInstanceUserEndpointType["APNS_SANDBOX"] = "APNS_SANDBOX";
30
- AppInstanceUserEndpointType["GCM"] = "GCM";
31
- })(AppInstanceUserEndpointType || (AppInstanceUserEndpointType = {}));
32
- export var ErrorCode;
33
- (function (ErrorCode) {
34
- ErrorCode["AccessDenied"] = "AccessDenied";
35
- ErrorCode["BadRequest"] = "BadRequest";
36
- ErrorCode["Conflict"] = "Conflict";
37
- ErrorCode["Forbidden"] = "Forbidden";
38
- ErrorCode["NotFound"] = "NotFound";
39
- ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";
40
- ErrorCode["PreconditionFailed"] = "PreconditionFailed";
41
- ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
42
- ErrorCode["ServiceFailure"] = "ServiceFailure";
43
- ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
44
- ErrorCode["Throttled"] = "Throttled";
45
- ErrorCode["Throttling"] = "Throttling";
46
- ErrorCode["Unauthorized"] = "Unauthorized";
47
- ErrorCode["Unprocessable"] = "Unprocessable";
48
- ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";
49
- })(ErrorCode || (ErrorCode = {}));
3
+ export const AllowMessages = {
4
+ ALL: "ALL",
5
+ NONE: "NONE",
6
+ };
7
+ export const RespondsTo = {
8
+ STANDARD_MESSAGES: "STANDARD_MESSAGES",
9
+ };
10
+ export const ExpirationCriterion = {
11
+ CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
12
+ };
13
+ export const EndpointStatus = {
14
+ ACTIVE: "ACTIVE",
15
+ INACTIVE: "INACTIVE",
16
+ };
17
+ export const EndpointStatusReason = {
18
+ INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
19
+ INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
20
+ };
21
+ export const AppInstanceUserEndpointType = {
22
+ APNS: "APNS",
23
+ APNS_SANDBOX: "APNS_SANDBOX",
24
+ GCM: "GCM",
25
+ };
26
+ export const ErrorCode = {
27
+ AccessDenied: "AccessDenied",
28
+ BadRequest: "BadRequest",
29
+ Conflict: "Conflict",
30
+ Forbidden: "Forbidden",
31
+ NotFound: "NotFound",
32
+ PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
33
+ PreconditionFailed: "PreconditionFailed",
34
+ ResourceLimitExceeded: "ResourceLimitExceeded",
35
+ ServiceFailure: "ServiceFailure",
36
+ ServiceUnavailable: "ServiceUnavailable",
37
+ Throttled: "Throttled",
38
+ Throttling: "Throttling",
39
+ Unauthorized: "Unauthorized",
40
+ Unprocessable: "Unprocessable",
41
+ VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
42
+ };
50
43
  export class BadRequestException extends __BaseException {
51
44
  constructor(opts) {
52
45
  super({
@@ -41,7 +41,7 @@ export interface CreateAppInstanceAdminCommandOutput extends CreateAppInstanceAd
41
41
  * import { ChimeSDKIdentityClient, CreateAppInstanceAdminCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
42
42
  * // const { ChimeSDKIdentityClient, CreateAppInstanceAdminCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
43
43
  * const client = new ChimeSDKIdentityClient(config);
44
- * const input = {
44
+ * const input = { // CreateAppInstanceAdminRequest
45
45
  * AppInstanceAdminArn: "STRING_VALUE", // required
46
46
  * AppInstanceArn: "STRING_VALUE", // required
47
47
  * };
@@ -27,19 +27,19 @@ export interface CreateAppInstanceBotCommandOutput extends CreateAppInstanceBotR
27
27
  * import { ChimeSDKIdentityClient, CreateAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, CreateAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // CreateAppInstanceBotRequest
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE",
33
33
  * Metadata: "STRING_VALUE",
34
34
  * ClientRequestToken: "STRING_VALUE", // required
35
- * Tags: [
36
- * {
35
+ * Tags: [ // TagList
36
+ * { // Tag
37
37
  * Key: "STRING_VALUE", // required
38
38
  * Value: "STRING_VALUE", // required
39
39
  * },
40
40
  * ],
41
- * Configuration: {
42
- * Lex: {
41
+ * Configuration: { // Configuration
42
+ * Lex: { // LexConfiguration
43
43
  * RespondsTo: "STANDARD_MESSAGES", // required
44
44
  * LexBotAliasArn: "STRING_VALUE", // required
45
45
  * LocaleId: "STRING_VALUE", // required
@@ -29,12 +29,12 @@ export interface CreateAppInstanceCommandOutput extends CreateAppInstanceRespons
29
29
  * import { ChimeSDKIdentityClient, CreateAppInstanceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
30
30
  * // const { ChimeSDKIdentityClient, CreateAppInstanceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
31
31
  * const client = new ChimeSDKIdentityClient(config);
32
- * const input = {
32
+ * const input = { // CreateAppInstanceRequest
33
33
  * Name: "STRING_VALUE", // required
34
34
  * Metadata: "STRING_VALUE",
35
35
  * ClientRequestToken: "STRING_VALUE", // required
36
- * Tags: [
37
- * {
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
38
  * Key: "STRING_VALUE", // required
39
39
  * Value: "STRING_VALUE", // required
40
40
  * },
@@ -27,19 +27,19 @@ export interface CreateAppInstanceUserCommandOutput extends CreateAppInstanceUse
27
27
  * import { ChimeSDKIdentityClient, CreateAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, CreateAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // CreateAppInstanceUserRequest
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
32
  * AppInstanceUserId: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE", // required
34
34
  * Metadata: "STRING_VALUE",
35
35
  * ClientRequestToken: "STRING_VALUE", // required
36
- * Tags: [
37
- * {
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
38
  * Key: "STRING_VALUE", // required
39
39
  * Value: "STRING_VALUE", // required
40
40
  * },
41
41
  * ],
42
- * ExpirationSettings: {
42
+ * ExpirationSettings: { // ExpirationSettings
43
43
  * ExpirationDays: Number("int"), // required
44
44
  * ExpirationCriterion: "CREATED_TIMESTAMP", // required
45
45
  * },
@@ -28,7 +28,7 @@ export interface DeleteAppInstanceAdminCommandOutput extends __MetadataBearer {
28
28
  * import { ChimeSDKIdentityClient, DeleteAppInstanceAdminCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
29
29
  * // const { ChimeSDKIdentityClient, DeleteAppInstanceAdminCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
30
30
  * const client = new ChimeSDKIdentityClient(config);
31
- * const input = {
31
+ * const input = { // DeleteAppInstanceAdminRequest
32
32
  * AppInstanceAdminArn: "STRING_VALUE", // required
33
33
  * AppInstanceArn: "STRING_VALUE", // required
34
34
  * };
@@ -26,7 +26,7 @@ export interface DeleteAppInstanceBotCommandOutput extends __MetadataBearer {
26
26
  * import { ChimeSDKIdentityClient, DeleteAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DeleteAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAppInstanceBotRequest
30
30
  * AppInstanceBotArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteAppInstanceBotCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteAppInstanceCommandOutput extends __MetadataBearer {
26
26
  * import { ChimeSDKIdentityClient, DeleteAppInstanceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DeleteAppInstanceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAppInstanceRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteAppInstanceCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteAppInstanceUserCommandOutput extends __MetadataBearer {
26
26
  * import { ChimeSDKIdentityClient, DeleteAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DeleteAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DeleteAppInstanceUserRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteAppInstanceUserCommand(input);
@@ -26,7 +26,7 @@ export interface DeregisterAppInstanceUserEndpointCommandOutput extends __Metada
26
26
  * import { ChimeSDKIdentityClient, DeregisterAppInstanceUserEndpointCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DeregisterAppInstanceUserEndpointCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DeregisterAppInstanceUserEndpointRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * EndpointId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DescribeAppInstanceAdminCommandOutput extends DescribeAppInstan
26
26
  * import { ChimeSDKIdentityClient, DescribeAppInstanceAdminCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DescribeAppInstanceAdminCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAppInstanceAdminRequest
30
30
  * AppInstanceAdminArn: "STRING_VALUE", // required
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DescribeAppInstanceBotCommandOutput extends DescribeAppInstance
26
26
  * import { ChimeSDKIdentityClient, DescribeAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DescribeAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAppInstanceBotRequest
30
30
  * AppInstanceBotArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeAppInstanceBotCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeAppInstanceCommandOutput extends DescribeAppInstanceRes
26
26
  * import { ChimeSDKIdentityClient, DescribeAppInstanceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DescribeAppInstanceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAppInstanceRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeAppInstanceCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeAppInstanceUserCommandOutput extends DescribeAppInstanc
26
26
  * import { ChimeSDKIdentityClient, DescribeAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DescribeAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAppInstanceUserRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeAppInstanceUserCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeAppInstanceUserEndpointCommandOutput extends DescribeAp
26
26
  * import { ChimeSDKIdentityClient, DescribeAppInstanceUserEndpointCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, DescribeAppInstanceUserEndpointCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAppInstanceUserEndpointRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * EndpointId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetAppInstanceRetentionSettingsCommandOutput extends GetAppInst
26
26
  * import { ChimeSDKIdentityClient, GetAppInstanceRetentionSettingsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, GetAppInstanceRetentionSettingsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // GetAppInstanceRetentionSettingsRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetAppInstanceRetentionSettingsCommand(input);
@@ -26,7 +26,7 @@ export interface ListAppInstanceAdminsCommandOutput extends ListAppInstanceAdmin
26
26
  * import { ChimeSDKIdentityClient, ListAppInstanceAdminsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, ListAppInstanceAdminsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // ListAppInstanceAdminsRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListAppInstanceBotsCommandOutput extends ListAppInstanceBotsRes
26
26
  * import { ChimeSDKIdentityClient, ListAppInstanceBotsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, ListAppInstanceBotsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // ListAppInstanceBotsRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListAppInstanceUserEndpointsCommandOutput extends ListAppInstan
26
26
  * import { ChimeSDKIdentityClient, ListAppInstanceUserEndpointsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, ListAppInstanceUserEndpointsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // ListAppInstanceUserEndpointsRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface ListAppInstanceUsersCommandOutput extends ListAppInstanceUsersR
27
27
  * import { ChimeSDKIdentityClient, ListAppInstanceUsersCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, ListAppInstanceUsersCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // ListAppInstanceUsersRequest
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
32
  * MaxResults: Number("int"),
33
33
  * NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface ListAppInstancesCommandOutput extends ListAppInstancesResponse,
27
27
  * import { ChimeSDKIdentityClient, ListAppInstancesCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, ListAppInstancesCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // ListAppInstancesRequest
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
33
33
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ChimeSDKIdentityClient, ListTagsForResourceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, ListTagsForResourceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -27,10 +27,10 @@ export interface PutAppInstanceRetentionSettingsCommandOutput extends PutAppInst
27
27
  * import { ChimeSDKIdentityClient, PutAppInstanceRetentionSettingsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, PutAppInstanceRetentionSettingsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // PutAppInstanceRetentionSettingsRequest
31
31
  * AppInstanceArn: "STRING_VALUE", // required
32
- * AppInstanceRetentionSettings: {
33
- * ChannelRetentionSettings: {
32
+ * AppInstanceRetentionSettings: { // AppInstanceRetentionSettings
33
+ * ChannelRetentionSettings: { // ChannelRetentionSettings
34
34
  * RetentionDays: Number("int"),
35
35
  * },
36
36
  * },
@@ -32,9 +32,9 @@ export interface PutAppInstanceUserExpirationSettingsCommandOutput extends PutAp
32
32
  * import { ChimeSDKIdentityClient, PutAppInstanceUserExpirationSettingsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
33
33
  * // const { ChimeSDKIdentityClient, PutAppInstanceUserExpirationSettingsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
34
34
  * const client = new ChimeSDKIdentityClient(config);
35
- * const input = {
35
+ * const input = { // PutAppInstanceUserExpirationSettingsRequest
36
36
  * AppInstanceUserArn: "STRING_VALUE", // required
37
- * ExpirationSettings: {
37
+ * ExpirationSettings: { // ExpirationSettings
38
38
  * ExpirationDays: Number("int"), // required
39
39
  * ExpirationCriterion: "CREATED_TIMESTAMP", // required
40
40
  * },
@@ -26,12 +26,12 @@ export interface RegisterAppInstanceUserEndpointCommandOutput extends RegisterAp
26
26
  * import { ChimeSDKIdentityClient, RegisterAppInstanceUserEndpointCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, RegisterAppInstanceUserEndpointCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // RegisterAppInstanceUserEndpointRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE",
32
32
  * Type: "APNS" || "APNS_SANDBOX" || "GCM", // required
33
33
  * ResourceArn: "STRING_VALUE", // required
34
- * EndpointAttributes: {
34
+ * EndpointAttributes: { // EndpointAttributes
35
35
  * DeviceToken: "STRING_VALUE", // required
36
36
  * VoipDeviceToken: "STRING_VALUE",
37
37
  * },
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ChimeSDKIdentityClient, TagResourceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, TagResourceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * Tags: [ // required
32
- * {
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
33
  * Key: "STRING_VALUE", // required
34
34
  * Value: "STRING_VALUE", // required
35
35
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ChimeSDKIdentityClient, UntagResourceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, UntagResourceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,7 +26,7 @@ export interface UpdateAppInstanceBotCommandOutput extends UpdateAppInstanceBotR
26
26
  * import { ChimeSDKIdentityClient, UpdateAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, UpdateAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // UpdateAppInstanceBotRequest
30
30
  * AppInstanceBotArn: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Metadata: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface UpdateAppInstanceCommandOutput extends UpdateAppInstanceRespons
26
26
  * import { ChimeSDKIdentityClient, UpdateAppInstanceCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, UpdateAppInstanceCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // UpdateAppInstanceRequest
30
30
  * AppInstanceArn: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * Metadata: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface UpdateAppInstanceUserCommandOutput extends UpdateAppInstanceUse
27
27
  * import { ChimeSDKIdentityClient, UpdateAppInstanceUserCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
28
28
  * // const { ChimeSDKIdentityClient, UpdateAppInstanceUserCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
29
29
  * const client = new ChimeSDKIdentityClient(config);
30
- * const input = {
30
+ * const input = { // UpdateAppInstanceUserRequest
31
31
  * AppInstanceUserArn: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE", // required
33
33
  * Metadata: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface UpdateAppInstanceUserEndpointCommandOutput extends UpdateAppIns
26
26
  * import { ChimeSDKIdentityClient, UpdateAppInstanceUserEndpointCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
27
27
  * // const { ChimeSDKIdentityClient, UpdateAppInstanceUserEndpointCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
28
28
  * const client = new ChimeSDKIdentityClient(config);
29
- * const input = {
29
+ * const input = { // UpdateAppInstanceUserEndpointRequest
30
30
  * AppInstanceUserArn: "STRING_VALUE", // required
31
31
  * EndpointId: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE",
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AllowMessages {
7
- ALL = "ALL",
8
- NONE = "NONE"
9
- }
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];
10
15
  /**
11
16
  * @public
12
17
  * <p>The details of an <code>AppInstance</code>, an instance of an Amazon Chime SDK messaging
@@ -78,10 +83,15 @@ export interface AppInstanceAdminSummary {
78
83
  }
79
84
  /**
80
85
  * @public
86
+ * @enum
81
87
  */
82
- export declare enum RespondsTo {
83
- STANDARD_MESSAGES = "STANDARD_MESSAGES"
84
- }
88
+ export declare const RespondsTo: {
89
+ readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
85
95
  /**
86
96
  * @public
87
97
  * <p>The configuration for an Amazon Lex V2 bot.</p>
@@ -206,10 +216,15 @@ export interface AppInstanceRetentionSettings {
206
216
  }
207
217
  /**
208
218
  * @public
219
+ * @enum
209
220
  */
210
- export declare enum ExpirationCriterion {
211
- CREATED_TIMESTAMP = "CREATED_TIMESTAMP"
212
- }
221
+ export declare const ExpirationCriterion: {
222
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
223
+ };
224
+ /**
225
+ * @public
226
+ */
227
+ export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
213
228
  /**
214
229
  * @public
215
230
  * <p>Determines the interval after which an <code>AppInstanceUser</code> is automatically deleted.</p>
@@ -270,18 +285,28 @@ export interface EndpointAttributes {
270
285
  }
271
286
  /**
272
287
  * @public
288
+ * @enum
273
289
  */
274
- export declare enum EndpointStatus {
275
- ACTIVE = "ACTIVE",
276
- INACTIVE = "INACTIVE"
277
- }
290
+ export declare const EndpointStatus: {
291
+ readonly ACTIVE: "ACTIVE";
292
+ readonly INACTIVE: "INACTIVE";
293
+ };
278
294
  /**
279
295
  * @public
280
296
  */
281
- export declare enum EndpointStatusReason {
282
- INVALID_DEVICE_TOKEN = "INVALID_DEVICE_TOKEN",
283
- INVALID_PINPOINT_ARN = "INVALID_PINPOINT_ARN"
284
- }
297
+ export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
298
+ /**
299
+ * @public
300
+ * @enum
301
+ */
302
+ export declare const EndpointStatusReason: {
303
+ readonly INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN";
304
+ readonly INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN";
305
+ };
306
+ /**
307
+ * @public
308
+ */
309
+ export type EndpointStatusReason = (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
285
310
  /**
286
311
  * @public
287
312
  * <p>A read-only field that represents the state of an <code>AppInstanceUserEndpoint</code>. Supported values:</p>
@@ -318,12 +343,17 @@ export interface EndpointState {
318
343
  }
319
344
  /**
320
345
  * @public
346
+ * @enum
321
347
  */
322
- export declare enum AppInstanceUserEndpointType {
323
- APNS = "APNS",
324
- APNS_SANDBOX = "APNS_SANDBOX",
325
- GCM = "GCM"
326
- }
348
+ export declare const AppInstanceUserEndpointType: {
349
+ readonly APNS: "APNS";
350
+ readonly APNS_SANDBOX: "APNS_SANDBOX";
351
+ readonly GCM: "GCM";
352
+ };
353
+ /**
354
+ * @public
355
+ */
356
+ export type AppInstanceUserEndpointType = (typeof AppInstanceUserEndpointType)[keyof typeof AppInstanceUserEndpointType];
327
357
  /**
328
358
  * @public
329
359
  * <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>
@@ -442,24 +472,29 @@ export interface AppInstanceUserSummary {
442
472
  }
443
473
  /**
444
474
  * @public
475
+ * @enum
445
476
  */
446
- export declare enum ErrorCode {
447
- AccessDenied = "AccessDenied",
448
- BadRequest = "BadRequest",
449
- Conflict = "Conflict",
450
- Forbidden = "Forbidden",
451
- NotFound = "NotFound",
452
- PhoneNumberAssociationsExist = "PhoneNumberAssociationsExist",
453
- PreconditionFailed = "PreconditionFailed",
454
- ResourceLimitExceeded = "ResourceLimitExceeded",
455
- ServiceFailure = "ServiceFailure",
456
- ServiceUnavailable = "ServiceUnavailable",
457
- Throttled = "Throttled",
458
- Throttling = "Throttling",
459
- Unauthorized = "Unauthorized",
460
- Unprocessable = "Unprocessable",
461
- VoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"
462
- }
477
+ export declare const ErrorCode: {
478
+ readonly AccessDenied: "AccessDenied";
479
+ readonly BadRequest: "BadRequest";
480
+ readonly Conflict: "Conflict";
481
+ readonly Forbidden: "Forbidden";
482
+ readonly NotFound: "NotFound";
483
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
484
+ readonly PreconditionFailed: "PreconditionFailed";
485
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
486
+ readonly ServiceFailure: "ServiceFailure";
487
+ readonly ServiceUnavailable: "ServiceUnavailable";
488
+ readonly Throttled: "Throttled";
489
+ readonly Throttling: "Throttling";
490
+ readonly Unauthorized: "Unauthorized";
491
+ readonly Unprocessable: "Unprocessable";
492
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
493
+ };
494
+ /**
495
+ * @public
496
+ */
497
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
463
498
  /**
464
499
  * @public
465
500
  * <p>The input parameters don't match the service's restrictions.</p>
@@ -1,9 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
3
- export declare enum AllowMessages {
4
- ALL = "ALL",
5
- NONE = "NONE",
6
- }
3
+ export declare const AllowMessages: {
4
+ readonly ALL: "ALL";
5
+ readonly NONE: "NONE";
6
+ };
7
+ export type AllowMessages = (typeof AllowMessages)[keyof typeof AllowMessages];
7
8
  export interface AppInstance {
8
9
  AppInstanceArn?: string;
9
10
  Name?: string;
@@ -23,9 +24,10 @@ export interface AppInstanceAdmin {
23
24
  export interface AppInstanceAdminSummary {
24
25
  Admin?: Identity;
25
26
  }
26
- export declare enum RespondsTo {
27
- STANDARD_MESSAGES = "STANDARD_MESSAGES",
28
- }
27
+ export declare const RespondsTo: {
28
+ readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
29
+ };
30
+ export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
29
31
  export interface LexConfiguration {
30
32
  RespondsTo: RespondsTo | string | undefined;
31
33
  LexBotAliasArn: string | undefined;
@@ -59,9 +61,11 @@ export interface ChannelRetentionSettings {
59
61
  export interface AppInstanceRetentionSettings {
60
62
  ChannelRetentionSettings?: ChannelRetentionSettings;
61
63
  }
62
- export declare enum ExpirationCriterion {
63
- CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
64
- }
64
+ export declare const ExpirationCriterion: {
65
+ readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
66
+ };
67
+ export type ExpirationCriterion =
68
+ (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
65
69
  export interface ExpirationSettings {
66
70
  ExpirationDays: number | undefined;
67
71
  ExpirationCriterion: ExpirationCriterion | string | undefined;
@@ -78,23 +82,29 @@ export interface EndpointAttributes {
78
82
  DeviceToken: string | undefined;
79
83
  VoipDeviceToken?: string;
80
84
  }
81
- export declare enum EndpointStatus {
82
- ACTIVE = "ACTIVE",
83
- INACTIVE = "INACTIVE",
84
- }
85
- export declare enum EndpointStatusReason {
86
- INVALID_DEVICE_TOKEN = "INVALID_DEVICE_TOKEN",
87
- INVALID_PINPOINT_ARN = "INVALID_PINPOINT_ARN",
88
- }
85
+ export declare const EndpointStatus: {
86
+ readonly ACTIVE: "ACTIVE";
87
+ readonly INACTIVE: "INACTIVE";
88
+ };
89
+ export type EndpointStatus =
90
+ (typeof EndpointStatus)[keyof typeof EndpointStatus];
91
+ export declare const EndpointStatusReason: {
92
+ readonly INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN";
93
+ readonly INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN";
94
+ };
95
+ export type EndpointStatusReason =
96
+ (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
89
97
  export interface EndpointState {
90
98
  Status: EndpointStatus | string | undefined;
91
99
  StatusReason?: EndpointStatusReason | string;
92
100
  }
93
- export declare enum AppInstanceUserEndpointType {
94
- APNS = "APNS",
95
- APNS_SANDBOX = "APNS_SANDBOX",
96
- GCM = "GCM",
97
- }
101
+ export declare const AppInstanceUserEndpointType: {
102
+ readonly APNS: "APNS";
103
+ readonly APNS_SANDBOX: "APNS_SANDBOX";
104
+ readonly GCM: "GCM";
105
+ };
106
+ export type AppInstanceUserEndpointType =
107
+ (typeof AppInstanceUserEndpointType)[keyof typeof AppInstanceUserEndpointType];
98
108
  export interface AppInstanceUserEndpoint {
99
109
  AppInstanceUserArn?: string;
100
110
  EndpointId?: string;
@@ -120,23 +130,24 @@ export interface AppInstanceUserSummary {
120
130
  Name?: string;
121
131
  Metadata?: string;
122
132
  }
123
- export declare enum ErrorCode {
124
- AccessDenied = "AccessDenied",
125
- BadRequest = "BadRequest",
126
- Conflict = "Conflict",
127
- Forbidden = "Forbidden",
128
- NotFound = "NotFound",
129
- PhoneNumberAssociationsExist = "PhoneNumberAssociationsExist",
130
- PreconditionFailed = "PreconditionFailed",
131
- ResourceLimitExceeded = "ResourceLimitExceeded",
132
- ServiceFailure = "ServiceFailure",
133
- ServiceUnavailable = "ServiceUnavailable",
134
- Throttled = "Throttled",
135
- Throttling = "Throttling",
136
- Unauthorized = "Unauthorized",
137
- Unprocessable = "Unprocessable",
138
- VoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist",
139
- }
133
+ export declare const ErrorCode: {
134
+ readonly AccessDenied: "AccessDenied";
135
+ readonly BadRequest: "BadRequest";
136
+ readonly Conflict: "Conflict";
137
+ readonly Forbidden: "Forbidden";
138
+ readonly NotFound: "NotFound";
139
+ readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
140
+ readonly PreconditionFailed: "PreconditionFailed";
141
+ readonly ResourceLimitExceeded: "ResourceLimitExceeded";
142
+ readonly ServiceFailure: "ServiceFailure";
143
+ readonly ServiceUnavailable: "ServiceUnavailable";
144
+ readonly Throttled: "Throttled";
145
+ readonly Throttling: "Throttling";
146
+ readonly Unauthorized: "Unauthorized";
147
+ readonly Unprocessable: "Unprocessable";
148
+ readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
149
+ };
150
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
140
151
  export declare class BadRequestException extends __BaseException {
141
152
  readonly name: "BadRequestException";
142
153
  readonly $fault: "client";
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.300.0",
4
+ "version": "3.303.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,43 +21,43 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",