@aws-sdk/client-connect 3.332.0 → 3.335.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/README.md +40 -0
- package/dist-cjs/Connect.js +10 -0
- package/dist-cjs/commands/CreatePromptCommand.js +45 -0
- package/dist-cjs/commands/DeletePromptCommand.js +45 -0
- package/dist-cjs/commands/DescribePromptCommand.js +45 -0
- package/dist-cjs/commands/GetPromptFileCommand.js +45 -0
- package/dist-cjs/commands/UpdatePromptCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +344 -9
- package/dist-es/Connect.js +10 -0
- package/dist-es/commands/CreatePromptCommand.js +41 -0
- package/dist-es/commands/DeletePromptCommand.js +41 -0
- package/dist-es/commands/DescribePromptCommand.js +41 -0
- package/dist-es/commands/GetPromptFileCommand.js +41 -0
- package/dist-es/commands/UpdatePromptCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +326 -1
- package/dist-types/Connect.d.ts +35 -0
- package/dist-types/ConnectClient.d.ts +10 -4
- package/dist-types/commands/CreatePromptCommand.d.ts +94 -0
- package/dist-types/commands/DeletePromptCommand.d.ts +83 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +93 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -1
- package/dist-types/commands/GetPromptFileCommand.d.ts +85 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePromptCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +99 -94
- package/dist-types/models/models_1.d.ts +156 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Connect.d.ts +85 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +37 -5
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +29 -26
- package/dist-types/ts3.4/models/models_1.d.ts +47 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +5 -4
|
@@ -700,6 +700,17 @@ export interface CreateParticipantResponse {
|
|
|
700
700
|
ParticipantCredentials?: ParticipantTokenCredentials;
|
|
701
701
|
ParticipantId?: string;
|
|
702
702
|
}
|
|
703
|
+
export interface CreatePromptRequest {
|
|
704
|
+
InstanceId: string | undefined;
|
|
705
|
+
Name: string | undefined;
|
|
706
|
+
Description?: string;
|
|
707
|
+
S3Uri: string | undefined;
|
|
708
|
+
Tags?: Record<string, string>;
|
|
709
|
+
}
|
|
710
|
+
export interface CreatePromptResponse {
|
|
711
|
+
PromptARN?: string;
|
|
712
|
+
PromptId?: string;
|
|
713
|
+
}
|
|
703
714
|
export interface OutboundCallerConfig {
|
|
704
715
|
OutboundCallerIdName?: string;
|
|
705
716
|
OutboundCallerIdNumberId?: string;
|
|
@@ -1108,6 +1119,10 @@ export interface DeleteIntegrationAssociationRequest {
|
|
|
1108
1119
|
InstanceId: string | undefined;
|
|
1109
1120
|
IntegrationAssociationId: string | undefined;
|
|
1110
1121
|
}
|
|
1122
|
+
export interface DeletePromptRequest {
|
|
1123
|
+
InstanceId: string | undefined;
|
|
1124
|
+
PromptId: string | undefined;
|
|
1125
|
+
}
|
|
1111
1126
|
export interface DeleteQuickConnectRequest {
|
|
1112
1127
|
InstanceId: string | undefined;
|
|
1113
1128
|
QuickConnectId: string | undefined;
|
|
@@ -1714,6 +1729,20 @@ export interface ClaimedPhoneNumberSummary {
|
|
|
1714
1729
|
export interface DescribePhoneNumberResponse {
|
|
1715
1730
|
ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
|
|
1716
1731
|
}
|
|
1732
|
+
export interface DescribePromptRequest {
|
|
1733
|
+
InstanceId: string | undefined;
|
|
1734
|
+
PromptId: string | undefined;
|
|
1735
|
+
}
|
|
1736
|
+
export interface Prompt {
|
|
1737
|
+
PromptARN?: string;
|
|
1738
|
+
PromptId?: string;
|
|
1739
|
+
Name?: string;
|
|
1740
|
+
Description?: string;
|
|
1741
|
+
Tags?: Record<string, string>;
|
|
1742
|
+
}
|
|
1743
|
+
export interface DescribePromptResponse {
|
|
1744
|
+
Prompt?: Prompt;
|
|
1745
|
+
}
|
|
1717
1746
|
export interface DescribeQueueRequest {
|
|
1718
1747
|
InstanceId: string | undefined;
|
|
1719
1748
|
QueueId: string | undefined;
|
|
@@ -2025,32 +2054,6 @@ export interface GetCurrentMetricDataRequest {
|
|
|
2025
2054
|
MaxResults?: number;
|
|
2026
2055
|
SortCriteria?: CurrentMetricSortCriteria[];
|
|
2027
2056
|
}
|
|
2028
|
-
export interface CurrentMetricData {
|
|
2029
|
-
Metric?: CurrentMetric;
|
|
2030
|
-
Value?: number;
|
|
2031
|
-
}
|
|
2032
|
-
export interface RoutingProfileReference {
|
|
2033
|
-
Id?: string;
|
|
2034
|
-
Arn?: string;
|
|
2035
|
-
}
|
|
2036
|
-
export interface Dimensions {
|
|
2037
|
-
Queue?: QueueReference;
|
|
2038
|
-
Channel?: Channel | string;
|
|
2039
|
-
RoutingProfile?: RoutingProfileReference;
|
|
2040
|
-
}
|
|
2041
|
-
export interface CurrentMetricResult {
|
|
2042
|
-
Dimensions?: Dimensions;
|
|
2043
|
-
Collections?: CurrentMetricData[];
|
|
2044
|
-
}
|
|
2045
|
-
export interface GetCurrentMetricDataResponse {
|
|
2046
|
-
NextToken?: string;
|
|
2047
|
-
MetricResults?: CurrentMetricResult[];
|
|
2048
|
-
DataSnapshotTime?: Date;
|
|
2049
|
-
ApproximateTotalCount?: number;
|
|
2050
|
-
}
|
|
2051
|
-
export interface ContactFilter {
|
|
2052
|
-
ContactStates?: (ContactState | string)[];
|
|
2053
|
-
}
|
|
2054
2057
|
export declare const CreateInstanceRequestFilterSensitiveLog: (
|
|
2055
2058
|
obj: CreateInstanceRequest
|
|
2056
2059
|
) => any;
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
AgentStatusType,
|
|
10
10
|
Attribute,
|
|
11
11
|
Channel,
|
|
12
|
-
ContactFilter,
|
|
13
12
|
ContactFlowModuleState,
|
|
14
13
|
ContactFlowState,
|
|
15
14
|
ContactFlowType,
|
|
16
|
-
|
|
15
|
+
ContactState,
|
|
16
|
+
CurrentMetric,
|
|
17
17
|
DirectoryType,
|
|
18
18
|
Evaluation,
|
|
19
19
|
EvaluationAnswerData,
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
PhoneNumberCountryCode,
|
|
42
42
|
PhoneNumberType,
|
|
43
43
|
Queue,
|
|
44
|
+
QueueReference,
|
|
44
45
|
QueueStatus,
|
|
45
46
|
QuickConnectConfig,
|
|
46
47
|
QuickConnectType,
|
|
@@ -48,7 +49,6 @@ import {
|
|
|
48
49
|
ReferenceType,
|
|
49
50
|
RoutingProfile,
|
|
50
51
|
RoutingProfileQueueConfig,
|
|
51
|
-
RoutingProfileReference,
|
|
52
52
|
RuleAction,
|
|
53
53
|
RulePublishStatus,
|
|
54
54
|
SourceType,
|
|
@@ -64,6 +64,32 @@ import {
|
|
|
64
64
|
VocabularyLanguageCode,
|
|
65
65
|
VocabularyState,
|
|
66
66
|
} from "./models_0";
|
|
67
|
+
export interface CurrentMetricData {
|
|
68
|
+
Metric?: CurrentMetric;
|
|
69
|
+
Value?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface RoutingProfileReference {
|
|
72
|
+
Id?: string;
|
|
73
|
+
Arn?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface Dimensions {
|
|
76
|
+
Queue?: QueueReference;
|
|
77
|
+
Channel?: Channel | string;
|
|
78
|
+
RoutingProfile?: RoutingProfileReference;
|
|
79
|
+
}
|
|
80
|
+
export interface CurrentMetricResult {
|
|
81
|
+
Dimensions?: Dimensions;
|
|
82
|
+
Collections?: CurrentMetricData[];
|
|
83
|
+
}
|
|
84
|
+
export interface GetCurrentMetricDataResponse {
|
|
85
|
+
NextToken?: string;
|
|
86
|
+
MetricResults?: CurrentMetricResult[];
|
|
87
|
+
DataSnapshotTime?: Date;
|
|
88
|
+
ApproximateTotalCount?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface ContactFilter {
|
|
91
|
+
ContactStates?: (ContactState | string)[];
|
|
92
|
+
}
|
|
67
93
|
export interface UserDataFilters {
|
|
68
94
|
Queues?: string[];
|
|
69
95
|
ContactFilter?: ContactFilter;
|
|
@@ -241,6 +267,13 @@ export interface GetMetricDataV2Response {
|
|
|
241
267
|
NextToken?: string;
|
|
242
268
|
MetricResults?: MetricResultV2[];
|
|
243
269
|
}
|
|
270
|
+
export interface GetPromptFileRequest {
|
|
271
|
+
InstanceId: string | undefined;
|
|
272
|
+
PromptId: string | undefined;
|
|
273
|
+
}
|
|
274
|
+
export interface GetPromptFileResponse {
|
|
275
|
+
PromptPresignedUrl?: string;
|
|
276
|
+
}
|
|
244
277
|
export interface GetTaskTemplateRequest {
|
|
245
278
|
InstanceId: string | undefined;
|
|
246
279
|
TaskTemplateId: string | undefined;
|
|
@@ -1461,6 +1494,17 @@ export interface UpdatePhoneNumberResponse {
|
|
|
1461
1494
|
PhoneNumberId?: string;
|
|
1462
1495
|
PhoneNumberArn?: string;
|
|
1463
1496
|
}
|
|
1497
|
+
export interface UpdatePromptRequest {
|
|
1498
|
+
InstanceId: string | undefined;
|
|
1499
|
+
PromptId: string | undefined;
|
|
1500
|
+
Name?: string;
|
|
1501
|
+
Description?: string;
|
|
1502
|
+
S3Uri?: string;
|
|
1503
|
+
}
|
|
1504
|
+
export interface UpdatePromptResponse {
|
|
1505
|
+
PromptARN?: string;
|
|
1506
|
+
PromptId?: string;
|
|
1507
|
+
}
|
|
1464
1508
|
export interface UpdateQueueHoursOfOperationRequest {
|
|
1465
1509
|
InstanceId: string | undefined;
|
|
1466
1510
|
QueueId: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest as __HttpRequest,
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
import {
|
|
7
7
|
ActivateEvaluationFormCommandInput,
|
|
8
8
|
ActivateEvaluationFormCommandOutput,
|
|
@@ -83,6 +83,10 @@ import {
|
|
|
83
83
|
CreateParticipantCommandInput,
|
|
84
84
|
CreateParticipantCommandOutput,
|
|
85
85
|
} from "../commands/CreateParticipantCommand";
|
|
86
|
+
import {
|
|
87
|
+
CreatePromptCommandInput,
|
|
88
|
+
CreatePromptCommandOutput,
|
|
89
|
+
} from "../commands/CreatePromptCommand";
|
|
86
90
|
import {
|
|
87
91
|
CreateQueueCommandInput,
|
|
88
92
|
CreateQueueCommandOutput,
|
|
@@ -159,6 +163,10 @@ import {
|
|
|
159
163
|
DeleteIntegrationAssociationCommandInput,
|
|
160
164
|
DeleteIntegrationAssociationCommandOutput,
|
|
161
165
|
} from "../commands/DeleteIntegrationAssociationCommand";
|
|
166
|
+
import {
|
|
167
|
+
DeletePromptCommandInput,
|
|
168
|
+
DeletePromptCommandOutput,
|
|
169
|
+
} from "../commands/DeletePromptCommand";
|
|
162
170
|
import {
|
|
163
171
|
DeleteQuickConnectCommandInput,
|
|
164
172
|
DeleteQuickConnectCommandOutput,
|
|
@@ -239,6 +247,10 @@ import {
|
|
|
239
247
|
DescribePhoneNumberCommandInput,
|
|
240
248
|
DescribePhoneNumberCommandOutput,
|
|
241
249
|
} from "../commands/DescribePhoneNumberCommand";
|
|
250
|
+
import {
|
|
251
|
+
DescribePromptCommandInput,
|
|
252
|
+
DescribePromptCommandOutput,
|
|
253
|
+
} from "../commands/DescribePromptCommand";
|
|
242
254
|
import {
|
|
243
255
|
DescribeQueueCommandInput,
|
|
244
256
|
DescribeQueueCommandOutput,
|
|
@@ -343,6 +355,10 @@ import {
|
|
|
343
355
|
GetMetricDataV2CommandInput,
|
|
344
356
|
GetMetricDataV2CommandOutput,
|
|
345
357
|
} from "../commands/GetMetricDataV2Command";
|
|
358
|
+
import {
|
|
359
|
+
GetPromptFileCommandInput,
|
|
360
|
+
GetPromptFileCommandOutput,
|
|
361
|
+
} from "../commands/GetPromptFileCommand";
|
|
346
362
|
import {
|
|
347
363
|
GetTaskTemplateCommandInput,
|
|
348
364
|
GetTaskTemplateCommandOutput,
|
|
@@ -655,6 +671,10 @@ import {
|
|
|
655
671
|
UpdatePhoneNumberCommandInput,
|
|
656
672
|
UpdatePhoneNumberCommandOutput,
|
|
657
673
|
} from "../commands/UpdatePhoneNumberCommand";
|
|
674
|
+
import {
|
|
675
|
+
UpdatePromptCommandInput,
|
|
676
|
+
UpdatePromptCommandOutput,
|
|
677
|
+
} from "../commands/UpdatePromptCommand";
|
|
658
678
|
import {
|
|
659
679
|
UpdateQueueHoursOfOperationCommandInput,
|
|
660
680
|
UpdateQueueHoursOfOperationCommandOutput,
|
|
@@ -823,6 +843,10 @@ export declare const se_CreateParticipantCommand: (
|
|
|
823
843
|
input: CreateParticipantCommandInput,
|
|
824
844
|
context: __SerdeContext
|
|
825
845
|
) => Promise<__HttpRequest>;
|
|
846
|
+
export declare const se_CreatePromptCommand: (
|
|
847
|
+
input: CreatePromptCommandInput,
|
|
848
|
+
context: __SerdeContext
|
|
849
|
+
) => Promise<__HttpRequest>;
|
|
826
850
|
export declare const se_CreateQueueCommand: (
|
|
827
851
|
input: CreateQueueCommandInput,
|
|
828
852
|
context: __SerdeContext
|
|
@@ -899,6 +923,10 @@ export declare const se_DeleteIntegrationAssociationCommand: (
|
|
|
899
923
|
input: DeleteIntegrationAssociationCommandInput,
|
|
900
924
|
context: __SerdeContext
|
|
901
925
|
) => Promise<__HttpRequest>;
|
|
926
|
+
export declare const se_DeletePromptCommand: (
|
|
927
|
+
input: DeletePromptCommandInput,
|
|
928
|
+
context: __SerdeContext
|
|
929
|
+
) => Promise<__HttpRequest>;
|
|
902
930
|
export declare const se_DeleteQuickConnectCommand: (
|
|
903
931
|
input: DeleteQuickConnectCommandInput,
|
|
904
932
|
context: __SerdeContext
|
|
@@ -979,6 +1007,10 @@ export declare const se_DescribePhoneNumberCommand: (
|
|
|
979
1007
|
input: DescribePhoneNumberCommandInput,
|
|
980
1008
|
context: __SerdeContext
|
|
981
1009
|
) => Promise<__HttpRequest>;
|
|
1010
|
+
export declare const se_DescribePromptCommand: (
|
|
1011
|
+
input: DescribePromptCommandInput,
|
|
1012
|
+
context: __SerdeContext
|
|
1013
|
+
) => Promise<__HttpRequest>;
|
|
982
1014
|
export declare const se_DescribeQueueCommand: (
|
|
983
1015
|
input: DescribeQueueCommandInput,
|
|
984
1016
|
context: __SerdeContext
|
|
@@ -1083,6 +1115,10 @@ export declare const se_GetMetricDataV2Command: (
|
|
|
1083
1115
|
input: GetMetricDataV2CommandInput,
|
|
1084
1116
|
context: __SerdeContext
|
|
1085
1117
|
) => Promise<__HttpRequest>;
|
|
1118
|
+
export declare const se_GetPromptFileCommand: (
|
|
1119
|
+
input: GetPromptFileCommandInput,
|
|
1120
|
+
context: __SerdeContext
|
|
1121
|
+
) => Promise<__HttpRequest>;
|
|
1086
1122
|
export declare const se_GetTaskTemplateCommand: (
|
|
1087
1123
|
input: GetTaskTemplateCommandInput,
|
|
1088
1124
|
context: __SerdeContext
|
|
@@ -1395,6 +1431,10 @@ export declare const se_UpdatePhoneNumberCommand: (
|
|
|
1395
1431
|
input: UpdatePhoneNumberCommandInput,
|
|
1396
1432
|
context: __SerdeContext
|
|
1397
1433
|
) => Promise<__HttpRequest>;
|
|
1434
|
+
export declare const se_UpdatePromptCommand: (
|
|
1435
|
+
input: UpdatePromptCommandInput,
|
|
1436
|
+
context: __SerdeContext
|
|
1437
|
+
) => Promise<__HttpRequest>;
|
|
1398
1438
|
export declare const se_UpdateQueueHoursOfOperationCommand: (
|
|
1399
1439
|
input: UpdateQueueHoursOfOperationCommandInput,
|
|
1400
1440
|
context: __SerdeContext
|
|
@@ -1563,6 +1603,10 @@ export declare const de_CreateParticipantCommand: (
|
|
|
1563
1603
|
output: __HttpResponse,
|
|
1564
1604
|
context: __SerdeContext
|
|
1565
1605
|
) => Promise<CreateParticipantCommandOutput>;
|
|
1606
|
+
export declare const de_CreatePromptCommand: (
|
|
1607
|
+
output: __HttpResponse,
|
|
1608
|
+
context: __SerdeContext
|
|
1609
|
+
) => Promise<CreatePromptCommandOutput>;
|
|
1566
1610
|
export declare const de_CreateQueueCommand: (
|
|
1567
1611
|
output: __HttpResponse,
|
|
1568
1612
|
context: __SerdeContext
|
|
@@ -1639,6 +1683,10 @@ export declare const de_DeleteIntegrationAssociationCommand: (
|
|
|
1639
1683
|
output: __HttpResponse,
|
|
1640
1684
|
context: __SerdeContext
|
|
1641
1685
|
) => Promise<DeleteIntegrationAssociationCommandOutput>;
|
|
1686
|
+
export declare const de_DeletePromptCommand: (
|
|
1687
|
+
output: __HttpResponse,
|
|
1688
|
+
context: __SerdeContext
|
|
1689
|
+
) => Promise<DeletePromptCommandOutput>;
|
|
1642
1690
|
export declare const de_DeleteQuickConnectCommand: (
|
|
1643
1691
|
output: __HttpResponse,
|
|
1644
1692
|
context: __SerdeContext
|
|
@@ -1719,6 +1767,10 @@ export declare const de_DescribePhoneNumberCommand: (
|
|
|
1719
1767
|
output: __HttpResponse,
|
|
1720
1768
|
context: __SerdeContext
|
|
1721
1769
|
) => Promise<DescribePhoneNumberCommandOutput>;
|
|
1770
|
+
export declare const de_DescribePromptCommand: (
|
|
1771
|
+
output: __HttpResponse,
|
|
1772
|
+
context: __SerdeContext
|
|
1773
|
+
) => Promise<DescribePromptCommandOutput>;
|
|
1722
1774
|
export declare const de_DescribeQueueCommand: (
|
|
1723
1775
|
output: __HttpResponse,
|
|
1724
1776
|
context: __SerdeContext
|
|
@@ -1823,6 +1875,10 @@ export declare const de_GetMetricDataV2Command: (
|
|
|
1823
1875
|
output: __HttpResponse,
|
|
1824
1876
|
context: __SerdeContext
|
|
1825
1877
|
) => Promise<GetMetricDataV2CommandOutput>;
|
|
1878
|
+
export declare const de_GetPromptFileCommand: (
|
|
1879
|
+
output: __HttpResponse,
|
|
1880
|
+
context: __SerdeContext
|
|
1881
|
+
) => Promise<GetPromptFileCommandOutput>;
|
|
1826
1882
|
export declare const de_GetTaskTemplateCommand: (
|
|
1827
1883
|
output: __HttpResponse,
|
|
1828
1884
|
context: __SerdeContext
|
|
@@ -2135,6 +2191,10 @@ export declare const de_UpdatePhoneNumberCommand: (
|
|
|
2135
2191
|
output: __HttpResponse,
|
|
2136
2192
|
context: __SerdeContext
|
|
2137
2193
|
) => Promise<UpdatePhoneNumberCommandOutput>;
|
|
2194
|
+
export declare const de_UpdatePromptCommand: (
|
|
2195
|
+
output: __HttpResponse,
|
|
2196
|
+
context: __SerdeContext
|
|
2197
|
+
) => Promise<UpdatePromptCommandOutput>;
|
|
2138
2198
|
export declare const de_UpdateQueueHoursOfOperationCommand: (
|
|
2139
2199
|
output: __HttpResponse,
|
|
2140
2200
|
context: __SerdeContext
|
|
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts: number | import("@
|
|
15
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
16
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
18
|
requestHandler:
|
|
18
19
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
20
21
|
any,
|
|
21
22
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
23
|
> &
|
|
23
|
-
import("@
|
|
24
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
25
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
28
|
-
useDualstackEndpoint: boolean | import("@
|
|
29
|
-
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
31
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
30
33
|
apiVersion: string;
|
|
31
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
39
|
disableHostPrefix: boolean;
|
|
37
40
|
serviceId: string;
|
|
38
41
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
46
49
|
) &
|
|
47
50
|
(
|
|
48
51
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<string>
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
55
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
56
|
+
| import("@smithy/types").Provider<
|
|
54
57
|
import("@aws-sdk/types").EndpointV2
|
|
55
58
|
>
|
|
56
59
|
))
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@
|
|
23
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
27
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
46
46
|
) &
|
|
47
47
|
(
|
|
48
48
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<string>
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
52
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
53
|
+
| import("@smithy/types").Provider<
|
|
54
54
|
import("@aws-sdk/types").EndpointV2
|
|
55
55
|
>
|
|
56
56
|
))
|
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -53,6 +52,8 @@
|
|
|
53
52
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
56
|
+
"@smithy/types": "^1.0.0",
|
|
56
57
|
"tslib": "^2.5.0",
|
|
57
58
|
"uuid": "^8.3.2"
|
|
58
59
|
},
|