@aws-sdk/client-connect 3.731.0 → 3.732.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 (45) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +46 -5
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/DeleteContactFlowVersionCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +1 -0
  7. package/dist-es/models/models_1.js +0 -4
  8. package/dist-es/models/models_2.js +4 -0
  9. package/dist-es/protocols/Aws_restJson1.js +22 -0
  10. package/dist-types/Connect.d.ts +7 -0
  11. package/dist-types/ConnectClient.d.ts +3 -2
  12. package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateContactFlowCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateContactFlowVersionCommand.d.ts +5 -5
  15. package/dist-types/commands/DeleteContactFlowVersionCommand.d.ts +89 -0
  16. package/dist-types/commands/DeleteQueueCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeContactFlowCommand.d.ts +3 -1
  20. package/dist-types/commands/ListContactFlowsCommand.d.ts +2 -2
  21. package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -1
  22. package/dist-types/commands/SearchContactFlowsCommand.d.ts +3 -3
  23. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/models/models_0.d.ts +32 -31
  27. package/dist-types/models/models_1.d.ts +30 -27
  28. package/dist-types/models/models_2.d.ts +29 -49
  29. package/dist-types/models/models_3.d.ts +48 -1
  30. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  31. package/dist-types/ts3.4/Connect.d.ts +17 -0
  32. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  33. package/dist-types/ts3.4/commands/DeleteContactFlowVersionCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +8 -8
  41. package/dist-types/ts3.4/models/models_1.d.ts +8 -10
  42. package/dist-types/ts3.4/models/models_2.d.ts +11 -13
  43. package/dist-types/ts3.4/models/models_3.d.ts +12 -0
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  45. package/package.json +2 -2
@@ -72,7 +72,7 @@ declare const SearchContactFlowsCommand_base: {
72
72
  * Value: "STRING_VALUE",
73
73
  * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
74
74
  * },
75
- * TypeCondition: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER",
75
+ * TypeCondition: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER" || "CAMPAIGN",
76
76
  * StateCondition: "ACTIVE" || "ARCHIVED",
77
77
  * StatusCondition: "PUBLISHED" || "SAVED",
78
78
  * },
@@ -85,7 +85,7 @@ declare const SearchContactFlowsCommand_base: {
85
85
  * Value: "STRING_VALUE",
86
86
  * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
87
87
  * },
88
- * TypeCondition: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER",
88
+ * TypeCondition: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER" || "CAMPAIGN",
89
89
  * StateCondition: "ACTIVE" || "ARCHIVED",
90
90
  * StatusCondition: "PUBLISHED" || "SAVED",
91
91
  * },
@@ -98,7 +98,7 @@ declare const SearchContactFlowsCommand_base: {
98
98
  * // Arn: "STRING_VALUE",
99
99
  * // Id: "STRING_VALUE",
100
100
  * // Name: "STRING_VALUE",
101
- * // Type: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER",
101
+ * // Type: "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER" || "CAMPAIGN",
102
102
  * // State: "ACTIVE" || "ARCHIVED",
103
103
  * // Status: "PUBLISHED" || "SAVED",
104
104
  * // Description: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateRoutingProfileNameRequest } from "../models/models_2";
4
+ import { UpdateRoutingProfileNameRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { UpdateRoutingProfileQueuesRequest } from "../models/models_2";
4
+ import { UpdateRoutingProfileQueuesRequest } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -54,6 +54,7 @@ export * from "./DeleteAttachedFileCommand";
54
54
  export * from "./DeleteContactEvaluationCommand";
55
55
  export * from "./DeleteContactFlowCommand";
56
56
  export * from "./DeleteContactFlowModuleCommand";
57
+ export * from "./DeleteContactFlowVersionCommand";
57
58
  export * from "./DeleteEmailAddressCommand";
58
59
  export * from "./DeleteEvaluationFormCommand";
59
60
  export * from "./DeleteHoursOfOperationCommand";
@@ -2562,6 +2562,7 @@ export declare const ContactFlowType: {
2562
2562
  readonly AGENT_HOLD: "AGENT_HOLD";
2563
2563
  readonly AGENT_TRANSFER: "AGENT_TRANSFER";
2564
2564
  readonly AGENT_WHISPER: "AGENT_WHISPER";
2565
+ readonly CAMPAIGN: "CAMPAIGN";
2565
2566
  readonly CONTACT_FLOW: "CONTACT_FLOW";
2566
2567
  readonly CUSTOMER_HOLD: "CUSTOMER_HOLD";
2567
2568
  readonly CUSTOMER_QUEUE: "CUSTOMER_QUEUE";
@@ -2634,7 +2635,7 @@ export interface CreateContactFlowResponse {
2634
2635
  */
2635
2636
  ContactFlowArn?: string | undefined;
2636
2637
  /**
2637
- * <p>Indicates the checksum value of the flow content.</p>
2638
+ * <p>Indicates the checksum value of the latest published flow content.</p>
2638
2639
  * @public
2639
2640
  */
2640
2641
  FlowContentSha256?: string | undefined;
@@ -2758,6 +2759,11 @@ export interface CreateContactFlowVersionRequest {
2758
2759
  * @public
2759
2760
  */
2760
2761
  FlowContentSha256?: string | undefined;
2762
+ /**
2763
+ * <p>The identifier of the flow version.</p>
2764
+ * @public
2765
+ */
2766
+ ContactFlowVersion?: number | undefined;
2761
2767
  /**
2762
2768
  * <p>The Amazon Web Services Region where this resource was last modified.</p>
2763
2769
  * @public
@@ -6038,6 +6044,31 @@ export interface DeleteContactFlowModuleRequest {
6038
6044
  */
6039
6045
  export interface DeleteContactFlowModuleResponse {
6040
6046
  }
6047
+ /**
6048
+ * @public
6049
+ */
6050
+ export interface DeleteContactFlowVersionRequest {
6051
+ /**
6052
+ * <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>
6053
+ * @public
6054
+ */
6055
+ InstanceId: string | undefined;
6056
+ /**
6057
+ * <p>The identifier of the flow.</p>
6058
+ * @public
6059
+ */
6060
+ ContactFlowId: string | undefined;
6061
+ /**
6062
+ * <p>The identifier of the flow version.</p>
6063
+ * @public
6064
+ */
6065
+ ContactFlowVersion: number | undefined;
6066
+ }
6067
+ /**
6068
+ * @public
6069
+ */
6070
+ export interface DeleteContactFlowVersionResponse {
6071
+ }
6041
6072
  /**
6042
6073
  * @public
6043
6074
  */
@@ -6240,36 +6271,6 @@ export interface DeleteRoutingProfileRequest {
6240
6271
  */
6241
6272
  RoutingProfileId: string | undefined;
6242
6273
  }
6243
- /**
6244
- * @public
6245
- */
6246
- export interface DeleteRuleRequest {
6247
- /**
6248
- * <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>
6249
- * @public
6250
- */
6251
- InstanceId: string | undefined;
6252
- /**
6253
- * <p>A unique identifier for the rule.</p>
6254
- * @public
6255
- */
6256
- RuleId: string | undefined;
6257
- }
6258
- /**
6259
- * @public
6260
- */
6261
- export interface DeleteSecurityProfileRequest {
6262
- /**
6263
- * <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>
6264
- * @public
6265
- */
6266
- InstanceId: string | undefined;
6267
- /**
6268
- * <p>The identifier for the security profle.</p>
6269
- * @public
6270
- */
6271
- SecurityProfileId: string | undefined;
6272
- }
6273
6274
  /**
6274
6275
  * @internal
6275
6276
  */
@@ -1,6 +1,36 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, AudioQualityMetricsInfo, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactState, CreatedByInfo, DeviceInfo, DirectoryType, Distribution, EndpointType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceStatus, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteRuleRequest {
8
+ /**
9
+ * <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>
10
+ * @public
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>A unique identifier for the rule.</p>
15
+ * @public
16
+ */
17
+ RuleId: string | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface DeleteSecurityProfileRequest {
23
+ /**
24
+ * <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>
25
+ * @public
26
+ */
27
+ InstanceId: string | undefined;
28
+ /**
29
+ * <p>The identifier for the security profle.</p>
30
+ * @public
31
+ */
32
+ SecurityProfileId: string | undefined;
33
+ }
4
34
  /**
5
35
  * @public
6
36
  */
@@ -8726,33 +8756,6 @@ export interface ListQuickConnectsRequest {
8726
8756
  */
8727
8757
  QuickConnectTypes?: QuickConnectType[] | undefined;
8728
8758
  }
8729
- /**
8730
- * @public
8731
- */
8732
- export interface ListQuickConnectsResponse {
8733
- /**
8734
- * <p>Information about the quick connects.</p>
8735
- * @public
8736
- */
8737
- QuickConnectSummaryList?: QuickConnectSummary[] | undefined;
8738
- /**
8739
- * <p>If there are additional results, this is the token for the next set of results.</p>
8740
- * @public
8741
- */
8742
- NextToken?: string | undefined;
8743
- }
8744
- /**
8745
- * @public
8746
- * @enum
8747
- */
8748
- export declare const RealTimeContactAnalysisOutputType: {
8749
- readonly Raw: "Raw";
8750
- readonly Redacted: "Redacted";
8751
- };
8752
- /**
8753
- * @public
8754
- */
8755
- export type RealTimeContactAnalysisOutputType = (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
8756
8759
  /**
8757
8760
  * @internal
8758
8761
  */
@@ -1,7 +1,34 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisOutputType, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
3
+ import { ActionSummary, AgentAvailabilityTimer, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, QuickConnectSummary, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListQuickConnectsResponse {
9
+ /**
10
+ * <p>Information about the quick connects.</p>
11
+ * @public
12
+ */
13
+ QuickConnectSummaryList?: QuickConnectSummary[] | undefined;
14
+ /**
15
+ * <p>If there are additional results, this is the token for the next set of results.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const RealTimeContactAnalysisOutputType: {
25
+ readonly Raw: "Raw";
26
+ readonly Redacted: "Redacted";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type RealTimeContactAnalysisOutputType = (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
5
32
  /**
6
33
  * @public
7
34
  * @enum
@@ -6593,53 +6620,6 @@ export interface UpdateRoutingProfileDefaultOutboundQueueRequest {
6593
6620
  */
6594
6621
  DefaultOutboundQueueId: string | undefined;
6595
6622
  }
6596
- /**
6597
- * @public
6598
- */
6599
- export interface UpdateRoutingProfileNameRequest {
6600
- /**
6601
- * <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>
6602
- * @public
6603
- */
6604
- InstanceId: string | undefined;
6605
- /**
6606
- * <p>The identifier of the routing profile.</p>
6607
- * @public
6608
- */
6609
- RoutingProfileId: string | undefined;
6610
- /**
6611
- * <p>The name of the routing profile. Must not be more than 127 characters.</p>
6612
- * @public
6613
- */
6614
- Name?: string | undefined;
6615
- /**
6616
- * <p>The description of the routing profile. Must not be more than 250 characters.</p>
6617
- * @public
6618
- */
6619
- Description?: string | undefined;
6620
- }
6621
- /**
6622
- * @public
6623
- */
6624
- export interface UpdateRoutingProfileQueuesRequest {
6625
- /**
6626
- * <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>
6627
- * @public
6628
- */
6629
- InstanceId: string | undefined;
6630
- /**
6631
- * <p>The identifier of the routing profile.</p>
6632
- * @public
6633
- */
6634
- RoutingProfileId: string | undefined;
6635
- /**
6636
- * <p>The queues to be updated for this routing profile.
6637
- * Queues must first be associated to the routing
6638
- * profile. You can do this using AssociateRoutingProfileQueues.</p>
6639
- * @public
6640
- */
6641
- QueueConfigs: RoutingProfileQueueConfig[] | undefined;
6642
- }
6643
6623
  /**
6644
6624
  * @internal
6645
6625
  */
@@ -1,6 +1,53 @@
1
- import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, RuleAction, RulePublishStatus, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
1
+ import { AdditionalEmailRecipients, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, InitiateAs, Reference, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
2
2
  import { AnsweringMachineDetectionStatus, AttributeCondition, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, SignInConfig, TelephonyConfig, WisdomInfo } from "./models_1";
3
3
  import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateRoutingProfileNameRequest {
8
+ /**
9
+ * <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>
10
+ * @public
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>The identifier of the routing profile.</p>
15
+ * @public
16
+ */
17
+ RoutingProfileId: string | undefined;
18
+ /**
19
+ * <p>The name of the routing profile. Must not be more than 127 characters.</p>
20
+ * @public
21
+ */
22
+ Name?: string | undefined;
23
+ /**
24
+ * <p>The description of the routing profile. Must not be more than 250 characters.</p>
25
+ * @public
26
+ */
27
+ Description?: string | undefined;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface UpdateRoutingProfileQueuesRequest {
33
+ /**
34
+ * <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>
35
+ * @public
36
+ */
37
+ InstanceId: string | undefined;
38
+ /**
39
+ * <p>The identifier of the routing profile.</p>
40
+ * @public
41
+ */
42
+ RoutingProfileId: string | undefined;
43
+ /**
44
+ * <p>The queues to be updated for this routing profile.
45
+ * Queues must first be associated to the routing
46
+ * profile. You can do this using AssociateRoutingProfileQueues.</p>
47
+ * @public
48
+ */
49
+ QueueConfigs: RoutingProfileQueueConfig[] | undefined;
50
+ }
4
51
  /**
5
52
  * @public
6
53
  */
@@ -56,6 +56,7 @@ import { DeleteAttachedFileCommandInput, DeleteAttachedFileCommandOutput } from
56
56
  import { DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput } from "../commands/DeleteContactEvaluationCommand";
57
57
  import { DeleteContactFlowCommandInput, DeleteContactFlowCommandOutput } from "../commands/DeleteContactFlowCommand";
58
58
  import { DeleteContactFlowModuleCommandInput, DeleteContactFlowModuleCommandOutput } from "../commands/DeleteContactFlowModuleCommand";
59
+ import { DeleteContactFlowVersionCommandInput, DeleteContactFlowVersionCommandOutput } from "../commands/DeleteContactFlowVersionCommand";
59
60
  import { DeleteEmailAddressCommandInput, DeleteEmailAddressCommandOutput } from "../commands/DeleteEmailAddressCommand";
60
61
  import { DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput } from "../commands/DeleteEvaluationFormCommand";
61
62
  import { DeleteHoursOfOperationCommandInput, DeleteHoursOfOperationCommandOutput } from "../commands/DeleteHoursOfOperationCommand";
@@ -504,6 +505,10 @@ export declare const se_DeleteContactFlowCommand: (input: DeleteContactFlowComma
504
505
  * serializeAws_restJson1DeleteContactFlowModuleCommand
505
506
  */
506
507
  export declare const se_DeleteContactFlowModuleCommand: (input: DeleteContactFlowModuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
508
+ /**
509
+ * serializeAws_restJson1DeleteContactFlowVersionCommand
510
+ */
511
+ export declare const se_DeleteContactFlowVersionCommand: (input: DeleteContactFlowVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
507
512
  /**
508
513
  * serializeAws_restJson1DeleteEmailAddressCommand
509
514
  */
@@ -1624,6 +1629,10 @@ export declare const de_DeleteContactFlowCommand: (output: __HttpResponse, conte
1624
1629
  * deserializeAws_restJson1DeleteContactFlowModuleCommand
1625
1630
  */
1626
1631
  export declare const de_DeleteContactFlowModuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteContactFlowModuleCommandOutput>;
1632
+ /**
1633
+ * deserializeAws_restJson1DeleteContactFlowVersionCommand
1634
+ */
1635
+ export declare const de_DeleteContactFlowVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteContactFlowVersionCommandOutput>;
1627
1636
  /**
1628
1637
  * deserializeAws_restJson1DeleteEmailAddressCommand
1629
1638
  */
@@ -223,6 +223,10 @@ import {
223
223
  DeleteContactFlowModuleCommandInput,
224
224
  DeleteContactFlowModuleCommandOutput,
225
225
  } from "./commands/DeleteContactFlowModuleCommand";
226
+ import {
227
+ DeleteContactFlowVersionCommandInput,
228
+ DeleteContactFlowVersionCommandOutput,
229
+ } from "./commands/DeleteContactFlowVersionCommand";
226
230
  import {
227
231
  DeleteEmailAddressCommandInput,
228
232
  DeleteEmailAddressCommandOutput,
@@ -1873,6 +1877,19 @@ export interface Connect {
1873
1877
  options: __HttpHandlerOptions,
1874
1878
  cb: (err: any, data?: DeleteContactFlowModuleCommandOutput) => void
1875
1879
  ): void;
1880
+ deleteContactFlowVersion(
1881
+ args: DeleteContactFlowVersionCommandInput,
1882
+ options?: __HttpHandlerOptions
1883
+ ): Promise<DeleteContactFlowVersionCommandOutput>;
1884
+ deleteContactFlowVersion(
1885
+ args: DeleteContactFlowVersionCommandInput,
1886
+ cb: (err: any, data?: DeleteContactFlowVersionCommandOutput) => void
1887
+ ): void;
1888
+ deleteContactFlowVersion(
1889
+ args: DeleteContactFlowVersionCommandInput,
1890
+ options: __HttpHandlerOptions,
1891
+ cb: (err: any, data?: DeleteContactFlowVersionCommandOutput) => void
1892
+ ): void;
1876
1893
  deleteEmailAddress(
1877
1894
  args: DeleteEmailAddressCommandInput,
1878
1895
  options?: __HttpHandlerOptions
@@ -269,6 +269,10 @@ import {
269
269
  DeleteContactFlowModuleCommandInput,
270
270
  DeleteContactFlowModuleCommandOutput,
271
271
  } from "./commands/DeleteContactFlowModuleCommand";
272
+ import {
273
+ DeleteContactFlowVersionCommandInput,
274
+ DeleteContactFlowVersionCommandOutput,
275
+ } from "./commands/DeleteContactFlowVersionCommand";
272
276
  import {
273
277
  DeleteEmailAddressCommandInput,
274
278
  DeleteEmailAddressCommandOutput,
@@ -1229,6 +1233,7 @@ export type ServiceInputTypes =
1229
1233
  | DeleteContactEvaluationCommandInput
1230
1234
  | DeleteContactFlowCommandInput
1231
1235
  | DeleteContactFlowModuleCommandInput
1236
+ | DeleteContactFlowVersionCommandInput
1232
1237
  | DeleteEmailAddressCommandInput
1233
1238
  | DeleteEvaluationFormCommandInput
1234
1239
  | DeleteHoursOfOperationCommandInput
@@ -1510,6 +1515,7 @@ export type ServiceOutputTypes =
1510
1515
  | DeleteContactEvaluationCommandOutput
1511
1516
  | DeleteContactFlowCommandOutput
1512
1517
  | DeleteContactFlowModuleCommandOutput
1518
+ | DeleteContactFlowVersionCommandOutput
1513
1519
  | DeleteEmailAddressCommandOutput
1514
1520
  | DeleteEvaluationFormCommandOutput
1515
1521
  | DeleteHoursOfOperationCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ DeleteContactFlowVersionRequest,
10
+ DeleteContactFlowVersionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteContactFlowVersionCommandInput
15
+ extends DeleteContactFlowVersionRequest {}
16
+ export interface DeleteContactFlowVersionCommandOutput
17
+ extends DeleteContactFlowVersionResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteContactFlowVersionCommand_base: {
20
+ new (
21
+ input: DeleteContactFlowVersionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteContactFlowVersionCommandInput,
24
+ DeleteContactFlowVersionCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteContactFlowVersionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteContactFlowVersionCommandInput,
33
+ DeleteContactFlowVersionCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteContactFlowVersionCommand extends DeleteContactFlowVersionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteContactFlowVersionRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteContactFlowVersionCommandInput;
48
+ output: DeleteContactFlowVersionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteRuleRequest } from "../models/models_0";
8
+ import { DeleteRuleRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteRuleCommandInput extends DeleteRuleRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteSecurityProfileRequest } from "../models/models_0";
8
+ import { DeleteSecurityProfileRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteSecurityProfileCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- ListQuickConnectsRequest,
10
- ListQuickConnectsResponse,
11
- } from "../models/models_1";
8
+ import { ListQuickConnectsRequest } from "../models/models_1";
9
+ import { ListQuickConnectsResponse } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ListQuickConnectsCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { UpdateRoutingProfileNameRequest } from "../models/models_2";
8
+ import { UpdateRoutingProfileNameRequest } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateRoutingProfileNameCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { UpdateRoutingProfileQueuesRequest } from "../models/models_2";
8
+ import { UpdateRoutingProfileQueuesRequest } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateRoutingProfileQueuesCommandInput
@@ -54,6 +54,7 @@ export * from "./DeleteAttachedFileCommand";
54
54
  export * from "./DeleteContactEvaluationCommand";
55
55
  export * from "./DeleteContactFlowCommand";
56
56
  export * from "./DeleteContactFlowModuleCommand";
57
+ export * from "./DeleteContactFlowVersionCommand";
57
58
  export * from "./DeleteEmailAddressCommand";
58
59
  export * from "./DeleteEvaluationFormCommand";
59
60
  export * from "./DeleteHoursOfOperationCommand";
@@ -834,6 +834,7 @@ export declare const ContactFlowType: {
834
834
  readonly AGENT_HOLD: "AGENT_HOLD";
835
835
  readonly AGENT_TRANSFER: "AGENT_TRANSFER";
836
836
  readonly AGENT_WHISPER: "AGENT_WHISPER";
837
+ readonly CAMPAIGN: "CAMPAIGN";
837
838
  readonly CONTACT_FLOW: "CONTACT_FLOW";
838
839
  readonly CUSTOMER_HOLD: "CUSTOMER_HOLD";
839
840
  readonly CUSTOMER_QUEUE: "CUSTOMER_QUEUE";
@@ -896,6 +897,7 @@ export interface CreateContactFlowVersionRequest {
896
897
  Description?: string | undefined;
897
898
  ContactFlowId: string | undefined;
898
899
  FlowContentSha256?: string | undefined;
900
+ ContactFlowVersion?: number | undefined;
899
901
  LastModifiedTime?: Date | undefined;
900
902
  LastModifiedRegion?: string | undefined;
901
903
  }
@@ -1816,6 +1818,12 @@ export interface DeleteContactFlowModuleRequest {
1816
1818
  ContactFlowModuleId: string | undefined;
1817
1819
  }
1818
1820
  export interface DeleteContactFlowModuleResponse {}
1821
+ export interface DeleteContactFlowVersionRequest {
1822
+ InstanceId: string | undefined;
1823
+ ContactFlowId: string | undefined;
1824
+ ContactFlowVersion: number | undefined;
1825
+ }
1826
+ export interface DeleteContactFlowVersionResponse {}
1819
1827
  export interface DeleteEmailAddressRequest {
1820
1828
  InstanceId: string | undefined;
1821
1829
  EmailAddressId: string | undefined;
@@ -1868,14 +1876,6 @@ export interface DeleteRoutingProfileRequest {
1868
1876
  InstanceId: string | undefined;
1869
1877
  RoutingProfileId: string | undefined;
1870
1878
  }
1871
- export interface DeleteRuleRequest {
1872
- InstanceId: string | undefined;
1873
- RuleId: string | undefined;
1874
- }
1875
- export interface DeleteSecurityProfileRequest {
1876
- InstanceId: string | undefined;
1877
- SecurityProfileId: string | undefined;
1878
- }
1879
1879
  export declare const CreateEmailAddressRequestFilterSensitiveLog: (
1880
1880
  obj: CreateEmailAddressRequest
1881
1881
  ) => any;
@@ -60,6 +60,14 @@ import {
60
60
  VocabularyLanguageCode,
61
61
  VocabularyState,
62
62
  } from "./models_0";
63
+ export interface DeleteRuleRequest {
64
+ InstanceId: string | undefined;
65
+ RuleId: string | undefined;
66
+ }
67
+ export interface DeleteSecurityProfileRequest {
68
+ InstanceId: string | undefined;
69
+ SecurityProfileId: string | undefined;
70
+ }
63
71
  export interface DeleteTaskTemplateRequest {
64
72
  InstanceId: string | undefined;
65
73
  TaskTemplateId: string | undefined;
@@ -2116,16 +2124,6 @@ export interface ListQuickConnectsRequest {
2116
2124
  MaxResults?: number | undefined;
2117
2125
  QuickConnectTypes?: QuickConnectType[] | undefined;
2118
2126
  }
2119
- export interface ListQuickConnectsResponse {
2120
- QuickConnectSummaryList?: QuickConnectSummary[] | undefined;
2121
- NextToken?: string | undefined;
2122
- }
2123
- export declare const RealTimeContactAnalysisOutputType: {
2124
- readonly Raw: "Raw";
2125
- readonly Redacted: "Redacted";
2126
- };
2127
- export type RealTimeContactAnalysisOutputType =
2128
- (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
2129
2127
  export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
2130
2128
  obj: DescribeEmailAddressResponse
2131
2129
  ) => any;