@aws-sdk/client-chime 3.181.0 → 3.183.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/CHANGELOG.md +8 -0
- package/dist-es/Chime.js +766 -773
- package/dist-es/ChimeClient.js +22 -28
- package/dist-es/commands/AssociatePhoneNumberWithUserCommand.js +21 -28
- package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.js +21 -28
- package/dist-es/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.js +21 -28
- package/dist-es/commands/AssociateSigninDelegateGroupsWithAccountCommand.js +21 -28
- package/dist-es/commands/BatchCreateAttendeeCommand.js +21 -28
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +21 -28
- package/dist-es/commands/BatchCreateRoomMembershipCommand.js +21 -28
- package/dist-es/commands/BatchDeletePhoneNumberCommand.js +21 -28
- package/dist-es/commands/BatchSuspendUserCommand.js +21 -28
- package/dist-es/commands/BatchUnsuspendUserCommand.js +21 -28
- package/dist-es/commands/BatchUpdatePhoneNumberCommand.js +21 -28
- package/dist-es/commands/BatchUpdateUserCommand.js +21 -28
- package/dist-es/commands/CreateAccountCommand.js +21 -28
- package/dist-es/commands/CreateAppInstanceAdminCommand.js +21 -28
- package/dist-es/commands/CreateAppInstanceCommand.js +21 -28
- package/dist-es/commands/CreateAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/CreateAttendeeCommand.js +21 -28
- package/dist-es/commands/CreateBotCommand.js +21 -28
- package/dist-es/commands/CreateChannelBanCommand.js +21 -28
- package/dist-es/commands/CreateChannelCommand.js +21 -28
- package/dist-es/commands/CreateChannelMembershipCommand.js +21 -28
- package/dist-es/commands/CreateChannelModeratorCommand.js +21 -28
- package/dist-es/commands/CreateMediaCapturePipelineCommand.js +21 -28
- package/dist-es/commands/CreateMeetingCommand.js +21 -28
- package/dist-es/commands/CreateMeetingDialOutCommand.js +21 -28
- package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +21 -28
- package/dist-es/commands/CreatePhoneNumberOrderCommand.js +21 -28
- package/dist-es/commands/CreateProxySessionCommand.js +21 -28
- package/dist-es/commands/CreateRoomCommand.js +21 -28
- package/dist-es/commands/CreateRoomMembershipCommand.js +21 -28
- package/dist-es/commands/CreateSipMediaApplicationCallCommand.js +21 -28
- package/dist-es/commands/CreateSipMediaApplicationCommand.js +21 -28
- package/dist-es/commands/CreateSipRuleCommand.js +21 -28
- package/dist-es/commands/CreateUserCommand.js +21 -28
- package/dist-es/commands/CreateVoiceConnectorCommand.js +21 -28
- package/dist-es/commands/CreateVoiceConnectorGroupCommand.js +21 -28
- package/dist-es/commands/DeleteAccountCommand.js +21 -28
- package/dist-es/commands/DeleteAppInstanceAdminCommand.js +22 -29
- package/dist-es/commands/DeleteAppInstanceCommand.js +22 -29
- package/dist-es/commands/DeleteAppInstanceStreamingConfigurationsCommand.js +22 -29
- package/dist-es/commands/DeleteAppInstanceUserCommand.js +22 -29
- package/dist-es/commands/DeleteAttendeeCommand.js +22 -29
- package/dist-es/commands/DeleteChannelBanCommand.js +22 -29
- package/dist-es/commands/DeleteChannelCommand.js +22 -29
- package/dist-es/commands/DeleteChannelMembershipCommand.js +22 -29
- package/dist-es/commands/DeleteChannelMessageCommand.js +22 -29
- package/dist-es/commands/DeleteChannelModeratorCommand.js +22 -29
- package/dist-es/commands/DeleteEventsConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +22 -29
- package/dist-es/commands/DeleteMeetingCommand.js +22 -29
- package/dist-es/commands/DeletePhoneNumberCommand.js +22 -29
- package/dist-es/commands/DeleteProxySessionCommand.js +22 -29
- package/dist-es/commands/DeleteRoomCommand.js +22 -29
- package/dist-es/commands/DeleteRoomMembershipCommand.js +22 -29
- package/dist-es/commands/DeleteSipMediaApplicationCommand.js +22 -29
- package/dist-es/commands/DeleteSipRuleCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorGroupCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorOriginationCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorProxyCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorStreamingConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorTerminationCommand.js +22 -29
- package/dist-es/commands/DeleteVoiceConnectorTerminationCredentialsCommand.js +22 -29
- package/dist-es/commands/DescribeAppInstanceAdminCommand.js +21 -28
- package/dist-es/commands/DescribeAppInstanceCommand.js +21 -28
- package/dist-es/commands/DescribeAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/DescribeChannelBanCommand.js +21 -28
- package/dist-es/commands/DescribeChannelCommand.js +21 -28
- package/dist-es/commands/DescribeChannelMembershipCommand.js +21 -28
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/DescribeChannelModeratorCommand.js +21 -28
- package/dist-es/commands/DisassociatePhoneNumberFromUserCommand.js +21 -28
- package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.js +21 -28
- package/dist-es/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.js +21 -28
- package/dist-es/commands/DisassociateSigninDelegateGroupsFromAccountCommand.js +21 -28
- package/dist-es/commands/GetAccountCommand.js +21 -28
- package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
- package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/GetAppInstanceStreamingConfigurationsCommand.js +21 -28
- package/dist-es/commands/GetAttendeeCommand.js +21 -28
- package/dist-es/commands/GetBotCommand.js +21 -28
- package/dist-es/commands/GetChannelMessageCommand.js +21 -28
- package/dist-es/commands/GetEventsConfigurationCommand.js +21 -28
- package/dist-es/commands/GetGlobalSettingsCommand.js +22 -29
- package/dist-es/commands/GetMediaCapturePipelineCommand.js +21 -28
- package/dist-es/commands/GetMeetingCommand.js +21 -28
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +21 -28
- package/dist-es/commands/GetPhoneNumberCommand.js +21 -28
- package/dist-es/commands/GetPhoneNumberOrderCommand.js +21 -28
- package/dist-es/commands/GetPhoneNumberSettingsCommand.js +22 -29
- package/dist-es/commands/GetProxySessionCommand.js +21 -28
- package/dist-es/commands/GetRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/GetRoomCommand.js +21 -28
- package/dist-es/commands/GetSipMediaApplicationCommand.js +21 -28
- package/dist-es/commands/GetSipMediaApplicationLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetSipRuleCommand.js +21 -28
- package/dist-es/commands/GetUserCommand.js +21 -28
- package/dist-es/commands/GetUserSettingsCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorGroupCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorOriginationCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorProxyCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorStreamingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorTerminationCommand.js +21 -28
- package/dist-es/commands/GetVoiceConnectorTerminationHealthCommand.js +21 -28
- package/dist-es/commands/InviteUsersCommand.js +21 -28
- package/dist-es/commands/ListAccountsCommand.js +21 -28
- package/dist-es/commands/ListAppInstanceAdminsCommand.js +21 -28
- package/dist-es/commands/ListAppInstanceUsersCommand.js +21 -28
- package/dist-es/commands/ListAppInstancesCommand.js +21 -28
- package/dist-es/commands/ListAttendeeTagsCommand.js +21 -28
- package/dist-es/commands/ListAttendeesCommand.js +21 -28
- package/dist-es/commands/ListBotsCommand.js +21 -28
- package/dist-es/commands/ListChannelBansCommand.js +21 -28
- package/dist-es/commands/ListChannelMembershipsCommand.js +21 -28
- package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/ListChannelMessagesCommand.js +21 -28
- package/dist-es/commands/ListChannelModeratorsCommand.js +21 -28
- package/dist-es/commands/ListChannelsCommand.js +21 -28
- package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/ListMediaCapturePipelinesCommand.js +21 -28
- package/dist-es/commands/ListMeetingTagsCommand.js +21 -28
- package/dist-es/commands/ListMeetingsCommand.js +21 -28
- package/dist-es/commands/ListPhoneNumberOrdersCommand.js +21 -28
- package/dist-es/commands/ListPhoneNumbersCommand.js +21 -28
- package/dist-es/commands/ListProxySessionsCommand.js +21 -28
- package/dist-es/commands/ListRoomMembershipsCommand.js +21 -28
- package/dist-es/commands/ListRoomsCommand.js +21 -28
- package/dist-es/commands/ListSipMediaApplicationsCommand.js +21 -28
- package/dist-es/commands/ListSipRulesCommand.js +21 -28
- package/dist-es/commands/ListSupportedPhoneNumberCountriesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListUsersCommand.js +21 -28
- package/dist-es/commands/ListVoiceConnectorGroupsCommand.js +21 -28
- package/dist-es/commands/ListVoiceConnectorTerminationCredentialsCommand.js +21 -28
- package/dist-es/commands/ListVoiceConnectorsCommand.js +21 -28
- package/dist-es/commands/LogoutUserCommand.js +21 -28
- package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/PutAppInstanceStreamingConfigurationsCommand.js +21 -28
- package/dist-es/commands/PutEventsConfigurationCommand.js +21 -28
- package/dist-es/commands/PutRetentionSettingsCommand.js +21 -28
- package/dist-es/commands/PutSipMediaApplicationLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorOriginationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorProxyCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorStreamingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorTerminationCommand.js +21 -28
- package/dist-es/commands/PutVoiceConnectorTerminationCredentialsCommand.js +22 -29
- package/dist-es/commands/RedactChannelMessageCommand.js +21 -28
- package/dist-es/commands/RedactConversationMessageCommand.js +21 -28
- package/dist-es/commands/RedactRoomMessageCommand.js +21 -28
- package/dist-es/commands/RegenerateSecurityTokenCommand.js +21 -28
- package/dist-es/commands/ResetPersonalPINCommand.js +21 -28
- package/dist-es/commands/RestorePhoneNumberCommand.js +21 -28
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +21 -28
- package/dist-es/commands/SendChannelMessageCommand.js +21 -28
- package/dist-es/commands/StartMeetingTranscriptionCommand.js +21 -28
- package/dist-es/commands/StopMeetingTranscriptionCommand.js +21 -28
- package/dist-es/commands/TagAttendeeCommand.js +22 -29
- package/dist-es/commands/TagMeetingCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagAttendeeCommand.js +22 -29
- package/dist-es/commands/UntagMeetingCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAccountCommand.js +21 -28
- package/dist-es/commands/UpdateAccountSettingsCommand.js +21 -28
- package/dist-es/commands/UpdateAppInstanceCommand.js +21 -28
- package/dist-es/commands/UpdateAppInstanceUserCommand.js +21 -28
- package/dist-es/commands/UpdateBotCommand.js +21 -28
- package/dist-es/commands/UpdateChannelCommand.js +21 -28
- package/dist-es/commands/UpdateChannelMessageCommand.js +21 -28
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +21 -28
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +22 -29
- package/dist-es/commands/UpdatePhoneNumberCommand.js +21 -28
- package/dist-es/commands/UpdatePhoneNumberSettingsCommand.js +22 -29
- package/dist-es/commands/UpdateProxySessionCommand.js +21 -28
- package/dist-es/commands/UpdateRoomCommand.js +21 -28
- package/dist-es/commands/UpdateRoomMembershipCommand.js +21 -28
- package/dist-es/commands/UpdateSipMediaApplicationCallCommand.js +21 -28
- package/dist-es/commands/UpdateSipMediaApplicationCommand.js +21 -28
- package/dist-es/commands/UpdateSipRuleCommand.js +21 -28
- package/dist-es/commands/UpdateUserCommand.js +21 -28
- package/dist-es/commands/UpdateUserSettingsCommand.js +22 -29
- package/dist-es/commands/UpdateVoiceConnectorCommand.js +21 -28
- package/dist-es/commands/UpdateVoiceConnectorGroupCommand.js +21 -28
- package/dist-es/commands/ValidateE911AddressCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ChimeServiceException.js +5 -10
- package/dist-es/models/models_0.js +1092 -423
- package/dist-es/models/models_1.js +750 -243
- package/dist-es/pagination/ListAccountsPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +25 -68
- package/dist-es/pagination/ListAppInstancesPaginator.js +25 -68
- package/dist-es/pagination/ListAttendeesPaginator.js +25 -68
- package/dist-es/pagination/ListBotsPaginator.js +25 -68
- package/dist-es/pagination/ListChannelBansPaginator.js +25 -68
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +25 -68
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +25 -68
- package/dist-es/pagination/ListChannelMessagesPaginator.js +25 -68
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +25 -68
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +25 -68
- package/dist-es/pagination/ListChannelsPaginator.js +25 -68
- package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +25 -68
- package/dist-es/pagination/ListMeetingsPaginator.js +25 -68
- package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +25 -68
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +25 -68
- package/dist-es/pagination/ListProxySessionsPaginator.js +25 -68
- package/dist-es/pagination/ListRoomMembershipsPaginator.js +25 -68
- package/dist-es/pagination/ListRoomsPaginator.js +25 -68
- package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +25 -68
- package/dist-es/pagination/ListSipRulesPaginator.js +25 -68
- package/dist-es/pagination/ListUsersPaginator.js +25 -68
- package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListVoiceConnectorsPaginator.js +25 -68
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +14645 -20959
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/dist-es/ChimeClient.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class ChimeClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { ChimeClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociatePhoneNumberWithUserRequestFilterSensitiveLog, AssociatePhoneNumberWithUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociatePhoneNumberWithUserCommand, serializeAws_restJson1AssociatePhoneNumberWithUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociatePhoneNumberWithUserCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "AssociatePhoneNumberWithUserCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociatePhoneNumberWithUserRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociatePhoneNumberWithUserResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociatePhoneNumberWithUserCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociatePhoneNumberWithUserCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociatePhoneNumberWithUserCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociatePhoneNumberWithUserCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog, AssociatePhoneNumbersWithVoiceConnectorResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand, serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "AssociatePhoneNumbersWithVoiceConnectorCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociatePhoneNumbersWithVoiceConnectorCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociatePhoneNumbersWithVoiceConnectorCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog, AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand, serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "AssociatePhoneNumbersWithVoiceConnectorGroupCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorGroupRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociatePhoneNumbersWithVoiceConnectorGroupResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociatePhoneNumbersWithVoiceConnectorGroupCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociatePhoneNumbersWithVoiceConnectorGroupCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociatePhoneNumbersWithVoiceConnectorGroupCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateSigninDelegateGroupsWithAccountRequestFilterSensitiveLog, AssociateSigninDelegateGroupsWithAccountResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand, serializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "AssociateSigninDelegateGroupsWithAccountCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateSigninDelegateGroupsWithAccountRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AssociateSigninDelegateGroupsWithAccountResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateSigninDelegateGroupsWithAccountCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1AssociateSigninDelegateGroupsWithAccountCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateSigninDelegateGroupsWithAccountCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchCreateAttendeeRequestFilterSensitiveLog, BatchCreateAttendeeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchCreateAttendeeCommand, serializeAws_restJson1BatchCreateAttendeeCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchCreateAttendeeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "BatchCreateAttendeeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchCreateAttendeeRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchCreateAttendeeResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchCreateAttendeeCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchCreateAttendeeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchCreateAttendeeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchCreateAttendeeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchCreateChannelMembershipRequestFilterSensitiveLog, BatchCreateChannelMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchCreateChannelMembershipCommand, serializeAws_restJson1BatchCreateChannelMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchCreateChannelMembershipCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "BatchCreateChannelMembershipCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchCreateChannelMembershipRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchCreateChannelMembershipResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchCreateChannelMembershipCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchCreateChannelMembershipCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchCreateChannelMembershipCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchCreateChannelMembershipCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchCreateRoomMembershipRequestFilterSensitiveLog, BatchCreateRoomMembershipResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchCreateRoomMembershipCommand, serializeAws_restJson1BatchCreateRoomMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchCreateRoomMembershipCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "BatchCreateRoomMembershipCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchCreateRoomMembershipRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchCreateRoomMembershipResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchCreateRoomMembershipCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchCreateRoomMembershipCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchCreateRoomMembershipCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchCreateRoomMembershipCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchDeletePhoneNumberRequestFilterSensitiveLog, BatchDeletePhoneNumberResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchDeletePhoneNumberCommand, serializeAws_restJson1BatchDeletePhoneNumberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchDeletePhoneNumberCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "BatchDeletePhoneNumberCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchDeletePhoneNumberRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchDeletePhoneNumberResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchDeletePhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchDeletePhoneNumberCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchDeletePhoneNumberCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchDeletePhoneNumberCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchSuspendUserRequestFilterSensitiveLog, BatchSuspendUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchSuspendUserCommand, serializeAws_restJson1BatchSuspendUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchSuspendUserCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "ChimeClient";
|
|
15
|
+
const commandName = "BatchSuspendUserCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchSuspendUserRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchSuspendUserResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchSuspendUserCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1BatchSuspendUserCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1BatchSuspendUserCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchSuspendUserCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|