@aws-sdk/client-connect 3.62.0 → 3.74.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/README.md +2 -2
- package/dist-cjs/Connect.js +120 -0
- package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +36 -0
- package/dist-cjs/commands/ClaimPhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/DescribePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +36 -0
- package/dist-cjs/commands/ListPhoneNumbersV2Command.js +36 -0
- package/dist-cjs/commands/ReleasePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +37 -0
- package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/StartChatContactCommand.js +3 -3
- package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
- package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
- package/dist-cjs/commands/UpdatePhoneNumberCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +795 -803
- package/dist-cjs/models/models_1.js +118 -2
- package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +35 -0
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +744 -12
- package/dist-es/Connect.js +120 -0
- package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +39 -0
- package/dist-es/commands/ClaimPhoneNumberCommand.js +39 -0
- package/dist-es/commands/DescribePhoneNumberCommand.js +39 -0
- package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +39 -0
- package/dist-es/commands/ListPhoneNumbersV2Command.js +39 -0
- package/dist-es/commands/ReleasePhoneNumberCommand.js +39 -0
- package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +40 -0
- package/dist-es/commands/SearchVocabulariesCommand.js +1 -1
- package/dist-es/commands/StartChatContactCommand.js +1 -1
- package/dist-es/commands/StartContactRecordingCommand.js +1 -1
- package/dist-es/commands/StartContactStreamingCommand.js +1 -1
- package/dist-es/commands/UpdatePhoneNumberCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +320 -329
- package/dist-es/models/models_1.js +83 -0
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +74 -0
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/Connect.d.ts +59 -1
- package/dist-types/ConnectClient.d.ts +10 -2
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +35 -0
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +35 -0
- package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +37 -0
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +36 -0
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +778 -763
- package/dist-types/models/models_1.d.ts +377 -1
- package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/Connect.d.ts +40 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +10 -2
- package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +767 -749
- package/dist-types/ts3.4/models/models_1.d.ts +212 -1
- package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +7 -7
|
@@ -0,0 +1,35 @@
|
|
|
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 { UpdatePhoneNumberRequest, UpdatePhoneNumberResponse } from "../models/models_1";
|
|
5
|
+
export interface UpdatePhoneNumberCommandInput extends UpdatePhoneNumberRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance in the same Region.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectClient, UpdatePhoneNumberCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
15
|
+
* // const { ConnectClient, UpdatePhoneNumberCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
16
|
+
* const client = new ConnectClient(config);
|
|
17
|
+
* const command = new UpdatePhoneNumberCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdatePhoneNumberCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdatePhoneNumberCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdatePhoneNumberCommand extends $Command<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput, ConnectClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdatePhoneNumberCommandInput;
|
|
28
|
+
constructor(input: UpdatePhoneNumberCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -4,9 +4,11 @@ export * from "./AssociateDefaultVocabularyCommand";
|
|
|
4
4
|
export * from "./AssociateInstanceStorageConfigCommand";
|
|
5
5
|
export * from "./AssociateLambdaFunctionCommand";
|
|
6
6
|
export * from "./AssociateLexBotCommand";
|
|
7
|
+
export * from "./AssociatePhoneNumberContactFlowCommand";
|
|
7
8
|
export * from "./AssociateQueueQuickConnectsCommand";
|
|
8
9
|
export * from "./AssociateRoutingProfileQueuesCommand";
|
|
9
10
|
export * from "./AssociateSecurityKeyCommand";
|
|
11
|
+
export * from "./ClaimPhoneNumberCommand";
|
|
10
12
|
export * from "./CreateAgentStatusCommand";
|
|
11
13
|
export * from "./CreateContactFlowCommand";
|
|
12
14
|
export * from "./CreateContactFlowModuleCommand";
|
|
@@ -40,6 +42,7 @@ export * from "./DescribeHoursOfOperationCommand";
|
|
|
40
42
|
export * from "./DescribeInstanceAttributeCommand";
|
|
41
43
|
export * from "./DescribeInstanceCommand";
|
|
42
44
|
export * from "./DescribeInstanceStorageConfigCommand";
|
|
45
|
+
export * from "./DescribePhoneNumberCommand";
|
|
43
46
|
export * from "./DescribeQueueCommand";
|
|
44
47
|
export * from "./DescribeQuickConnectCommand";
|
|
45
48
|
export * from "./DescribeRoutingProfileCommand";
|
|
@@ -53,6 +56,7 @@ export * from "./DisassociateBotCommand";
|
|
|
53
56
|
export * from "./DisassociateInstanceStorageConfigCommand";
|
|
54
57
|
export * from "./DisassociateLambdaFunctionCommand";
|
|
55
58
|
export * from "./DisassociateLexBotCommand";
|
|
59
|
+
export * from "./DisassociatePhoneNumberContactFlowCommand";
|
|
56
60
|
export * from "./DisassociateQueueQuickConnectsCommand";
|
|
57
61
|
export * from "./DisassociateRoutingProfileQueuesCommand";
|
|
58
62
|
export * from "./DisassociateSecurityKeyCommand";
|
|
@@ -75,6 +79,7 @@ export * from "./ListIntegrationAssociationsCommand";
|
|
|
75
79
|
export * from "./ListLambdaFunctionsCommand";
|
|
76
80
|
export * from "./ListLexBotsCommand";
|
|
77
81
|
export * from "./ListPhoneNumbersCommand";
|
|
82
|
+
export * from "./ListPhoneNumbersV2Command";
|
|
78
83
|
export * from "./ListPromptsCommand";
|
|
79
84
|
export * from "./ListQueueQuickConnectsCommand";
|
|
80
85
|
export * from "./ListQueuesCommand";
|
|
@@ -88,7 +93,9 @@ export * from "./ListTagsForResourceCommand";
|
|
|
88
93
|
export * from "./ListUseCasesCommand";
|
|
89
94
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
90
95
|
export * from "./ListUsersCommand";
|
|
96
|
+
export * from "./ReleasePhoneNumberCommand";
|
|
91
97
|
export * from "./ResumeContactRecordingCommand";
|
|
98
|
+
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
92
99
|
export * from "./SearchVocabulariesCommand";
|
|
93
100
|
export * from "./StartChatContactCommand";
|
|
94
101
|
export * from "./StartContactRecordingCommand";
|
|
@@ -113,6 +120,7 @@ export * from "./UpdateContactScheduleCommand";
|
|
|
113
120
|
export * from "./UpdateHoursOfOperationCommand";
|
|
114
121
|
export * from "./UpdateInstanceAttributeCommand";
|
|
115
122
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
123
|
+
export * from "./UpdatePhoneNumberCommand";
|
|
116
124
|
export * from "./UpdateQueueHoursOfOperationCommand";
|
|
117
125
|
export * from "./UpdateQueueMaxContactsCommand";
|
|
118
126
|
export * from "./UpdateQueueNameCommand";
|