@aws-sdk/client-connect 3.332.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 (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 +5 -4
@@ -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
  */
@@ -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
+ }
@@ -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
  *
@@ -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
+ }
@@ -23,9 +23,9 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
23
23
  * another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.</p>
24
24
  * <important>
25
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 switches
27
- * only the phone number to a new instance or traffic distribution group. It doesn't migrate the
28
- * flow configuration of the phone number, too.</p>
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>
29
29
  * <p>You can call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API
30
30
  * to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a>
31
31
  * operation.</p>
@@ -0,0 +1,89 @@
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 { UpdatePromptRequest, UpdatePromptResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdatePromptCommand}.
10
+ */
11
+ export interface UpdatePromptCommandInput extends UpdatePromptRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdatePromptCommand}.
17
+ */
18
+ export interface UpdatePromptCommandOutput extends UpdatePromptResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Updates 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, UpdatePromptCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
+ * // const { ConnectClient, UpdatePromptCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
+ * const client = new ConnectClient(config);
29
+ * const input = { // UpdatePromptRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * PromptId: "STRING_VALUE", // required
32
+ * Name: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * S3Uri: "STRING_VALUE",
35
+ * };
36
+ * const command = new UpdatePromptCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // UpdatePromptResponse
39
+ * // PromptARN: "STRING_VALUE",
40
+ * // PromptId: "STRING_VALUE",
41
+ * // };
42
+ *
43
+ * ```
44
+ *
45
+ * @param UpdatePromptCommandInput - {@link UpdatePromptCommandInput}
46
+ * @returns {@link UpdatePromptCommandOutput}
47
+ * @see {@link UpdatePromptCommandInput} for command's `input` shape.
48
+ * @see {@link UpdatePromptCommandOutput} for command's `response` shape.
49
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
50
+ *
51
+ * @throws {@link InternalServiceException} (server fault)
52
+ * <p>Request processing failed because of an error or failure with the service.</p>
53
+ *
54
+ * @throws {@link InvalidParameterException} (client fault)
55
+ * <p>One or more of the specified parameters are not valid.</p>
56
+ *
57
+ * @throws {@link InvalidRequestException} (client fault)
58
+ * <p>The request is not valid.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource was not found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The throttling limit has been exceeded.</p>
65
+ *
66
+ * @throws {@link ConnectServiceException}
67
+ * <p>Base exception class for all service exceptions from Connect service.</p>
68
+ *
69
+ */
70
+ export declare class UpdatePromptCommand extends $Command<UpdatePromptCommandInput, UpdatePromptCommandOutput, ConnectClientResolvedConfig> {
71
+ readonly input: UpdatePromptCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: UpdatePromptCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePromptCommandInput, UpdatePromptCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -18,6 +18,7 @@ export * from "./CreateHoursOfOperationCommand";
18
18
  export * from "./CreateInstanceCommand";
19
19
  export * from "./CreateIntegrationAssociationCommand";
20
20
  export * from "./CreateParticipantCommand";
21
+ export * from "./CreatePromptCommand";
21
22
  export * from "./CreateQueueCommand";
22
23
  export * from "./CreateQuickConnectCommand";
23
24
  export * from "./CreateRoutingProfileCommand";
@@ -37,6 +38,7 @@ export * from "./DeleteEvaluationFormCommand";
37
38
  export * from "./DeleteHoursOfOperationCommand";
38
39
  export * from "./DeleteInstanceCommand";
39
40
  export * from "./DeleteIntegrationAssociationCommand";
41
+ export * from "./DeletePromptCommand";
40
42
  export * from "./DeleteQuickConnectCommand";
41
43
  export * from "./DeleteRuleCommand";
42
44
  export * from "./DeleteSecurityProfileCommand";
@@ -57,6 +59,7 @@ export * from "./DescribeInstanceAttributeCommand";
57
59
  export * from "./DescribeInstanceCommand";
58
60
  export * from "./DescribeInstanceStorageConfigCommand";
59
61
  export * from "./DescribePhoneNumberCommand";
62
+ export * from "./DescribePromptCommand";
60
63
  export * from "./DescribeQueueCommand";
61
64
  export * from "./DescribeQuickConnectCommand";
62
65
  export * from "./DescribeRoutingProfileCommand";
@@ -83,6 +86,7 @@ export * from "./GetCurrentUserDataCommand";
83
86
  export * from "./GetFederationTokenCommand";
84
87
  export * from "./GetMetricDataCommand";
85
88
  export * from "./GetMetricDataV2Command";
89
+ export * from "./GetPromptFileCommand";
86
90
  export * from "./GetTaskTemplateCommand";
87
91
  export * from "./GetTrafficDistributionCommand";
88
92
  export * from "./ListAgentStatusesCommand";
@@ -161,6 +165,7 @@ export * from "./UpdateInstanceAttributeCommand";
161
165
  export * from "./UpdateInstanceStorageConfigCommand";
162
166
  export * from "./UpdateParticipantRoleConfigCommand";
163
167
  export * from "./UpdatePhoneNumberCommand";
168
+ export * from "./UpdatePromptCommand";
164
169
  export * from "./UpdateQueueHoursOfOperationCommand";
165
170
  export * from "./UpdateQueueMaxContactsCommand";
166
171
  export * from "./UpdateQueueNameCommand";
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  region?: string | Provider<string>;
4
5
  useDualstackEndpoint?: boolean | Provider<boolean>;