@aws-sdk/client-connect 3.79.0 → 3.82.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 +27 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/PutUserStatusCommand.js +36 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +1 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/models/models_1.js +14 -2
- package/dist-cjs/protocols/Aws_restJson1.js +94 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/PutUserStatusCommand.js +39 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +1 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +114 -0
- package/dist-types/Connect.d.ts +11 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/PutUserStatusCommand.d.ts +39 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +28 -56
- package/dist-types/models/models_1.d.ts +57 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +5 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -31
- package/dist-types/ts3.4/models/models_1.d.ts +32 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +9 -9
|
@@ -3592,6 +3592,50 @@ export var serializeAws_restJson1ListUsersCommand = function (input, context) {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
});
|
|
3594
3594
|
}); };
|
|
3595
|
+
export var serializeAws_restJson1PutUserStatusCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3596
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, labelValue, body;
|
|
3597
|
+
return __generator(this, function (_c) {
|
|
3598
|
+
switch (_c.label) {
|
|
3599
|
+
case 0: return [4, context.endpoint()];
|
|
3600
|
+
case 1:
|
|
3601
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3602
|
+
headers = {
|
|
3603
|
+
"content-type": "application/json",
|
|
3604
|
+
};
|
|
3605
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/users/{InstanceId}/{UserId}/status";
|
|
3606
|
+
if (input.UserId !== undefined) {
|
|
3607
|
+
labelValue = input.UserId;
|
|
3608
|
+
if (labelValue.length <= 0) {
|
|
3609
|
+
throw new Error("Empty value provided for input HTTP label: UserId.");
|
|
3610
|
+
}
|
|
3611
|
+
resolvedPath = resolvedPath.replace("{UserId}", __extendedEncodeURIComponent(labelValue));
|
|
3612
|
+
}
|
|
3613
|
+
else {
|
|
3614
|
+
throw new Error("No value provided for input HTTP label: UserId.");
|
|
3615
|
+
}
|
|
3616
|
+
if (input.InstanceId !== undefined) {
|
|
3617
|
+
labelValue = input.InstanceId;
|
|
3618
|
+
if (labelValue.length <= 0) {
|
|
3619
|
+
throw new Error("Empty value provided for input HTTP label: InstanceId.");
|
|
3620
|
+
}
|
|
3621
|
+
resolvedPath = resolvedPath.replace("{InstanceId}", __extendedEncodeURIComponent(labelValue));
|
|
3622
|
+
}
|
|
3623
|
+
else {
|
|
3624
|
+
throw new Error("No value provided for input HTTP label: InstanceId.");
|
|
3625
|
+
}
|
|
3626
|
+
body = JSON.stringify(__assign({}, (input.AgentStatusId !== undefined && input.AgentStatusId !== null && { AgentStatusId: input.AgentStatusId })));
|
|
3627
|
+
return [2, new __HttpRequest({
|
|
3628
|
+
protocol: protocol,
|
|
3629
|
+
hostname: hostname,
|
|
3630
|
+
port: port,
|
|
3631
|
+
method: "PUT",
|
|
3632
|
+
headers: headers,
|
|
3633
|
+
path: resolvedPath,
|
|
3634
|
+
body: body,
|
|
3635
|
+
})];
|
|
3636
|
+
}
|
|
3637
|
+
});
|
|
3638
|
+
}); };
|
|
3595
3639
|
export var serializeAws_restJson1ReleasePhoneNumberCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3596
3640
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
3597
3641
|
return __generator(this, function (_c) {
|
|
@@ -12476,6 +12520,76 @@ var deserializeAws_restJson1ListUsersCommandError = function (output, context) {
|
|
|
12476
12520
|
}
|
|
12477
12521
|
});
|
|
12478
12522
|
}); };
|
|
12523
|
+
export var deserializeAws_restJson1PutUserStatusCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12524
|
+
var contents;
|
|
12525
|
+
return __generator(this, function (_a) {
|
|
12526
|
+
switch (_a.label) {
|
|
12527
|
+
case 0:
|
|
12528
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12529
|
+
return [2, deserializeAws_restJson1PutUserStatusCommandError(output, context)];
|
|
12530
|
+
}
|
|
12531
|
+
contents = {
|
|
12532
|
+
$metadata: deserializeMetadata(output),
|
|
12533
|
+
};
|
|
12534
|
+
return [4, collectBody(output.body, context)];
|
|
12535
|
+
case 1:
|
|
12536
|
+
_a.sent();
|
|
12537
|
+
return [2, Promise.resolve(contents)];
|
|
12538
|
+
}
|
|
12539
|
+
});
|
|
12540
|
+
}); };
|
|
12541
|
+
var deserializeAws_restJson1PutUserStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12542
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
12543
|
+
var _c;
|
|
12544
|
+
return __generator(this, function (_d) {
|
|
12545
|
+
switch (_d.label) {
|
|
12546
|
+
case 0:
|
|
12547
|
+
_a = [__assign({}, output)];
|
|
12548
|
+
_c = {};
|
|
12549
|
+
return [4, parseBody(output.body, context)];
|
|
12550
|
+
case 1:
|
|
12551
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
12552
|
+
errorCode = "UnknownError";
|
|
12553
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12554
|
+
_b = errorCode;
|
|
12555
|
+
switch (_b) {
|
|
12556
|
+
case "AccessDeniedException": return [3, 2];
|
|
12557
|
+
case "com.amazonaws.connect#AccessDeniedException": return [3, 2];
|
|
12558
|
+
case "InternalServiceException": return [3, 4];
|
|
12559
|
+
case "com.amazonaws.connect#InternalServiceException": return [3, 4];
|
|
12560
|
+
case "InvalidParameterException": return [3, 6];
|
|
12561
|
+
case "com.amazonaws.connect#InvalidParameterException": return [3, 6];
|
|
12562
|
+
case "InvalidRequestException": return [3, 8];
|
|
12563
|
+
case "com.amazonaws.connect#InvalidRequestException": return [3, 8];
|
|
12564
|
+
case "ResourceNotFoundException": return [3, 10];
|
|
12565
|
+
case "com.amazonaws.connect#ResourceNotFoundException": return [3, 10];
|
|
12566
|
+
case "ThrottlingException": return [3, 12];
|
|
12567
|
+
case "com.amazonaws.connect#ThrottlingException": return [3, 12];
|
|
12568
|
+
}
|
|
12569
|
+
return [3, 14];
|
|
12570
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
12571
|
+
case 3: throw _d.sent();
|
|
12572
|
+
case 4: return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
12573
|
+
case 5: throw _d.sent();
|
|
12574
|
+
case 6: return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
12575
|
+
case 7: throw _d.sent();
|
|
12576
|
+
case 8: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
12577
|
+
case 9: throw _d.sent();
|
|
12578
|
+
case 10: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
12579
|
+
case 11: throw _d.sent();
|
|
12580
|
+
case 12: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
12581
|
+
case 13: throw _d.sent();
|
|
12582
|
+
case 14:
|
|
12583
|
+
parsedBody = parsedOutput.body;
|
|
12584
|
+
response = new __BaseException({
|
|
12585
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
12586
|
+
$fault: "client",
|
|
12587
|
+
$metadata: deserializeMetadata(output),
|
|
12588
|
+
});
|
|
12589
|
+
throw __decorateServiceException(response, parsedBody);
|
|
12590
|
+
}
|
|
12591
|
+
});
|
|
12592
|
+
}); };
|
|
12479
12593
|
export var deserializeAws_restJson1ReleasePhoneNumberCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12480
12594
|
var contents;
|
|
12481
12595
|
return __generator(this, function (_a) {
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
94
94
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
95
95
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
96
96
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
97
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
97
98
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
98
99
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
99
100
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -860,6 +861,16 @@ export declare class Connect extends ConnectClient {
|
|
|
860
861
|
listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
|
|
861
862
|
listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
862
863
|
listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
864
|
+
/**
|
|
865
|
+
* <p>Changes the current status of a user or agent in Amazon Connect.
|
|
866
|
+
* If the agent is currently handling a contact, this sets the agent's next status.</p>
|
|
867
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html">Agent status</a>
|
|
868
|
+
* and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html">Set your next status</a>
|
|
869
|
+
* in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
870
|
+
*/
|
|
871
|
+
putUserStatus(args: PutUserStatusCommandInput, options?: __HttpHandlerOptions): Promise<PutUserStatusCommandOutput>;
|
|
872
|
+
putUserStatus(args: PutUserStatusCommandInput, cb: (err: any, data?: PutUserStatusCommandOutput) => void): void;
|
|
873
|
+
putUserStatus(args: PutUserStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutUserStatusCommandOutput) => void): void;
|
|
863
874
|
/**
|
|
864
875
|
* <p>Releases a phone number previously claimed to an Amazon Connect instance.</p>
|
|
865
876
|
*/
|
|
@@ -101,6 +101,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
101
101
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
102
102
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
103
103
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
104
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
104
105
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
105
106
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
106
107
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -149,8 +150,8 @@ import { UpdateUserIdentityInfoCommandInput, UpdateUserIdentityInfoCommandOutput
|
|
|
149
150
|
import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput } from "./commands/UpdateUserPhoneConfigCommand";
|
|
150
151
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
151
152
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
152
|
-
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
153
|
-
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
153
|
+
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
154
|
+
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
154
155
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
155
156
|
/**
|
|
156
157
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_0";
|
|
5
|
+
export interface PutUserStatusCommandInput extends PutUserStatusRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutUserStatusCommandOutput extends PutUserStatusResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Changes the current status of a user or agent in Amazon Connect.
|
|
11
|
+
* If the agent is currently handling a contact, this sets the agent's next status.</p>
|
|
12
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html">Agent status</a>
|
|
13
|
+
* and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html">Set your next status</a>
|
|
14
|
+
* in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ConnectClient, PutUserStatusCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
19
|
+
* // const { ConnectClient, PutUserStatusCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
20
|
+
* const client = new ConnectClient(config);
|
|
21
|
+
* const command = new PutUserStatusCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link PutUserStatusCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link PutUserStatusCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class PutUserStatusCommand extends $Command<PutUserStatusCommandInput, PutUserStatusCommandOutput, ConnectClientResolvedConfig> {
|
|
31
|
+
readonly input: PutUserStatusCommandInput;
|
|
32
|
+
constructor(input: PutUserStatusCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutUserStatusCommandInput, PutUserStatusCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { SearchAvailablePhoneNumbersRequest } from "../models/
|
|
5
|
-
import { SearchAvailablePhoneNumbersResponse } from "../models/models_1";
|
|
4
|
+
import { SearchAvailablePhoneNumbersRequest, SearchAvailablePhoneNumbersResponse } from "../models/models_1";
|
|
6
5
|
export interface SearchAvailablePhoneNumbersCommandInput extends SearchAvailablePhoneNumbersRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailablePhoneNumbersResponse, __MetadataBearer {
|
|
@@ -93,6 +93,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
93
93
|
export * from "./ListUseCasesCommand";
|
|
94
94
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
95
95
|
export * from "./ListUsersCommand";
|
|
96
|
+
export * from "./PutUserStatusCommand";
|
|
96
97
|
export * from "./ReleasePhoneNumberCommand";
|
|
97
98
|
export * from "./ResumeContactRecordingCommand";
|
|
98
99
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
@@ -6299,6 +6299,34 @@ export declare namespace ListUsersResponse {
|
|
|
6299
6299
|
*/
|
|
6300
6300
|
const filterSensitiveLog: (obj: ListUsersResponse) => any;
|
|
6301
6301
|
}
|
|
6302
|
+
export interface PutUserStatusRequest {
|
|
6303
|
+
/**
|
|
6304
|
+
* <p>The identifier of the user.</p>
|
|
6305
|
+
*/
|
|
6306
|
+
UserId: string | undefined;
|
|
6307
|
+
/**
|
|
6308
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
6309
|
+
*/
|
|
6310
|
+
InstanceId: string | undefined;
|
|
6311
|
+
/**
|
|
6312
|
+
* <p>The identifier of the agent status.</p>
|
|
6313
|
+
*/
|
|
6314
|
+
AgentStatusId: string | undefined;
|
|
6315
|
+
}
|
|
6316
|
+
export declare namespace PutUserStatusRequest {
|
|
6317
|
+
/**
|
|
6318
|
+
* @internal
|
|
6319
|
+
*/
|
|
6320
|
+
const filterSensitiveLog: (obj: PutUserStatusRequest) => any;
|
|
6321
|
+
}
|
|
6322
|
+
export interface PutUserStatusResponse {
|
|
6323
|
+
}
|
|
6324
|
+
export declare namespace PutUserStatusResponse {
|
|
6325
|
+
/**
|
|
6326
|
+
* @internal
|
|
6327
|
+
*/
|
|
6328
|
+
const filterSensitiveLog: (obj: PutUserStatusResponse) => any;
|
|
6329
|
+
}
|
|
6302
6330
|
export interface ReleasePhoneNumberRequest {
|
|
6303
6331
|
/**
|
|
6304
6332
|
* <p>A unique identifier for the phone number.</p>
|
|
@@ -6345,59 +6373,3 @@ export declare namespace ResumeContactRecordingResponse {
|
|
|
6345
6373
|
*/
|
|
6346
6374
|
const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
|
|
6347
6375
|
}
|
|
6348
|
-
export interface SearchAvailablePhoneNumbersRequest {
|
|
6349
|
-
/**
|
|
6350
|
-
* <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
|
|
6351
|
-
*/
|
|
6352
|
-
TargetArn: string | undefined;
|
|
6353
|
-
/**
|
|
6354
|
-
* <p>The ISO country code.</p>
|
|
6355
|
-
*/
|
|
6356
|
-
PhoneNumberCountryCode: PhoneNumberCountryCode | string | undefined;
|
|
6357
|
-
/**
|
|
6358
|
-
* <p>The type of phone number.</p>
|
|
6359
|
-
*/
|
|
6360
|
-
PhoneNumberType: PhoneNumberType | string | undefined;
|
|
6361
|
-
/**
|
|
6362
|
-
* <p>The prefix of the phone number. If provided, it must contain <code>+</code> as part of the country code.</p>
|
|
6363
|
-
*/
|
|
6364
|
-
PhoneNumberPrefix?: string;
|
|
6365
|
-
/**
|
|
6366
|
-
* <p>The maximum number of results to return per page.</p>
|
|
6367
|
-
*/
|
|
6368
|
-
MaxResults?: number;
|
|
6369
|
-
/**
|
|
6370
|
-
* <p>The token for the next set of results. Use the value returned in the previous
|
|
6371
|
-
* response in the next request to retrieve the next set of results.</p>
|
|
6372
|
-
*/
|
|
6373
|
-
NextToken?: string;
|
|
6374
|
-
}
|
|
6375
|
-
export declare namespace SearchAvailablePhoneNumbersRequest {
|
|
6376
|
-
/**
|
|
6377
|
-
* @internal
|
|
6378
|
-
*/
|
|
6379
|
-
const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersRequest) => any;
|
|
6380
|
-
}
|
|
6381
|
-
/**
|
|
6382
|
-
* <p>Information about available phone numbers.</p>
|
|
6383
|
-
*/
|
|
6384
|
-
export interface AvailableNumberSummary {
|
|
6385
|
-
/**
|
|
6386
|
-
* <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
|
|
6387
|
-
*/
|
|
6388
|
-
PhoneNumber?: string;
|
|
6389
|
-
/**
|
|
6390
|
-
* <p>The ISO country code.</p>
|
|
6391
|
-
*/
|
|
6392
|
-
PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
|
|
6393
|
-
/**
|
|
6394
|
-
* <p>The type of phone number.</p>
|
|
6395
|
-
*/
|
|
6396
|
-
PhoneNumberType?: PhoneNumberType | string;
|
|
6397
|
-
}
|
|
6398
|
-
export declare namespace AvailableNumberSummary {
|
|
6399
|
-
/**
|
|
6400
|
-
* @internal
|
|
6401
|
-
*/
|
|
6402
|
-
const filterSensitiveLog: (obj: AvailableNumberSummary) => any;
|
|
6403
|
-
}
|
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentStatusState,
|
|
3
|
+
import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
export interface SearchAvailablePhoneNumbersRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
|
|
7
|
+
*/
|
|
8
|
+
TargetArn: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ISO country code.</p>
|
|
11
|
+
*/
|
|
12
|
+
PhoneNumberCountryCode: PhoneNumberCountryCode | string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The type of phone number.</p>
|
|
15
|
+
*/
|
|
16
|
+
PhoneNumberType: PhoneNumberType | string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The prefix of the phone number. If provided, it must contain <code>+</code> as part of the country code.</p>
|
|
19
|
+
*/
|
|
20
|
+
PhoneNumberPrefix?: string;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The maximum number of results to return per page.</p>
|
|
23
|
+
*/
|
|
24
|
+
MaxResults?: number;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
27
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
28
|
+
*/
|
|
29
|
+
NextToken?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace SearchAvailablePhoneNumbersRequest {
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersRequest) => any;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>Information about available phone numbers.</p>
|
|
39
|
+
*/
|
|
40
|
+
export interface AvailableNumberSummary {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
|
|
43
|
+
*/
|
|
44
|
+
PhoneNumber?: string;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The ISO country code.</p>
|
|
47
|
+
*/
|
|
48
|
+
PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The type of phone number.</p>
|
|
51
|
+
*/
|
|
52
|
+
PhoneNumberType?: PhoneNumberType | string;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace AvailableNumberSummary {
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
const filterSensitiveLog: (obj: AvailableNumberSummary) => any;
|
|
59
|
+
}
|
|
4
60
|
export interface SearchAvailablePhoneNumbersResponse {
|
|
5
61
|
/**
|
|
6
62
|
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
@@ -95,6 +95,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
95
95
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "../commands/ListUseCasesCommand";
|
|
96
96
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "../commands/ListUserHierarchyGroupsCommand";
|
|
97
97
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
|
|
98
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../commands/PutUserStatusCommand";
|
|
98
99
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
|
|
99
100
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
|
|
100
101
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -238,6 +239,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
|
|
|
238
239
|
export declare const serializeAws_restJson1ListUseCasesCommand: (input: ListUseCasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
239
240
|
export declare const serializeAws_restJson1ListUserHierarchyGroupsCommand: (input: ListUserHierarchyGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
240
241
|
export declare const serializeAws_restJson1ListUsersCommand: (input: ListUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
|
+
export declare const serializeAws_restJson1PutUserStatusCommand: (input: PutUserStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
241
243
|
export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
242
244
|
export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
243
245
|
export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -381,6 +383,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
|
|
|
381
383
|
export declare const deserializeAws_restJson1ListUseCasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUseCasesCommandOutput>;
|
|
382
384
|
export declare const deserializeAws_restJson1ListUserHierarchyGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUserHierarchyGroupsCommandOutput>;
|
|
383
385
|
export declare const deserializeAws_restJson1ListUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsersCommandOutput>;
|
|
386
|
+
export declare const deserializeAws_restJson1PutUserStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutUserStatusCommandOutput>;
|
|
384
387
|
export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
|
|
385
388
|
export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
|
|
386
389
|
export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
@@ -94,6 +94,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
94
94
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
95
95
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
96
96
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
97
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
97
98
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
98
99
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
99
100
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -526,6 +527,10 @@ export declare class Connect extends ConnectClient {
|
|
|
526
527
|
listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
527
528
|
listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
528
529
|
|
|
530
|
+
putUserStatus(args: PutUserStatusCommandInput, options?: __HttpHandlerOptions): Promise<PutUserStatusCommandOutput>;
|
|
531
|
+
putUserStatus(args: PutUserStatusCommandInput, cb: (err: any, data?: PutUserStatusCommandOutput) => void): void;
|
|
532
|
+
putUserStatus(args: PutUserStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutUserStatusCommandOutput) => void): void;
|
|
533
|
+
|
|
529
534
|
releasePhoneNumber(args: ReleasePhoneNumberCommandInput, options?: __HttpHandlerOptions): Promise<ReleasePhoneNumberCommandOutput>;
|
|
530
535
|
releasePhoneNumber(args: ReleasePhoneNumberCommandInput, cb: (err: any, data?: ReleasePhoneNumberCommandOutput) => void): void;
|
|
531
536
|
releasePhoneNumber(args: ReleasePhoneNumberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReleasePhoneNumberCommandOutput) => void): void;
|
|
@@ -101,6 +101,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
101
101
|
import { ListUseCasesCommandInput, ListUseCasesCommandOutput } from "./commands/ListUseCasesCommand";
|
|
102
102
|
import { ListUserHierarchyGroupsCommandInput, ListUserHierarchyGroupsCommandOutput } from "./commands/ListUserHierarchyGroupsCommand";
|
|
103
103
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
104
|
+
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./commands/PutUserStatusCommand";
|
|
104
105
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
105
106
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
106
107
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
@@ -149,8 +150,8 @@ import { UpdateUserIdentityInfoCommandInput, UpdateUserIdentityInfoCommandOutput
|
|
|
149
150
|
import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput } from "./commands/UpdateUserPhoneConfigCommand";
|
|
150
151
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
151
152
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
152
|
-
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
153
|
-
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
153
|
+
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
154
|
+
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
154
155
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
155
156
|
|
|
156
157
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_0";
|
|
5
|
+
export interface PutUserStatusCommandInput extends PutUserStatusRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutUserStatusCommandOutput extends PutUserStatusResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutUserStatusCommand extends $Command<PutUserStatusCommandInput, PutUserStatusCommandOutput, ConnectClientResolvedConfig> {
|
|
11
|
+
readonly input: PutUserStatusCommandInput;
|
|
12
|
+
constructor(input: PutUserStatusCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutUserStatusCommandInput, PutUserStatusCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { SearchAvailablePhoneNumbersRequest } from "../models/
|
|
5
|
-
import { SearchAvailablePhoneNumbersResponse } from "../models/models_1";
|
|
4
|
+
import { SearchAvailablePhoneNumbersRequest, SearchAvailablePhoneNumbersResponse } from "../models/models_1";
|
|
6
5
|
export interface SearchAvailablePhoneNumbersCommandInput extends SearchAvailablePhoneNumbersRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface SearchAvailablePhoneNumbersCommandOutput extends SearchAvailablePhoneNumbersResponse, __MetadataBearer {
|
|
@@ -93,6 +93,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
93
93
|
export * from "./ListUseCasesCommand";
|
|
94
94
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
95
95
|
export * from "./ListUsersCommand";
|
|
96
|
+
export * from "./PutUserStatusCommand";
|
|
96
97
|
export * from "./ReleasePhoneNumberCommand";
|
|
97
98
|
export * from "./ResumeContactRecordingCommand";
|
|
98
99
|
export * from "./SearchAvailablePhoneNumbersCommand";
|