@aws-sdk/client-connect 3.1106.0 → 3.1108.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 (84) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +391 -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/index.js +1 -1
  13. package/dist-es/models/enums.js +42 -0
  14. package/dist-es/pagination/ListMetricsPaginator.js +4 -0
  15. package/dist-es/pagination/SearchMetricsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +268 -45
  18. package/dist-types/Connect.d.ts +63 -0
  19. package/dist-types/ConnectClient.d.ts +9 -2
  20. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateMetricCommand.d.ts +137 -0
  22. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
  24. package/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
  25. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
  28. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -1
  29. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  30. package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  31. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  32. package/dist-types/commands/ListMetricsCommand.d.ts +103 -0
  33. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
  34. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  35. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  36. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
  38. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
  41. package/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
  42. package/dist-types/commands/index.d.ts +7 -0
  43. package/dist-types/index.d.ts +1 -1
  44. package/dist-types/models/enums.d.ts +114 -0
  45. package/dist-types/models/models_0.d.ts +185 -285
  46. package/dist-types/models/models_1.d.ts +526 -349
  47. package/dist-types/models/models_2.d.ts +394 -355
  48. package/dist-types/models/models_3.d.ts +469 -663
  49. package/dist-types/models/models_4.d.ts +715 -5
  50. package/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +2 -0
  53. package/dist-types/schemas/schemas_0.d.ts +32 -0
  54. package/dist-types/ts3.4/Connect.d.ts +130 -0
  55. package/dist-types/ts3.4/ConnectClient.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -1
  62. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  73. package/dist-types/ts3.4/index.d.ts +1 -1
  74. package/dist-types/ts3.4/models/enums.d.ts +54 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +49 -55
  76. package/dist-types/ts3.4/models/models_1.d.ts +108 -82
  77. package/dist-types/ts3.4/models/models_2.d.ts +99 -86
  78. package/dist-types/ts3.4/models/models_3.d.ts +121 -153
  79. package/dist-types/ts3.4/models/models_4.d.ts +174 -21
  80. package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
  81. package/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  83. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  84. package/package.json +6 -6
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListMetricsCommandInput, ListMetricsCommandOutput } from "../commands/ListMetricsCommand";
3
+ import type { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListMetrics: (config: ConnectPaginationConfiguration, input: ListMetricsCommandInput, ...rest: any[]) => Paginator<ListMetricsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { SearchMetricsCommandInput, SearchMetricsCommandOutput } from "../commands/SearchMetricsCommand";
3
+ import type { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchMetrics: (config: ConnectPaginationConfiguration, input: SearchMetricsCommandInput, ...rest: any[]) => Paginator<SearchMetricsCommandOutput>;
@@ -34,6 +34,7 @@ export * from "./ListInstanceStorageConfigsPaginator";
34
34
  export * from "./ListIntegrationAssociationsPaginator";
35
35
  export * from "./ListLambdaFunctionsPaginator";
36
36
  export * from "./ListLexBotsPaginator";
37
+ export * from "./ListMetricsPaginator";
37
38
  export * from "./ListPhoneNumbersPaginator";
38
39
  export * from "./ListPhoneNumbersV2Paginator";
39
40
  export * from "./ListPredefinedAttributesPaginator";
@@ -71,6 +72,7 @@ export * from "./SearchContactsPaginator";
71
72
  export * from "./SearchDataTablesPaginator";
72
73
  export * from "./SearchHoursOfOperationOverridesPaginator";
73
74
  export * from "./SearchHoursOfOperationsPaginator";
75
+ export * from "./SearchMetricsPaginator";
74
76
  export * from "./SearchPredefinedAttributesPaginator";
75
77
  export * from "./SearchPromptsPaginator";
76
78
  export * from "./SearchQueuesPaginator";
@@ -117,6 +117,7 @@ export declare var AutoAcceptConfig$: StaticStructureSchema;
117
117
  export declare var AutoEvaluationConfiguration$: StaticStructureSchema;
118
118
  export declare var AutoEvaluationDetails$: StaticStructureSchema;
119
119
  export declare var AutomaticFailConfiguration$: StaticStructureSchema;
120
+ export declare var AvailableFilter$: StaticStructureSchema;
120
121
  export declare var AvailableNumberSummary$: StaticStructureSchema;
121
122
  export declare var BatchAssociateAnalyticsDataSetRequest$: StaticStructureSchema;
122
123
  export declare var BatchAssociateAnalyticsDataSetResponse$: StaticStructureSchema;
@@ -145,6 +146,7 @@ export declare var BatchUpdateDataTableValueRequest$: StaticStructureSchema;
145
146
  export declare var BatchUpdateDataTableValueResponse$: StaticStructureSchema;
146
147
  export declare var BatchUpdateDataTableValueSuccessResult$: StaticStructureSchema;
147
148
  export declare var BooleanCondition$: StaticStructureSchema;
149
+ export declare var CalculationComponent$: StaticStructureSchema;
148
150
  export declare var Campaign$: StaticStructureSchema;
149
151
  export declare var CaseSlaConfiguration$: StaticStructureSchema;
150
152
  export declare var ChatContactMetrics$: StaticStructureSchema;
@@ -234,6 +236,8 @@ export declare var CreateInstanceRequest$: StaticStructureSchema;
234
236
  export declare var CreateInstanceResponse$: StaticStructureSchema;
235
237
  export declare var CreateIntegrationAssociationRequest$: StaticStructureSchema;
236
238
  export declare var CreateIntegrationAssociationResponse$: StaticStructureSchema;
239
+ export declare var CreateMetricRequest$: StaticStructureSchema;
240
+ export declare var CreateMetricResponse$: StaticStructureSchema;
237
241
  export declare var CreateNotificationRequest$: StaticStructureSchema;
238
242
  export declare var CreateNotificationResponse$: StaticStructureSchema;
239
243
  export declare var CreateParticipantRequest$: StaticStructureSchema;
@@ -332,6 +336,8 @@ export declare var DeleteHoursOfOperationOverrideRequest$: StaticStructureSchema
332
336
  export declare var DeleteHoursOfOperationRequest$: StaticStructureSchema;
333
337
  export declare var DeleteInstanceRequest$: StaticStructureSchema;
334
338
  export declare var DeleteIntegrationAssociationRequest$: StaticStructureSchema;
339
+ export declare var DeleteMetricRequest$: StaticStructureSchema;
340
+ export declare var DeleteMetricResponse$: StaticStructureSchema;
335
341
  export declare var DeleteNotificationRequest$: StaticStructureSchema;
336
342
  export declare var DeleteNotificationResponse$: StaticStructureSchema;
337
343
  export declare var DeletePredefinedAttributeRequest$: StaticStructureSchema;
@@ -400,6 +406,8 @@ export declare var DescribeInstanceRequest$: StaticStructureSchema;
400
406
  export declare var DescribeInstanceResponse$: StaticStructureSchema;
401
407
  export declare var DescribeInstanceStorageConfigRequest$: StaticStructureSchema;
402
408
  export declare var DescribeInstanceStorageConfigResponse$: StaticStructureSchema;
409
+ export declare var DescribeMetricRequest$: StaticStructureSchema;
410
+ export declare var DescribeMetricResponse$: StaticStructureSchema;
403
411
  export declare var DescribeNotificationRequest$: StaticStructureSchema;
404
412
  export declare var DescribeNotificationResponse$: StaticStructureSchema;
405
413
  export declare var DescribePhoneNumberRequest$: StaticStructureSchema;
@@ -706,6 +714,8 @@ export declare var ListLambdaFunctionsRequest$: StaticStructureSchema;
706
714
  export declare var ListLambdaFunctionsResponse$: StaticStructureSchema;
707
715
  export declare var ListLexBotsRequest$: StaticStructureSchema;
708
716
  export declare var ListLexBotsResponse$: StaticStructureSchema;
717
+ export declare var ListMetricsRequest$: StaticStructureSchema;
718
+ export declare var ListMetricsResponse$: StaticStructureSchema;
709
719
  export declare var ListNotificationsRequest$: StaticStructureSchema;
710
720
  export declare var ListNotificationsResponse$: StaticStructureSchema;
711
721
  export declare var ListPhoneNumbersRequest$: StaticStructureSchema;
@@ -785,10 +795,19 @@ export declare var MediaItem$: StaticStructureSchema;
785
795
  export declare var MediaPlacement$: StaticStructureSchema;
786
796
  export declare var Meeting$: StaticStructureSchema;
787
797
  export declare var MeetingFeaturesConfiguration$: StaticStructureSchema;
798
+ export declare var MetricCalculation$: StaticStructureSchema;
788
799
  export declare var MetricDataV2$: StaticStructureSchema;
800
+ export declare var MetricDefinition$: StaticStructureSchema;
801
+ export declare var MetricFilter$: StaticStructureSchema;
802
+ export declare var MetricFilterBooleanCondition$: StaticStructureSchema;
803
+ export declare var MetricFilterNumberCondition$: StaticStructureSchema;
804
+ export declare var MetricFilterStringCondition$: StaticStructureSchema;
789
805
  export declare var MetricFilterV2$: StaticStructureSchema;
790
806
  export declare var MetricInterval$: StaticStructureSchema;
791
807
  export declare var MetricResultV2$: StaticStructureSchema;
808
+ export declare var MetricSearchCriteria$: StaticStructureSchema;
809
+ export declare var MetricSearchFilter$: StaticStructureSchema;
810
+ export declare var MetricSummary$: StaticStructureSchema;
792
811
  export declare var MetricV2$: StaticStructureSchema;
793
812
  export declare var MonitorContactRequest$: StaticStructureSchema;
794
813
  export declare var MonitorContactResponse$: StaticStructureSchema;
@@ -964,6 +983,8 @@ export declare var SearchHoursOfOperationOverridesRequest$: StaticStructureSchem
964
983
  export declare var SearchHoursOfOperationOverridesResponse$: StaticStructureSchema;
965
984
  export declare var SearchHoursOfOperationsRequest$: StaticStructureSchema;
966
985
  export declare var SearchHoursOfOperationsResponse$: StaticStructureSchema;
986
+ export declare var SearchMetricsRequest$: StaticStructureSchema;
987
+ export declare var SearchMetricsResponse$: StaticStructureSchema;
967
988
  export declare var SearchNotificationsRequest$: StaticStructureSchema;
968
989
  export declare var SearchNotificationsResponse$: StaticStructureSchema;
969
990
  export declare var SearchPredefinedAttributesRequest$: StaticStructureSchema;
@@ -1150,6 +1171,10 @@ export declare var UpdateHoursOfOperationOverrideRequest$: StaticStructureSchema
1150
1171
  export declare var UpdateHoursOfOperationRequest$: StaticStructureSchema;
1151
1172
  export declare var UpdateInstanceAttributeRequest$: StaticStructureSchema;
1152
1173
  export declare var UpdateInstanceStorageConfigRequest$: StaticStructureSchema;
1174
+ export declare var UpdateMetricContentRequest$: StaticStructureSchema;
1175
+ export declare var UpdateMetricContentResponse$: StaticStructureSchema;
1176
+ export declare var UpdateMetricMetadataRequest$: StaticStructureSchema;
1177
+ export declare var UpdateMetricMetadataResponse$: StaticStructureSchema;
1153
1178
  export declare var UpdateNotificationContentRequest$: StaticStructureSchema;
1154
1179
  export declare var UpdateNotificationContentResponse$: StaticStructureSchema;
1155
1180
  export declare var UpdateParticipantAuthenticationRequest$: StaticStructureSchema;
@@ -1328,6 +1353,7 @@ export declare var CreateHoursOfOperation$: StaticOperationSchema;
1328
1353
  export declare var CreateHoursOfOperationOverride$: StaticOperationSchema;
1329
1354
  export declare var CreateInstance$: StaticOperationSchema;
1330
1355
  export declare var CreateIntegrationAssociation$: StaticOperationSchema;
1356
+ export declare var CreateMetric$: StaticOperationSchema;
1331
1357
  export declare var CreateNotification$: StaticOperationSchema;
1332
1358
  export declare var CreateParticipant$: StaticOperationSchema;
1333
1359
  export declare var CreatePersistentContactAssociation$: StaticOperationSchema;
@@ -1367,6 +1393,7 @@ export declare var DeleteHoursOfOperation$: StaticOperationSchema;
1367
1393
  export declare var DeleteHoursOfOperationOverride$: StaticOperationSchema;
1368
1394
  export declare var DeleteInstance$: StaticOperationSchema;
1369
1395
  export declare var DeleteIntegrationAssociation$: StaticOperationSchema;
1396
+ export declare var DeleteMetric$: StaticOperationSchema;
1370
1397
  export declare var DeleteNotification$: StaticOperationSchema;
1371
1398
  export declare var DeletePredefinedAttribute$: StaticOperationSchema;
1372
1399
  export declare var DeletePrompt$: StaticOperationSchema;
@@ -1406,6 +1433,7 @@ export declare var DescribeHoursOfOperationOverride$: StaticOperationSchema;
1406
1433
  export declare var DescribeInstance$: StaticOperationSchema;
1407
1434
  export declare var DescribeInstanceAttribute$: StaticOperationSchema;
1408
1435
  export declare var DescribeInstanceStorageConfig$: StaticOperationSchema;
1436
+ export declare var DescribeMetric$: StaticOperationSchema;
1409
1437
  export declare var DescribeNotification$: StaticOperationSchema;
1410
1438
  export declare var DescribePhoneNumber$: StaticOperationSchema;
1411
1439
  export declare var DescribePredefinedAttribute$: StaticOperationSchema;
@@ -1493,6 +1521,7 @@ export declare var ListInstanceStorageConfigs$: StaticOperationSchema;
1493
1521
  export declare var ListIntegrationAssociations$: StaticOperationSchema;
1494
1522
  export declare var ListLambdaFunctions$: StaticOperationSchema;
1495
1523
  export declare var ListLexBots$: StaticOperationSchema;
1524
+ export declare var ListMetrics$: StaticOperationSchema;
1496
1525
  export declare var ListNotifications$: StaticOperationSchema;
1497
1526
  export declare var ListPhoneNumbers$: StaticOperationSchema;
1498
1527
  export declare var ListPhoneNumbersV2$: StaticOperationSchema;
@@ -1547,6 +1576,7 @@ export declare var SearchEmailAddresses$: StaticOperationSchema;
1547
1576
  export declare var SearchEvaluationForms$: StaticOperationSchema;
1548
1577
  export declare var SearchHoursOfOperationOverrides$: StaticOperationSchema;
1549
1578
  export declare var SearchHoursOfOperations$: StaticOperationSchema;
1579
+ export declare var SearchMetrics$: StaticOperationSchema;
1550
1580
  export declare var SearchNotifications$: StaticOperationSchema;
1551
1581
  export declare var SearchPredefinedAttributes$: StaticOperationSchema;
1552
1582
  export declare var SearchPrompts$: StaticOperationSchema;
@@ -1618,6 +1648,8 @@ export declare var UpdateHoursOfOperation$: StaticOperationSchema;
1618
1648
  export declare var UpdateHoursOfOperationOverride$: StaticOperationSchema;
1619
1649
  export declare var UpdateInstanceAttribute$: StaticOperationSchema;
1620
1650
  export declare var UpdateInstanceStorageConfig$: StaticOperationSchema;
1651
+ export declare var UpdateMetricContent$: StaticOperationSchema;
1652
+ export declare var UpdateMetricMetadata$: StaticOperationSchema;
1621
1653
  export declare var UpdateNotificationContent$: StaticOperationSchema;
1622
1654
  export declare var UpdateParticipantAuthentication$: StaticOperationSchema;
1623
1655
  export declare var UpdateParticipantRoleConfig$: StaticOperationSchema;
@@ -199,6 +199,10 @@ import {
199
199
  CreateIntegrationAssociationCommandInput,
200
200
  CreateIntegrationAssociationCommandOutput,
201
201
  } from "./commands/CreateIntegrationAssociationCommand";
202
+ import {
203
+ CreateMetricCommandInput,
204
+ CreateMetricCommandOutput,
205
+ } from "./commands/CreateMetricCommand";
202
206
  import {
203
207
  CreateNotificationCommandInput,
204
208
  CreateNotificationCommandOutput,
@@ -343,6 +347,10 @@ import {
343
347
  DeleteIntegrationAssociationCommandInput,
344
348
  DeleteIntegrationAssociationCommandOutput,
345
349
  } from "./commands/DeleteIntegrationAssociationCommand";
350
+ import {
351
+ DeleteMetricCommandInput,
352
+ DeleteMetricCommandOutput,
353
+ } from "./commands/DeleteMetricCommand";
346
354
  import {
347
355
  DeleteNotificationCommandInput,
348
356
  DeleteNotificationCommandOutput,
@@ -487,6 +495,10 @@ import {
487
495
  DescribeInstanceStorageConfigCommandInput,
488
496
  DescribeInstanceStorageConfigCommandOutput,
489
497
  } from "./commands/DescribeInstanceStorageConfigCommand";
498
+ import {
499
+ DescribeMetricCommandInput,
500
+ DescribeMetricCommandOutput,
501
+ } from "./commands/DescribeMetricCommand";
490
502
  import {
491
503
  DescribeNotificationCommandInput,
492
504
  DescribeNotificationCommandOutput,
@@ -829,6 +841,7 @@ import {
829
841
  ListLambdaFunctionsCommandOutput,
830
842
  } from "./commands/ListLambdaFunctionsCommand";
831
843
  import { ListLexBotsCommandInput, ListLexBotsCommandOutput } from "./commands/ListLexBotsCommand";
844
+ import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
832
845
  import {
833
846
  ListNotificationsCommandInput,
834
847
  ListNotificationsCommandOutput,
@@ -1030,6 +1043,10 @@ import {
1030
1043
  SearchHoursOfOperationsCommandInput,
1031
1044
  SearchHoursOfOperationsCommandOutput,
1032
1045
  } from "./commands/SearchHoursOfOperationsCommand";
1046
+ import {
1047
+ SearchMetricsCommandInput,
1048
+ SearchMetricsCommandOutput,
1049
+ } from "./commands/SearchMetricsCommand";
1033
1050
  import {
1034
1051
  SearchNotificationsCommandInput,
1035
1052
  SearchNotificationsCommandOutput,
@@ -1296,6 +1313,14 @@ import {
1296
1313
  UpdateInstanceStorageConfigCommandInput,
1297
1314
  UpdateInstanceStorageConfigCommandOutput,
1298
1315
  } from "./commands/UpdateInstanceStorageConfigCommand";
1316
+ import {
1317
+ UpdateMetricContentCommandInput,
1318
+ UpdateMetricContentCommandOutput,
1319
+ } from "./commands/UpdateMetricContentCommand";
1320
+ import {
1321
+ UpdateMetricMetadataCommandInput,
1322
+ UpdateMetricMetadataCommandOutput,
1323
+ } from "./commands/UpdateMetricMetadataCommand";
1299
1324
  import {
1300
1325
  UpdateNotificationContentCommandInput,
1301
1326
  UpdateNotificationContentCommandOutput,
@@ -2096,6 +2121,19 @@ export interface Connect {
2096
2121
  options: __HttpHandlerOptions,
2097
2122
  cb: (err: any, data?: CreateIntegrationAssociationCommandOutput) => void,
2098
2123
  ): void;
2124
+ createMetric(
2125
+ args: CreateMetricCommandInput,
2126
+ options?: __HttpHandlerOptions,
2127
+ ): Promise<CreateMetricCommandOutput>;
2128
+ createMetric(
2129
+ args: CreateMetricCommandInput,
2130
+ cb: (err: any, data?: CreateMetricCommandOutput) => void,
2131
+ ): void;
2132
+ createMetric(
2133
+ args: CreateMetricCommandInput,
2134
+ options: __HttpHandlerOptions,
2135
+ cb: (err: any, data?: CreateMetricCommandOutput) => void,
2136
+ ): void;
2099
2137
  createNotification(
2100
2138
  args: CreateNotificationCommandInput,
2101
2139
  options?: __HttpHandlerOptions,
@@ -2603,6 +2641,19 @@ export interface Connect {
2603
2641
  options: __HttpHandlerOptions,
2604
2642
  cb: (err: any, data?: DeleteIntegrationAssociationCommandOutput) => void,
2605
2643
  ): void;
2644
+ deleteMetric(
2645
+ args: DeleteMetricCommandInput,
2646
+ options?: __HttpHandlerOptions,
2647
+ ): Promise<DeleteMetricCommandOutput>;
2648
+ deleteMetric(
2649
+ args: DeleteMetricCommandInput,
2650
+ cb: (err: any, data?: DeleteMetricCommandOutput) => void,
2651
+ ): void;
2652
+ deleteMetric(
2653
+ args: DeleteMetricCommandInput,
2654
+ options: __HttpHandlerOptions,
2655
+ cb: (err: any, data?: DeleteMetricCommandOutput) => void,
2656
+ ): void;
2606
2657
  deleteNotification(
2607
2658
  args: DeleteNotificationCommandInput,
2608
2659
  options?: __HttpHandlerOptions,
@@ -3110,6 +3161,19 @@ export interface Connect {
3110
3161
  options: __HttpHandlerOptions,
3111
3162
  cb: (err: any, data?: DescribeInstanceStorageConfigCommandOutput) => void,
3112
3163
  ): void;
3164
+ describeMetric(
3165
+ args: DescribeMetricCommandInput,
3166
+ options?: __HttpHandlerOptions,
3167
+ ): Promise<DescribeMetricCommandOutput>;
3168
+ describeMetric(
3169
+ args: DescribeMetricCommandInput,
3170
+ cb: (err: any, data?: DescribeMetricCommandOutput) => void,
3171
+ ): void;
3172
+ describeMetric(
3173
+ args: DescribeMetricCommandInput,
3174
+ options: __HttpHandlerOptions,
3175
+ cb: (err: any, data?: DescribeMetricCommandOutput) => void,
3176
+ ): void;
3113
3177
  describeNotification(
3114
3178
  args: DescribeNotificationCommandInput,
3115
3179
  options?: __HttpHandlerOptions,
@@ -4239,6 +4303,19 @@ export interface Connect {
4239
4303
  options: __HttpHandlerOptions,
4240
4304
  cb: (err: any, data?: ListLexBotsCommandOutput) => void,
4241
4305
  ): void;
4306
+ listMetrics(
4307
+ args: ListMetricsCommandInput,
4308
+ options?: __HttpHandlerOptions,
4309
+ ): Promise<ListMetricsCommandOutput>;
4310
+ listMetrics(
4311
+ args: ListMetricsCommandInput,
4312
+ cb: (err: any, data?: ListMetricsCommandOutput) => void,
4313
+ ): void;
4314
+ listMetrics(
4315
+ args: ListMetricsCommandInput,
4316
+ options: __HttpHandlerOptions,
4317
+ cb: (err: any, data?: ListMetricsCommandOutput) => void,
4318
+ ): void;
4242
4319
  listNotifications(
4243
4320
  args: ListNotificationsCommandInput,
4244
4321
  options?: __HttpHandlerOptions,
@@ -4943,6 +5020,19 @@ export interface Connect {
4943
5020
  options: __HttpHandlerOptions,
4944
5021
  cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void,
4945
5022
  ): void;
5023
+ searchMetrics(
5024
+ args: SearchMetricsCommandInput,
5025
+ options?: __HttpHandlerOptions,
5026
+ ): Promise<SearchMetricsCommandOutput>;
5027
+ searchMetrics(
5028
+ args: SearchMetricsCommandInput,
5029
+ cb: (err: any, data?: SearchMetricsCommandOutput) => void,
5030
+ ): void;
5031
+ searchMetrics(
5032
+ args: SearchMetricsCommandInput,
5033
+ options: __HttpHandlerOptions,
5034
+ cb: (err: any, data?: SearchMetricsCommandOutput) => void,
5035
+ ): void;
4946
5036
  searchNotifications(
4947
5037
  args: SearchNotificationsCommandInput,
4948
5038
  options?: __HttpHandlerOptions,
@@ -5868,6 +5958,32 @@ export interface Connect {
5868
5958
  options: __HttpHandlerOptions,
5869
5959
  cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void,
5870
5960
  ): void;
5961
+ updateMetricContent(
5962
+ args: UpdateMetricContentCommandInput,
5963
+ options?: __HttpHandlerOptions,
5964
+ ): Promise<UpdateMetricContentCommandOutput>;
5965
+ updateMetricContent(
5966
+ args: UpdateMetricContentCommandInput,
5967
+ cb: (err: any, data?: UpdateMetricContentCommandOutput) => void,
5968
+ ): void;
5969
+ updateMetricContent(
5970
+ args: UpdateMetricContentCommandInput,
5971
+ options: __HttpHandlerOptions,
5972
+ cb: (err: any, data?: UpdateMetricContentCommandOutput) => void,
5973
+ ): void;
5974
+ updateMetricMetadata(
5975
+ args: UpdateMetricMetadataCommandInput,
5976
+ options?: __HttpHandlerOptions,
5977
+ ): Promise<UpdateMetricMetadataCommandOutput>;
5978
+ updateMetricMetadata(
5979
+ args: UpdateMetricMetadataCommandInput,
5980
+ cb: (err: any, data?: UpdateMetricMetadataCommandOutput) => void,
5981
+ ): void;
5982
+ updateMetricMetadata(
5983
+ args: UpdateMetricMetadataCommandInput,
5984
+ options: __HttpHandlerOptions,
5985
+ cb: (err: any, data?: UpdateMetricMetadataCommandOutput) => void,
5986
+ ): void;
5871
5987
  updateNotificationContent(
5872
5988
  args: UpdateNotificationContentCommandInput,
5873
5989
  options?: __HttpHandlerOptions,
@@ -6646,6 +6762,13 @@ export interface Connect {
6646
6762
  Exclude<keyof PaginationConfiguration, "client">
6647
6763
  >,
6648
6764
  ): Paginator<ListLexBotsCommandOutput>;
6765
+ paginateListMetrics(
6766
+ args: ListMetricsCommandInput,
6767
+ paginationConfig?: Pick<
6768
+ PaginationConfiguration,
6769
+ Exclude<keyof PaginationConfiguration, "client">
6770
+ >,
6771
+ ): Paginator<ListMetricsCommandOutput>;
6649
6772
  paginateListPhoneNumbers(
6650
6773
  args: ListPhoneNumbersCommandInput,
6651
6774
  paginationConfig?: Pick<
@@ -6905,6 +7028,13 @@ export interface Connect {
6905
7028
  Exclude<keyof PaginationConfiguration, "client">
6906
7029
  >,
6907
7030
  ): Paginator<SearchHoursOfOperationsCommandOutput>;
7031
+ paginateSearchMetrics(
7032
+ args: SearchMetricsCommandInput,
7033
+ paginationConfig?: Pick<
7034
+ PaginationConfiguration,
7035
+ Exclude<keyof PaginationConfiguration, "client">
7036
+ >,
7037
+ ): Paginator<SearchMetricsCommandOutput>;
6908
7038
  paginateSearchPredefinedAttributes(
6909
7039
  args: SearchPredefinedAttributesCommandInput,
6910
7040
  paginationConfig?: Pick<
@@ -229,6 +229,10 @@ import {
229
229
  CreateIntegrationAssociationCommandInput,
230
230
  CreateIntegrationAssociationCommandOutput,
231
231
  } from "./commands/CreateIntegrationAssociationCommand";
232
+ import {
233
+ CreateMetricCommandInput,
234
+ CreateMetricCommandOutput,
235
+ } from "./commands/CreateMetricCommand";
232
236
  import {
233
237
  CreateNotificationCommandInput,
234
238
  CreateNotificationCommandOutput,
@@ -373,6 +377,10 @@ import {
373
377
  DeleteIntegrationAssociationCommandInput,
374
378
  DeleteIntegrationAssociationCommandOutput,
375
379
  } from "./commands/DeleteIntegrationAssociationCommand";
380
+ import {
381
+ DeleteMetricCommandInput,
382
+ DeleteMetricCommandOutput,
383
+ } from "./commands/DeleteMetricCommand";
376
384
  import {
377
385
  DeleteNotificationCommandInput,
378
386
  DeleteNotificationCommandOutput,
@@ -517,6 +525,10 @@ import {
517
525
  DescribeInstanceStorageConfigCommandInput,
518
526
  DescribeInstanceStorageConfigCommandOutput,
519
527
  } from "./commands/DescribeInstanceStorageConfigCommand";
528
+ import {
529
+ DescribeMetricCommandInput,
530
+ DescribeMetricCommandOutput,
531
+ } from "./commands/DescribeMetricCommand";
520
532
  import {
521
533
  DescribeNotificationCommandInput,
522
534
  DescribeNotificationCommandOutput,
@@ -859,6 +871,7 @@ import {
859
871
  ListLambdaFunctionsCommandOutput,
860
872
  } from "./commands/ListLambdaFunctionsCommand";
861
873
  import { ListLexBotsCommandInput, ListLexBotsCommandOutput } from "./commands/ListLexBotsCommand";
874
+ import { ListMetricsCommandInput, ListMetricsCommandOutput } from "./commands/ListMetricsCommand";
862
875
  import {
863
876
  ListNotificationsCommandInput,
864
877
  ListNotificationsCommandOutput,
@@ -1060,6 +1073,10 @@ import {
1060
1073
  SearchHoursOfOperationsCommandInput,
1061
1074
  SearchHoursOfOperationsCommandOutput,
1062
1075
  } from "./commands/SearchHoursOfOperationsCommand";
1076
+ import {
1077
+ SearchMetricsCommandInput,
1078
+ SearchMetricsCommandOutput,
1079
+ } from "./commands/SearchMetricsCommand";
1063
1080
  import {
1064
1081
  SearchNotificationsCommandInput,
1065
1082
  SearchNotificationsCommandOutput,
@@ -1326,6 +1343,14 @@ import {
1326
1343
  UpdateInstanceStorageConfigCommandInput,
1327
1344
  UpdateInstanceStorageConfigCommandOutput,
1328
1345
  } from "./commands/UpdateInstanceStorageConfigCommand";
1346
+ import {
1347
+ UpdateMetricContentCommandInput,
1348
+ UpdateMetricContentCommandOutput,
1349
+ } from "./commands/UpdateMetricContentCommand";
1350
+ import {
1351
+ UpdateMetricMetadataCommandInput,
1352
+ UpdateMetricMetadataCommandOutput,
1353
+ } from "./commands/UpdateMetricMetadataCommand";
1329
1354
  import {
1330
1355
  UpdateNotificationContentCommandInput,
1331
1356
  UpdateNotificationContentCommandOutput,
@@ -1544,6 +1569,7 @@ export type ServiceInputTypes =
1544
1569
  | CreateHoursOfOperationOverrideCommandInput
1545
1570
  | CreateInstanceCommandInput
1546
1571
  | CreateIntegrationAssociationCommandInput
1572
+ | CreateMetricCommandInput
1547
1573
  | CreateNotificationCommandInput
1548
1574
  | CreateParticipantCommandInput
1549
1575
  | CreatePersistentContactAssociationCommandInput
@@ -1583,6 +1609,7 @@ export type ServiceInputTypes =
1583
1609
  | DeleteHoursOfOperationOverrideCommandInput
1584
1610
  | DeleteInstanceCommandInput
1585
1611
  | DeleteIntegrationAssociationCommandInput
1612
+ | DeleteMetricCommandInput
1586
1613
  | DeleteNotificationCommandInput
1587
1614
  | DeletePredefinedAttributeCommandInput
1588
1615
  | DeletePromptCommandInput
@@ -1622,6 +1649,7 @@ export type ServiceInputTypes =
1622
1649
  | DescribeInstanceAttributeCommandInput
1623
1650
  | DescribeInstanceCommandInput
1624
1651
  | DescribeInstanceStorageConfigCommandInput
1652
+ | DescribeMetricCommandInput
1625
1653
  | DescribeNotificationCommandInput
1626
1654
  | DescribePhoneNumberCommandInput
1627
1655
  | DescribePredefinedAttributeCommandInput
@@ -1709,6 +1737,7 @@ export type ServiceInputTypes =
1709
1737
  | ListIntegrationAssociationsCommandInput
1710
1738
  | ListLambdaFunctionsCommandInput
1711
1739
  | ListLexBotsCommandInput
1740
+ | ListMetricsCommandInput
1712
1741
  | ListNotificationsCommandInput
1713
1742
  | ListPhoneNumbersCommandInput
1714
1743
  | ListPhoneNumbersV2CommandInput
@@ -1763,6 +1792,7 @@ export type ServiceInputTypes =
1763
1792
  | SearchEvaluationFormsCommandInput
1764
1793
  | SearchHoursOfOperationOverridesCommandInput
1765
1794
  | SearchHoursOfOperationsCommandInput
1795
+ | SearchMetricsCommandInput
1766
1796
  | SearchNotificationsCommandInput
1767
1797
  | SearchPredefinedAttributesCommandInput
1768
1798
  | SearchPromptsCommandInput
@@ -1834,6 +1864,8 @@ export type ServiceInputTypes =
1834
1864
  | UpdateHoursOfOperationOverrideCommandInput
1835
1865
  | UpdateInstanceAttributeCommandInput
1836
1866
  | UpdateInstanceStorageConfigCommandInput
1867
+ | UpdateMetricContentCommandInput
1868
+ | UpdateMetricMetadataCommandInput
1837
1869
  | UpdateNotificationContentCommandInput
1838
1870
  | UpdateParticipantAuthenticationCommandInput
1839
1871
  | UpdateParticipantRoleConfigCommandInput
@@ -1925,6 +1957,7 @@ export type ServiceOutputTypes =
1925
1957
  | CreateHoursOfOperationOverrideCommandOutput
1926
1958
  | CreateInstanceCommandOutput
1927
1959
  | CreateIntegrationAssociationCommandOutput
1960
+ | CreateMetricCommandOutput
1928
1961
  | CreateNotificationCommandOutput
1929
1962
  | CreateParticipantCommandOutput
1930
1963
  | CreatePersistentContactAssociationCommandOutput
@@ -1964,6 +1997,7 @@ export type ServiceOutputTypes =
1964
1997
  | DeleteHoursOfOperationOverrideCommandOutput
1965
1998
  | DeleteInstanceCommandOutput
1966
1999
  | DeleteIntegrationAssociationCommandOutput
2000
+ | DeleteMetricCommandOutput
1967
2001
  | DeleteNotificationCommandOutput
1968
2002
  | DeletePredefinedAttributeCommandOutput
1969
2003
  | DeletePromptCommandOutput
@@ -2003,6 +2037,7 @@ export type ServiceOutputTypes =
2003
2037
  | DescribeInstanceAttributeCommandOutput
2004
2038
  | DescribeInstanceCommandOutput
2005
2039
  | DescribeInstanceStorageConfigCommandOutput
2040
+ | DescribeMetricCommandOutput
2006
2041
  | DescribeNotificationCommandOutput
2007
2042
  | DescribePhoneNumberCommandOutput
2008
2043
  | DescribePredefinedAttributeCommandOutput
@@ -2090,6 +2125,7 @@ export type ServiceOutputTypes =
2090
2125
  | ListIntegrationAssociationsCommandOutput
2091
2126
  | ListLambdaFunctionsCommandOutput
2092
2127
  | ListLexBotsCommandOutput
2128
+ | ListMetricsCommandOutput
2093
2129
  | ListNotificationsCommandOutput
2094
2130
  | ListPhoneNumbersCommandOutput
2095
2131
  | ListPhoneNumbersV2CommandOutput
@@ -2144,6 +2180,7 @@ export type ServiceOutputTypes =
2144
2180
  | SearchEvaluationFormsCommandOutput
2145
2181
  | SearchHoursOfOperationOverridesCommandOutput
2146
2182
  | SearchHoursOfOperationsCommandOutput
2183
+ | SearchMetricsCommandOutput
2147
2184
  | SearchNotificationsCommandOutput
2148
2185
  | SearchPredefinedAttributesCommandOutput
2149
2186
  | SearchPromptsCommandOutput
@@ -2215,6 +2252,8 @@ export type ServiceOutputTypes =
2215
2252
  | UpdateHoursOfOperationOverrideCommandOutput
2216
2253
  | UpdateInstanceAttributeCommandOutput
2217
2254
  | UpdateInstanceStorageConfigCommandOutput
2255
+ | UpdateMetricContentCommandOutput
2256
+ | UpdateMetricMetadataCommandOutput
2218
2257
  | UpdateNotificationContentCommandOutput
2219
2258
  | UpdateParticipantAuthenticationCommandOutput
2220
2259
  | UpdateParticipantRoleConfigCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateMetricRequest, CreateMetricResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateMetricCommandInput extends CreateMetricRequest {}
5
+ export interface CreateMetricCommandOutput extends CreateMetricResponse, __MetadataBearer {}
6
+ declare const CreateMetricCommand_base: {
7
+ new (
8
+ input: CreateMetricCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ CreateMetricCommandInput,
11
+ CreateMetricCommandOutput,
12
+ import("..").ConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: CreateMetricCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ CreateMetricCommandInput,
20
+ CreateMetricCommandOutput,
21
+ import("..").ConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class CreateMetricCommand extends CreateMetricCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: CreateMetricRequest;
31
+ output: CreateMetricResponse;
32
+ };
33
+ sdk: {
34
+ input: CreateMetricCommandInput;
35
+ output: CreateMetricCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateUserRequest, CreateUserResponse } from "../models/models_0";
2
+ import { CreateUserRequest, CreateUserResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface CreateUserCommandInput extends CreateUserRequest {}
5
5
  export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {}
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateUserHierarchyGroupRequest } from "../models/models_0";
3
- import { CreateUserHierarchyGroupResponse } from "../models/models_1";
2
+ import {
3
+ CreateUserHierarchyGroupRequest,
4
+ CreateUserHierarchyGroupResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface CreateUserHierarchyGroupCommandInput extends CreateUserHierarchyGroupRequest {}
6
8
  export interface CreateUserHierarchyGroupCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteMetricRequest, DeleteMetricResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface DeleteMetricCommandInput extends DeleteMetricRequest {}
5
+ export interface DeleteMetricCommandOutput extends DeleteMetricResponse, __MetadataBearer {}
6
+ declare const DeleteMetricCommand_base: {
7
+ new (
8
+ input: DeleteMetricCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DeleteMetricCommandInput,
11
+ DeleteMetricCommandOutput,
12
+ import("..").ConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DeleteMetricCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DeleteMetricCommandInput,
20
+ DeleteMetricCommandOutput,
21
+ import("..").ConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DeleteMetricCommand extends DeleteMetricCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DeleteMetricRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: DeleteMetricCommandInput;
35
+ output: DeleteMetricCommandOutput;
36
+ };
37
+ };
38
+ }