@aws-sdk/client-connect 3.332.0 → 3.337.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 (53) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Connect.js +10 -0
  3. package/dist-cjs/commands/CreatePromptCommand.js +45 -0
  4. package/dist-cjs/commands/DeletePromptCommand.js +45 -0
  5. package/dist-cjs/commands/DescribePromptCommand.js +45 -0
  6. package/dist-cjs/commands/GetPromptFileCommand.js +45 -0
  7. package/dist-cjs/commands/UpdatePromptCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +344 -9
  10. package/dist-es/Connect.js +10 -0
  11. package/dist-es/commands/CreatePromptCommand.js +41 -0
  12. package/dist-es/commands/DeletePromptCommand.js +41 -0
  13. package/dist-es/commands/DescribePromptCommand.js +41 -0
  14. package/dist-es/commands/GetPromptFileCommand.js +41 -0
  15. package/dist-es/commands/UpdatePromptCommand.js +41 -0
  16. package/dist-es/commands/index.js +5 -0
  17. package/dist-es/protocols/Aws_restJson1.js +326 -1
  18. package/dist-types/Connect.d.ts +35 -0
  19. package/dist-types/ConnectClient.d.ts +10 -4
  20. package/dist-types/commands/CreatePromptCommand.d.ts +94 -0
  21. package/dist-types/commands/DeletePromptCommand.d.ts +83 -0
  22. package/dist-types/commands/DescribePromptCommand.d.ts +93 -0
  23. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -1
  24. package/dist-types/commands/GetPromptFileCommand.d.ts +85 -0
  25. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +3 -3
  26. package/dist-types/commands/UpdatePromptCommand.d.ts +89 -0
  27. package/dist-types/commands/index.d.ts +5 -0
  28. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  29. package/dist-types/models/models_0.d.ts +99 -94
  30. package/dist-types/models/models_1.d.ts +156 -1
  31. package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
  32. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  33. package/dist-types/runtimeConfig.d.ts +9 -9
  34. package/dist-types/runtimeConfig.native.d.ts +13 -13
  35. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  36. package/dist-types/ts3.4/Connect.d.ts +85 -0
  37. package/dist-types/ts3.4/ConnectClient.d.ts +37 -5
  38. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +34 -0
  39. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +32 -0
  40. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +37 -0
  41. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +37 -0
  43. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +34 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  46. package/dist-types/ts3.4/models/models_0.d.ts +29 -26
  47. package/dist-types/ts3.4/models/models_1.d.ts +47 -3
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  53. package/package.json +30 -29
@@ -1805,6 +1805,44 @@ export interface CreateParticipantResponse {
1805
1805
  */
1806
1806
  ParticipantId?: string;
1807
1807
  }
1808
+ /**
1809
+ * @public
1810
+ */
1811
+ export interface CreatePromptRequest {
1812
+ /**
1813
+ * <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>
1814
+ */
1815
+ InstanceId: string | undefined;
1816
+ /**
1817
+ * <p>The name of the prompt.</p>
1818
+ */
1819
+ Name: string | undefined;
1820
+ /**
1821
+ * <p>The description of the prompt.</p>
1822
+ */
1823
+ Description?: string;
1824
+ /**
1825
+ * <p>The URI for the S3 bucket where the prompt is stored.</p>
1826
+ */
1827
+ S3Uri: string | undefined;
1828
+ /**
1829
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
1830
+ */
1831
+ Tags?: Record<string, string>;
1832
+ }
1833
+ /**
1834
+ * @public
1835
+ */
1836
+ export interface CreatePromptResponse {
1837
+ /**
1838
+ * <p>The Amazon Resource Name (ARN) of the prompt.</p>
1839
+ */
1840
+ PromptARN?: string;
1841
+ /**
1842
+ * <p>A unique identifier for the prompt.</p>
1843
+ */
1844
+ PromptId?: string;
1845
+ }
1808
1846
  /**
1809
1847
  * @public
1810
1848
  * <p>The outbound caller ID name, number, and outbound whisper flow.</p>
@@ -3135,6 +3173,19 @@ export interface DeleteIntegrationAssociationRequest {
3135
3173
  */
3136
3174
  IntegrationAssociationId: string | undefined;
3137
3175
  }
3176
+ /**
3177
+ * @public
3178
+ */
3179
+ export interface DeletePromptRequest {
3180
+ /**
3181
+ * <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>
3182
+ */
3183
+ InstanceId: string | undefined;
3184
+ /**
3185
+ * <p>A unique identifier for the prompt.</p>
3186
+ */
3187
+ PromptId: string | undefined;
3188
+ }
3138
3189
  /**
3139
3190
  * @public
3140
3191
  */
@@ -4478,6 +4529,54 @@ export interface DescribePhoneNumberResponse {
4478
4529
  */
4479
4530
  ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
4480
4531
  }
4532
+ /**
4533
+ * @public
4534
+ */
4535
+ export interface DescribePromptRequest {
4536
+ /**
4537
+ * <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>
4538
+ */
4539
+ InstanceId: string | undefined;
4540
+ /**
4541
+ * <p>A unique identifier for the prompt.</p>
4542
+ */
4543
+ PromptId: string | undefined;
4544
+ }
4545
+ /**
4546
+ * @public
4547
+ * <p>Information about a prompt.</p>
4548
+ */
4549
+ export interface Prompt {
4550
+ /**
4551
+ * <p>The Amazon Resource Name (ARN) of the prompt.</p>
4552
+ */
4553
+ PromptARN?: string;
4554
+ /**
4555
+ * <p>A unique identifier for the prompt.</p>
4556
+ */
4557
+ PromptId?: string;
4558
+ /**
4559
+ * <p>The name of the prompt.</p>
4560
+ */
4561
+ Name?: string;
4562
+ /**
4563
+ * <p>A description for the prompt.</p>
4564
+ */
4565
+ Description?: string;
4566
+ /**
4567
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
4568
+ */
4569
+ Tags?: Record<string, string>;
4570
+ }
4571
+ /**
4572
+ * @public
4573
+ */
4574
+ export interface DescribePromptResponse {
4575
+ /**
4576
+ * <p>Information about the prompt.</p>
4577
+ */
4578
+ Prompt?: Prompt;
4579
+ }
4481
4580
  /**
4482
4581
  * @public
4483
4582
  */
@@ -5671,100 +5770,6 @@ export interface GetCurrentMetricDataRequest {
5671
5770
  */
5672
5771
  SortCriteria?: CurrentMetricSortCriteria[];
5673
5772
  }
5674
- /**
5675
- * @public
5676
- * <p>Contains the data for a real-time metric.</p>
5677
- */
5678
- export interface CurrentMetricData {
5679
- /**
5680
- * <p>Information about the metric.</p>
5681
- */
5682
- Metric?: CurrentMetric;
5683
- /**
5684
- * <p>The value of the metric.</p>
5685
- */
5686
- Value?: number;
5687
- }
5688
- /**
5689
- * @public
5690
- * <p>Information about the routing profile assigned to the user.</p>
5691
- */
5692
- export interface RoutingProfileReference {
5693
- /**
5694
- * <p>The identifier of the routing profile.</p>
5695
- */
5696
- Id?: string;
5697
- /**
5698
- * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
5699
- */
5700
- Arn?: string;
5701
- }
5702
- /**
5703
- * @public
5704
- * <p>Contains information about the dimensions for a set of metrics.</p>
5705
- */
5706
- export interface Dimensions {
5707
- /**
5708
- * <p>Information about the queue for which metrics are returned.</p>
5709
- */
5710
- Queue?: QueueReference;
5711
- /**
5712
- * <p>The channel used for grouping and filters.</p>
5713
- */
5714
- Channel?: Channel | string;
5715
- /**
5716
- * <p>Information about the routing profile assigned to the user.</p>
5717
- */
5718
- RoutingProfile?: RoutingProfileReference;
5719
- }
5720
- /**
5721
- * @public
5722
- * <p>Contains information about a set of real-time metrics.</p>
5723
- */
5724
- export interface CurrentMetricResult {
5725
- /**
5726
- * <p>The dimensions for the metrics.</p>
5727
- */
5728
- Dimensions?: Dimensions;
5729
- /**
5730
- * <p>The set of metrics.</p>
5731
- */
5732
- Collections?: CurrentMetricData[];
5733
- }
5734
- /**
5735
- * @public
5736
- */
5737
- export interface GetCurrentMetricDataResponse {
5738
- /**
5739
- * <p>If there are additional results, this is the token for the next set of results.</p>
5740
- * <p>The token expires after 5 minutes from the time it is created. Subsequent requests that use
5741
- * the token must use the same request parameters as the request that generated the token.</p>
5742
- */
5743
- NextToken?: string;
5744
- /**
5745
- * <p>Information about the real-time metrics.</p>
5746
- */
5747
- MetricResults?: CurrentMetricResult[];
5748
- /**
5749
- * <p>The time at which the metrics were retrieved and cached for pagination.</p>
5750
- */
5751
- DataSnapshotTime?: Date;
5752
- /**
5753
- * <p>The total count of the result, regardless of the current page size. </p>
5754
- */
5755
- ApproximateTotalCount?: number;
5756
- }
5757
- /**
5758
- * @public
5759
- * <p>Filters user data based on the contact information that is associated to the users. It
5760
- * contains a list of <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
5761
- */
5762
- export interface ContactFilter {
5763
- /**
5764
- * <p>A list of up to 9 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
5765
- */
5766
- ContactStates?: (ContactState | string)[];
5767
- }
5768
5773
  /**
5769
5774
  * @internal
5770
5775
  */
@@ -1,6 +1,100 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Attribute, Channel, ContactFilter, ContactFlowModuleState, ContactFlowState, ContactFlowType, Dimensions, DirectoryType, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, Filters, Grouping, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RoutingProfileReference, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, CurrentMetric, DirectoryType, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, Filters, Grouping, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueReference, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * <p>Contains the data for a real-time metric.</p>
7
+ */
8
+ export interface CurrentMetricData {
9
+ /**
10
+ * <p>Information about the metric.</p>
11
+ */
12
+ Metric?: CurrentMetric;
13
+ /**
14
+ * <p>The value of the metric.</p>
15
+ */
16
+ Value?: number;
17
+ }
18
+ /**
19
+ * @public
20
+ * <p>Information about the routing profile assigned to the user.</p>
21
+ */
22
+ export interface RoutingProfileReference {
23
+ /**
24
+ * <p>The identifier of the routing profile.</p>
25
+ */
26
+ Id?: string;
27
+ /**
28
+ * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
29
+ */
30
+ Arn?: string;
31
+ }
32
+ /**
33
+ * @public
34
+ * <p>Contains information about the dimensions for a set of metrics.</p>
35
+ */
36
+ export interface Dimensions {
37
+ /**
38
+ * <p>Information about the queue for which metrics are returned.</p>
39
+ */
40
+ Queue?: QueueReference;
41
+ /**
42
+ * <p>The channel used for grouping and filters.</p>
43
+ */
44
+ Channel?: Channel | string;
45
+ /**
46
+ * <p>Information about the routing profile assigned to the user.</p>
47
+ */
48
+ RoutingProfile?: RoutingProfileReference;
49
+ }
50
+ /**
51
+ * @public
52
+ * <p>Contains information about a set of real-time metrics.</p>
53
+ */
54
+ export interface CurrentMetricResult {
55
+ /**
56
+ * <p>The dimensions for the metrics.</p>
57
+ */
58
+ Dimensions?: Dimensions;
59
+ /**
60
+ * <p>The set of metrics.</p>
61
+ */
62
+ Collections?: CurrentMetricData[];
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface GetCurrentMetricDataResponse {
68
+ /**
69
+ * <p>If there are additional results, this is the token for the next set of results.</p>
70
+ * <p>The token expires after 5 minutes from the time it is created. Subsequent requests that use
71
+ * the token must use the same request parameters as the request that generated the token.</p>
72
+ */
73
+ NextToken?: string;
74
+ /**
75
+ * <p>Information about the real-time metrics.</p>
76
+ */
77
+ MetricResults?: CurrentMetricResult[];
78
+ /**
79
+ * <p>The time at which the metrics were retrieved and cached for pagination.</p>
80
+ */
81
+ DataSnapshotTime?: Date;
82
+ /**
83
+ * <p>The total count of the result, regardless of the current page size. </p>
84
+ */
85
+ ApproximateTotalCount?: number;
86
+ }
87
+ /**
88
+ * @public
89
+ * <p>Filters user data based on the contact information that is associated to the users. It
90
+ * contains a list of <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
91
+ */
92
+ export interface ContactFilter {
93
+ /**
94
+ * <p>A list of up to 9 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
95
+ */
96
+ ContactStates?: (ContactState | string)[];
97
+ }
4
98
  /**
5
99
  * @public
6
100
  * <p>A filter for the user data.</p>
@@ -971,6 +1065,29 @@ export interface GetMetricDataV2Response {
971
1065
  */
972
1066
  MetricResults?: MetricResultV2[];
973
1067
  }
1068
+ /**
1069
+ * @public
1070
+ */
1071
+ export interface GetPromptFileRequest {
1072
+ /**
1073
+ * <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>
1074
+ */
1075
+ InstanceId: string | undefined;
1076
+ /**
1077
+ * <p>A unique identifier for the prompt.</p>
1078
+ */
1079
+ PromptId: string | undefined;
1080
+ }
1081
+ /**
1082
+ * @public
1083
+ */
1084
+ export interface GetPromptFileResponse {
1085
+ /**
1086
+ * <p>A generated URL to the prompt that can be given to an unauthorized user so they can access
1087
+ * the prompt in S3.</p>
1088
+ */
1089
+ PromptPresignedUrl?: string;
1090
+ }
974
1091
  /**
975
1092
  * @public
976
1093
  */
@@ -5185,6 +5302,44 @@ export interface UpdatePhoneNumberResponse {
5185
5302
  */
5186
5303
  PhoneNumberArn?: string;
5187
5304
  }
5305
+ /**
5306
+ * @public
5307
+ */
5308
+ export interface UpdatePromptRequest {
5309
+ /**
5310
+ * <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>
5311
+ */
5312
+ InstanceId: string | undefined;
5313
+ /**
5314
+ * <p>A unique identifier for the prompt.</p>
5315
+ */
5316
+ PromptId: string | undefined;
5317
+ /**
5318
+ * <p>The name of the prompt.</p>
5319
+ */
5320
+ Name?: string;
5321
+ /**
5322
+ * <p>A description of the prompt.</p>
5323
+ */
5324
+ Description?: string;
5325
+ /**
5326
+ * <p>The URI for the S3 bucket where the prompt is stored.</p>
5327
+ */
5328
+ S3Uri?: string;
5329
+ }
5330
+ /**
5331
+ * @public
5332
+ */
5333
+ export interface UpdatePromptResponse {
5334
+ /**
5335
+ * <p>The Amazon Resource Name (ARN) of the prompt.</p>
5336
+ */
5337
+ PromptARN?: string;
5338
+ /**
5339
+ * <p>A unique identifier for the prompt.</p>
5340
+ */
5341
+ PromptId?: string;
5342
+ }
5188
5343
  /**
5189
5344
  * @public
5190
5345
  */
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { ActivateEvaluationFormCommandInput, ActivateEvaluationFormCommandOutput } from "../commands/ActivateEvaluationFormCommand";
4
4
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "../commands/AssociateApprovedOriginCommand";
5
5
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "../commands/AssociateBotCommand";
@@ -20,6 +20,7 @@ import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput
20
20
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "../commands/CreateInstanceCommand";
21
21
  import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "../commands/CreateIntegrationAssociationCommand";
22
22
  import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "../commands/CreateParticipantCommand";
23
+ import { CreatePromptCommandInput, CreatePromptCommandOutput } from "../commands/CreatePromptCommand";
23
24
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "../commands/CreateQueueCommand";
24
25
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "../commands/CreateQuickConnectCommand";
25
26
  import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "../commands/CreateRoutingProfileCommand";
@@ -39,6 +40,7 @@ import { DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput } f
39
40
  import { DeleteHoursOfOperationCommandInput, DeleteHoursOfOperationCommandOutput } from "../commands/DeleteHoursOfOperationCommand";
40
41
  import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "../commands/DeleteInstanceCommand";
41
42
  import { DeleteIntegrationAssociationCommandInput, DeleteIntegrationAssociationCommandOutput } from "../commands/DeleteIntegrationAssociationCommand";
43
+ import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
42
44
  import { DeleteQuickConnectCommandInput, DeleteQuickConnectCommandOutput } from "../commands/DeleteQuickConnectCommand";
43
45
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "../commands/DeleteRuleCommand";
44
46
  import { DeleteSecurityProfileCommandInput, DeleteSecurityProfileCommandOutput } from "../commands/DeleteSecurityProfileCommand";
@@ -59,6 +61,7 @@ import { DescribeInstanceAttributeCommandInput, DescribeInstanceAttributeCommand
59
61
  import { DescribeInstanceCommandInput, DescribeInstanceCommandOutput } from "../commands/DescribeInstanceCommand";
60
62
  import { DescribeInstanceStorageConfigCommandInput, DescribeInstanceStorageConfigCommandOutput } from "../commands/DescribeInstanceStorageConfigCommand";
61
63
  import { DescribePhoneNumberCommandInput, DescribePhoneNumberCommandOutput } from "../commands/DescribePhoneNumberCommand";
64
+ import { DescribePromptCommandInput, DescribePromptCommandOutput } from "../commands/DescribePromptCommand";
62
65
  import { DescribeQueueCommandInput, DescribeQueueCommandOutput } from "../commands/DescribeQueueCommand";
63
66
  import { DescribeQuickConnectCommandInput, DescribeQuickConnectCommandOutput } from "../commands/DescribeQuickConnectCommand";
64
67
  import { DescribeRoutingProfileCommandInput, DescribeRoutingProfileCommandOutput } from "../commands/DescribeRoutingProfileCommand";
@@ -85,6 +88,7 @@ import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from
85
88
  import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
86
89
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "../commands/GetMetricDataCommand";
87
90
  import { GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput } from "../commands/GetMetricDataV2Command";
91
+ import { GetPromptFileCommandInput, GetPromptFileCommandOutput } from "../commands/GetPromptFileCommand";
88
92
  import { GetTaskTemplateCommandInput, GetTaskTemplateCommandOutput } from "../commands/GetTaskTemplateCommand";
89
93
  import { GetTrafficDistributionCommandInput, GetTrafficDistributionCommandOutput } from "../commands/GetTrafficDistributionCommand";
90
94
  import { ListAgentStatusesCommandInput, ListAgentStatusesCommandOutput } from "../commands/ListAgentStatusesCommand";
@@ -163,6 +167,7 @@ import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutp
163
167
  import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
164
168
  import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "../commands/UpdateParticipantRoleConfigCommand";
165
169
  import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
170
+ import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
166
171
  import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "../commands/UpdateQueueHoursOfOperationCommand";
167
172
  import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "../commands/UpdateQueueMaxContactsCommand";
168
173
  import { UpdateQueueNameCommandInput, UpdateQueueNameCommandOutput } from "../commands/UpdateQueueNameCommand";
@@ -265,6 +270,10 @@ export declare const se_CreateIntegrationAssociationCommand: (input: CreateInteg
265
270
  * serializeAws_restJson1CreateParticipantCommand
266
271
  */
267
272
  export declare const se_CreateParticipantCommand: (input: CreateParticipantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
273
+ /**
274
+ * serializeAws_restJson1CreatePromptCommand
275
+ */
276
+ export declare const se_CreatePromptCommand: (input: CreatePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
268
277
  /**
269
278
  * serializeAws_restJson1CreateQueueCommand
270
279
  */
@@ -341,6 +350,10 @@ export declare const se_DeleteInstanceCommand: (input: DeleteInstanceCommandInpu
341
350
  * serializeAws_restJson1DeleteIntegrationAssociationCommand
342
351
  */
343
352
  export declare const se_DeleteIntegrationAssociationCommand: (input: DeleteIntegrationAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
353
+ /**
354
+ * serializeAws_restJson1DeletePromptCommand
355
+ */
356
+ export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
344
357
  /**
345
358
  * serializeAws_restJson1DeleteQuickConnectCommand
346
359
  */
@@ -421,6 +434,10 @@ export declare const se_DescribeInstanceStorageConfigCommand: (input: DescribeIn
421
434
  * serializeAws_restJson1DescribePhoneNumberCommand
422
435
  */
423
436
  export declare const se_DescribePhoneNumberCommand: (input: DescribePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
437
+ /**
438
+ * serializeAws_restJson1DescribePromptCommand
439
+ */
440
+ export declare const se_DescribePromptCommand: (input: DescribePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
424
441
  /**
425
442
  * serializeAws_restJson1DescribeQueueCommand
426
443
  */
@@ -525,6 +542,10 @@ export declare const se_GetMetricDataCommand: (input: GetMetricDataCommandInput,
525
542
  * serializeAws_restJson1GetMetricDataV2Command
526
543
  */
527
544
  export declare const se_GetMetricDataV2Command: (input: GetMetricDataV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
545
+ /**
546
+ * serializeAws_restJson1GetPromptFileCommand
547
+ */
548
+ export declare const se_GetPromptFileCommand: (input: GetPromptFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
528
549
  /**
529
550
  * serializeAws_restJson1GetTaskTemplateCommand
530
551
  */
@@ -837,6 +858,10 @@ export declare const se_UpdateParticipantRoleConfigCommand: (input: UpdatePartic
837
858
  * serializeAws_restJson1UpdatePhoneNumberCommand
838
859
  */
839
860
  export declare const se_UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
861
+ /**
862
+ * serializeAws_restJson1UpdatePromptCommand
863
+ */
864
+ export declare const se_UpdatePromptCommand: (input: UpdatePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
840
865
  /**
841
866
  * serializeAws_restJson1UpdateQueueHoursOfOperationCommand
842
867
  */
@@ -1005,6 +1030,10 @@ export declare const de_CreateIntegrationAssociationCommand: (output: __HttpResp
1005
1030
  * deserializeAws_restJson1CreateParticipantCommand
1006
1031
  */
1007
1032
  export declare const de_CreateParticipantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateParticipantCommandOutput>;
1033
+ /**
1034
+ * deserializeAws_restJson1CreatePromptCommand
1035
+ */
1036
+ export declare const de_CreatePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePromptCommandOutput>;
1008
1037
  /**
1009
1038
  * deserializeAws_restJson1CreateQueueCommand
1010
1039
  */
@@ -1081,6 +1110,10 @@ export declare const de_DeleteInstanceCommand: (output: __HttpResponse, context:
1081
1110
  * deserializeAws_restJson1DeleteIntegrationAssociationCommand
1082
1111
  */
1083
1112
  export declare const de_DeleteIntegrationAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteIntegrationAssociationCommandOutput>;
1113
+ /**
1114
+ * deserializeAws_restJson1DeletePromptCommand
1115
+ */
1116
+ export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
1084
1117
  /**
1085
1118
  * deserializeAws_restJson1DeleteQuickConnectCommand
1086
1119
  */
@@ -1161,6 +1194,10 @@ export declare const de_DescribeInstanceStorageConfigCommand: (output: __HttpRes
1161
1194
  * deserializeAws_restJson1DescribePhoneNumberCommand
1162
1195
  */
1163
1196
  export declare const de_DescribePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePhoneNumberCommandOutput>;
1197
+ /**
1198
+ * deserializeAws_restJson1DescribePromptCommand
1199
+ */
1200
+ export declare const de_DescribePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePromptCommandOutput>;
1164
1201
  /**
1165
1202
  * deserializeAws_restJson1DescribeQueueCommand
1166
1203
  */
@@ -1265,6 +1302,10 @@ export declare const de_GetMetricDataCommand: (output: __HttpResponse, context:
1265
1302
  * deserializeAws_restJson1GetMetricDataV2Command
1266
1303
  */
1267
1304
  export declare const de_GetMetricDataV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricDataV2CommandOutput>;
1305
+ /**
1306
+ * deserializeAws_restJson1GetPromptFileCommand
1307
+ */
1308
+ export declare const de_GetPromptFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPromptFileCommandOutput>;
1268
1309
  /**
1269
1310
  * deserializeAws_restJson1GetTaskTemplateCommand
1270
1311
  */
@@ -1577,6 +1618,10 @@ export declare const de_UpdateParticipantRoleConfigCommand: (output: __HttpRespo
1577
1618
  * deserializeAws_restJson1UpdatePhoneNumberCommand
1578
1619
  */
1579
1620
  export declare const de_UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
1621
+ /**
1622
+ * deserializeAws_restJson1UpdatePromptCommand
1623
+ */
1624
+ export declare const de_UpdatePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePromptCommandOutput>;
1580
1625
  /**
1581
1626
  * deserializeAws_restJson1UpdateQueueHoursOfOperationCommand
1582
1627
  */
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
13
13
  region: string | import("@aws-sdk/types").Provider<any>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
13
  region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;