@aws-sdk/client-connect 3.1107.0 → 3.1109.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.
Files changed (76) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +390 -46
  3. package/dist-es/Connect.js +18 -0
  4. package/dist-es/commands/CreateMetricCommand.js +4 -0
  5. package/dist-es/commands/DeleteMetricCommand.js +4 -0
  6. package/dist-es/commands/DescribeMetricCommand.js +4 -0
  7. package/dist-es/commands/ListMetricsCommand.js +4 -0
  8. package/dist-es/commands/SearchMetricsCommand.js +4 -0
  9. package/dist-es/commands/UpdateMetricContentCommand.js +4 -0
  10. package/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +41 -0
  13. package/dist-es/pagination/ListMetricsPaginator.js +4 -0
  14. package/dist-es/pagination/SearchMetricsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +268 -45
  17. package/dist-types/Connect.d.ts +63 -0
  18. package/dist-types/ConnectClient.d.ts +9 -2
  19. package/dist-types/commands/CreateMetricCommand.d.ts +137 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
  23. package/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
  24. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -1
  25. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  26. package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  27. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  28. package/dist-types/commands/ListMetricsCommand.d.ts +103 -0
  29. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  31. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  32. package/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
  35. package/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
  36. package/dist-types/commands/index.d.ts +7 -0
  37. package/dist-types/models/enums.d.ts +113 -0
  38. package/dist-types/models/models_0.d.ts +185 -285
  39. package/dist-types/models/models_1.d.ts +526 -349
  40. package/dist-types/models/models_2.d.ts +394 -355
  41. package/dist-types/models/models_3.d.ts +469 -663
  42. package/dist-types/models/models_4.d.ts +715 -5
  43. package/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +32 -0
  47. package/dist-types/ts3.4/Connect.d.ts +130 -0
  48. package/dist-types/ts3.4/ConnectClient.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -1
  55. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  66. package/dist-types/ts3.4/models/enums.d.ts +53 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +49 -55
  68. package/dist-types/ts3.4/models/models_1.d.ts +108 -82
  69. package/dist-types/ts3.4/models/models_2.d.ts +99 -86
  70. package/dist-types/ts3.4/models/models_3.d.ts +121 -153
  71. package/dist-types/ts3.4/models/models_4.d.ts +174 -21
  72. package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
  73. package/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  75. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  76. package/package.json +6 -6
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DescribeMetricRequest, DescribeMetricResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface DescribeMetricCommandInput extends DescribeMetricRequest {}
5
+ export interface DescribeMetricCommandOutput extends DescribeMetricResponse, __MetadataBearer {}
6
+ declare const DescribeMetricCommand_base: {
7
+ new (
8
+ input: DescribeMetricCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DescribeMetricCommandInput,
11
+ DescribeMetricCommandOutput,
12
+ import("..").ConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DescribeMetricCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DescribeMetricCommandInput,
20
+ DescribeMetricCommandOutput,
21
+ import("..").ConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DescribeMetricCommand extends DescribeMetricCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DescribeMetricRequest;
31
+ output: DescribeMetricResponse;
32
+ };
33
+ sdk: {
34
+ input: DescribeMetricCommandInput;
35
+ output: DescribeMetricCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetCurrentUserDataRequest, GetCurrentUserDataResponse } from "../models/models_1";
2
+ import { GetCurrentUserDataRequest } from "../models/models_1";
3
+ import { GetCurrentUserDataResponse } from "../models/models_2";
3
4
  export { __MetadataBearer };
4
5
  export interface GetCurrentUserDataCommandInput extends GetCurrentUserDataRequest {}
5
6
  export interface GetCurrentUserDataCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  GetEffectiveHoursOfOperationsRequest,
4
4
  GetEffectiveHoursOfOperationsResponse,
5
- } from "../models/models_1";
5
+ } from "../models/models_2";
6
6
  export { __MetadataBearer };
7
7
  export interface GetEffectiveHoursOfOperationsCommandInput extends GetEffectiveHoursOfOperationsRequest {}
8
8
  export interface GetEffectiveHoursOfOperationsCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  GetEvaluationFormValidationRequest,
4
4
  GetEvaluationFormValidationResponse,
5
- } from "../models/models_1";
5
+ } from "../models/models_2";
6
6
  export { __MetadataBearer };
7
7
  export interface GetEvaluationFormValidationCommandInput extends GetEvaluationFormValidationRequest {}
8
8
  export interface GetEvaluationFormValidationCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_1";
2
+ import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_2";
3
3
  export { __MetadataBearer };
4
4
  export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {}
5
5
  export interface GetFederationTokenCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListMetricsRequest, ListMetricsResponse } from "../models/models_2";
3
+ export { __MetadataBearer };
4
+ export interface ListMetricsCommandInput extends ListMetricsRequest {}
5
+ export interface ListMetricsCommandOutput extends ListMetricsResponse, __MetadataBearer {}
6
+ declare const ListMetricsCommand_base: {
7
+ new (
8
+ input: ListMetricsCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ListMetricsCommandInput,
11
+ ListMetricsCommandOutput,
12
+ import("..").ConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: ListMetricsCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListMetricsCommandInput,
20
+ ListMetricsCommandOutput,
21
+ import("..").ConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ListMetricsCommand extends ListMetricsCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ListMetricsRequest;
31
+ output: ListMetricsResponse;
32
+ };
33
+ sdk: {
34
+ input: ListMetricsCommandInput;
35
+ output: ListMetricsCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { SearchAgentStatusesResponse } from "../models/models_2";
3
- import { SearchAgentStatusesRequest } from "../models/models_3";
3
+ import { SearchAgentStatusesRequest } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchAgentStatusesCommandInput extends SearchAgentStatusesRequest {}
6
6
  export interface SearchAgentStatusesCommandOutput
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { SearchContactEvaluationsResponse } from "../models/models_2";
3
- import { SearchContactEvaluationsRequest } from "../models/models_3";
3
+ import { SearchContactEvaluationsRequest } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchContactEvaluationsCommandInput extends SearchContactEvaluationsRequest {}
6
6
  export interface SearchContactEvaluationsCommandOutput
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { SearchContactFlowModulesResponse } from "../models/models_2";
3
- import { SearchContactFlowModulesRequest } from "../models/models_3";
3
+ import { SearchContactFlowModulesRequest } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchContactFlowModulesCommandInput extends SearchContactFlowModulesRequest {}
6
6
  export interface SearchContactFlowModulesCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { SearchMetricsResponse } from "../models/models_3";
3
+ import { SearchMetricsRequest } from "../models/models_4";
4
+ export { __MetadataBearer };
5
+ export interface SearchMetricsCommandInput extends SearchMetricsRequest {}
6
+ export interface SearchMetricsCommandOutput extends SearchMetricsResponse, __MetadataBearer {}
7
+ declare const SearchMetricsCommand_base: {
8
+ new (
9
+ input: SearchMetricsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ SearchMetricsCommandInput,
12
+ SearchMetricsCommandOutput,
13
+ import("..").ConnectClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: SearchMetricsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ SearchMetricsCommandInput,
21
+ SearchMetricsCommandOutput,
22
+ import("..").ConnectClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class SearchMetricsCommand extends SearchMetricsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: SearchMetricsRequest;
32
+ output: SearchMetricsResponse;
33
+ };
34
+ sdk: {
35
+ input: SearchMetricsCommandInput;
36
+ output: SearchMetricsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateMetricContentRequest, UpdateMetricContentResponse } from "../models/models_3";
3
+ export { __MetadataBearer };
4
+ export interface UpdateMetricContentCommandInput extends UpdateMetricContentRequest {}
5
+ export interface UpdateMetricContentCommandOutput
6
+ extends UpdateMetricContentResponse, __MetadataBearer {}
7
+ declare const UpdateMetricContentCommand_base: {
8
+ new (
9
+ input: UpdateMetricContentCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateMetricContentCommandInput,
12
+ UpdateMetricContentCommandOutput,
13
+ import("..").ConnectClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: UpdateMetricContentCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateMetricContentCommandInput,
21
+ UpdateMetricContentCommandOutput,
22
+ import("..").ConnectClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateMetricContentCommand extends UpdateMetricContentCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateMetricContentRequest;
32
+ output: {};
33
+ };
34
+ sdk: {
35
+ input: UpdateMetricContentCommandInput;
36
+ output: UpdateMetricContentCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateMetricMetadataRequest, UpdateMetricMetadataResponse } from "../models/models_3";
3
+ export { __MetadataBearer };
4
+ export interface UpdateMetricMetadataCommandInput extends UpdateMetricMetadataRequest {}
5
+ export interface UpdateMetricMetadataCommandOutput
6
+ extends UpdateMetricMetadataResponse, __MetadataBearer {}
7
+ declare const UpdateMetricMetadataCommand_base: {
8
+ new (
9
+ input: UpdateMetricMetadataCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateMetricMetadataCommandInput,
12
+ UpdateMetricMetadataCommandOutput,
13
+ import("..").ConnectClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: UpdateMetricMetadataCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateMetricMetadataCommandInput,
21
+ UpdateMetricMetadataCommandOutput,
22
+ import("..").ConnectClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateMetricMetadataCommand extends UpdateMetricMetadataCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateMetricMetadataRequest;
32
+ output: {};
33
+ };
34
+ sdk: {
35
+ input: UpdateMetricMetadataCommandInput;
36
+ output: UpdateMetricMetadataCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -47,6 +47,7 @@ export * from "./CreateHoursOfOperationCommand";
47
47
  export * from "./CreateHoursOfOperationOverrideCommand";
48
48
  export * from "./CreateInstanceCommand";
49
49
  export * from "./CreateIntegrationAssociationCommand";
50
+ export * from "./CreateMetricCommand";
50
51
  export * from "./CreateNotificationCommand";
51
52
  export * from "./CreateParticipantCommand";
52
53
  export * from "./CreatePersistentContactAssociationCommand";
@@ -86,6 +87,7 @@ export * from "./DeleteHoursOfOperationCommand";
86
87
  export * from "./DeleteHoursOfOperationOverrideCommand";
87
88
  export * from "./DeleteInstanceCommand";
88
89
  export * from "./DeleteIntegrationAssociationCommand";
90
+ export * from "./DeleteMetricCommand";
89
91
  export * from "./DeleteNotificationCommand";
90
92
  export * from "./DeletePredefinedAttributeCommand";
91
93
  export * from "./DeletePromptCommand";
@@ -125,6 +127,7 @@ export * from "./DescribeHoursOfOperationOverrideCommand";
125
127
  export * from "./DescribeInstanceAttributeCommand";
126
128
  export * from "./DescribeInstanceCommand";
127
129
  export * from "./DescribeInstanceStorageConfigCommand";
130
+ export * from "./DescribeMetricCommand";
128
131
  export * from "./DescribeNotificationCommand";
129
132
  export * from "./DescribePhoneNumberCommand";
130
133
  export * from "./DescribePredefinedAttributeCommand";
@@ -212,6 +215,7 @@ export * from "./ListInstancesCommand";
212
215
  export * from "./ListIntegrationAssociationsCommand";
213
216
  export * from "./ListLambdaFunctionsCommand";
214
217
  export * from "./ListLexBotsCommand";
218
+ export * from "./ListMetricsCommand";
215
219
  export * from "./ListNotificationsCommand";
216
220
  export * from "./ListPhoneNumbersCommand";
217
221
  export * from "./ListPhoneNumbersV2Command";
@@ -266,6 +270,7 @@ export * from "./SearchEmailAddressesCommand";
266
270
  export * from "./SearchEvaluationFormsCommand";
267
271
  export * from "./SearchHoursOfOperationOverridesCommand";
268
272
  export * from "./SearchHoursOfOperationsCommand";
273
+ export * from "./SearchMetricsCommand";
269
274
  export * from "./SearchNotificationsCommand";
270
275
  export * from "./SearchPredefinedAttributesCommand";
271
276
  export * from "./SearchPromptsCommand";
@@ -337,6 +342,8 @@ export * from "./UpdateHoursOfOperationCommand";
337
342
  export * from "./UpdateHoursOfOperationOverrideCommand";
338
343
  export * from "./UpdateInstanceAttributeCommand";
339
344
  export * from "./UpdateInstanceStorageConfigCommand";
345
+ export * from "./UpdateMetricContentCommand";
346
+ export * from "./UpdateMetricMetadataCommand";
340
347
  export * from "./UpdateNotificationContentCommand";
341
348
  export * from "./UpdateParticipantAuthenticationCommand";
342
349
  export * from "./UpdateParticipantRoleConfigCommand";
@@ -521,6 +521,44 @@ export declare const SourceType: {
521
521
  readonly ZENDESK: "ZENDESK";
522
522
  };
523
523
  export type SourceType = (typeof SourceType)[keyof typeof SourceType];
524
+ export declare const MetricFilterBooleanConditionComparison: {
525
+ readonly IS_FALSE: "IS_FALSE";
526
+ readonly IS_TRUE: "IS_TRUE";
527
+ };
528
+ export type MetricFilterBooleanConditionComparison =
529
+ (typeof MetricFilterBooleanConditionComparison)[keyof typeof MetricFilterBooleanConditionComparison];
530
+ export declare const MetricFilterNumberConditionComparison: {
531
+ readonly GREATER: "GREATER";
532
+ readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
533
+ readonly LESSER: "LESSER";
534
+ readonly LESSER_OR_EQUAL: "LESSER_OR_EQUAL";
535
+ };
536
+ export type MetricFilterNumberConditionComparison =
537
+ (typeof MetricFilterNumberConditionComparison)[keyof typeof MetricFilterNumberConditionComparison];
538
+ export declare const MetricFilterStringConditionComparison: {
539
+ readonly MATCHES_ANY: "MATCHES_ANY";
540
+ readonly MATCHES_NONE: "MATCHES_NONE";
541
+ };
542
+ export type MetricFilterStringConditionComparison =
543
+ (typeof MetricFilterStringConditionComparison)[keyof typeof MetricFilterStringConditionComparison];
544
+ export declare const TrendIndicator: {
545
+ readonly NEGATIVE: "NEGATIVE";
546
+ readonly NEUTRAL: "NEUTRAL";
547
+ readonly POSITIVE: "POSITIVE";
548
+ };
549
+ export type TrendIndicator = (typeof TrendIndicator)[keyof typeof TrendIndicator];
550
+ export declare const MetricStatus: {
551
+ readonly PUBLISHED: "PUBLISHED";
552
+ readonly SAVED: "SAVED";
553
+ };
554
+ export type MetricStatus = (typeof MetricStatus)[keyof typeof MetricStatus];
555
+ export declare const MetricUnit: {
556
+ readonly DOUBLE: "DOUBLE";
557
+ readonly INTEGER: "INTEGER";
558
+ readonly PERCENT: "PERCENT";
559
+ readonly SECONDS: "SECONDS";
560
+ };
561
+ export type MetricUnit = (typeof MetricUnit)[keyof typeof MetricUnit];
524
562
  export declare const LocaleCode: {
525
563
  readonly DeDE: "de_DE";
526
564
  readonly EnUS: "en_US";
@@ -900,6 +938,21 @@ export declare const InstanceAttributeType: {
900
938
  };
901
939
  export type InstanceAttributeType =
902
940
  (typeof InstanceAttributeType)[keyof typeof InstanceAttributeType];
941
+ export declare const MetricCreationMethod: {
942
+ readonly METRIC_BUILDER: "METRIC_BUILDER";
943
+ readonly SERVICE_LEVEL_BUILDER: "SERVICE_LEVEL_BUILDER";
944
+ };
945
+ export type MetricCreationMethod = (typeof MetricCreationMethod)[keyof typeof MetricCreationMethod];
946
+ export declare const AvailableFilterType: {
947
+ readonly METRIC_LEVEL: "METRIC_LEVEL";
948
+ readonly RESOURCE_LEVEL: "RESOURCE_LEVEL";
949
+ };
950
+ export type AvailableFilterType = (typeof AvailableFilterType)[keyof typeof AvailableFilterType];
951
+ export declare const MetricType: {
952
+ readonly AWS_MANAGED: "AWS_MANAGED";
953
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
954
+ };
955
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
903
956
  export declare const NotificationPriority: {
904
957
  readonly High: "HIGH";
905
958
  readonly Low: "LOW";
@@ -47,6 +47,11 @@ import {
47
47
  IntegrationType,
48
48
  ListFlowAssociationResourceType,
49
49
  LocaleCode,
50
+ MetricFilterBooleanConditionComparison,
51
+ MetricFilterNumberConditionComparison,
52
+ MetricFilterStringConditionComparison,
53
+ MetricStatus,
54
+ MetricUnit,
50
55
  MultiSelectQuestionRuleCategoryAutomationCondition,
51
56
  NotificationContentType,
52
57
  NotificationDeliveryType,
@@ -57,7 +62,6 @@ import {
57
62
  ParticipantRole,
58
63
  ParticipantState,
59
64
  PerformanceCategoryName,
60
- PhoneType,
61
65
  PropertyValidationExceptionReason,
62
66
  QuickConnectType,
63
67
  RecurrenceFrequency,
@@ -76,6 +80,7 @@ import {
76
80
  TaskTemplateStatus,
77
81
  TestCaseEntryPointType,
78
82
  TestCaseStatus,
83
+ TrendIndicator,
79
84
  UseCaseType,
80
85
  VideoCapability,
81
86
  VocabularyLanguageCode,
@@ -1286,6 +1291,49 @@ export interface CreateIntegrationAssociationResponse {
1286
1291
  IntegrationAssociationId?: string | undefined;
1287
1292
  IntegrationAssociationArn?: string | undefined;
1288
1293
  }
1294
+ export interface MetricFilterBooleanCondition {
1295
+ Comparison: MetricFilterBooleanConditionComparison | undefined;
1296
+ }
1297
+ export interface MetricFilterNumberCondition {
1298
+ Comparison: MetricFilterNumberConditionComparison | undefined;
1299
+ Values: number[] | undefined;
1300
+ }
1301
+ export interface MetricFilterStringCondition {
1302
+ Comparison: MetricFilterStringConditionComparison | undefined;
1303
+ Values: string[] | undefined;
1304
+ }
1305
+ export interface MetricFilter {
1306
+ MetricFilterKey: string | undefined;
1307
+ Negate?: boolean | undefined;
1308
+ NumberCondition?: MetricFilterNumberCondition | undefined;
1309
+ StringCondition?: MetricFilterStringCondition | undefined;
1310
+ BooleanCondition?: MetricFilterBooleanCondition | undefined;
1311
+ }
1312
+ export interface CalculationComponent {
1313
+ Alias: string | undefined;
1314
+ MetricName?: string | undefined;
1315
+ MetricId?: string | undefined;
1316
+ MetricFilters?: MetricFilter[] | undefined;
1317
+ }
1318
+ export interface MetricCalculation {
1319
+ CalculationComponents: CalculationComponent[] | undefined;
1320
+ Calculation: string | undefined;
1321
+ }
1322
+ export interface CreateMetricRequest {
1323
+ InstanceId: string | undefined;
1324
+ Name: string | undefined;
1325
+ MetricCalculation: MetricCalculation | undefined;
1326
+ Unit: MetricUnit | undefined;
1327
+ Status?: MetricStatus | undefined;
1328
+ ClientToken?: string | undefined;
1329
+ Description?: string | undefined;
1330
+ PositiveTrendIndicator?: TrendIndicator | undefined;
1331
+ Tags?: Record<string, string> | undefined;
1332
+ }
1333
+ export interface CreateMetricResponse {
1334
+ MetricArn: string | undefined;
1335
+ MetricId: string | undefined;
1336
+ }
1289
1337
  export interface CreateNotificationRequest {
1290
1338
  InstanceId: string | undefined;
1291
1339
  ExpiresAt?: Date | undefined;
@@ -1692,57 +1740,3 @@ export interface AutoAcceptConfig {
1692
1740
  AutoAccept: boolean | undefined;
1693
1741
  AgentFirstCallbackAutoAccept?: boolean | undefined;
1694
1742
  }
1695
- export interface UserIdentityInfo {
1696
- FirstName?: string | undefined;
1697
- LastName?: string | undefined;
1698
- Email?: string | undefined;
1699
- SecondaryEmail?: string | undefined;
1700
- Mobile?: string | undefined;
1701
- }
1702
- export interface PersistentConnectionConfig {
1703
- Channel: Channel | undefined;
1704
- PersistentConnection: boolean | undefined;
1705
- }
1706
- export interface UserPhoneConfig {
1707
- PhoneType?: PhoneType | undefined;
1708
- AutoAccept?: boolean | undefined;
1709
- AfterContactWorkTimeLimit?: number | undefined;
1710
- DeskPhoneNumber?: string | undefined;
1711
- PersistentConnection?: boolean | undefined;
1712
- }
1713
- export interface PhoneNumberConfig {
1714
- Channel: Channel | undefined;
1715
- PhoneType: PhoneType | undefined;
1716
- PhoneNumber?: string | undefined;
1717
- }
1718
- export interface VoiceEnhancementConfig {
1719
- Channel: Channel | undefined;
1720
- VoiceEnhancementMode: VoiceEnhancementMode | undefined;
1721
- }
1722
- export interface CreateUserRequest {
1723
- Username: string | undefined;
1724
- Password?: string | undefined;
1725
- IdentityInfo?: UserIdentityInfo | undefined;
1726
- PhoneConfig?: UserPhoneConfig | undefined;
1727
- DirectoryUserId?: string | undefined;
1728
- SecurityProfileIds: string[] | undefined;
1729
- RoutingProfileId: string | undefined;
1730
- HierarchyGroupId?: string | undefined;
1731
- InstanceId: string | undefined;
1732
- AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
1733
- AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
1734
- PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
1735
- PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
1736
- VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
1737
- Tags?: Record<string, string> | undefined;
1738
- }
1739
- export interface CreateUserResponse {
1740
- UserId?: string | undefined;
1741
- UserArn?: string | undefined;
1742
- }
1743
- export interface CreateUserHierarchyGroupRequest {
1744
- Name: string | undefined;
1745
- ParentGroupId?: string | undefined;
1746
- InstanceId: string | undefined;
1747
- Tags?: Record<string, string> | undefined;
1748
- }