@aws-sdk/client-chime-sdk-meetings 3.391.0 → 3.395.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.
- package/dist-cjs/ChimeSDKMeetingsClient.js +4 -2
- package/dist-cjs/clientConfiguration.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +75 -0
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/ChimeSDKMeetingsClient.js +4 -2
- package/dist-es/clientConfiguration.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +75 -0
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/ChimeSDKMeetingsClient.d.ts +6 -1
- package/dist-types/clientConfiguration.d.ts +6 -0
- package/dist-types/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +6 -0
- package/dist-types/commands/CreateMeetingCommand.d.ts +3 -0
- package/dist-types/commands/CreateMeetingWithAttendeesCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +21 -0
- package/dist-types/commands/TagResourceCommand.d.ts +18 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +18 -0
- package/dist-types/commands/UpdateAttendeeCapabilitiesCommand.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ChimeSDKMeetingsClient.d.ts +3 -0
- package/dist-types/ts3.4/clientConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +3 -3
|
@@ -14,6 +14,7 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
14
14
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
17
|
+
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
17
18
|
class ChimeSDKMeetingsClient extends smithy_client_1.Client {
|
|
18
19
|
constructor(...[configuration]) {
|
|
19
20
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
@@ -24,8 +25,9 @@ class ChimeSDKMeetingsClient extends smithy_client_1.Client {
|
|
|
24
25
|
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
25
26
|
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
26
27
|
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
29
|
+
super(_config_8);
|
|
30
|
+
this.config = _config_8;
|
|
29
31
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
30
32
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
31
33
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -472,9 +472,15 @@ const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, cont
|
|
|
472
472
|
case "NotFoundException":
|
|
473
473
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
474
474
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
475
|
+
case "ServiceFailureException":
|
|
476
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
477
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
475
478
|
case "ServiceUnavailableException":
|
|
476
479
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
477
480
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
481
|
+
case "ThrottlingException":
|
|
482
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
483
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
478
484
|
case "UnauthorizedException":
|
|
479
485
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
480
486
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -570,6 +576,9 @@ const de_CreateMeetingCommandError = async (output, context) => {
|
|
|
570
576
|
case "BadRequestException":
|
|
571
577
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
572
578
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
579
|
+
case "ConflictException":
|
|
580
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
581
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
573
582
|
case "ForbiddenException":
|
|
574
583
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
575
584
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
@@ -624,6 +633,9 @@ const de_CreateMeetingWithAttendeesCommandError = async (output, context) => {
|
|
|
624
633
|
case "BadRequestException":
|
|
625
634
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
626
635
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
636
|
+
case "ConflictException":
|
|
637
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
638
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
627
639
|
case "ForbiddenException":
|
|
628
640
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
629
641
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
@@ -926,9 +938,30 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
926
938
|
};
|
|
927
939
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
928
940
|
switch (errorCode) {
|
|
941
|
+
case "BadRequestException":
|
|
942
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
943
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
944
|
+
case "ForbiddenException":
|
|
945
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
946
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
947
|
+
case "LimitExceededException":
|
|
948
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
949
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
929
950
|
case "ResourceNotFoundException":
|
|
930
951
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
931
952
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
953
|
+
case "ServiceFailureException":
|
|
954
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
955
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
956
|
+
case "ServiceUnavailableException":
|
|
957
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
958
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
959
|
+
case "ThrottlingException":
|
|
960
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
961
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
962
|
+
case "UnauthorizedException":
|
|
963
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
964
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
932
965
|
default:
|
|
933
966
|
const parsedBody = parsedOutput.body;
|
|
934
967
|
return throwDefaultError({
|
|
@@ -1064,12 +1097,30 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1064
1097
|
case "BadRequestException":
|
|
1065
1098
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1066
1099
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1100
|
+
case "ForbiddenException":
|
|
1101
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1102
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1103
|
+
case "LimitExceededException":
|
|
1104
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1105
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1067
1106
|
case "ResourceNotFoundException":
|
|
1068
1107
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1069
1108
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1109
|
+
case "ServiceFailureException":
|
|
1110
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1111
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1112
|
+
case "ServiceUnavailableException":
|
|
1113
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1114
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1115
|
+
case "ThrottlingException":
|
|
1116
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1117
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1070
1118
|
case "TooManyTagsException":
|
|
1071
1119
|
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1072
1120
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1121
|
+
case "UnauthorizedException":
|
|
1122
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1123
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1073
1124
|
default:
|
|
1074
1125
|
const parsedBody = parsedOutput.body;
|
|
1075
1126
|
return throwDefaultError({
|
|
@@ -1100,9 +1151,27 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1100
1151
|
case "BadRequestException":
|
|
1101
1152
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1102
1153
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1154
|
+
case "ForbiddenException":
|
|
1155
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1156
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1157
|
+
case "LimitExceededException":
|
|
1158
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1159
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1103
1160
|
case "ResourceNotFoundException":
|
|
1104
1161
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1105
1162
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1163
|
+
case "ServiceFailureException":
|
|
1164
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1165
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1166
|
+
case "ServiceUnavailableException":
|
|
1167
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1168
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1169
|
+
case "ThrottlingException":
|
|
1170
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1171
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1172
|
+
case "UnauthorizedException":
|
|
1173
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1174
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1106
1175
|
default:
|
|
1107
1176
|
const parsedBody = parsedOutput.body;
|
|
1108
1177
|
return throwDefaultError({
|
|
@@ -1146,9 +1215,15 @@ const de_UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
|
|
|
1146
1215
|
case "NotFoundException":
|
|
1147
1216
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1148
1217
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1218
|
+
case "ServiceFailureException":
|
|
1219
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1220
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1149
1221
|
case "ServiceUnavailableException":
|
|
1150
1222
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1151
1223
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1224
|
+
case "ThrottlingException":
|
|
1225
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1226
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1152
1227
|
case "UnauthorizedException":
|
|
1153
1228
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1154
1229
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -12,6 +12,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
12
12
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
13
13
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
14
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
15
16
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
16
17
|
serviceId: config?.serviceId ?? "Chime SDK Meetings",
|
|
17
18
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const types_1 = require("@smithy/types");
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const clientConfiguration = {
|
|
8
|
+
...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
|
|
9
|
+
};
|
|
10
|
+
extensions.forEach((extension) => extension.configureClient(clientConfiguration));
|
|
11
|
+
return {
|
|
12
|
+
...runtimeConfig,
|
|
13
|
+
...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -10,6 +10,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
|
10
10
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
13
14
|
export { __Client };
|
|
14
15
|
export class ChimeSDKMeetingsClient extends __Client {
|
|
15
16
|
constructor(...[configuration]) {
|
|
@@ -21,8 +22,9 @@ export class ChimeSDKMeetingsClient extends __Client {
|
|
|
21
22
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
22
23
|
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
23
24
|
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
26
|
+
super(_config_8);
|
|
27
|
+
this.config = _config_8;
|
|
26
28
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
27
29
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
28
30
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -451,9 +451,15 @@ const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, cont
|
|
|
451
451
|
case "NotFoundException":
|
|
452
452
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
453
453
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
454
|
+
case "ServiceFailureException":
|
|
455
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
456
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
454
457
|
case "ServiceUnavailableException":
|
|
455
458
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
456
459
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
460
|
+
case "ThrottlingException":
|
|
461
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
462
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
457
463
|
case "UnauthorizedException":
|
|
458
464
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
459
465
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -547,6 +553,9 @@ const de_CreateMeetingCommandError = async (output, context) => {
|
|
|
547
553
|
case "BadRequestException":
|
|
548
554
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
549
555
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
556
|
+
case "ConflictException":
|
|
557
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
558
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
550
559
|
case "ForbiddenException":
|
|
551
560
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
552
561
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
@@ -600,6 +609,9 @@ const de_CreateMeetingWithAttendeesCommandError = async (output, context) => {
|
|
|
600
609
|
case "BadRequestException":
|
|
601
610
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
602
611
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
612
|
+
case "ConflictException":
|
|
613
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
614
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
603
615
|
case "ForbiddenException":
|
|
604
616
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
605
617
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
@@ -896,9 +908,30 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
896
908
|
};
|
|
897
909
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
898
910
|
switch (errorCode) {
|
|
911
|
+
case "BadRequestException":
|
|
912
|
+
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
913
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
914
|
+
case "ForbiddenException":
|
|
915
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
916
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
917
|
+
case "LimitExceededException":
|
|
918
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
919
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
899
920
|
case "ResourceNotFoundException":
|
|
900
921
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
901
922
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
923
|
+
case "ServiceFailureException":
|
|
924
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
925
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
926
|
+
case "ServiceUnavailableException":
|
|
927
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
928
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
929
|
+
case "ThrottlingException":
|
|
930
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
931
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
932
|
+
case "UnauthorizedException":
|
|
933
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
934
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
902
935
|
default:
|
|
903
936
|
const parsedBody = parsedOutput.body;
|
|
904
937
|
return throwDefaultError({
|
|
@@ -1031,12 +1064,30 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1031
1064
|
case "BadRequestException":
|
|
1032
1065
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1033
1066
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1067
|
+
case "ForbiddenException":
|
|
1068
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1069
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1070
|
+
case "LimitExceededException":
|
|
1071
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1072
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1034
1073
|
case "ResourceNotFoundException":
|
|
1035
1074
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1036
1075
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1076
|
+
case "ServiceFailureException":
|
|
1077
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1078
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1079
|
+
case "ServiceUnavailableException":
|
|
1080
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1081
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1082
|
+
case "ThrottlingException":
|
|
1083
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1084
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1037
1085
|
case "TooManyTagsException":
|
|
1038
1086
|
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1039
1087
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1088
|
+
case "UnauthorizedException":
|
|
1089
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1090
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1040
1091
|
default:
|
|
1041
1092
|
const parsedBody = parsedOutput.body;
|
|
1042
1093
|
return throwDefaultError({
|
|
@@ -1066,9 +1117,27 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1066
1117
|
case "BadRequestException":
|
|
1067
1118
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1068
1119
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1120
|
+
case "ForbiddenException":
|
|
1121
|
+
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1122
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1123
|
+
case "LimitExceededException":
|
|
1124
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1125
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1069
1126
|
case "ResourceNotFoundException":
|
|
1070
1127
|
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1071
1128
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1129
|
+
case "ServiceFailureException":
|
|
1130
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1131
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1132
|
+
case "ServiceUnavailableException":
|
|
1133
|
+
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1134
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1135
|
+
case "ThrottlingException":
|
|
1136
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1137
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "UnauthorizedException":
|
|
1139
|
+
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1140
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1072
1141
|
default:
|
|
1073
1142
|
const parsedBody = parsedOutput.body;
|
|
1074
1143
|
return throwDefaultError({
|
|
@@ -1111,9 +1180,15 @@ const de_UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
|
|
|
1111
1180
|
case "NotFoundException":
|
|
1112
1181
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1113
1182
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "ServiceFailureException":
|
|
1184
|
+
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1185
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1114
1186
|
case "ServiceUnavailableException":
|
|
1115
1187
|
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1116
1188
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1189
|
+
case "ThrottlingException":
|
|
1190
|
+
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1117
1192
|
case "UnauthorizedException":
|
|
1118
1193
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1119
1194
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
@@ -9,6 +9,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
9
9
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
10
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
11
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
|
+
extensions: config?.extensions ?? [],
|
|
12
13
|
logger: config?.logger ?? new NoOpLogger(),
|
|
13
14
|
serviceId: config?.serviceId ?? "Chime SDK Meetings",
|
|
14
15
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types";
|
|
2
|
+
const asPartial = (t) => t;
|
|
3
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
+
const clientConfiguration = {
|
|
5
|
+
...asPartial(getDefaultClientConfiguration(runtimeConfig)),
|
|
6
|
+
};
|
|
7
|
+
extensions.forEach((extension) => extension.configureClient(clientConfiguration));
|
|
8
|
+
return {
|
|
9
|
+
...runtimeConfig,
|
|
10
|
+
...resolveDefaultRuntimeConfig(clientConfiguration),
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -25,6 +25,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
25
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
26
|
import { UpdateAttendeeCapabilitiesCommandInput, UpdateAttendeeCapabilitiesCommandOutput } from "./commands/UpdateAttendeeCapabilitiesCommand";
|
|
27
27
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
28
29
|
export { __Client };
|
|
29
30
|
/**
|
|
30
31
|
* @public
|
|
@@ -132,6 +133,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
132
133
|
* Optional logger for logging debug/info/warn/error.
|
|
133
134
|
*/
|
|
134
135
|
logger?: __Logger;
|
|
136
|
+
/**
|
|
137
|
+
* Optional extensions
|
|
138
|
+
*/
|
|
139
|
+
extensions?: RuntimeExtension[];
|
|
135
140
|
/**
|
|
136
141
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
137
142
|
*/
|
|
@@ -151,7 +156,7 @@ export interface ChimeSDKMeetingsClientConfig extends ChimeSDKMeetingsClientConf
|
|
|
151
156
|
/**
|
|
152
157
|
* @public
|
|
153
158
|
*/
|
|
154
|
-
export type ChimeSDKMeetingsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
159
|
+
export type ChimeSDKMeetingsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
155
160
|
/**
|
|
156
161
|
* @public
|
|
157
162
|
*
|
|
@@ -87,9 +87,15 @@ export interface BatchUpdateAttendeeCapabilitiesExceptCommandOutput extends __Me
|
|
|
87
87
|
* @throws {@link NotFoundException} (client fault)
|
|
88
88
|
* <p>One or more of the resources in the request does not exist in the system.</p>
|
|
89
89
|
*
|
|
90
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
91
|
+
* <p>The service encountered an unexpected error.</p>
|
|
92
|
+
*
|
|
90
93
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
91
94
|
* <p>The service is currently unavailable.</p>
|
|
92
95
|
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>The number of customer requests exceeds the request rate limit.</p>
|
|
98
|
+
*
|
|
93
99
|
* @throws {@link UnauthorizedException} (client fault)
|
|
94
100
|
* <p>The user isn't authorized to request a resource.</p>
|
|
95
101
|
*
|
|
@@ -104,6 +104,9 @@ export interface CreateMeetingCommandOutput extends CreateMeetingResponse, __Met
|
|
|
104
104
|
* @throws {@link BadRequestException} (client fault)
|
|
105
105
|
* <p>The input parameters don't match the service's restrictions.</p>
|
|
106
106
|
*
|
|
107
|
+
* @throws {@link ConflictException} (client fault)
|
|
108
|
+
* <p>Multiple instances of the same request have been made simultaneously.</p>
|
|
109
|
+
*
|
|
107
110
|
* @throws {@link ForbiddenException} (client fault)
|
|
108
111
|
* <p>The client is permanently forbidden from making the request.</p>
|
|
109
112
|
*
|
|
@@ -133,6 +133,9 @@ export interface CreateMeetingWithAttendeesCommandOutput extends CreateMeetingWi
|
|
|
133
133
|
* @throws {@link BadRequestException} (client fault)
|
|
134
134
|
* <p>The input parameters don't match the service's restrictions.</p>
|
|
135
135
|
*
|
|
136
|
+
* @throws {@link ConflictException} (client fault)
|
|
137
|
+
* <p>Multiple instances of the same request have been made simultaneously.</p>
|
|
138
|
+
*
|
|
136
139
|
* @throws {@link ForbiddenException} (client fault)
|
|
137
140
|
* <p>The client is permanently forbidden from making the request.</p>
|
|
138
141
|
*
|
|
@@ -52,9 +52,30 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
52
52
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link ChimeSDKMeetingsClientResolvedConfig | config} for ChimeSDKMeetingsClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @throws {@link BadRequestException} (client fault)
|
|
56
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
62
|
+
* <p>The request exceeds the resource limit.</p>
|
|
63
|
+
*
|
|
55
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
65
|
* <p>The resource that you want to tag couldn't be found.</p>
|
|
57
66
|
*
|
|
67
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
68
|
+
* <p>The service encountered an unexpected error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
71
|
+
* <p>The service is currently unavailable.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The number of customer requests exceeds the request rate limit.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
77
|
+
* <p>The user isn't authorized to request a resource.</p>
|
|
78
|
+
*
|
|
58
79
|
* @throws {@link ChimeSDKMeetingsServiceException}
|
|
59
80
|
* <p>Base exception class for all service exceptions from ChimeSDKMeetings service.</p>
|
|
60
81
|
*
|
|
@@ -54,12 +54,30 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
54
54
|
* @throws {@link BadRequestException} (client fault)
|
|
55
55
|
* <p>The input parameters don't match the service's restrictions.</p>
|
|
56
56
|
*
|
|
57
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
58
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
61
|
+
* <p>The request exceeds the resource limit.</p>
|
|
62
|
+
*
|
|
57
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
64
|
* <p>The resource that you want to tag couldn't be found.</p>
|
|
59
65
|
*
|
|
66
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
67
|
+
* <p>The service encountered an unexpected error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
70
|
+
* <p>The service is currently unavailable.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The number of customer requests exceeds the request rate limit.</p>
|
|
74
|
+
*
|
|
60
75
|
* @throws {@link TooManyTagsException} (client fault)
|
|
61
76
|
* <p>Too many tags were added to the specified resource.</p>
|
|
62
77
|
*
|
|
78
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
79
|
+
* <p>The user isn't authorized to request a resource.</p>
|
|
80
|
+
*
|
|
63
81
|
* @throws {@link ChimeSDKMeetingsServiceException}
|
|
64
82
|
* <p>Base exception class for all service exceptions from ChimeSDKMeetings service.</p>
|
|
65
83
|
*
|
|
@@ -72,9 +72,27 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
72
72
|
* @throws {@link BadRequestException} (client fault)
|
|
73
73
|
* <p>The input parameters don't match the service's restrictions.</p>
|
|
74
74
|
*
|
|
75
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
76
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
79
|
+
* <p>The request exceeds the resource limit.</p>
|
|
80
|
+
*
|
|
75
81
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
82
|
* <p>The resource that you want to tag couldn't be found.</p>
|
|
77
83
|
*
|
|
84
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
85
|
+
* <p>The service encountered an unexpected error.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
88
|
+
* <p>The service is currently unavailable.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The number of customer requests exceeds the request rate limit.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
94
|
+
* <p>The user isn't authorized to request a resource.</p>
|
|
95
|
+
*
|
|
78
96
|
* @throws {@link ChimeSDKMeetingsServiceException}
|
|
79
97
|
* <p>Base exception class for all service exceptions from ChimeSDKMeetings service.</p>
|
|
80
98
|
*
|
|
@@ -94,9 +94,15 @@ export interface UpdateAttendeeCapabilitiesCommandOutput extends UpdateAttendeeC
|
|
|
94
94
|
* @throws {@link NotFoundException} (client fault)
|
|
95
95
|
* <p>One or more of the resources in the request does not exist in the system.</p>
|
|
96
96
|
*
|
|
97
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
98
|
+
* <p>The service encountered an unexpected error.</p>
|
|
99
|
+
*
|
|
97
100
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
98
101
|
* <p>The service is currently unavailable.</p>
|
|
99
102
|
*
|
|
103
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
104
|
+
* <p>The number of customer requests exceeds the request rate limit.</p>
|
|
105
|
+
*
|
|
100
106
|
* @throws {@link UnauthorizedException} (client fault)
|
|
101
107
|
* <p>The user isn't authorized to request a resource.</p>
|
|
102
108
|
*
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMeetingsClientConfig) =>
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
30
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
30
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMeetingsClientConfig) =>
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
29
30
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
30
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMeetingsClientConfig) =>
|
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
29
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMeetingsClientConfig) =>
|
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
12
12
|
}) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
13
14
|
logger: import("@smithy/types").Logger;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChimeSDKMeetingsClientConfiguration } from "./clientConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configureClient(clientConfiguration: ChimeSDKMeetingsClientConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -114,6 +114,7 @@ import {
|
|
|
114
114
|
ClientResolvedEndpointParameters,
|
|
115
115
|
EndpointParameters,
|
|
116
116
|
} from "./endpoint/EndpointParameters";
|
|
117
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
117
118
|
export { __Client };
|
|
118
119
|
export type ServiceInputTypes =
|
|
119
120
|
| BatchCreateAttendeeCommandInput
|
|
@@ -171,6 +172,7 @@ export interface ClientDefaults
|
|
|
171
172
|
maxAttempts?: number | __Provider<number>;
|
|
172
173
|
retryMode?: string | __Provider<string>;
|
|
173
174
|
logger?: __Logger;
|
|
175
|
+
extensions?: RuntimeExtension[];
|
|
174
176
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
175
177
|
}
|
|
176
178
|
export type ChimeSDKMeetingsClientConfigType = Partial<
|
|
@@ -189,6 +191,7 @@ export interface ChimeSDKMeetingsClientConfig
|
|
|
189
191
|
export type ChimeSDKMeetingsClientResolvedConfigType =
|
|
190
192
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
191
193
|
Required<ClientDefaults> &
|
|
194
|
+
RuntimeExtensionsConfig &
|
|
192
195
|
RegionResolvedConfig &
|
|
193
196
|
EndpointResolvedConfig<EndpointParameters> &
|
|
194
197
|
RetryResolvedConfig &
|
|
@@ -34,6 +34,7 @@ export declare const getRuntimeConfig: (
|
|
|
34
34
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
35
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
36
|
logger: import("@smithy/types").Logger;
|
|
37
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
38
|
defaultsMode:
|
|
38
39
|
| import("@smithy/smithy-client").DefaultsMode
|
|
39
40
|
| import("@smithy/types").Provider<
|
|
@@ -12,6 +12,7 @@ export declare const getRuntimeConfig: (
|
|
|
12
12
|
logger?: import("@smithy/types").Logger | undefined;
|
|
13
13
|
}
|
|
14
14
|
) => import("@smithy/types").EndpointV2;
|
|
15
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
16
|
logger: import("@smithy/types").Logger;
|
|
16
17
|
serviceId: string;
|
|
17
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChimeSDKMeetingsClientConfiguration } from "./clientConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configureClient(
|
|
4
|
+
clientConfiguration: ChimeSDKMeetingsClientConfiguration
|
|
5
|
+
): void;
|
|
6
|
+
}
|
|
7
|
+
export interface RuntimeExtensionsConfig {
|
|
8
|
+
extensions: RuntimeExtension[];
|
|
9
|
+
}
|
|
10
|
+
export declare const resolveRuntimeExtensions: (
|
|
11
|
+
runtimeConfig: any,
|
|
12
|
+
extensions: RuntimeExtension[]
|
|
13
|
+
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-meetings",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Meetings Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.395.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,8 +21,8 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.395.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.395.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.391.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.391.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.391.0",
|