@aws-sdk/client-connect 3.329.0 → 3.335.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 (58) 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/CreateEvaluationFormCommand.d.ts +4 -3
  21. package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
  22. package/dist-types/commands/CreatePromptCommand.d.ts +94 -0
  23. package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +2 -2
  24. package/dist-types/commands/DeletePromptCommand.d.ts +83 -0
  25. package/dist-types/commands/DescribePromptCommand.d.ts +93 -0
  26. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +2 -1
  27. package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
  28. package/dist-types/commands/GetPromptFileCommand.d.ts +85 -0
  29. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +4 -3
  30. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +4 -0
  31. package/dist-types/commands/UpdatePromptCommand.d.ts +89 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  34. package/dist-types/models/models_0.d.ts +107 -102
  35. package/dist-types/models/models_1.d.ts +166 -7
  36. package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
  37. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  38. package/dist-types/runtimeConfig.d.ts +9 -9
  39. package/dist-types/runtimeConfig.native.d.ts +13 -13
  40. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  41. package/dist-types/ts3.4/Connect.d.ts +85 -0
  42. package/dist-types/ts3.4/ConnectClient.d.ts +37 -5
  43. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +34 -0
  44. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +32 -0
  45. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +37 -0
  46. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +37 -0
  48. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +34 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  50. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  51. package/dist-types/ts3.4/models/models_0.d.ts +29 -26
  52. package/dist-types/ts3.4/models/models_1.d.ts +47 -3
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  58. package/package.json +7 -6
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
4
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
+ import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
10
11
  import { ActivateEvaluationFormCommandInput, ActivateEvaluationFormCommandOutput } from "./commands/ActivateEvaluationFormCommand";
11
12
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
12
13
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
@@ -27,6 +28,7 @@ import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput
27
28
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "./commands/CreateInstanceCommand";
28
29
  import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "./commands/CreateIntegrationAssociationCommand";
29
30
  import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "./commands/CreateParticipantCommand";
31
+ import { CreatePromptCommandInput, CreatePromptCommandOutput } from "./commands/CreatePromptCommand";
30
32
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand";
31
33
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "./commands/CreateQuickConnectCommand";
32
34
  import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "./commands/CreateRoutingProfileCommand";
@@ -46,6 +48,7 @@ import { DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput } f
46
48
  import { DeleteHoursOfOperationCommandInput, DeleteHoursOfOperationCommandOutput } from "./commands/DeleteHoursOfOperationCommand";
47
49
  import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "./commands/DeleteInstanceCommand";
48
50
  import { DeleteIntegrationAssociationCommandInput, DeleteIntegrationAssociationCommandOutput } from "./commands/DeleteIntegrationAssociationCommand";
51
+ import { DeletePromptCommandInput, DeletePromptCommandOutput } from "./commands/DeletePromptCommand";
49
52
  import { DeleteQuickConnectCommandInput, DeleteQuickConnectCommandOutput } from "./commands/DeleteQuickConnectCommand";
50
53
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
51
54
  import { DeleteSecurityProfileCommandInput, DeleteSecurityProfileCommandOutput } from "./commands/DeleteSecurityProfileCommand";
@@ -66,6 +69,7 @@ import { DescribeInstanceAttributeCommandInput, DescribeInstanceAttributeCommand
66
69
  import { DescribeInstanceCommandInput, DescribeInstanceCommandOutput } from "./commands/DescribeInstanceCommand";
67
70
  import { DescribeInstanceStorageConfigCommandInput, DescribeInstanceStorageConfigCommandOutput } from "./commands/DescribeInstanceStorageConfigCommand";
68
71
  import { DescribePhoneNumberCommandInput, DescribePhoneNumberCommandOutput } from "./commands/DescribePhoneNumberCommand";
72
+ import { DescribePromptCommandInput, DescribePromptCommandOutput } from "./commands/DescribePromptCommand";
69
73
  import { DescribeQueueCommandInput, DescribeQueueCommandOutput } from "./commands/DescribeQueueCommand";
70
74
  import { DescribeQuickConnectCommandInput, DescribeQuickConnectCommandOutput } from "./commands/DescribeQuickConnectCommand";
71
75
  import { DescribeRoutingProfileCommandInput, DescribeRoutingProfileCommandOutput } from "./commands/DescribeRoutingProfileCommand";
@@ -92,6 +96,7 @@ import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from
92
96
  import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
93
97
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "./commands/GetMetricDataCommand";
94
98
  import { GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput } from "./commands/GetMetricDataV2Command";
99
+ import { GetPromptFileCommandInput, GetPromptFileCommandOutput } from "./commands/GetPromptFileCommand";
95
100
  import { GetTaskTemplateCommandInput, GetTaskTemplateCommandOutput } from "./commands/GetTaskTemplateCommand";
96
101
  import { GetTrafficDistributionCommandInput, GetTrafficDistributionCommandOutput } from "./commands/GetTrafficDistributionCommand";
97
102
  import { ListAgentStatusesCommandInput, ListAgentStatusesCommandOutput } from "./commands/ListAgentStatusesCommand";
@@ -170,6 +175,7 @@ import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutp
170
175
  import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "./commands/UpdateInstanceStorageConfigCommand";
171
176
  import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "./commands/UpdateParticipantRoleConfigCommand";
172
177
  import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
178
+ import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "./commands/UpdatePromptCommand";
173
179
  import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "./commands/UpdateQueueHoursOfOperationCommand";
174
180
  import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "./commands/UpdateQueueMaxContactsCommand";
175
181
  import { UpdateQueueNameCommandInput, UpdateQueueNameCommandOutput } from "./commands/UpdateQueueNameCommand";
@@ -196,11 +202,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
196
202
  /**
197
203
  * @public
198
204
  */
199
- export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
205
+ export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreatePromptCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeletePromptCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribePromptCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetPromptFileCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdatePromptCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
200
206
  /**
201
207
  * @public
202
208
  */
203
- export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
209
+ export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreatePromptCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeletePromptCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribePromptCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetPromptFileCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePromptCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
204
210
  /**
205
211
  * @public
206
212
  */
@@ -20,9 +20,10 @@ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormR
20
20
  }
21
21
  /**
22
22
  * @public
23
- * <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define
24
- * questions related to agent performance, and create sections to organize such questions. Question and section identifiers
25
- * cannot be duplicated within the same evaluation form.</p>
23
+ * <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be
24
+ * used to define questions related to agent performance, and create sections to organize such
25
+ * questions. Question and section identifiers cannot be duplicated within the same evaluation
26
+ * form.</p>
26
27
  * @example
27
28
  * Use a bare-bones client and the command you need to make an API call.
28
29
  * ```javascript
@@ -20,7 +20,7 @@ export interface CreateParticipantCommandOutput extends CreateParticipantRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Adds a new participant into an on-going chat contact. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
23
- * flow experiences by integrating custom participants</a>.</p>
23
+ * flow experiences by integrating custom participants</a>.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -0,0 +1,94 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { CreatePromptRequest, CreatePromptResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link CreatePromptCommand}.
10
+ */
11
+ export interface CreatePromptCommandInput extends CreatePromptRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link CreatePromptCommand}.
17
+ */
18
+ export interface CreatePromptCommandOutput extends CreatePromptResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Creates a prompt. For more information about prompts, such as supported file types and maximum length, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html">Create prompts</a> in the <i>Amazon Connect Administrator's Guide</i>.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ConnectClient, CreatePromptCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, CreatePromptCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // CreatePromptRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * S3Uri: "STRING_VALUE", // required
34
+ * Tags: { // TagMap
35
+ * "<keys>": "STRING_VALUE",
36
+ * },
37
+ * };
38
+ * const command = new CreatePromptCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // CreatePromptResponse
41
+ * // PromptARN: "STRING_VALUE",
42
+ * // PromptId: "STRING_VALUE",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param CreatePromptCommandInput - {@link CreatePromptCommandInput}
48
+ * @returns {@link CreatePromptCommandOutput}
49
+ * @see {@link CreatePromptCommandInput} for command's `input` shape.
50
+ * @see {@link CreatePromptCommandOutput} for command's `response` shape.
51
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
52
+ *
53
+ * @throws {@link DuplicateResourceException} (client fault)
54
+ * <p>A resource with the specified name already exists.</p>
55
+ *
56
+ * @throws {@link InternalServiceException} (server fault)
57
+ * <p>Request processing failed because of an error or failure with the service.</p>
58
+ *
59
+ * @throws {@link InvalidParameterException} (client fault)
60
+ * <p>One or more of the specified parameters are not valid.</p>
61
+ *
62
+ * @throws {@link InvalidRequestException} (client fault)
63
+ * <p>The request is not valid.</p>
64
+ *
65
+ * @throws {@link LimitExceededException} (client fault)
66
+ * <p>The allowed limit for the resource has been exceeded.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The throttling limit has been exceeded.</p>
70
+ *
71
+ * @throws {@link ConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from Connect service.</p>
73
+ *
74
+ */
75
+ export declare class CreatePromptCommand extends $Command<CreatePromptCommandInput, CreatePromptCommandOutput, ConnectClientResolvedConfig> {
76
+ readonly input: CreatePromptCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: CreatePromptCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePromptCommandInput, CreatePromptCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }
@@ -22,8 +22,8 @@ export interface DeleteEvaluationFormCommandOutput extends __MetadataBearer {
22
22
  * <p>Deletes an evaluation form in the specified Amazon Connect instance. </p>
23
23
  * <ul>
24
24
  * <li>
25
- * <p>If the version
26
- * property is provided, only the specified version of the evaluation form is deleted.</p>
25
+ * <p>If the version property is provided, only the specified version of the evaluation form is
26
+ * deleted.</p>
27
27
  * </li>
28
28
  * <li>
29
29
  * <p>If no version is provided, then the full form (all versions) is deleted.</p>
@@ -0,0 +1,83 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { DeletePromptRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeletePromptCommand}.
10
+ */
11
+ export interface DeletePromptCommandInput extends DeletePromptRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeletePromptCommand}.
17
+ */
18
+ export interface DeletePromptCommandOutput extends __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Deletes a prompt.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ConnectClient, DeletePromptCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, DeletePromptCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // DeletePromptRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * PromptId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new DeletePromptCommand(input);
34
+ * const response = await client.send(command);
35
+ * // {};
36
+ *
37
+ * ```
38
+ *
39
+ * @param DeletePromptCommandInput - {@link DeletePromptCommandInput}
40
+ * @returns {@link DeletePromptCommandOutput}
41
+ * @see {@link DeletePromptCommandInput} for command's `input` shape.
42
+ * @see {@link DeletePromptCommandOutput} for command's `response` shape.
43
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
44
+ *
45
+ * @throws {@link InternalServiceException} (server fault)
46
+ * <p>Request processing failed because of an error or failure with the service.</p>
47
+ *
48
+ * @throws {@link InvalidParameterException} (client fault)
49
+ * <p>One or more of the specified parameters are not valid.</p>
50
+ *
51
+ * @throws {@link InvalidRequestException} (client fault)
52
+ * <p>The request is not valid.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The specified resource was not found.</p>
56
+ *
57
+ * @throws {@link ThrottlingException} (client fault)
58
+ * <p>The throttling limit has been exceeded.</p>
59
+ *
60
+ * @throws {@link ConnectServiceException}
61
+ * <p>Base exception class for all service exceptions from Connect service.</p>
62
+ *
63
+ */
64
+ export declare class DeletePromptCommand extends $Command<DeletePromptCommandInput, DeletePromptCommandOutput, ConnectClientResolvedConfig> {
65
+ readonly input: DeletePromptCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: DeletePromptCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePromptCommandInput, DeletePromptCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -0,0 +1,93 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { DescribePromptRequest, DescribePromptResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DescribePromptCommand}.
10
+ */
11
+ export interface DescribePromptCommandInput extends DescribePromptRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DescribePromptCommand}.
17
+ */
18
+ export interface DescribePromptCommandOutput extends DescribePromptResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Describes the prompt.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ConnectClient, DescribePromptCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, DescribePromptCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // DescribePromptRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * PromptId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new DescribePromptCommand(input);
34
+ * const response = await client.send(command);
35
+ * // { // DescribePromptResponse
36
+ * // Prompt: { // Prompt
37
+ * // PromptARN: "STRING_VALUE",
38
+ * // PromptId: "STRING_VALUE",
39
+ * // Name: "STRING_VALUE",
40
+ * // Description: "STRING_VALUE",
41
+ * // Tags: { // TagMap
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // },
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DescribePromptCommandInput - {@link DescribePromptCommandInput}
50
+ * @returns {@link DescribePromptCommandOutput}
51
+ * @see {@link DescribePromptCommandInput} for command's `input` shape.
52
+ * @see {@link DescribePromptCommandOutput} for command's `response` shape.
53
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServiceException} (server fault)
56
+ * <p>Request processing failed because of an error or failure with the service.</p>
57
+ *
58
+ * @throws {@link InvalidParameterException} (client fault)
59
+ * <p>One or more of the specified parameters are not valid.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>The request is not valid.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource was not found.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The throttling limit has been exceeded.</p>
69
+ *
70
+ * @throws {@link ConnectServiceException}
71
+ * <p>Base exception class for all service exceptions from Connect service.</p>
72
+ *
73
+ */
74
+ export declare class DescribePromptCommand extends $Command<DescribePromptCommandInput, DescribePromptCommandOutput, ConnectClientResolvedConfig> {
75
+ readonly input: DescribePromptCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: DescribePromptCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribePromptCommandInput, DescribePromptCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { GetCurrentMetricDataRequest, GetCurrentMetricDataResponse } from "../models/models_0";
5
+ import { GetCurrentMetricDataRequest } from "../models/models_0";
6
+ import { GetCurrentMetricDataResponse } from "../models/models_1";
6
7
  /**
7
8
  * @public
8
9
  *
@@ -24,7 +24,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
24
24
  * <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
25
25
  * version of this API. It has new metrics, offers filtering at a metric level, and offers the
26
26
  * ability to filter and group data by channels, queues, routing profiles, agents, and agent
27
- * hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
27
+ * hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour
28
28
  * intervals.</p>
29
29
  * <p>For a description of the historical metrics that are supported by
30
30
  * <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
@@ -0,0 +1,85 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { GetPromptFileRequest, GetPromptFileResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetPromptFileCommand}.
10
+ */
11
+ export interface GetPromptFileCommandInput extends GetPromptFileRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetPromptFileCommand}.
17
+ */
18
+ export interface GetPromptFileCommandOutput extends GetPromptFileResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Gets the prompt file.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ConnectClient, GetPromptFileCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, GetPromptFileCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // GetPromptFileRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * PromptId: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new GetPromptFileCommand(input);
34
+ * const response = await client.send(command);
35
+ * // { // GetPromptFileResponse
36
+ * // PromptPresignedUrl: "STRING_VALUE",
37
+ * // };
38
+ *
39
+ * ```
40
+ *
41
+ * @param GetPromptFileCommandInput - {@link GetPromptFileCommandInput}
42
+ * @returns {@link GetPromptFileCommandOutput}
43
+ * @see {@link GetPromptFileCommandInput} for command's `input` shape.
44
+ * @see {@link GetPromptFileCommandOutput} for command's `response` shape.
45
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
46
+ *
47
+ * @throws {@link InternalServiceException} (server fault)
48
+ * <p>Request processing failed because of an error or failure with the service.</p>
49
+ *
50
+ * @throws {@link InvalidParameterException} (client fault)
51
+ * <p>One or more of the specified parameters are not valid.</p>
52
+ *
53
+ * @throws {@link InvalidRequestException} (client fault)
54
+ * <p>The request is not valid.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The specified resource was not found.</p>
58
+ *
59
+ * @throws {@link ThrottlingException} (client fault)
60
+ * <p>The throttling limit has been exceeded.</p>
61
+ *
62
+ * @throws {@link ConnectServiceException}
63
+ * <p>Base exception class for all service exceptions from Connect service.</p>
64
+ *
65
+ */
66
+ export declare class GetPromptFileCommand extends $Command<GetPromptFileCommandInput, GetPromptFileCommandOutput, ConnectClientResolvedConfig> {
67
+ readonly input: GetPromptFileCommandInput;
68
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
72
+ constructor(input: GetPromptFileCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPromptFileCommandInput, GetPromptFileCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
80
+ private serialize;
81
+ /**
82
+ * @internal
83
+ */
84
+ private deserialize;
85
+ }
@@ -20,9 +20,10 @@ export interface UpdateEvaluationFormCommandOutput extends UpdateEvaluationFormR
20
20
  /**
21
21
  * @public
22
22
  * <p>Updates details about a specific evaluation form version in the specified Amazon Connect
23
- * instance. Question and section
24
- * identifiers cannot be duplicated within the same evaluation form.</p>
25
- * <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>
23
+ * instance. Question and section identifiers cannot be duplicated within the same evaluation
24
+ * form.</p>
25
+ * <p>This operation does not support partial updates. Instead it does a full update of evaluation
26
+ * form content.</p>
26
27
  * @example
27
28
  * Use a bare-bones client and the command you need to make an API call.
28
29
  * ```javascript
@@ -22,6 +22,10 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
22
22
  * <p>Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to
23
23
  * another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.</p>
24
24
  * <important>
25
+ * <p>After using this API, you must verify that the phone number is attached to the correct flow
26
+ * in the target instance or traffic distribution group. You need to do this because the API
27
+ * switches only the phone number to a new instance or traffic distribution group. It doesn't
28
+ * migrate the flow configuration of the phone number, too.</p>
25
29
  * <p>You can call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API
26
30
  * to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a>
27
31
  * operation.</p>