@aws-sdk/client-chime 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +140 -141
- package/dist-cjs/models/ChimeServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/Chime.js +1 -1
- package/dist-es/ChimeClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociatePhoneNumberWithUserCommand.js +2 -2
- package/dist-es/commands/AssociateSigninDelegateGroupsWithAccountCommand.js +2 -2
- package/dist-es/commands/BatchCreateRoomMembershipCommand.js +2 -2
- package/dist-es/commands/BatchDeletePhoneNumberCommand.js +2 -2
- package/dist-es/commands/BatchSuspendUserCommand.js +2 -2
- package/dist-es/commands/BatchUnsuspendUserCommand.js +2 -2
- package/dist-es/commands/BatchUpdatePhoneNumberCommand.js +2 -2
- package/dist-es/commands/BatchUpdateUserCommand.js +2 -2
- package/dist-es/commands/CreateAccountCommand.js +2 -2
- package/dist-es/commands/CreateBotCommand.js +2 -2
- package/dist-es/commands/CreateMeetingDialOutCommand.js +2 -2
- package/dist-es/commands/CreatePhoneNumberOrderCommand.js +2 -2
- package/dist-es/commands/CreateRoomCommand.js +2 -2
- package/dist-es/commands/CreateRoomMembershipCommand.js +2 -2
- package/dist-es/commands/CreateUserCommand.js +2 -2
- package/dist-es/commands/DeleteAccountCommand.js +2 -2
- package/dist-es/commands/DeleteEventsConfigurationCommand.js +2 -2
- package/dist-es/commands/DeletePhoneNumberCommand.js +2 -2
- package/dist-es/commands/DeleteRoomCommand.js +2 -2
- package/dist-es/commands/DeleteRoomMembershipCommand.js +2 -2
- package/dist-es/commands/DisassociatePhoneNumberFromUserCommand.js +2 -2
- package/dist-es/commands/DisassociateSigninDelegateGroupsFromAccountCommand.js +2 -2
- package/dist-es/commands/GetAccountCommand.js +2 -2
- package/dist-es/commands/GetAccountSettingsCommand.js +2 -2
- package/dist-es/commands/GetBotCommand.js +2 -2
- package/dist-es/commands/GetEventsConfigurationCommand.js +2 -2
- package/dist-es/commands/GetGlobalSettingsCommand.js +2 -2
- package/dist-es/commands/GetPhoneNumberCommand.js +2 -2
- package/dist-es/commands/GetPhoneNumberOrderCommand.js +2 -2
- package/dist-es/commands/GetPhoneNumberSettingsCommand.js +2 -2
- package/dist-es/commands/GetRetentionSettingsCommand.js +2 -2
- package/dist-es/commands/GetRoomCommand.js +2 -2
- package/dist-es/commands/GetUserCommand.js +2 -2
- package/dist-es/commands/GetUserSettingsCommand.js +2 -2
- package/dist-es/commands/InviteUsersCommand.js +2 -2
- package/dist-es/commands/ListAccountsCommand.js +2 -2
- package/dist-es/commands/ListBotsCommand.js +2 -2
- package/dist-es/commands/ListPhoneNumberOrdersCommand.js +2 -2
- package/dist-es/commands/ListPhoneNumbersCommand.js +2 -2
- package/dist-es/commands/ListRoomMembershipsCommand.js +2 -2
- package/dist-es/commands/ListRoomsCommand.js +2 -2
- package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +2 -2
- package/dist-es/commands/ListUsersCommand.js +2 -2
- package/dist-es/commands/LogoutUserCommand.js +2 -2
- package/dist-es/commands/PutEventsConfigurationCommand.js +2 -2
- package/dist-es/commands/PutRetentionSettingsCommand.js +2 -2
- package/dist-es/commands/RedactConversationMessageCommand.js +2 -2
- package/dist-es/commands/RedactRoomMessageCommand.js +2 -2
- package/dist-es/commands/RegenerateSecurityTokenCommand.js +2 -2
- package/dist-es/commands/ResetPersonalPINCommand.js +2 -2
- package/dist-es/commands/RestorePhoneNumberCommand.js +2 -2
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +2 -2
- package/dist-es/commands/UpdateAccountCommand.js +2 -2
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateBotCommand.js +2 -2
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +2 -2
- package/dist-es/commands/UpdatePhoneNumberCommand.js +2 -2
- package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateRoomCommand.js +2 -2
- package/dist-es/commands/UpdateRoomMembershipCommand.js +2 -2
- package/dist-es/commands/UpdateUserCommand.js +2 -2
- package/dist-es/commands/UpdateUserSettingsCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ChimeServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/ChimeClient.d.ts +5 -5
- package/dist-types/commands/AssociatePhoneNumberWithUserCommand.d.ts +6 -4
- package/dist-types/commands/AssociateSigninDelegateGroupsWithAccountCommand.d.ts +6 -4
- package/dist-types/commands/BatchCreateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeletePhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/BatchSuspendUserCommand.d.ts +6 -4
- package/dist-types/commands/BatchUnsuspendUserCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdatePhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdateUserCommand.d.ts +6 -4
- package/dist-types/commands/CreateAccountCommand.d.ts +6 -4
- package/dist-types/commands/CreateBotCommand.d.ts +6 -4
- package/dist-types/commands/CreateMeetingDialOutCommand.d.ts +6 -4
- package/dist-types/commands/CreatePhoneNumberOrderCommand.d.ts +6 -4
- package/dist-types/commands/CreateRoomCommand.d.ts +6 -4
- package/dist-types/commands/CreateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/commands/CreateUserCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAccountCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeletePhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRoomCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRoomMembershipCommand.d.ts +6 -4
- package/dist-types/commands/DisassociatePhoneNumberFromUserCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateSigninDelegateGroupsFromAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +6 -4
- package/dist-types/commands/GetBotCommand.d.ts +6 -4
- package/dist-types/commands/GetEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetGlobalSettingsCommand.d.ts +6 -4
- package/dist-types/commands/GetPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/GetPhoneNumberOrderCommand.d.ts +6 -4
- package/dist-types/commands/GetPhoneNumberSettingsCommand.d.ts +6 -4
- package/dist-types/commands/GetRetentionSettingsCommand.d.ts +6 -4
- package/dist-types/commands/GetRoomCommand.d.ts +6 -4
- package/dist-types/commands/GetUserCommand.d.ts +6 -4
- package/dist-types/commands/GetUserSettingsCommand.d.ts +6 -4
- package/dist-types/commands/InviteUsersCommand.d.ts +6 -4
- package/dist-types/commands/ListAccountsCommand.d.ts +6 -4
- package/dist-types/commands/ListBotsCommand.d.ts +6 -4
- package/dist-types/commands/ListPhoneNumberOrdersCommand.d.ts +6 -4
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +6 -4
- package/dist-types/commands/ListRoomMembershipsCommand.d.ts +6 -4
- package/dist-types/commands/ListRoomsCommand.d.ts +6 -4
- package/dist-types/commands/ListSupportedPhoneNumberCountriesCommand.d.ts +6 -4
- package/dist-types/commands/ListUsersCommand.d.ts +6 -4
- package/dist-types/commands/LogoutUserCommand.d.ts +6 -4
- package/dist-types/commands/PutEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutRetentionSettingsCommand.d.ts +6 -4
- package/dist-types/commands/RedactConversationMessageCommand.d.ts +6 -4
- package/dist-types/commands/RedactRoomMessageCommand.d.ts +6 -4
- package/dist-types/commands/RegenerateSecurityTokenCommand.d.ts +6 -4
- package/dist-types/commands/ResetPersonalPINCommand.d.ts +6 -4
- package/dist-types/commands/RestorePhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAccountCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateBotCommand.d.ts +6 -4
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePhoneNumberSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRoomCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -4
- package/dist-types/commands/UpdateUserSettingsCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ChimeServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ChimeClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociatePhoneNumberWithUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AssociateSigninDelegateGroupsWithAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchCreateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeletePhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchSuspendUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUnsuspendUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdatePhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdateUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBotCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/CreateMeetingDialOutCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePhoneNumberOrderCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRoomMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberFromUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateSigninDelegateGroupsFromAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetGlobalSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPhoneNumberOrderCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPhoneNumberSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetRetentionSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetUserSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InviteUsersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListPhoneNumberOrdersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRoomMembershipsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListSupportedPhoneNumberCountriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/LogoutUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutEventsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutRetentionSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RedactConversationMessageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RedactRoomMessageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegenerateSecurityTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ResetPersonalPINCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestorePhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePhoneNumberSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRoomMembershipCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateUserSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ChimeServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultChimeHttpAuthSchemeProvider = exports.defaultChimeHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultChimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultChimeHttpAuthSchemeProvider = defaultChimeHttpAuthSchemeProvider;
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -49,4 +49,4 @@ const nodes = new Int32Array([
|
|
|
49
49
|
3, r + 1, 14,
|
|
50
50
|
5, r + 2, r + 3,
|
|
51
51
|
]);
|
|
52
|
-
exports.bdd =
|
|
52
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|