@aws-sdk/client-connect 3.287.0 → 3.289.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 +8 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/GetMetricDataV2Command.js +46 -0
- package/dist-cjs/commands/ListContactFlowModulesCommand.js +3 -3
- package/dist-cjs/commands/ListContactFlowsCommand.js +3 -3
- package/dist-cjs/commands/ListContactReferencesCommand.js +1 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -38
- package/dist-cjs/models/models_1.js +38 -5
- package/dist-cjs/pagination/GetMetricDataV2Paginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +264 -6
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/GetMetricDataV2Command.js +42 -0
- package/dist-es/commands/ListContactFlowModulesCommand.js +1 -1
- package/dist-es/commands/ListContactFlowsCommand.js +1 -1
- package/dist-es/commands/ListContactReferencesCommand.js +1 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +23 -25
- package/dist-es/models/models_1.js +26 -0
- package/dist-es/pagination/GetMetricDataV2Paginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +256 -0
- package/dist-types/Connect.d.ts +20 -2
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/DisassociateBotCommand.d.ts +2 -2
- package/dist-types/commands/GetMetricDataV2Command.d.ts +54 -0
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/commands/ListContactFlowsCommand.d.ts +1 -1
- package/dist-types/commands/ListContactReferencesCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +387 -153
- package/dist-types/models/models_1.d.ts +162 -1
- package/dist-types/pagination/GetMetricDataV2Paginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -64
- package/dist-types/ts3.4/models/models_1.d.ts +66 -1
- package/dist-types/ts3.4/pagination/GetMetricDataV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +29 -29
|
@@ -1,6 +1,139 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { ActionSummary, AgentStatusState, Attribute, Channel, ContactFlowModuleState, ContactFlowState, DirectoryType, EventSourceName, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference,
|
|
3
|
+
import { ActionSummary, AgentStatusState, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, DirectoryType, EventSourceName, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
export interface ListContactFlowModulesRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
7
|
+
*/
|
|
8
|
+
InstanceId: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
11
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
12
|
+
*/
|
|
13
|
+
NextToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The maximum number of results to return per page.</p>
|
|
16
|
+
*/
|
|
17
|
+
MaxResults?: number;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The state of the flow module.</p>
|
|
20
|
+
*/
|
|
21
|
+
ContactFlowModuleState?: ContactFlowModuleState | string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* <p>Contains summary information about a flow.</p>
|
|
25
|
+
*/
|
|
26
|
+
export interface ContactFlowModuleSummary {
|
|
27
|
+
/**
|
|
28
|
+
* <p>The identifier of the flow module.</p>
|
|
29
|
+
*/
|
|
30
|
+
Id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The Amazon Resource Name (ARN) of the flow module.</p>
|
|
33
|
+
*/
|
|
34
|
+
Arn?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The name of the flow module.</p>
|
|
37
|
+
*/
|
|
38
|
+
Name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The type of flow module.</p>
|
|
41
|
+
*/
|
|
42
|
+
State?: ContactFlowModuleState | string;
|
|
43
|
+
}
|
|
44
|
+
export interface ListContactFlowModulesResponse {
|
|
45
|
+
/**
|
|
46
|
+
* <p>Information about the flow module.</p>
|
|
47
|
+
*/
|
|
48
|
+
ContactFlowModulesSummaryList?: ContactFlowModuleSummary[];
|
|
49
|
+
/**
|
|
50
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
51
|
+
*/
|
|
52
|
+
NextToken?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ListContactFlowsRequest {
|
|
55
|
+
/**
|
|
56
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
57
|
+
*/
|
|
58
|
+
InstanceId: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The type of flow.</p>
|
|
61
|
+
*/
|
|
62
|
+
ContactFlowTypes?: (ContactFlowType | string)[];
|
|
63
|
+
/**
|
|
64
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
65
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
66
|
+
*/
|
|
67
|
+
NextToken?: string;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
|
|
70
|
+
*/
|
|
71
|
+
MaxResults?: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>Contains summary information about a flow.</p>
|
|
75
|
+
* <p>You can also create and update flows using the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html">Amazon Connect
|
|
76
|
+
* Flow language</a>.</p>
|
|
77
|
+
*/
|
|
78
|
+
export interface ContactFlowSummary {
|
|
79
|
+
/**
|
|
80
|
+
* <p>The identifier of the flow.</p>
|
|
81
|
+
*/
|
|
82
|
+
Id?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Amazon Resource Name (ARN) of the flow.</p>
|
|
85
|
+
*/
|
|
86
|
+
Arn?: string;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The name of the flow.</p>
|
|
89
|
+
*/
|
|
90
|
+
Name?: string;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The type of flow.</p>
|
|
93
|
+
*/
|
|
94
|
+
ContactFlowType?: ContactFlowType | string;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The type of flow.</p>
|
|
97
|
+
*/
|
|
98
|
+
ContactFlowState?: ContactFlowState | string;
|
|
99
|
+
}
|
|
100
|
+
export interface ListContactFlowsResponse {
|
|
101
|
+
/**
|
|
102
|
+
* <p>Information about the flows.</p>
|
|
103
|
+
*/
|
|
104
|
+
ContactFlowSummaryList?: ContactFlowSummary[];
|
|
105
|
+
/**
|
|
106
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
107
|
+
*/
|
|
108
|
+
NextToken?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface ListContactReferencesRequest {
|
|
111
|
+
/**
|
|
112
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
113
|
+
*/
|
|
114
|
+
InstanceId: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The identifier of the initial contact.</p>
|
|
117
|
+
*/
|
|
118
|
+
ContactId: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The type of reference.</p>
|
|
121
|
+
*/
|
|
122
|
+
ReferenceTypes: (ReferenceType | string)[] | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
125
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
126
|
+
* <important>
|
|
127
|
+
* <p>This is not expected to be set, because the value returned in the previous response is
|
|
128
|
+
* always null.</p>
|
|
129
|
+
* </important>
|
|
130
|
+
*/
|
|
131
|
+
NextToken?: string;
|
|
132
|
+
}
|
|
133
|
+
export declare enum ReferenceStatus {
|
|
134
|
+
APPROVED = "APPROVED",
|
|
135
|
+
REJECTED = "REJECTED"
|
|
136
|
+
}
|
|
4
137
|
/**
|
|
5
138
|
* <p>Information about a reference when the <code>referenceType</code> is
|
|
6
139
|
* <code>ATTACHMENT</code>. Otherwise, null.</p>
|
|
@@ -3609,6 +3742,34 @@ export interface SearchUsersRequest {
|
|
|
3609
3742
|
*/
|
|
3610
3743
|
SearchCriteria?: UserSearchCriteria;
|
|
3611
3744
|
}
|
|
3745
|
+
/**
|
|
3746
|
+
* @internal
|
|
3747
|
+
*/
|
|
3748
|
+
export declare const ListContactFlowModulesRequestFilterSensitiveLog: (obj: ListContactFlowModulesRequest) => any;
|
|
3749
|
+
/**
|
|
3750
|
+
* @internal
|
|
3751
|
+
*/
|
|
3752
|
+
export declare const ContactFlowModuleSummaryFilterSensitiveLog: (obj: ContactFlowModuleSummary) => any;
|
|
3753
|
+
/**
|
|
3754
|
+
* @internal
|
|
3755
|
+
*/
|
|
3756
|
+
export declare const ListContactFlowModulesResponseFilterSensitiveLog: (obj: ListContactFlowModulesResponse) => any;
|
|
3757
|
+
/**
|
|
3758
|
+
* @internal
|
|
3759
|
+
*/
|
|
3760
|
+
export declare const ListContactFlowsRequestFilterSensitiveLog: (obj: ListContactFlowsRequest) => any;
|
|
3761
|
+
/**
|
|
3762
|
+
* @internal
|
|
3763
|
+
*/
|
|
3764
|
+
export declare const ContactFlowSummaryFilterSensitiveLog: (obj: ContactFlowSummary) => any;
|
|
3765
|
+
/**
|
|
3766
|
+
* @internal
|
|
3767
|
+
*/
|
|
3768
|
+
export declare const ListContactFlowsResponseFilterSensitiveLog: (obj: ListContactFlowsResponse) => any;
|
|
3769
|
+
/**
|
|
3770
|
+
* @internal
|
|
3771
|
+
*/
|
|
3772
|
+
export declare const ListContactReferencesRequestFilterSensitiveLog: (obj: ListContactReferencesRequest) => any;
|
|
3612
3773
|
/**
|
|
3613
3774
|
* @internal
|
|
3614
3775
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput } from "../commands/GetMetricDataV2Command";
|
|
3
|
+
import { ConnectPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetMetricDataV2(config: ConnectPaginationConfiguration, input: GetMetricDataV2CommandInput, ...additionalArguments: any): Paginator<GetMetricDataV2CommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./GetCurrentMetricDataPaginator";
|
|
2
2
|
export * from "./GetCurrentUserDataPaginator";
|
|
3
3
|
export * from "./GetMetricDataPaginator";
|
|
4
|
+
export * from "./GetMetricDataV2Paginator";
|
|
4
5
|
export * from "./Interfaces";
|
|
5
6
|
export * from "./ListAgentStatusesPaginator";
|
|
6
7
|
export * from "./ListApprovedOriginsPaginator";
|
|
@@ -76,6 +76,7 @@ import { GetCurrentMetricDataCommandInput, GetCurrentMetricDataCommandOutput } f
|
|
|
76
76
|
import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from "../commands/GetCurrentUserDataCommand";
|
|
77
77
|
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
|
|
78
78
|
import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "../commands/GetMetricDataCommand";
|
|
79
|
+
import { GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput } from "../commands/GetMetricDataV2Command";
|
|
79
80
|
import { GetTaskTemplateCommandInput, GetTaskTemplateCommandOutput } from "../commands/GetTaskTemplateCommand";
|
|
80
81
|
import { GetTrafficDistributionCommandInput, GetTrafficDistributionCommandOutput } from "../commands/GetTrafficDistributionCommand";
|
|
81
82
|
import { ListAgentStatusesCommandInput, ListAgentStatusesCommandOutput } from "../commands/ListAgentStatusesCommand";
|
|
@@ -245,6 +246,7 @@ export declare const serializeAws_restJson1GetCurrentMetricDataCommand: (input:
|
|
|
245
246
|
export declare const serializeAws_restJson1GetCurrentUserDataCommand: (input: GetCurrentUserDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
246
247
|
export declare const serializeAws_restJson1GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
247
248
|
export declare const serializeAws_restJson1GetMetricDataCommand: (input: GetMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
249
|
+
export declare const serializeAws_restJson1GetMetricDataV2Command: (input: GetMetricDataV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
248
250
|
export declare const serializeAws_restJson1GetTaskTemplateCommand: (input: GetTaskTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
249
251
|
export declare const serializeAws_restJson1GetTrafficDistributionCommand: (input: GetTrafficDistributionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
250
252
|
export declare const serializeAws_restJson1ListAgentStatusesCommand: (input: ListAgentStatusesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -414,6 +416,7 @@ export declare const deserializeAws_restJson1GetCurrentMetricDataCommand: (outpu
|
|
|
414
416
|
export declare const deserializeAws_restJson1GetCurrentUserDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCurrentUserDataCommandOutput>;
|
|
415
417
|
export declare const deserializeAws_restJson1GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
|
|
416
418
|
export declare const deserializeAws_restJson1GetMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricDataCommandOutput>;
|
|
419
|
+
export declare const deserializeAws_restJson1GetMetricDataV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricDataV2CommandOutput>;
|
|
417
420
|
export declare const deserializeAws_restJson1GetTaskTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaskTemplateCommandOutput>;
|
|
418
421
|
export declare const deserializeAws_restJson1GetTrafficDistributionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrafficDistributionCommandOutput>;
|
|
419
422
|
export declare const deserializeAws_restJson1ListAgentStatusesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentStatusesCommandOutput>;
|
|
@@ -303,6 +303,10 @@ import {
|
|
|
303
303
|
GetMetricDataCommandInput,
|
|
304
304
|
GetMetricDataCommandOutput,
|
|
305
305
|
} from "./commands/GetMetricDataCommand";
|
|
306
|
+
import {
|
|
307
|
+
GetMetricDataV2CommandInput,
|
|
308
|
+
GetMetricDataV2CommandOutput,
|
|
309
|
+
} from "./commands/GetMetricDataV2Command";
|
|
306
310
|
import {
|
|
307
311
|
GetTaskTemplateCommandInput,
|
|
308
312
|
GetTaskTemplateCommandOutput,
|
|
@@ -1677,6 +1681,19 @@ export declare class Connect extends ConnectClient {
|
|
|
1677
1681
|
options: __HttpHandlerOptions,
|
|
1678
1682
|
cb: (err: any, data?: GetMetricDataCommandOutput) => void
|
|
1679
1683
|
): void;
|
|
1684
|
+
getMetricDataV2(
|
|
1685
|
+
args: GetMetricDataV2CommandInput,
|
|
1686
|
+
options?: __HttpHandlerOptions
|
|
1687
|
+
): Promise<GetMetricDataV2CommandOutput>;
|
|
1688
|
+
getMetricDataV2(
|
|
1689
|
+
args: GetMetricDataV2CommandInput,
|
|
1690
|
+
cb: (err: any, data?: GetMetricDataV2CommandOutput) => void
|
|
1691
|
+
): void;
|
|
1692
|
+
getMetricDataV2(
|
|
1693
|
+
args: GetMetricDataV2CommandInput,
|
|
1694
|
+
options: __HttpHandlerOptions,
|
|
1695
|
+
cb: (err: any, data?: GetMetricDataV2CommandOutput) => void
|
|
1696
|
+
): void;
|
|
1680
1697
|
getTaskTemplate(
|
|
1681
1698
|
args: GetTaskTemplateCommandInput,
|
|
1682
1699
|
options?: __HttpHandlerOptions
|
|
@@ -348,6 +348,10 @@ import {
|
|
|
348
348
|
GetMetricDataCommandInput,
|
|
349
349
|
GetMetricDataCommandOutput,
|
|
350
350
|
} from "./commands/GetMetricDataCommand";
|
|
351
|
+
import {
|
|
352
|
+
GetMetricDataV2CommandInput,
|
|
353
|
+
GetMetricDataV2CommandOutput,
|
|
354
|
+
} from "./commands/GetMetricDataV2Command";
|
|
351
355
|
import {
|
|
352
356
|
GetTaskTemplateCommandInput,
|
|
353
357
|
GetTaskTemplateCommandOutput,
|
|
@@ -802,6 +806,7 @@ export declare type ServiceInputTypes =
|
|
|
802
806
|
| GetCurrentUserDataCommandInput
|
|
803
807
|
| GetFederationTokenCommandInput
|
|
804
808
|
| GetMetricDataCommandInput
|
|
809
|
+
| GetMetricDataV2CommandInput
|
|
805
810
|
| GetTaskTemplateCommandInput
|
|
806
811
|
| GetTrafficDistributionCommandInput
|
|
807
812
|
| ListAgentStatusesCommandInput
|
|
@@ -972,6 +977,7 @@ export declare type ServiceOutputTypes =
|
|
|
972
977
|
| GetCurrentUserDataCommandOutput
|
|
973
978
|
| GetFederationTokenCommandOutput
|
|
974
979
|
| GetMetricDataCommandOutput
|
|
980
|
+
| GetMetricDataV2CommandOutput
|
|
975
981
|
| GetTaskTemplateCommandOutput
|
|
976
982
|
| GetTrafficDistributionCommandOutput
|
|
977
983
|
| ListAgentStatusesCommandOutput
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
GetMetricDataV2Request,
|
|
16
|
+
GetMetricDataV2Response,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetMetricDataV2CommandInput extends GetMetricDataV2Request {}
|
|
19
|
+
export interface GetMetricDataV2CommandOutput
|
|
20
|
+
extends GetMetricDataV2Response,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class GetMetricDataV2Command extends $Command<
|
|
23
|
+
GetMetricDataV2CommandInput,
|
|
24
|
+
GetMetricDataV2CommandOutput,
|
|
25
|
+
ConnectClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetMetricDataV2CommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: GetMetricDataV2CommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: ConnectClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListContactFlowModulesRequest,
|
|
16
16
|
ListContactFlowModulesResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface ListContactFlowModulesCommandInput
|
|
19
19
|
extends ListContactFlowModulesRequest {}
|
|
20
20
|
export interface ListContactFlowModulesCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListContactFlowsRequest,
|
|
16
16
|
ListContactFlowsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export interface ListContactFlowsCommandInput extends ListContactFlowsRequest {}
|
|
19
19
|
export interface ListContactFlowsCommandOutput
|
|
20
20
|
extends ListContactFlowsResponse,
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
ListContactReferencesRequest,
|
|
16
|
+
ListContactReferencesResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
16
18
|
export interface ListContactReferencesCommandInput
|
|
17
19
|
extends ListContactReferencesRequest {}
|
|
18
20
|
export interface ListContactReferencesCommandOutput
|
|
@@ -74,6 +74,7 @@ export * from "./GetCurrentMetricDataCommand";
|
|
|
74
74
|
export * from "./GetCurrentUserDataCommand";
|
|
75
75
|
export * from "./GetFederationTokenCommand";
|
|
76
76
|
export * from "./GetMetricDataCommand";
|
|
77
|
+
export * from "./GetMetricDataV2Command";
|
|
77
78
|
export * from "./GetTaskTemplateCommand";
|
|
78
79
|
export * from "./GetTrafficDistributionCommand";
|
|
79
80
|
export * from "./ListAgentStatusesCommand";
|
|
@@ -1789,6 +1789,45 @@ export interface GetMetricDataResponse {
|
|
|
1789
1789
|
NextToken?: string;
|
|
1790
1790
|
MetricResults?: HistoricalMetricResult[];
|
|
1791
1791
|
}
|
|
1792
|
+
export interface FilterV2 {
|
|
1793
|
+
FilterKey?: string;
|
|
1794
|
+
FilterValues?: string[];
|
|
1795
|
+
}
|
|
1796
|
+
export interface MetricFilterV2 {
|
|
1797
|
+
MetricFilterKey?: string;
|
|
1798
|
+
MetricFilterValues?: string[];
|
|
1799
|
+
}
|
|
1800
|
+
export interface ThresholdV2 {
|
|
1801
|
+
Comparison?: string;
|
|
1802
|
+
ThresholdValue?: number;
|
|
1803
|
+
}
|
|
1804
|
+
export interface MetricV2 {
|
|
1805
|
+
Name?: string;
|
|
1806
|
+
Threshold?: ThresholdV2[];
|
|
1807
|
+
MetricFilters?: MetricFilterV2[];
|
|
1808
|
+
}
|
|
1809
|
+
export interface GetMetricDataV2Request {
|
|
1810
|
+
ResourceArn: string | undefined;
|
|
1811
|
+
StartTime: Date | undefined;
|
|
1812
|
+
EndTime: Date | undefined;
|
|
1813
|
+
Filters: FilterV2[] | undefined;
|
|
1814
|
+
Groupings?: string[];
|
|
1815
|
+
Metrics: MetricV2[] | undefined;
|
|
1816
|
+
NextToken?: string;
|
|
1817
|
+
MaxResults?: number;
|
|
1818
|
+
}
|
|
1819
|
+
export interface MetricDataV2 {
|
|
1820
|
+
Metric?: MetricV2;
|
|
1821
|
+
Value?: number;
|
|
1822
|
+
}
|
|
1823
|
+
export interface MetricResultV2 {
|
|
1824
|
+
Dimensions?: Record<string, string>;
|
|
1825
|
+
Collections?: MetricDataV2[];
|
|
1826
|
+
}
|
|
1827
|
+
export interface GetMetricDataV2Response {
|
|
1828
|
+
NextToken?: string;
|
|
1829
|
+
MetricResults?: MetricResultV2[];
|
|
1830
|
+
}
|
|
1792
1831
|
export interface GetTaskTemplateRequest {
|
|
1793
1832
|
InstanceId: string | undefined;
|
|
1794
1833
|
TaskTemplateId: string | undefined;
|
|
@@ -1861,49 +1900,6 @@ export interface ListBotsResponse {
|
|
|
1861
1900
|
LexBots?: LexBotConfig[];
|
|
1862
1901
|
NextToken?: string;
|
|
1863
1902
|
}
|
|
1864
|
-
export interface ListContactFlowModulesRequest {
|
|
1865
|
-
InstanceId: string | undefined;
|
|
1866
|
-
NextToken?: string;
|
|
1867
|
-
MaxResults?: number;
|
|
1868
|
-
ContactFlowModuleState?: ContactFlowModuleState | string;
|
|
1869
|
-
}
|
|
1870
|
-
export interface ContactFlowModuleSummary {
|
|
1871
|
-
Id?: string;
|
|
1872
|
-
Arn?: string;
|
|
1873
|
-
Name?: string;
|
|
1874
|
-
State?: ContactFlowModuleState | string;
|
|
1875
|
-
}
|
|
1876
|
-
export interface ListContactFlowModulesResponse {
|
|
1877
|
-
ContactFlowModulesSummaryList?: ContactFlowModuleSummary[];
|
|
1878
|
-
NextToken?: string;
|
|
1879
|
-
}
|
|
1880
|
-
export interface ListContactFlowsRequest {
|
|
1881
|
-
InstanceId: string | undefined;
|
|
1882
|
-
ContactFlowTypes?: (ContactFlowType | string)[];
|
|
1883
|
-
NextToken?: string;
|
|
1884
|
-
MaxResults?: number;
|
|
1885
|
-
}
|
|
1886
|
-
export interface ContactFlowSummary {
|
|
1887
|
-
Id?: string;
|
|
1888
|
-
Arn?: string;
|
|
1889
|
-
Name?: string;
|
|
1890
|
-
ContactFlowType?: ContactFlowType | string;
|
|
1891
|
-
ContactFlowState?: ContactFlowState | string;
|
|
1892
|
-
}
|
|
1893
|
-
export interface ListContactFlowsResponse {
|
|
1894
|
-
ContactFlowSummaryList?: ContactFlowSummary[];
|
|
1895
|
-
NextToken?: string;
|
|
1896
|
-
}
|
|
1897
|
-
export interface ListContactReferencesRequest {
|
|
1898
|
-
InstanceId: string | undefined;
|
|
1899
|
-
ContactId: string | undefined;
|
|
1900
|
-
ReferenceTypes: (ReferenceType | string)[] | undefined;
|
|
1901
|
-
NextToken?: string;
|
|
1902
|
-
}
|
|
1903
|
-
export declare enum ReferenceStatus {
|
|
1904
|
-
APPROVED = "APPROVED",
|
|
1905
|
-
REJECTED = "REJECTED",
|
|
1906
|
-
}
|
|
1907
1903
|
export declare const ActionSummaryFilterSensitiveLog: (
|
|
1908
1904
|
obj: ActionSummary
|
|
1909
1905
|
) => any;
|
|
@@ -2500,6 +2496,22 @@ export declare const HistoricalMetricResultFilterSensitiveLog: (
|
|
|
2500
2496
|
export declare const GetMetricDataResponseFilterSensitiveLog: (
|
|
2501
2497
|
obj: GetMetricDataResponse
|
|
2502
2498
|
) => any;
|
|
2499
|
+
export declare const FilterV2FilterSensitiveLog: (obj: FilterV2) => any;
|
|
2500
|
+
export declare const MetricFilterV2FilterSensitiveLog: (
|
|
2501
|
+
obj: MetricFilterV2
|
|
2502
|
+
) => any;
|
|
2503
|
+
export declare const ThresholdV2FilterSensitiveLog: (obj: ThresholdV2) => any;
|
|
2504
|
+
export declare const MetricV2FilterSensitiveLog: (obj: MetricV2) => any;
|
|
2505
|
+
export declare const GetMetricDataV2RequestFilterSensitiveLog: (
|
|
2506
|
+
obj: GetMetricDataV2Request
|
|
2507
|
+
) => any;
|
|
2508
|
+
export declare const MetricDataV2FilterSensitiveLog: (obj: MetricDataV2) => any;
|
|
2509
|
+
export declare const MetricResultV2FilterSensitiveLog: (
|
|
2510
|
+
obj: MetricResultV2
|
|
2511
|
+
) => any;
|
|
2512
|
+
export declare const GetMetricDataV2ResponseFilterSensitiveLog: (
|
|
2513
|
+
obj: GetMetricDataV2Response
|
|
2514
|
+
) => any;
|
|
2503
2515
|
export declare const GetTaskTemplateRequestFilterSensitiveLog: (
|
|
2504
2516
|
obj: GetTaskTemplateRequest
|
|
2505
2517
|
) => any;
|
|
@@ -2535,24 +2547,3 @@ export declare const LexBotConfigFilterSensitiveLog: (obj: LexBotConfig) => any;
|
|
|
2535
2547
|
export declare const ListBotsResponseFilterSensitiveLog: (
|
|
2536
2548
|
obj: ListBotsResponse
|
|
2537
2549
|
) => any;
|
|
2538
|
-
export declare const ListContactFlowModulesRequestFilterSensitiveLog: (
|
|
2539
|
-
obj: ListContactFlowModulesRequest
|
|
2540
|
-
) => any;
|
|
2541
|
-
export declare const ContactFlowModuleSummaryFilterSensitiveLog: (
|
|
2542
|
-
obj: ContactFlowModuleSummary
|
|
2543
|
-
) => any;
|
|
2544
|
-
export declare const ListContactFlowModulesResponseFilterSensitiveLog: (
|
|
2545
|
-
obj: ListContactFlowModulesResponse
|
|
2546
|
-
) => any;
|
|
2547
|
-
export declare const ListContactFlowsRequestFilterSensitiveLog: (
|
|
2548
|
-
obj: ListContactFlowsRequest
|
|
2549
|
-
) => any;
|
|
2550
|
-
export declare const ContactFlowSummaryFilterSensitiveLog: (
|
|
2551
|
-
obj: ContactFlowSummary
|
|
2552
|
-
) => any;
|
|
2553
|
-
export declare const ListContactFlowsResponseFilterSensitiveLog: (
|
|
2554
|
-
obj: ListContactFlowsResponse
|
|
2555
|
-
) => any;
|
|
2556
|
-
export declare const ListContactReferencesRequestFilterSensitiveLog: (
|
|
2557
|
-
obj: ListContactReferencesRequest
|
|
2558
|
-
) => any;
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
Channel,
|
|
8
8
|
ContactFlowModuleState,
|
|
9
9
|
ContactFlowState,
|
|
10
|
+
ContactFlowType,
|
|
10
11
|
DirectoryType,
|
|
11
12
|
EventSourceName,
|
|
12
13
|
HierarchyGroupSummary,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
QuickConnectConfig,
|
|
28
29
|
QuickConnectType,
|
|
29
30
|
Reference,
|
|
30
|
-
|
|
31
|
+
ReferenceType,
|
|
31
32
|
RoutingProfile,
|
|
32
33
|
RoutingProfileQueueConfig,
|
|
33
34
|
RuleAction,
|
|
@@ -45,6 +46,49 @@ import {
|
|
|
45
46
|
VocabularyLanguageCode,
|
|
46
47
|
VocabularyState,
|
|
47
48
|
} from "./models_0";
|
|
49
|
+
export interface ListContactFlowModulesRequest {
|
|
50
|
+
InstanceId: string | undefined;
|
|
51
|
+
NextToken?: string;
|
|
52
|
+
MaxResults?: number;
|
|
53
|
+
ContactFlowModuleState?: ContactFlowModuleState | string;
|
|
54
|
+
}
|
|
55
|
+
export interface ContactFlowModuleSummary {
|
|
56
|
+
Id?: string;
|
|
57
|
+
Arn?: string;
|
|
58
|
+
Name?: string;
|
|
59
|
+
State?: ContactFlowModuleState | string;
|
|
60
|
+
}
|
|
61
|
+
export interface ListContactFlowModulesResponse {
|
|
62
|
+
ContactFlowModulesSummaryList?: ContactFlowModuleSummary[];
|
|
63
|
+
NextToken?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ListContactFlowsRequest {
|
|
66
|
+
InstanceId: string | undefined;
|
|
67
|
+
ContactFlowTypes?: (ContactFlowType | string)[];
|
|
68
|
+
NextToken?: string;
|
|
69
|
+
MaxResults?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface ContactFlowSummary {
|
|
72
|
+
Id?: string;
|
|
73
|
+
Arn?: string;
|
|
74
|
+
Name?: string;
|
|
75
|
+
ContactFlowType?: ContactFlowType | string;
|
|
76
|
+
ContactFlowState?: ContactFlowState | string;
|
|
77
|
+
}
|
|
78
|
+
export interface ListContactFlowsResponse {
|
|
79
|
+
ContactFlowSummaryList?: ContactFlowSummary[];
|
|
80
|
+
NextToken?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface ListContactReferencesRequest {
|
|
83
|
+
InstanceId: string | undefined;
|
|
84
|
+
ContactId: string | undefined;
|
|
85
|
+
ReferenceTypes: (ReferenceType | string)[] | undefined;
|
|
86
|
+
NextToken?: string;
|
|
87
|
+
}
|
|
88
|
+
export declare enum ReferenceStatus {
|
|
89
|
+
APPROVED = "APPROVED",
|
|
90
|
+
REJECTED = "REJECTED",
|
|
91
|
+
}
|
|
48
92
|
export interface AttachmentReference {
|
|
49
93
|
Name?: string;
|
|
50
94
|
Value?: string;
|
|
@@ -1225,6 +1269,27 @@ export interface SearchUsersRequest {
|
|
|
1225
1269
|
SearchFilter?: UserSearchFilter;
|
|
1226
1270
|
SearchCriteria?: UserSearchCriteria;
|
|
1227
1271
|
}
|
|
1272
|
+
export declare const ListContactFlowModulesRequestFilterSensitiveLog: (
|
|
1273
|
+
obj: ListContactFlowModulesRequest
|
|
1274
|
+
) => any;
|
|
1275
|
+
export declare const ContactFlowModuleSummaryFilterSensitiveLog: (
|
|
1276
|
+
obj: ContactFlowModuleSummary
|
|
1277
|
+
) => any;
|
|
1278
|
+
export declare const ListContactFlowModulesResponseFilterSensitiveLog: (
|
|
1279
|
+
obj: ListContactFlowModulesResponse
|
|
1280
|
+
) => any;
|
|
1281
|
+
export declare const ListContactFlowsRequestFilterSensitiveLog: (
|
|
1282
|
+
obj: ListContactFlowsRequest
|
|
1283
|
+
) => any;
|
|
1284
|
+
export declare const ContactFlowSummaryFilterSensitiveLog: (
|
|
1285
|
+
obj: ContactFlowSummary
|
|
1286
|
+
) => any;
|
|
1287
|
+
export declare const ListContactFlowsResponseFilterSensitiveLog: (
|
|
1288
|
+
obj: ListContactFlowsResponse
|
|
1289
|
+
) => any;
|
|
1290
|
+
export declare const ListContactReferencesRequestFilterSensitiveLog: (
|
|
1291
|
+
obj: ListContactReferencesRequest
|
|
1292
|
+
) => any;
|
|
1228
1293
|
export declare const AttachmentReferenceFilterSensitiveLog: (
|
|
1229
1294
|
obj: AttachmentReference
|
|
1230
1295
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetMetricDataV2CommandInput,
|
|
4
|
+
GetMetricDataV2CommandOutput,
|
|
5
|
+
} from "../commands/GetMetricDataV2Command";
|
|
6
|
+
import { ConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetMetricDataV2(
|
|
8
|
+
config: ConnectPaginationConfiguration,
|
|
9
|
+
input: GetMetricDataV2CommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetMetricDataV2CommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./GetCurrentMetricDataPaginator";
|
|
2
2
|
export * from "./GetCurrentUserDataPaginator";
|
|
3
3
|
export * from "./GetMetricDataPaginator";
|
|
4
|
+
export * from "./GetMetricDataV2Paginator";
|
|
4
5
|
export * from "./Interfaces";
|
|
5
6
|
export * from "./ListAgentStatusesPaginator";
|
|
6
7
|
export * from "./ListApprovedOriginsPaginator";
|
|
@@ -307,6 +307,10 @@ import {
|
|
|
307
307
|
GetMetricDataCommandInput,
|
|
308
308
|
GetMetricDataCommandOutput,
|
|
309
309
|
} from "../commands/GetMetricDataCommand";
|
|
310
|
+
import {
|
|
311
|
+
GetMetricDataV2CommandInput,
|
|
312
|
+
GetMetricDataV2CommandOutput,
|
|
313
|
+
} from "../commands/GetMetricDataV2Command";
|
|
310
314
|
import {
|
|
311
315
|
GetTaskTemplateCommandInput,
|
|
312
316
|
GetTaskTemplateCommandOutput,
|
|
@@ -983,6 +987,10 @@ export declare const serializeAws_restJson1GetMetricDataCommand: (
|
|
|
983
987
|
input: GetMetricDataCommandInput,
|
|
984
988
|
context: __SerdeContext
|
|
985
989
|
) => Promise<__HttpRequest>;
|
|
990
|
+
export declare const serializeAws_restJson1GetMetricDataV2Command: (
|
|
991
|
+
input: GetMetricDataV2CommandInput,
|
|
992
|
+
context: __SerdeContext
|
|
993
|
+
) => Promise<__HttpRequest>;
|
|
986
994
|
export declare const serializeAws_restJson1GetTaskTemplateCommand: (
|
|
987
995
|
input: GetTaskTemplateCommandInput,
|
|
988
996
|
context: __SerdeContext
|
|
@@ -1659,6 +1667,10 @@ export declare const deserializeAws_restJson1GetMetricDataCommand: (
|
|
|
1659
1667
|
output: __HttpResponse,
|
|
1660
1668
|
context: __SerdeContext
|
|
1661
1669
|
) => Promise<GetMetricDataCommandOutput>;
|
|
1670
|
+
export declare const deserializeAws_restJson1GetMetricDataV2Command: (
|
|
1671
|
+
output: __HttpResponse,
|
|
1672
|
+
context: __SerdeContext
|
|
1673
|
+
) => Promise<GetMetricDataV2CommandOutput>;
|
|
1662
1674
|
export declare const deserializeAws_restJson1GetTaskTemplateCommand: (
|
|
1663
1675
|
output: __HttpResponse,
|
|
1664
1676
|
context: __SerdeContext
|