@aws-sdk/client-connect 3.693.0 → 3.696.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 (47) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +134 -3
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateContactFlowVersionCommand.js +22 -0
  5. package/dist-es/commands/ListContactFlowVersionsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/pagination/ListContactFlowVersionsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +92 -2
  11. package/dist-types/Connect.d.ts +14 -0
  12. package/dist-types/ConnectClient.d.ts +4 -2
  13. package/dist-types/commands/AssociateTrafficDistributionGroupUserCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateContactFlowCommand.d.ts +1 -0
  15. package/dist-types/commands/CreateContactFlowVersionCommand.d.ts +103 -0
  16. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeContactFlowCommand.d.ts +6 -0
  18. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +2 -2
  19. package/dist-types/commands/ListContactFlowVersionsCommand.d.ts +100 -0
  20. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  21. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -1
  22. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  24. package/dist-types/commands/SearchContactFlowsCommand.d.ts +6 -0
  25. package/dist-types/commands/StartScreenSharingCommand.d.ts +2 -1
  26. package/dist-types/commands/index.d.ts +2 -0
  27. package/dist-types/models/models_0.d.ts +68 -38
  28. package/dist-types/models/models_1.d.ts +192 -146
  29. package/dist-types/models/models_2.d.ts +107 -2
  30. package/dist-types/pagination/ListContactFlowVersionsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  33. package/dist-types/ts3.4/Connect.d.ts +34 -0
  34. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  35. package/dist-types/ts3.4/commands/CreateContactFlowVersionCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/ListContactFlowVersionsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +14 -7
  42. package/dist-types/ts3.4/models/models_1.d.ts +29 -26
  43. package/dist-types/ts3.4/models/models_2.d.ts +26 -1
  44. package/dist-types/ts3.4/pagination/ListContactFlowVersionsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  47. package/package.json +35 -35
@@ -1,6 +1,33 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Channel, ContactFlowStatus, ContactFlowType, ContactState, CreatedByInfo, DirectoryType, Distribution, EventSourceName, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MatchCriteria, MediaConcurrency, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentsCriteria, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Channel, ContactFlowStatus, ContactFlowType, ContactState, CreatedByInfo, DirectoryType, Distribution, EventSourceName, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * <p>An object to specify the expiration of a routing step.</p>
6
+ * @public
7
+ */
8
+ export interface Expiry {
9
+ /**
10
+ * <p>The number of seconds to wait before expiring the routing step.</p>
11
+ * @public
12
+ */
13
+ DurationInSeconds?: number | undefined;
14
+ /**
15
+ * <p>The timestamp indicating when the routing step expires.</p>
16
+ * @public
17
+ */
18
+ ExpiryTimestamp?: Date | undefined;
19
+ }
20
+ /**
21
+ * <p>An object to define AgentsCriteria.</p>
22
+ * @public
23
+ */
24
+ export interface MatchCriteria {
25
+ /**
26
+ * <p>An object to define agentIds.</p>
27
+ * @public
28
+ */
29
+ AgentsCriteria?: AgentsCriteria | undefined;
30
+ }
4
31
  /**
5
32
  * <p>An object to specify the predefined attribute condition.</p>
6
33
  * @public
@@ -383,6 +410,37 @@ export interface ContactFlow {
383
410
  * @public
384
411
  */
385
412
  Tags?: Record<string, string> | undefined;
413
+ /**
414
+ * <p>Amazon Connect includes a set of default flows that have already been published. It uses
415
+ * them to power your contact center.</p>
416
+ * @public
417
+ */
418
+ IsDefault?: boolean | undefined;
419
+ /**
420
+ * <p>Indicates the checksum value of the flow content.</p>
421
+ * @public
422
+ */
423
+ FlowContentSha256?: string | undefined;
424
+ /**
425
+ * <p>The identifier of the flow version.</p>
426
+ * @public
427
+ */
428
+ Version?: number | undefined;
429
+ /**
430
+ * <p>The description of the flow version.</p>
431
+ * @public
432
+ */
433
+ VersionDescription?: string | undefined;
434
+ /**
435
+ * <p>The time at which the contact flow was last modified.</p>
436
+ * @public
437
+ */
438
+ LastModifiedTime?: Date | undefined;
439
+ /**
440
+ * <p>The region in which the contact flow was last modified</p>
441
+ * @public
442
+ */
443
+ LastModifiedRegion?: string | undefined;
386
444
  }
387
445
  /**
388
446
  * @public
@@ -4125,15 +4183,16 @@ export interface MetricFilterV2 {
4125
4183
  * set of values or a customized list, depending on the use case.</p>
4126
4184
  * <p>For valid values of metric-level filters <code>INITIATION_METHOD</code>,
4127
4185
  * <code>DISCONNECT_REASON</code>, and <code>ANSWERING_MACHINE_DETECTION_STATUS</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
4128
- * <p>For valid values of the metric-level filter <code>FLOWS_OUTCOME_TYPE</code>, see the description
4129
- * for the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-historical">Flow outcome</a> metric in the <i>Amazon Connect Administrator
4186
+ * <p>For valid values of the metric-level filter <code>FLOWS_OUTCOME_TYPE</code>, see the
4187
+ * description for the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-historical">Flow outcome</a> metric in the <i>Amazon Connect Administrator
4130
4188
  * Guide</i>.</p>
4131
4189
  * @public
4132
4190
  */
4133
4191
  MetricFilterValues?: string[] | undefined;
4134
4192
  /**
4135
- * <p>If set to <code>true</code>, the API response contains results that filter out the results matched
4136
- * by the metric-level filters condition. By default, <code>Negate</code> is set to <code>false</code>. </p>
4193
+ * <p>If set to <code>true</code>, the API response contains results that filter out the results
4194
+ * matched by the metric-level filters condition. By default, <code>Negate</code> is set to
4195
+ * <code>false</code>. </p>
4137
4196
  * @public
4138
4197
  */
4139
4198
  Negate?: boolean | undefined;
@@ -4303,14 +4362,15 @@ export interface GetMetricDataV2Request {
4303
4362
  * <code>AGENT_HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> |
4304
4363
  * <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> |
4305
4364
  * <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> |
4306
- * <code>CAMPAIGN</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> |
4307
- * <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> |
4308
- * <code>DISCONNECT_REASON</code> | <code>FEATURE</code> | <code>FLOW_TYPE</code> |
4309
- * <code>FLOWS_NEXT_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> |
4310
- * <code>FLOWS_OUTCOME_TYPE</code> | <code>FLOWS_RESOURCE_ID</code> |
4311
- * <code>INITIATION_METHOD</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> |
4312
- * <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> |
4313
- * <code>Q_CONNECT_ENABLED</code> | </p>
4365
+ * <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>
4366
+ * |<code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> |
4367
+ * <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> |
4368
+ * <code>FEATURE</code> | <code>FLOW_TYPE</code> | <code>FLOWS_NEXT_RESOURCE_ID</code> |
4369
+ * <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> | <code>FLOWS_OUTCOME_TYPE</code> |
4370
+ * <code>FLOWS_RESOURCE_ID</code> | <code>INITIATION_METHOD</code> |
4371
+ * <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> |
4372
+ * <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> | <code>Q_CONNECT_ENABLED</code> |
4373
+ * </p>
4314
4374
  * </li>
4315
4375
  * <li>
4316
4376
  * <p>
@@ -4360,7 +4420,8 @@ export interface GetMetricDataV2Request {
4360
4420
  * <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> |
4361
4421
  * <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> |
4362
4422
  * <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>CAMPAIGN</code> |
4363
- * <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> |
4423
+ * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CASE_TEMPLATE_ARN</code> |
4424
+ * <code>CASE_STATUS</code> | <code>CHANNEL</code> |
4364
4425
  * <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> |
4365
4426
  * <code>FLOWS_RESOURCE_ID</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_TYPE</code>
4366
4427
  * | <code>FLOWS_OUTCOME_TYPE</code> | <code>INITIATION_METHOD</code> |
@@ -4531,10 +4592,10 @@ export interface GetMetricDataV2Request {
4531
4592
  * </dd>
4532
4593
  * <dt>AVG_DIALS_PER_MINUTE</dt>
4533
4594
  * <dd>
4534
- * <p>This metric is available only for contacts analyzed by outbound campaigns
4535
- * analytics.</p>
4595
+ * <p>This metric is available only for outbound campaigns that use the agent assisted voice
4596
+ * and automated voice delivery modes.</p>
4536
4597
  * <p>Unit: Count</p>
4537
- * <p>Valid groupings and filters: Campaign, Agent, Queue, Routing Profile</p>
4598
+ * <p>Valid groupings and filters: Agent, Campaign, Queue, Routing Profile</p>
4538
4599
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-dials-historical">Average dials per minute</a>
4539
4600
  * </p>
4540
4601
  * </dd>
@@ -4700,8 +4761,8 @@ export interface GetMetricDataV2Request {
4700
4761
  * </dd>
4701
4762
  * <dt>AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION</dt>
4702
4763
  * <dd>
4703
- * <p>This metric is available only for contacts analyzed by outbound campaigns
4704
- * analytics.</p>
4764
+ * <p>This metric is available only for outbound campaigns that use the agent assisted voice
4765
+ * and automated voice delivery modes.</p>
4705
4766
  * <p>Unit: Seconds</p>
4706
4767
  * <p>Valid groupings and filters: Campaign</p>
4707
4768
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-wait-time-historical">Average wait time after customer connection</a>
@@ -4709,10 +4770,10 @@ export interface GetMetricDataV2Request {
4709
4770
  * </dd>
4710
4771
  * <dt>CAMPAIGN_CONTACTS_ABANDONED_AFTER_X</dt>
4711
4772
  * <dd>
4712
- * <p>This metric is available only for contacts analyzed by outbound campaigns
4713
- * analytics.</p>
4773
+ * <p>This metric is available only for outbound campaigns using the agent assisted voice and
4774
+ * automated voice delivery modes.</p>
4714
4775
  * <p>Unit: Count</p>
4715
- * <p>Valid groupings and filters: Campaign, Agent </p>
4776
+ * <p>Valid groupings and filters: Agent, Campaign</p>
4716
4777
  * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4717
4778
  * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for
4718
4779
  * <i>Greater than</i>).</p>
@@ -4721,16 +4782,33 @@ export interface GetMetricDataV2Request {
4721
4782
  * </dd>
4722
4783
  * <dt>CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE</dt>
4723
4784
  * <dd>
4724
- * <p>This metric is available only for contacts analyzed by outbound campaigns
4725
- * analytics.</p>
4785
+ * <p>This metric is available only for outbound campaigns using the agent assisted voice and
4786
+ * automated voice delivery modes.</p>
4726
4787
  * <p>Unit: Percent</p>
4727
- * <p>Valid groupings and filters: Campaign, Agent </p>
4788
+ * <p>Valid groupings and filters: Agent, Campaign</p>
4728
4789
  * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4729
4790
  * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for
4730
4791
  * <i>Greater than</i>).</p>
4731
4792
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#campaign-contacts-abandoned-rate-historical">Campaign contacts abandoned after X rate</a>
4732
4793
  * </p>
4733
4794
  * </dd>
4795
+ * <dt>CAMPAIGN_INTERACTIONS</dt>
4796
+ * <dd>
4797
+ * <p>This metric is available only for outbound campaigns using the email delivery mode. </p>
4798
+ * <p>Unit: Count</p>
4799
+ * <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
4800
+ * <p>Valid groupings and filters: Campaign</p>
4801
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#campaign-interactions-historical">Campaign interactions</a>
4802
+ * </p>
4803
+ * </dd>
4804
+ * <dt>CAMPAIGN_SEND_ATTEMPTS</dt>
4805
+ * <dd>
4806
+ * <p>This metric is available only for outbound campaigns.</p>
4807
+ * <p>Unit: Count</p>
4808
+ * <p>Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype </p>
4809
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#campaign-send-attempts-historical">Campaign send attempts</a>
4810
+ * </p>
4811
+ * </dd>
4734
4812
  * <dt>CASES_CREATED</dt>
4735
4813
  * <dd>
4736
4814
  * <p>Unit: Count</p>
@@ -4893,32 +4971,42 @@ export interface GetMetricDataV2Request {
4893
4971
  * </dd>
4894
4972
  * <dt>DELIVERY_ATTEMPTS</dt>
4895
4973
  * <dd>
4896
- * <p>This metric is available only for contacts analyzed by outbound campaigns
4897
- * analytics.</p>
4974
+ * <p>This metric is available only for outbound campaigns.</p>
4898
4975
  * <p>Unit: Count</p>
4899
4976
  * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
4900
- * <code>DISCONNECT_REASON</code>
4977
+ * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code>
4901
4978
  * </p>
4902
- * <p>Valid groupings and filters: Campaign, Agent, Queue, Routing Profile, Answering Machine Detection Status,
4903
- * Disconnect Reason</p>
4979
+ * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery
4980
+ * EventType, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue,
4981
+ * Routing Profile</p>
4904
4982
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#delivery-attempts-historical">Delivery attempts</a>
4905
4983
  * </p>
4984
+ * <note>
4985
+ * <p>Campaign Delivery EventType filter and grouping are only available for SMS and Email
4986
+ * campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status
4987
+ * and Disconnect Reason are only available for agent assisted voice and automated voice
4988
+ * delivery modes. </p>
4989
+ * </note>
4906
4990
  * </dd>
4907
4991
  * <dt>DELIVERY_ATTEMPT_DISPOSITION_RATE</dt>
4908
4992
  * <dd>
4909
- * <p>This metric is available only for contacts analyzed by outbound campaigns analytics, and
4910
- * with the answering machine detection enabled.</p>
4993
+ * <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted
4994
+ * voice and automated voice delivery modes are only available with answering machine detection
4995
+ * enabled.</p>
4911
4996
  * <p>Unit: Percent</p>
4912
4997
  * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
4913
- * <code>DISCONNECT_REASON</code>
4998
+ * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code>
4914
4999
  * </p>
4915
- * <p>Valid groupings and filters: Campaign, Agent, Answering Machine Detection Status, Disconnect Reason</p>
4916
- * <note>
4917
- * <p>Answering Machine Detection Status and Disconnect Reason are valid filters but not valid
4918
- * groupings.</p>
4919
- * </note>
5000
+ * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel,
5001
+ * contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
4920
5002
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#delivery-attempt-disposition-rate-historical">Delivery attempt disposition rate</a>
4921
5003
  * </p>
5004
+ * <note>
5005
+ * <p>Campaign Delivery Event Type filter and grouping are only available for SMS and Email
5006
+ * campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status
5007
+ * and Disconnect Reason are only available for agent assisted voice and automated voice
5008
+ * delivery modes. </p>
5009
+ * </note>
4922
5010
  * </dd>
4923
5011
  * <dt>FLOWS_OUTCOME</dt>
4924
5012
  * <dd>
@@ -4939,10 +5027,11 @@ export interface GetMetricDataV2Request {
4939
5027
  * </dd>
4940
5028
  * <dt>HUMAN_ANSWERED_CALLS</dt>
4941
5029
  * <dd>
4942
- * <p>This metric is available only for contacts analyzed by outbound campaigns analytics, and
4943
- * with the answering machine detection enabled.</p>
5030
+ * <p>This metric is available only for outbound campaigns. Dispositions for the agent assisted
5031
+ * voice and automated voice delivery modes are only available with answering machine detection
5032
+ * enabled. </p>
4944
5033
  * <p>Unit: Count</p>
4945
- * <p>Valid groupings and filters: Campaign, Agent</p>
5034
+ * <p>Valid groupings and filters: Agent, Campaign</p>
4946
5035
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#human-answered-historical">Human answered</a>
4947
5036
  * </p>
4948
5037
  * </dd>
@@ -6098,6 +6187,68 @@ export interface ListContactFlowsResponse {
6098
6187
  */
6099
6188
  NextToken?: string | undefined;
6100
6189
  }
6190
+ /**
6191
+ * @public
6192
+ */
6193
+ export interface ListContactFlowVersionsRequest {
6194
+ /**
6195
+ * <p>The identifier of the Amazon Connect instance.</p>
6196
+ * @public
6197
+ */
6198
+ InstanceId: string | undefined;
6199
+ /**
6200
+ * <p>The identifier of the flow.</p>
6201
+ * @public
6202
+ */
6203
+ ContactFlowId: string | undefined;
6204
+ /**
6205
+ * <p>The token for the next set of results. Use the value returned in the previous
6206
+ * response in the next request to retrieve the next set of results.</p>
6207
+ * @public
6208
+ */
6209
+ NextToken?: string | undefined;
6210
+ /**
6211
+ * <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
6212
+ * @public
6213
+ */
6214
+ MaxResults?: number | undefined;
6215
+ }
6216
+ /**
6217
+ * <p>A summary of a contact flow version's metadata.</p>
6218
+ * @public
6219
+ */
6220
+ export interface ContactFlowVersionSummary {
6221
+ /**
6222
+ * <p>The Amazon Resource Name (ARN) of the view version.</p>
6223
+ * @public
6224
+ */
6225
+ Arn?: string | undefined;
6226
+ /**
6227
+ * <p>The description of the flow version.</p>
6228
+ * @public
6229
+ */
6230
+ VersionDescription?: string | undefined;
6231
+ /**
6232
+ * <p>The identifier of the flow version.</p>
6233
+ * @public
6234
+ */
6235
+ Version?: number | undefined;
6236
+ }
6237
+ /**
6238
+ * @public
6239
+ */
6240
+ export interface ListContactFlowVersionsResponse {
6241
+ /**
6242
+ * <p>A list of flow version summaries.</p>
6243
+ * @public
6244
+ */
6245
+ ContactFlowVersionSummaryList?: ContactFlowVersionSummary[] | undefined;
6246
+ /**
6247
+ * <p>If there are additional results, this is the token for the next set of results.</p>
6248
+ * @public
6249
+ */
6250
+ NextToken?: string | undefined;
6251
+ }
6101
6252
  /**
6102
6253
  * @public
6103
6254
  */
@@ -8666,111 +8817,6 @@ export interface ListSecurityProfilePermissionsRequest {
8666
8817
  */
8667
8818
  MaxResults?: number | undefined;
8668
8819
  }
8669
- /**
8670
- * @public
8671
- */
8672
- export interface ListSecurityProfilePermissionsResponse {
8673
- /**
8674
- * <p>The permissions granted to the security profile. For a complete list of valid permissions,
8675
- * see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List
8676
- * of security profile permissions</a>.</p>
8677
- * @public
8678
- */
8679
- Permissions?: string[] | undefined;
8680
- /**
8681
- * <p>If there are additional results, this is the token for the next set of results.</p>
8682
- * @public
8683
- */
8684
- NextToken?: string | undefined;
8685
- /**
8686
- * <p>The timestamp when this resource was last modified.</p>
8687
- * @public
8688
- */
8689
- LastModifiedTime?: Date | undefined;
8690
- /**
8691
- * <p>The Amazon Web Services Region where this resource was last modified.</p>
8692
- * @public
8693
- */
8694
- LastModifiedRegion?: string | undefined;
8695
- }
8696
- /**
8697
- * @public
8698
- */
8699
- export interface ListSecurityProfilesRequest {
8700
- /**
8701
- * <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>
8702
- * @public
8703
- */
8704
- InstanceId: string | undefined;
8705
- /**
8706
- * <p>The token for the next set of results. Use the value returned in the previous
8707
- * response in the next request to retrieve the next set of results.</p>
8708
- * @public
8709
- */
8710
- NextToken?: string | undefined;
8711
- /**
8712
- * <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
8713
- * @public
8714
- */
8715
- MaxResults?: number | undefined;
8716
- }
8717
- /**
8718
- * <p>Contains information about a security profile.</p>
8719
- * @public
8720
- */
8721
- export interface SecurityProfileSummary {
8722
- /**
8723
- * <p>The identifier of the security profile.</p>
8724
- * @public
8725
- */
8726
- Id?: string | undefined;
8727
- /**
8728
- * <p>The Amazon Resource Name (ARN) of the security profile.</p>
8729
- * @public
8730
- */
8731
- Arn?: string | undefined;
8732
- /**
8733
- * <p>The name of the security profile.</p>
8734
- * @public
8735
- */
8736
- Name?: string | undefined;
8737
- /**
8738
- * <p>The timestamp when this resource was last modified.</p>
8739
- * @public
8740
- */
8741
- LastModifiedTime?: Date | undefined;
8742
- /**
8743
- * <p>The Amazon Web Services Region where this resource was last modified.</p>
8744
- * @public
8745
- */
8746
- LastModifiedRegion?: string | undefined;
8747
- }
8748
- /**
8749
- * @public
8750
- */
8751
- export interface ListSecurityProfilesResponse {
8752
- /**
8753
- * <p>Information about the security profiles.</p>
8754
- * @public
8755
- */
8756
- SecurityProfileSummaryList?: SecurityProfileSummary[] | undefined;
8757
- /**
8758
- * <p>If there are additional results, this is the token for the next set of results.</p>
8759
- * @public
8760
- */
8761
- NextToken?: string | undefined;
8762
- }
8763
- /**
8764
- * @public
8765
- */
8766
- export interface ListTagsForResourceRequest {
8767
- /**
8768
- * <p>The Amazon Resource Name (ARN) of the resource. All Amazon Connect resources (instances, queues, flows, routing
8769
- * profiles, etc) have an ARN. To locate the ARN for an instance, for example, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">Find your Amazon Connect instance ID/ARN</a>. </p>
8770
- * @public
8771
- */
8772
- resourceArn: string | undefined;
8773
- }
8774
8820
  /**
8775
8821
  * @internal
8776
8822
  */
@@ -1,7 +1,112 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatus, AgentStatusSearchFilter, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, Expiry, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- import { AttributeCondition, ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingCriteriaStepStatus, RoutingProfile, SegmentAttributeValue, SignInConfig, SortOrder, TelephonyConfig, TrafficDistributionGroupStatus, WisdomInfo } from "./models_1";
3
+ import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatus, AgentStatusSearchFilter, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ import { AttributeCondition, ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, Expiry, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingCriteriaStepStatus, RoutingProfile, SegmentAttributeValue, SignInConfig, SortOrder, TelephonyConfig, TrafficDistributionGroupStatus, WisdomInfo } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListSecurityProfilePermissionsResponse {
9
+ /**
10
+ * <p>The permissions granted to the security profile. For a complete list of valid permissions,
11
+ * see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List
12
+ * of security profile permissions</a>.</p>
13
+ * @public
14
+ */
15
+ Permissions?: string[] | undefined;
16
+ /**
17
+ * <p>If there are additional results, this is the token for the next set of results.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ /**
22
+ * <p>The timestamp when this resource was last modified.</p>
23
+ * @public
24
+ */
25
+ LastModifiedTime?: Date | undefined;
26
+ /**
27
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
28
+ * @public
29
+ */
30
+ LastModifiedRegion?: string | undefined;
31
+ }
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ListSecurityProfilesRequest {
36
+ /**
37
+ * <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>
38
+ * @public
39
+ */
40
+ InstanceId: string | undefined;
41
+ /**
42
+ * <p>The token for the next set of results. Use the value returned in the previous
43
+ * response in the next request to retrieve the next set of results.</p>
44
+ * @public
45
+ */
46
+ NextToken?: string | undefined;
47
+ /**
48
+ * <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
49
+ * @public
50
+ */
51
+ MaxResults?: number | undefined;
52
+ }
53
+ /**
54
+ * <p>Contains information about a security profile.</p>
55
+ * @public
56
+ */
57
+ export interface SecurityProfileSummary {
58
+ /**
59
+ * <p>The identifier of the security profile.</p>
60
+ * @public
61
+ */
62
+ Id?: string | undefined;
63
+ /**
64
+ * <p>The Amazon Resource Name (ARN) of the security profile.</p>
65
+ * @public
66
+ */
67
+ Arn?: string | undefined;
68
+ /**
69
+ * <p>The name of the security profile.</p>
70
+ * @public
71
+ */
72
+ Name?: string | undefined;
73
+ /**
74
+ * <p>The timestamp when this resource was last modified.</p>
75
+ * @public
76
+ */
77
+ LastModifiedTime?: Date | undefined;
78
+ /**
79
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
80
+ * @public
81
+ */
82
+ LastModifiedRegion?: string | undefined;
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface ListSecurityProfilesResponse {
88
+ /**
89
+ * <p>Information about the security profiles.</p>
90
+ * @public
91
+ */
92
+ SecurityProfileSummaryList?: SecurityProfileSummary[] | undefined;
93
+ /**
94
+ * <p>If there are additional results, this is the token for the next set of results.</p>
95
+ * @public
96
+ */
97
+ NextToken?: string | undefined;
98
+ }
99
+ /**
100
+ * @public
101
+ */
102
+ export interface ListTagsForResourceRequest {
103
+ /**
104
+ * <p>The Amazon Resource Name (ARN) of the resource. All Amazon Connect resources (instances, queues, flows, routing
105
+ * profiles, etc) have an ARN. To locate the ARN for an instance, for example, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">Find your Amazon Connect instance ID/ARN</a>. </p>
106
+ * @public
107
+ */
108
+ resourceArn: string | undefined;
109
+ }
5
110
  /**
6
111
  * @public
7
112
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListContactFlowVersionsCommandInput, ListContactFlowVersionsCommandOutput } from "../commands/ListContactFlowVersionsCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListContactFlowVersions: (config: ConnectPaginationConfiguration, input: ListContactFlowVersionsCommandInput, ...rest: any[]) => Paginator<ListContactFlowVersionsCommandOutput>;
@@ -9,6 +9,7 @@ export * from "./ListAuthenticationProfilesPaginator";
9
9
  export * from "./ListBotsPaginator";
10
10
  export * from "./ListContactEvaluationsPaginator";
11
11
  export * from "./ListContactFlowModulesPaginator";
12
+ export * from "./ListContactFlowVersionsPaginator";
12
13
  export * from "./ListContactFlowsPaginator";
13
14
  export * from "./ListContactReferencesPaginator";
14
15
  export * from "./ListDefaultVocabulariesPaginator";
@@ -25,6 +25,7 @@ import { CompleteAttachedFileUploadCommandInput, CompleteAttachedFileUploadComma
25
25
  import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "../commands/CreateAgentStatusCommand";
26
26
  import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "../commands/CreateContactFlowCommand";
27
27
  import { CreateContactFlowModuleCommandInput, CreateContactFlowModuleCommandOutput } from "../commands/CreateContactFlowModuleCommand";
28
+ import { CreateContactFlowVersionCommandInput, CreateContactFlowVersionCommandOutput } from "../commands/CreateContactFlowVersionCommand";
28
29
  import { CreateEvaluationFormCommandInput, CreateEvaluationFormCommandOutput } from "../commands/CreateEvaluationFormCommand";
29
30
  import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput } from "../commands/CreateHoursOfOperationCommand";
30
31
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "../commands/CreateInstanceCommand";
@@ -129,6 +130,7 @@ import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBot
129
130
  import { ListContactEvaluationsCommandInput, ListContactEvaluationsCommandOutput } from "../commands/ListContactEvaluationsCommand";
130
131
  import { ListContactFlowModulesCommandInput, ListContactFlowModulesCommandOutput } from "../commands/ListContactFlowModulesCommand";
131
132
  import { ListContactFlowsCommandInput, ListContactFlowsCommandOutput } from "../commands/ListContactFlowsCommand";
133
+ import { ListContactFlowVersionsCommandInput, ListContactFlowVersionsCommandOutput } from "../commands/ListContactFlowVersionsCommand";
132
134
  import { ListContactReferencesCommandInput, ListContactReferencesCommandOutput } from "../commands/ListContactReferencesCommand";
133
135
  import { ListDefaultVocabulariesCommandInput, ListDefaultVocabulariesCommandOutput } from "../commands/ListDefaultVocabulariesCommand";
134
136
  import { ListEvaluationFormsCommandInput, ListEvaluationFormsCommandOutput } from "../commands/ListEvaluationFormsCommand";
@@ -357,6 +359,10 @@ export declare const se_CreateContactFlowCommand: (input: CreateContactFlowComma
357
359
  * serializeAws_restJson1CreateContactFlowModuleCommand
358
360
  */
359
361
  export declare const se_CreateContactFlowModuleCommand: (input: CreateContactFlowModuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
362
+ /**
363
+ * serializeAws_restJson1CreateContactFlowVersionCommand
364
+ */
365
+ export declare const se_CreateContactFlowVersionCommand: (input: CreateContactFlowVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
360
366
  /**
361
367
  * serializeAws_restJson1CreateEvaluationFormCommand
362
368
  */
@@ -773,6 +779,10 @@ export declare const se_ListContactFlowModulesCommand: (input: ListContactFlowMo
773
779
  * serializeAws_restJson1ListContactFlowsCommand
774
780
  */
775
781
  export declare const se_ListContactFlowsCommand: (input: ListContactFlowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
782
+ /**
783
+ * serializeAws_restJson1ListContactFlowVersionsCommand
784
+ */
785
+ export declare const se_ListContactFlowVersionsCommand: (input: ListContactFlowVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
776
786
  /**
777
787
  * serializeAws_restJson1ListContactReferencesCommand
778
788
  */
@@ -1385,6 +1395,10 @@ export declare const de_CreateContactFlowCommand: (output: __HttpResponse, conte
1385
1395
  * deserializeAws_restJson1CreateContactFlowModuleCommand
1386
1396
  */
1387
1397
  export declare const de_CreateContactFlowModuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContactFlowModuleCommandOutput>;
1398
+ /**
1399
+ * deserializeAws_restJson1CreateContactFlowVersionCommand
1400
+ */
1401
+ export declare const de_CreateContactFlowVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateContactFlowVersionCommandOutput>;
1388
1402
  /**
1389
1403
  * deserializeAws_restJson1CreateEvaluationFormCommand
1390
1404
  */
@@ -1801,6 +1815,10 @@ export declare const de_ListContactFlowModulesCommand: (output: __HttpResponse,
1801
1815
  * deserializeAws_restJson1ListContactFlowsCommand
1802
1816
  */
1803
1817
  export declare const de_ListContactFlowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContactFlowsCommandOutput>;
1818
+ /**
1819
+ * deserializeAws_restJson1ListContactFlowVersionsCommand
1820
+ */
1821
+ export declare const de_ListContactFlowVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContactFlowVersionsCommandOutput>;
1804
1822
  /**
1805
1823
  * deserializeAws_restJson1ListContactReferencesCommand
1806
1824
  */