@aws-sdk/client-ivschat 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.
@@ -15,12 +15,11 @@ class AccessDeniedException extends IvschatServiceException_1.IvschatServiceExce
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
- var ChatTokenCapability;
19
- (function (ChatTokenCapability) {
20
- ChatTokenCapability["DELETE_MESSAGE"] = "DELETE_MESSAGE";
21
- ChatTokenCapability["DISCONNECT_USER"] = "DISCONNECT_USER";
22
- ChatTokenCapability["SEND_MESSAGE"] = "SEND_MESSAGE";
23
- })(ChatTokenCapability = exports.ChatTokenCapability || (exports.ChatTokenCapability = {}));
18
+ exports.ChatTokenCapability = {
19
+ DELETE_MESSAGE: "DELETE_MESSAGE",
20
+ DISCONNECT_USER: "DISCONNECT_USER",
21
+ SEND_MESSAGE: "SEND_MESSAGE",
22
+ };
24
23
  class PendingVerification extends IvschatServiceException_1.IvschatServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -34,10 +33,9 @@ class PendingVerification extends IvschatServiceException_1.IvschatServiceExcept
34
33
  }
35
34
  }
36
35
  exports.PendingVerification = PendingVerification;
37
- var ResourceType;
38
- (function (ResourceType) {
39
- ResourceType["ROOM"] = "ROOM";
40
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
36
+ exports.ResourceType = {
37
+ ROOM: "ROOM",
38
+ };
41
39
  class ResourceNotFoundException extends IvschatServiceException_1.IvschatServiceException {
42
40
  constructor(opts) {
43
41
  super({
@@ -53,12 +51,11 @@ class ResourceNotFoundException extends IvschatServiceException_1.IvschatService
53
51
  }
54
52
  }
55
53
  exports.ResourceNotFoundException = ResourceNotFoundException;
56
- var ValidationExceptionReason;
57
- (function (ValidationExceptionReason) {
58
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
59
- ValidationExceptionReason["OTHER"] = "OTHER";
60
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
61
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
54
+ exports.ValidationExceptionReason = {
55
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
56
+ OTHER: "OTHER",
57
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
58
+ };
62
59
  class ValidationException extends IvschatServiceException_1.IvschatServiceException {
63
60
  constructor(opts) {
64
61
  super({
@@ -101,10 +98,9 @@ var DestinationConfiguration;
101
98
  return visitor._(value.$unknown[0], value.$unknown[1]);
102
99
  };
103
100
  })(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
104
- var CreateLoggingConfigurationState;
105
- (function (CreateLoggingConfigurationState) {
106
- CreateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
107
- })(CreateLoggingConfigurationState = exports.CreateLoggingConfigurationState || (exports.CreateLoggingConfigurationState = {}));
101
+ exports.CreateLoggingConfigurationState = {
102
+ ACTIVE: "ACTIVE",
103
+ };
108
104
  class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatServiceException {
109
105
  constructor(opts) {
110
106
  super({
@@ -121,11 +117,10 @@ class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatSer
121
117
  }
122
118
  }
123
119
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
124
- var FallbackResult;
125
- (function (FallbackResult) {
126
- FallbackResult["ALLOW"] = "ALLOW";
127
- FallbackResult["DENY"] = "DENY";
128
- })(FallbackResult = exports.FallbackResult || (exports.FallbackResult = {}));
120
+ exports.FallbackResult = {
121
+ ALLOW: "ALLOW",
122
+ DENY: "DENY",
123
+ };
129
124
  class ThrottlingException extends IvschatServiceException_1.IvschatServiceException {
130
125
  constructor(opts) {
131
126
  super({
@@ -142,16 +137,15 @@ class ThrottlingException extends IvschatServiceException_1.IvschatServiceExcept
142
137
  }
143
138
  }
144
139
  exports.ThrottlingException = ThrottlingException;
145
- var LoggingConfigurationState;
146
- (function (LoggingConfigurationState) {
147
- LoggingConfigurationState["ACTIVE"] = "ACTIVE";
148
- LoggingConfigurationState["CREATE_FAILED"] = "CREATE_FAILED";
149
- LoggingConfigurationState["CREATING"] = "CREATING";
150
- LoggingConfigurationState["DELETE_FAILED"] = "DELETE_FAILED";
151
- LoggingConfigurationState["DELETING"] = "DELETING";
152
- LoggingConfigurationState["UPDATE_FAILED"] = "UPDATE_FAILED";
153
- LoggingConfigurationState["UPDATING"] = "UPDATING";
154
- })(LoggingConfigurationState = exports.LoggingConfigurationState || (exports.LoggingConfigurationState = {}));
140
+ exports.LoggingConfigurationState = {
141
+ ACTIVE: "ACTIVE",
142
+ CREATE_FAILED: "CREATE_FAILED",
143
+ CREATING: "CREATING",
144
+ DELETE_FAILED: "DELETE_FAILED",
145
+ DELETING: "DELETING",
146
+ UPDATE_FAILED: "UPDATE_FAILED",
147
+ UPDATING: "UPDATING",
148
+ };
155
149
  class InternalServerException extends IvschatServiceException_1.IvschatServiceException {
156
150
  constructor(opts) {
157
151
  super({
@@ -165,7 +159,6 @@ class InternalServerException extends IvschatServiceException_1.IvschatServiceEx
165
159
  }
166
160
  }
167
161
  exports.InternalServerException = InternalServerException;
168
- var UpdateLoggingConfigurationState;
169
- (function (UpdateLoggingConfigurationState) {
170
- UpdateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
171
- })(UpdateLoggingConfigurationState = exports.UpdateLoggingConfigurationState || (exports.UpdateLoggingConfigurationState = {}));
162
+ exports.UpdateLoggingConfigurationState = {
163
+ ACTIVE: "ACTIVE",
164
+ };
@@ -11,12 +11,11 @@ export class AccessDeniedException extends __BaseException {
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
14
- export var ChatTokenCapability;
15
- (function (ChatTokenCapability) {
16
- ChatTokenCapability["DELETE_MESSAGE"] = "DELETE_MESSAGE";
17
- ChatTokenCapability["DISCONNECT_USER"] = "DISCONNECT_USER";
18
- ChatTokenCapability["SEND_MESSAGE"] = "SEND_MESSAGE";
19
- })(ChatTokenCapability || (ChatTokenCapability = {}));
14
+ export const ChatTokenCapability = {
15
+ DELETE_MESSAGE: "DELETE_MESSAGE",
16
+ DISCONNECT_USER: "DISCONNECT_USER",
17
+ SEND_MESSAGE: "SEND_MESSAGE",
18
+ };
20
19
  export class PendingVerification extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -29,10 +28,9 @@ export class PendingVerification extends __BaseException {
29
28
  Object.setPrototypeOf(this, PendingVerification.prototype);
30
29
  }
31
30
  }
32
- export var ResourceType;
33
- (function (ResourceType) {
34
- ResourceType["ROOM"] = "ROOM";
35
- })(ResourceType || (ResourceType = {}));
31
+ export const ResourceType = {
32
+ ROOM: "ROOM",
33
+ };
36
34
  export class ResourceNotFoundException extends __BaseException {
37
35
  constructor(opts) {
38
36
  super({
@@ -47,12 +45,11 @@ export class ResourceNotFoundException extends __BaseException {
47
45
  this.resourceType = opts.resourceType;
48
46
  }
49
47
  }
50
- export var ValidationExceptionReason;
51
- (function (ValidationExceptionReason) {
52
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
53
- ValidationExceptionReason["OTHER"] = "OTHER";
54
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
55
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
48
+ export const ValidationExceptionReason = {
49
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
50
+ OTHER: "OTHER",
51
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
52
+ };
56
53
  export class ValidationException extends __BaseException {
57
54
  constructor(opts) {
58
55
  super({
@@ -93,10 +90,9 @@ export var DestinationConfiguration;
93
90
  return visitor._(value.$unknown[0], value.$unknown[1]);
94
91
  };
95
92
  })(DestinationConfiguration || (DestinationConfiguration = {}));
96
- export var CreateLoggingConfigurationState;
97
- (function (CreateLoggingConfigurationState) {
98
- CreateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
99
- })(CreateLoggingConfigurationState || (CreateLoggingConfigurationState = {}));
93
+ export const CreateLoggingConfigurationState = {
94
+ ACTIVE: "ACTIVE",
95
+ };
100
96
  export class ServiceQuotaExceededException extends __BaseException {
101
97
  constructor(opts) {
102
98
  super({
@@ -112,11 +108,10 @@ export class ServiceQuotaExceededException extends __BaseException {
112
108
  this.limit = opts.limit;
113
109
  }
114
110
  }
115
- export var FallbackResult;
116
- (function (FallbackResult) {
117
- FallbackResult["ALLOW"] = "ALLOW";
118
- FallbackResult["DENY"] = "DENY";
119
- })(FallbackResult || (FallbackResult = {}));
111
+ export const FallbackResult = {
112
+ ALLOW: "ALLOW",
113
+ DENY: "DENY",
114
+ };
120
115
  export class ThrottlingException extends __BaseException {
121
116
  constructor(opts) {
122
117
  super({
@@ -132,16 +127,15 @@ export class ThrottlingException extends __BaseException {
132
127
  this.limit = opts.limit;
133
128
  }
134
129
  }
135
- export var LoggingConfigurationState;
136
- (function (LoggingConfigurationState) {
137
- LoggingConfigurationState["ACTIVE"] = "ACTIVE";
138
- LoggingConfigurationState["CREATE_FAILED"] = "CREATE_FAILED";
139
- LoggingConfigurationState["CREATING"] = "CREATING";
140
- LoggingConfigurationState["DELETE_FAILED"] = "DELETE_FAILED";
141
- LoggingConfigurationState["DELETING"] = "DELETING";
142
- LoggingConfigurationState["UPDATE_FAILED"] = "UPDATE_FAILED";
143
- LoggingConfigurationState["UPDATING"] = "UPDATING";
144
- })(LoggingConfigurationState || (LoggingConfigurationState = {}));
130
+ export const LoggingConfigurationState = {
131
+ ACTIVE: "ACTIVE",
132
+ CREATE_FAILED: "CREATE_FAILED",
133
+ CREATING: "CREATING",
134
+ DELETE_FAILED: "DELETE_FAILED",
135
+ DELETING: "DELETING",
136
+ UPDATE_FAILED: "UPDATE_FAILED",
137
+ UPDATING: "UPDATING",
138
+ };
145
139
  export class InternalServerException extends __BaseException {
146
140
  constructor(opts) {
147
141
  super({
@@ -154,7 +148,6 @@ export class InternalServerException extends __BaseException {
154
148
  Object.setPrototypeOf(this, InternalServerException.prototype);
155
149
  }
156
150
  }
157
- export var UpdateLoggingConfigurationState;
158
- (function (UpdateLoggingConfigurationState) {
159
- UpdateLoggingConfigurationState["ACTIVE"] = "ACTIVE";
160
- })(UpdateLoggingConfigurationState || (UpdateLoggingConfigurationState = {}));
151
+ export const UpdateLoggingConfigurationState = {
152
+ ACTIVE: "ACTIVE",
153
+ };
@@ -37,14 +37,14 @@ export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, _
37
37
  * import { IvschatClient, CreateChatTokenCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
38
38
  * // const { IvschatClient, CreateChatTokenCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
39
39
  * const client = new IvschatClient(config);
40
- * const input = {
40
+ * const input = { // CreateChatTokenRequest
41
41
  * roomIdentifier: "STRING_VALUE", // required
42
42
  * userId: "STRING_VALUE", // required
43
- * capabilities: [
43
+ * capabilities: [ // ChatTokenCapabilities
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * sessionDurationInMinutes: Number("int"),
47
- * attributes: {
47
+ * attributes: { // ChatTokenAttributes
48
48
  * "<keys>": "STRING_VALUE",
49
49
  * },
50
50
  * };
@@ -27,20 +27,20 @@ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingCo
27
27
  * import { IvschatClient, CreateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
28
28
  * // const { IvschatClient, CreateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
29
29
  * const client = new IvschatClient(config);
30
- * const input = {
30
+ * const input = { // CreateLoggingConfigurationRequest
31
31
  * name: "STRING_VALUE",
32
- * destinationConfiguration: { // Union: only one key present
33
- * s3: {
32
+ * destinationConfiguration: { // DestinationConfiguration Union: only one key present
33
+ * s3: { // S3DestinationConfiguration
34
34
  * bucketName: "STRING_VALUE", // required
35
35
  * },
36
- * cloudWatchLogs: {
36
+ * cloudWatchLogs: { // CloudWatchLogsDestinationConfiguration
37
37
  * logGroupName: "STRING_VALUE", // required
38
38
  * },
39
- * firehose: {
39
+ * firehose: { // FirehoseDestinationConfiguration
40
40
  * deliveryStreamName: "STRING_VALUE", // required
41
41
  * },
42
42
  * },
43
- * tags: {
43
+ * tags: { // Tags
44
44
  * "<keys>": "STRING_VALUE",
45
45
  * },
46
46
  * };
@@ -26,18 +26,18 @@ export interface CreateRoomCommandOutput extends CreateRoomResponse, __MetadataB
26
26
  * import { IvschatClient, CreateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, CreateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // CreateRoomRequest
30
30
  * name: "STRING_VALUE",
31
31
  * maximumMessageRatePerSecond: Number("int"),
32
32
  * maximumMessageLength: Number("int"),
33
- * messageReviewHandler: {
33
+ * messageReviewHandler: { // MessageReviewHandler
34
34
  * uri: "STRING_VALUE",
35
35
  * fallbackResult: "STRING_VALUE",
36
36
  * },
37
- * tags: {
37
+ * tags: { // Tags
38
38
  * "<keys>": "STRING_VALUE",
39
39
  * },
40
- * loggingConfigurationIdentifiers: [
40
+ * loggingConfigurationIdentifiers: [ // LoggingConfigurationIdentifierList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * };
@@ -26,7 +26,7 @@ export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBeare
26
26
  * import { IvschatClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // DeleteLoggingConfigurationRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteLoggingConfigurationCommand(input);
@@ -29,7 +29,7 @@ export interface DeleteMessageCommandOutput extends DeleteMessageResponse, __Met
29
29
  * import { IvschatClient, DeleteMessageCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
30
30
  * // const { IvschatClient, DeleteMessageCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
31
31
  * const client = new IvschatClient(config);
32
- * const input = {
32
+ * const input = { // DeleteMessageRequest
33
33
  * roomIdentifier: "STRING_VALUE", // required
34
34
  * id: "STRING_VALUE", // required
35
35
  * reason: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DeleteRoomCommandOutput extends __MetadataBearer {
26
26
  * import { IvschatClient, DeleteRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, DeleteRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // DeleteRoomRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteRoomCommand(input);
@@ -28,7 +28,7 @@ export interface DisconnectUserCommandOutput extends DisconnectUserResponse, __M
28
28
  * import { IvschatClient, DisconnectUserCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
29
29
  * // const { IvschatClient, DisconnectUserCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
30
30
  * const client = new IvschatClient(config);
31
- * const input = {
31
+ * const input = { // DisconnectUserRequest
32
32
  * roomIdentifier: "STRING_VALUE", // required
33
33
  * userId: "STRING_VALUE", // required
34
34
  * reason: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
26
26
  * import { IvschatClient, GetLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, GetLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // GetLoggingConfigurationRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetLoggingConfigurationCommand(input);
@@ -26,7 +26,7 @@ export interface GetRoomCommandOutput extends GetRoomResponse, __MetadataBearer
26
26
  * import { IvschatClient, GetRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, GetRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // GetRoomRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetRoomCommand(input);
@@ -27,7 +27,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
27
27
  * import { IvschatClient, ListLoggingConfigurationsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
28
28
  * // const { IvschatClient, ListLoggingConfigurationsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
29
29
  * const client = new IvschatClient(config);
30
- * const input = {
30
+ * const input = { // ListLoggingConfigurationsRequest
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
33
33
  * };
@@ -27,7 +27,7 @@ export interface ListRoomsCommandOutput extends ListRoomsResponse, __MetadataBea
27
27
  * import { IvschatClient, ListRoomsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
28
28
  * // const { IvschatClient, ListRoomsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
29
29
  * const client = new IvschatClient(config);
30
- * const input = {
30
+ * const input = { // ListRoomsRequest
31
31
  * name: "STRING_VALUE",
32
32
  * nextToken: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { IvschatClient, ListTagsForResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -28,10 +28,10 @@ export interface SendEventCommandOutput extends SendEventResponse, __MetadataBea
28
28
  * import { IvschatClient, SendEventCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
29
29
  * // const { IvschatClient, SendEventCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
30
30
  * const client = new IvschatClient(config);
31
- * const input = {
31
+ * const input = { // SendEventRequest
32
32
  * roomIdentifier: "STRING_VALUE", // required
33
33
  * eventName: "STRING_VALUE", // required
34
- * attributes: {
34
+ * attributes: { // EventAttributes
35
35
  * "<keys>": "STRING_VALUE",
36
36
  * },
37
37
  * };
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { IvschatClient, TagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, TagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // Tags // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { IvschatClient, UntagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, UntagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(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,17 +26,17 @@ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingCo
26
26
  * import { IvschatClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // UpdateLoggingConfigurationRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * name: "STRING_VALUE",
32
- * destinationConfiguration: { // Union: only one key present
33
- * s3: {
32
+ * destinationConfiguration: { // DestinationConfiguration Union: only one key present
33
+ * s3: { // S3DestinationConfiguration
34
34
  * bucketName: "STRING_VALUE", // required
35
35
  * },
36
- * cloudWatchLogs: {
36
+ * cloudWatchLogs: { // CloudWatchLogsDestinationConfiguration
37
37
  * logGroupName: "STRING_VALUE", // required
38
38
  * },
39
- * firehose: {
39
+ * firehose: { // FirehoseDestinationConfiguration
40
40
  * deliveryStreamName: "STRING_VALUE", // required
41
41
  * },
42
42
  * },
@@ -26,16 +26,16 @@ export interface UpdateRoomCommandOutput extends UpdateRoomResponse, __MetadataB
26
26
  * import { IvschatClient, UpdateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
27
27
  * // const { IvschatClient, UpdateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
28
28
  * const client = new IvschatClient(config);
29
- * const input = {
29
+ * const input = { // UpdateRoomRequest
30
30
  * identifier: "STRING_VALUE", // required
31
31
  * name: "STRING_VALUE",
32
32
  * maximumMessageRatePerSecond: Number("int"),
33
33
  * maximumMessageLength: Number("int"),
34
- * messageReviewHandler: {
34
+ * messageReviewHandler: { // MessageReviewHandler
35
35
  * uri: "STRING_VALUE",
36
36
  * fallbackResult: "STRING_VALUE",
37
37
  * },
38
- * loggingConfigurationIdentifiers: [
38
+ * loggingConfigurationIdentifiers: [ // LoggingConfigurationIdentifierList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
41
  * };
@@ -14,12 +14,17 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum ChatTokenCapability {
19
- DELETE_MESSAGE = "DELETE_MESSAGE",
20
- DISCONNECT_USER = "DISCONNECT_USER",
21
- SEND_MESSAGE = "SEND_MESSAGE"
22
- }
19
+ export declare const ChatTokenCapability: {
20
+ readonly DELETE_MESSAGE: "DELETE_MESSAGE";
21
+ readonly DISCONNECT_USER: "DISCONNECT_USER";
22
+ readonly SEND_MESSAGE: "SEND_MESSAGE";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type ChatTokenCapability = (typeof ChatTokenCapability)[keyof typeof ChatTokenCapability];
23
28
  /**
24
29
  * @public
25
30
  */
@@ -85,10 +90,15 @@ export declare class PendingVerification extends __BaseException {
85
90
  }
86
91
  /**
87
92
  * @public
93
+ * @enum
88
94
  */
89
- export declare enum ResourceType {
90
- ROOM = "ROOM"
91
- }
95
+ export declare const ResourceType: {
96
+ readonly ROOM: "ROOM";
97
+ };
98
+ /**
99
+ * @public
100
+ */
101
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
92
102
  /**
93
103
  * @public
94
104
  * <p/>
@@ -125,12 +135,17 @@ export interface ValidationExceptionField {
125
135
  }
126
136
  /**
127
137
  * @public
138
+ * @enum
128
139
  */
129
- export declare enum ValidationExceptionReason {
130
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
131
- OTHER = "OTHER",
132
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
133
- }
140
+ export declare const ValidationExceptionReason: {
141
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
142
+ readonly OTHER: "OTHER";
143
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
144
+ };
145
+ /**
146
+ * @public
147
+ */
148
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
134
149
  /**
135
150
  * @public
136
151
  * <p/>
@@ -282,10 +297,15 @@ export interface CreateLoggingConfigurationRequest {
282
297
  }
283
298
  /**
284
299
  * @public
300
+ * @enum
285
301
  */
286
- export declare enum CreateLoggingConfigurationState {
287
- ACTIVE = "ACTIVE"
288
- }
302
+ export declare const CreateLoggingConfigurationState: {
303
+ readonly ACTIVE: "ACTIVE";
304
+ };
305
+ /**
306
+ * @public
307
+ */
308
+ export type CreateLoggingConfigurationState = (typeof CreateLoggingConfigurationState)[keyof typeof CreateLoggingConfigurationState];
289
309
  /**
290
310
  * @public
291
311
  */
@@ -357,11 +377,16 @@ export declare class ServiceQuotaExceededException extends __BaseException {
357
377
  }
358
378
  /**
359
379
  * @public
380
+ * @enum
360
381
  */
361
- export declare enum FallbackResult {
362
- ALLOW = "ALLOW",
363
- DENY = "DENY"
364
- }
382
+ export declare const FallbackResult: {
383
+ readonly ALLOW: "ALLOW";
384
+ readonly DENY: "DENY";
385
+ };
386
+ /**
387
+ * @public
388
+ */
389
+ export type FallbackResult = (typeof FallbackResult)[keyof typeof FallbackResult];
365
390
  /**
366
391
  * @public
367
392
  * <p>Configuration information for optional message review.</p>
@@ -574,16 +599,21 @@ export interface GetLoggingConfigurationRequest {
574
599
  }
575
600
  /**
576
601
  * @public
602
+ * @enum
577
603
  */
578
- export declare enum LoggingConfigurationState {
579
- ACTIVE = "ACTIVE",
580
- CREATE_FAILED = "CREATE_FAILED",
581
- CREATING = "CREATING",
582
- DELETE_FAILED = "DELETE_FAILED",
583
- DELETING = "DELETING",
584
- UPDATE_FAILED = "UPDATE_FAILED",
585
- UPDATING = "UPDATING"
586
- }
604
+ export declare const LoggingConfigurationState: {
605
+ readonly ACTIVE: "ACTIVE";
606
+ readonly CREATE_FAILED: "CREATE_FAILED";
607
+ readonly CREATING: "CREATING";
608
+ readonly DELETE_FAILED: "DELETE_FAILED";
609
+ readonly DELETING: "DELETING";
610
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
611
+ readonly UPDATING: "UPDATING";
612
+ };
613
+ /**
614
+ * @public
615
+ */
616
+ export type LoggingConfigurationState = (typeof LoggingConfigurationState)[keyof typeof LoggingConfigurationState];
587
617
  /**
588
618
  * @public
589
619
  */
@@ -980,10 +1010,15 @@ export interface UpdateLoggingConfigurationRequest {
980
1010
  }
981
1011
  /**
982
1012
  * @public
1013
+ * @enum
983
1014
  */
984
- export declare enum UpdateLoggingConfigurationState {
985
- ACTIVE = "ACTIVE"
986
- }
1015
+ export declare const UpdateLoggingConfigurationState: {
1016
+ readonly ACTIVE: "ACTIVE";
1017
+ };
1018
+ /**
1019
+ * @public
1020
+ */
1021
+ export type UpdateLoggingConfigurationState = (typeof UpdateLoggingConfigurationState)[keyof typeof UpdateLoggingConfigurationState];
987
1022
  /**
988
1023
  * @public
989
1024
  */
@@ -7,11 +7,13 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum ChatTokenCapability {
11
- DELETE_MESSAGE = "DELETE_MESSAGE",
12
- DISCONNECT_USER = "DISCONNECT_USER",
13
- SEND_MESSAGE = "SEND_MESSAGE",
14
- }
10
+ export declare const ChatTokenCapability: {
11
+ readonly DELETE_MESSAGE: "DELETE_MESSAGE";
12
+ readonly DISCONNECT_USER: "DISCONNECT_USER";
13
+ readonly SEND_MESSAGE: "SEND_MESSAGE";
14
+ };
15
+ export type ChatTokenCapability =
16
+ (typeof ChatTokenCapability)[keyof typeof ChatTokenCapability];
15
17
  export interface CreateChatTokenRequest {
16
18
  roomIdentifier: string | undefined;
17
19
  userId: string | undefined;
@@ -31,9 +33,10 @@ export declare class PendingVerification extends __BaseException {
31
33
  opts: __ExceptionOptionType<PendingVerification, __BaseException>
32
34
  );
33
35
  }
34
- export declare enum ResourceType {
35
- ROOM = "ROOM",
36
- }
36
+ export declare const ResourceType: {
37
+ readonly ROOM: "ROOM";
38
+ };
39
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
37
40
  export declare class ResourceNotFoundException extends __BaseException {
38
41
  readonly name: "ResourceNotFoundException";
39
42
  readonly $fault: "client";
@@ -47,11 +50,13 @@ export interface ValidationExceptionField {
47
50
  name: string | undefined;
48
51
  message: string | undefined;
49
52
  }
50
- export declare enum ValidationExceptionReason {
51
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
52
- OTHER = "OTHER",
53
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION",
54
- }
53
+ export declare const ValidationExceptionReason: {
54
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
55
+ readonly OTHER: "OTHER";
56
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
57
+ };
58
+ export type ValidationExceptionReason =
59
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
55
60
  export declare class ValidationException extends __BaseException {
56
61
  readonly name: "ValidationException";
57
62
  readonly $fault: "client";
@@ -120,9 +125,11 @@ export interface CreateLoggingConfigurationRequest {
120
125
  destinationConfiguration: DestinationConfiguration | undefined;
121
126
  tags?: Record<string, string>;
122
127
  }
123
- export declare enum CreateLoggingConfigurationState {
124
- ACTIVE = "ACTIVE",
125
- }
128
+ export declare const CreateLoggingConfigurationState: {
129
+ readonly ACTIVE: "ACTIVE";
130
+ };
131
+ export type CreateLoggingConfigurationState =
132
+ (typeof CreateLoggingConfigurationState)[keyof typeof CreateLoggingConfigurationState];
126
133
  export interface CreateLoggingConfigurationResponse {
127
134
  arn?: string;
128
135
  id?: string;
@@ -143,10 +150,12 @@ export declare class ServiceQuotaExceededException extends __BaseException {
143
150
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
144
151
  );
145
152
  }
146
- export declare enum FallbackResult {
147
- ALLOW = "ALLOW",
148
- DENY = "DENY",
149
- }
153
+ export declare const FallbackResult: {
154
+ readonly ALLOW: "ALLOW";
155
+ readonly DENY: "DENY";
156
+ };
157
+ export type FallbackResult =
158
+ (typeof FallbackResult)[keyof typeof FallbackResult];
150
159
  export interface MessageReviewHandler {
151
160
  uri?: string;
152
161
  fallbackResult?: FallbackResult | string;
@@ -204,15 +213,17 @@ export interface DisconnectUserResponse {}
204
213
  export interface GetLoggingConfigurationRequest {
205
214
  identifier: string | undefined;
206
215
  }
207
- export declare enum LoggingConfigurationState {
208
- ACTIVE = "ACTIVE",
209
- CREATE_FAILED = "CREATE_FAILED",
210
- CREATING = "CREATING",
211
- DELETE_FAILED = "DELETE_FAILED",
212
- DELETING = "DELETING",
213
- UPDATE_FAILED = "UPDATE_FAILED",
214
- UPDATING = "UPDATING",
215
- }
216
+ export declare const LoggingConfigurationState: {
217
+ readonly ACTIVE: "ACTIVE";
218
+ readonly CREATE_FAILED: "CREATE_FAILED";
219
+ readonly CREATING: "CREATING";
220
+ readonly DELETE_FAILED: "DELETE_FAILED";
221
+ readonly DELETING: "DELETING";
222
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
223
+ readonly UPDATING: "UPDATING";
224
+ };
225
+ export type LoggingConfigurationState =
226
+ (typeof LoggingConfigurationState)[keyof typeof LoggingConfigurationState];
216
227
  export interface GetLoggingConfigurationResponse {
217
228
  arn?: string;
218
229
  id?: string;
@@ -313,9 +324,11 @@ export interface UpdateLoggingConfigurationRequest {
313
324
  name?: string;
314
325
  destinationConfiguration?: DestinationConfiguration;
315
326
  }
316
- export declare enum UpdateLoggingConfigurationState {
317
- ACTIVE = "ACTIVE",
318
- }
327
+ export declare const UpdateLoggingConfigurationState: {
328
+ readonly ACTIVE: "ACTIVE";
329
+ };
330
+ export type UpdateLoggingConfigurationState =
331
+ (typeof UpdateLoggingConfigurationState)[keyof typeof UpdateLoggingConfigurationState];
319
332
  export interface UpdateLoggingConfigurationResponse {
320
333
  arn?: string;
321
334
  id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivschat",
3
3
  "description": "AWS SDK for JavaScript Ivschat 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,42 +21,42 @@
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
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",