@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
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { ActivateEvaluationFormCommandInput, ActivateEvaluationFormCommandOutput } from "../commands/ActivateEvaluationFormCommand";
4
4
  import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "../commands/AssociateApprovedOriginCommand";
5
5
  import { AssociateBotCommandInput, AssociateBotCommandOutput } from "../commands/AssociateBotCommand";
@@ -20,6 +20,7 @@ import { CreateHoursOfOperationCommandInput, CreateHoursOfOperationCommandOutput
20
20
  import { CreateInstanceCommandInput, CreateInstanceCommandOutput } from "../commands/CreateInstanceCommand";
21
21
  import { CreateIntegrationAssociationCommandInput, CreateIntegrationAssociationCommandOutput } from "../commands/CreateIntegrationAssociationCommand";
22
22
  import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from "../commands/CreateParticipantCommand";
23
+ import { CreatePromptCommandInput, CreatePromptCommandOutput } from "../commands/CreatePromptCommand";
23
24
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "../commands/CreateQueueCommand";
24
25
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "../commands/CreateQuickConnectCommand";
25
26
  import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "../commands/CreateRoutingProfileCommand";
@@ -39,6 +40,7 @@ import { DeleteEvaluationFormCommandInput, DeleteEvaluationFormCommandOutput } f
39
40
  import { DeleteHoursOfOperationCommandInput, DeleteHoursOfOperationCommandOutput } from "../commands/DeleteHoursOfOperationCommand";
40
41
  import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "../commands/DeleteInstanceCommand";
41
42
  import { DeleteIntegrationAssociationCommandInput, DeleteIntegrationAssociationCommandOutput } from "../commands/DeleteIntegrationAssociationCommand";
43
+ import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
42
44
  import { DeleteQuickConnectCommandInput, DeleteQuickConnectCommandOutput } from "../commands/DeleteQuickConnectCommand";
43
45
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "../commands/DeleteRuleCommand";
44
46
  import { DeleteSecurityProfileCommandInput, DeleteSecurityProfileCommandOutput } from "../commands/DeleteSecurityProfileCommand";
@@ -59,6 +61,7 @@ import { DescribeInstanceAttributeCommandInput, DescribeInstanceAttributeCommand
59
61
  import { DescribeInstanceCommandInput, DescribeInstanceCommandOutput } from "../commands/DescribeInstanceCommand";
60
62
  import { DescribeInstanceStorageConfigCommandInput, DescribeInstanceStorageConfigCommandOutput } from "../commands/DescribeInstanceStorageConfigCommand";
61
63
  import { DescribePhoneNumberCommandInput, DescribePhoneNumberCommandOutput } from "../commands/DescribePhoneNumberCommand";
64
+ import { DescribePromptCommandInput, DescribePromptCommandOutput } from "../commands/DescribePromptCommand";
62
65
  import { DescribeQueueCommandInput, DescribeQueueCommandOutput } from "../commands/DescribeQueueCommand";
63
66
  import { DescribeQuickConnectCommandInput, DescribeQuickConnectCommandOutput } from "../commands/DescribeQuickConnectCommand";
64
67
  import { DescribeRoutingProfileCommandInput, DescribeRoutingProfileCommandOutput } from "../commands/DescribeRoutingProfileCommand";
@@ -85,6 +88,7 @@ import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from
85
88
  import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
86
89
  import { GetMetricDataCommandInput, GetMetricDataCommandOutput } from "../commands/GetMetricDataCommand";
87
90
  import { GetMetricDataV2CommandInput, GetMetricDataV2CommandOutput } from "../commands/GetMetricDataV2Command";
91
+ import { GetPromptFileCommandInput, GetPromptFileCommandOutput } from "../commands/GetPromptFileCommand";
88
92
  import { GetTaskTemplateCommandInput, GetTaskTemplateCommandOutput } from "../commands/GetTaskTemplateCommand";
89
93
  import { GetTrafficDistributionCommandInput, GetTrafficDistributionCommandOutput } from "../commands/GetTrafficDistributionCommand";
90
94
  import { ListAgentStatusesCommandInput, ListAgentStatusesCommandOutput } from "../commands/ListAgentStatusesCommand";
@@ -163,6 +167,7 @@ import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutp
163
167
  import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "../commands/UpdateInstanceStorageConfigCommand";
164
168
  import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "../commands/UpdateParticipantRoleConfigCommand";
165
169
  import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "../commands/UpdatePhoneNumberCommand";
170
+ import { UpdatePromptCommandInput, UpdatePromptCommandOutput } from "../commands/UpdatePromptCommand";
166
171
  import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "../commands/UpdateQueueHoursOfOperationCommand";
167
172
  import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "../commands/UpdateQueueMaxContactsCommand";
168
173
  import { UpdateQueueNameCommandInput, UpdateQueueNameCommandOutput } from "../commands/UpdateQueueNameCommand";
@@ -265,6 +270,10 @@ export declare const se_CreateIntegrationAssociationCommand: (input: CreateInteg
265
270
  * serializeAws_restJson1CreateParticipantCommand
266
271
  */
267
272
  export declare const se_CreateParticipantCommand: (input: CreateParticipantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
273
+ /**
274
+ * serializeAws_restJson1CreatePromptCommand
275
+ */
276
+ export declare const se_CreatePromptCommand: (input: CreatePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
268
277
  /**
269
278
  * serializeAws_restJson1CreateQueueCommand
270
279
  */
@@ -341,6 +350,10 @@ export declare const se_DeleteInstanceCommand: (input: DeleteInstanceCommandInpu
341
350
  * serializeAws_restJson1DeleteIntegrationAssociationCommand
342
351
  */
343
352
  export declare const se_DeleteIntegrationAssociationCommand: (input: DeleteIntegrationAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
353
+ /**
354
+ * serializeAws_restJson1DeletePromptCommand
355
+ */
356
+ export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
344
357
  /**
345
358
  * serializeAws_restJson1DeleteQuickConnectCommand
346
359
  */
@@ -421,6 +434,10 @@ export declare const se_DescribeInstanceStorageConfigCommand: (input: DescribeIn
421
434
  * serializeAws_restJson1DescribePhoneNumberCommand
422
435
  */
423
436
  export declare const se_DescribePhoneNumberCommand: (input: DescribePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
437
+ /**
438
+ * serializeAws_restJson1DescribePromptCommand
439
+ */
440
+ export declare const se_DescribePromptCommand: (input: DescribePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
424
441
  /**
425
442
  * serializeAws_restJson1DescribeQueueCommand
426
443
  */
@@ -525,6 +542,10 @@ export declare const se_GetMetricDataCommand: (input: GetMetricDataCommandInput,
525
542
  * serializeAws_restJson1GetMetricDataV2Command
526
543
  */
527
544
  export declare const se_GetMetricDataV2Command: (input: GetMetricDataV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
545
+ /**
546
+ * serializeAws_restJson1GetPromptFileCommand
547
+ */
548
+ export declare const se_GetPromptFileCommand: (input: GetPromptFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
528
549
  /**
529
550
  * serializeAws_restJson1GetTaskTemplateCommand
530
551
  */
@@ -837,6 +858,10 @@ export declare const se_UpdateParticipantRoleConfigCommand: (input: UpdatePartic
837
858
  * serializeAws_restJson1UpdatePhoneNumberCommand
838
859
  */
839
860
  export declare const se_UpdatePhoneNumberCommand: (input: UpdatePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
861
+ /**
862
+ * serializeAws_restJson1UpdatePromptCommand
863
+ */
864
+ export declare const se_UpdatePromptCommand: (input: UpdatePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
840
865
  /**
841
866
  * serializeAws_restJson1UpdateQueueHoursOfOperationCommand
842
867
  */
@@ -1005,6 +1030,10 @@ export declare const de_CreateIntegrationAssociationCommand: (output: __HttpResp
1005
1030
  * deserializeAws_restJson1CreateParticipantCommand
1006
1031
  */
1007
1032
  export declare const de_CreateParticipantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateParticipantCommandOutput>;
1033
+ /**
1034
+ * deserializeAws_restJson1CreatePromptCommand
1035
+ */
1036
+ export declare const de_CreatePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePromptCommandOutput>;
1008
1037
  /**
1009
1038
  * deserializeAws_restJson1CreateQueueCommand
1010
1039
  */
@@ -1081,6 +1110,10 @@ export declare const de_DeleteInstanceCommand: (output: __HttpResponse, context:
1081
1110
  * deserializeAws_restJson1DeleteIntegrationAssociationCommand
1082
1111
  */
1083
1112
  export declare const de_DeleteIntegrationAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteIntegrationAssociationCommandOutput>;
1113
+ /**
1114
+ * deserializeAws_restJson1DeletePromptCommand
1115
+ */
1116
+ export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
1084
1117
  /**
1085
1118
  * deserializeAws_restJson1DeleteQuickConnectCommand
1086
1119
  */
@@ -1161,6 +1194,10 @@ export declare const de_DescribeInstanceStorageConfigCommand: (output: __HttpRes
1161
1194
  * deserializeAws_restJson1DescribePhoneNumberCommand
1162
1195
  */
1163
1196
  export declare const de_DescribePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePhoneNumberCommandOutput>;
1197
+ /**
1198
+ * deserializeAws_restJson1DescribePromptCommand
1199
+ */
1200
+ export declare const de_DescribePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribePromptCommandOutput>;
1164
1201
  /**
1165
1202
  * deserializeAws_restJson1DescribeQueueCommand
1166
1203
  */
@@ -1265,6 +1302,10 @@ export declare const de_GetMetricDataCommand: (output: __HttpResponse, context:
1265
1302
  * deserializeAws_restJson1GetMetricDataV2Command
1266
1303
  */
1267
1304
  export declare const de_GetMetricDataV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMetricDataV2CommandOutput>;
1305
+ /**
1306
+ * deserializeAws_restJson1GetPromptFileCommand
1307
+ */
1308
+ export declare const de_GetPromptFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPromptFileCommandOutput>;
1268
1309
  /**
1269
1310
  * deserializeAws_restJson1GetTaskTemplateCommand
1270
1311
  */
@@ -1577,6 +1618,10 @@ export declare const de_UpdateParticipantRoleConfigCommand: (output: __HttpRespo
1577
1618
  * deserializeAws_restJson1UpdatePhoneNumberCommand
1578
1619
  */
1579
1620
  export declare const de_UpdatePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePhoneNumberCommandOutput>;
1621
+ /**
1622
+ * deserializeAws_restJson1UpdatePromptCommand
1623
+ */
1624
+ export declare const de_UpdatePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePromptCommandOutput>;
1580
1625
  /**
1581
1626
  * deserializeAws_restJson1UpdateQueueHoursOfOperationCommand
1582
1627
  */
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
13
13
  region: string | import("@aws-sdk/types").Provider<any>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
13
  region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -5,27 +5,27 @@ import { ConnectClientConfig } from "./ConnectClient";
5
5
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
11
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
21
  region: string | import("@aws-sdk/types").Provider<any>;
22
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
22
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  logger: import("@aws-sdk/types").Logger;
27
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
@@ -4,8 +4,8 @@ import { ConnectClientConfig } from "./ConnectClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
6
6
  apiVersion: string;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
@@ -79,6 +79,10 @@ import {
79
79
  CreateParticipantCommandInput,
80
80
  CreateParticipantCommandOutput,
81
81
  } from "./commands/CreateParticipantCommand";
82
+ import {
83
+ CreatePromptCommandInput,
84
+ CreatePromptCommandOutput,
85
+ } from "./commands/CreatePromptCommand";
82
86
  import {
83
87
  CreateQueueCommandInput,
84
88
  CreateQueueCommandOutput,
@@ -155,6 +159,10 @@ import {
155
159
  DeleteIntegrationAssociationCommandInput,
156
160
  DeleteIntegrationAssociationCommandOutput,
157
161
  } from "./commands/DeleteIntegrationAssociationCommand";
162
+ import {
163
+ DeletePromptCommandInput,
164
+ DeletePromptCommandOutput,
165
+ } from "./commands/DeletePromptCommand";
158
166
  import {
159
167
  DeleteQuickConnectCommandInput,
160
168
  DeleteQuickConnectCommandOutput,
@@ -235,6 +243,10 @@ import {
235
243
  DescribePhoneNumberCommandInput,
236
244
  DescribePhoneNumberCommandOutput,
237
245
  } from "./commands/DescribePhoneNumberCommand";
246
+ import {
247
+ DescribePromptCommandInput,
248
+ DescribePromptCommandOutput,
249
+ } from "./commands/DescribePromptCommand";
238
250
  import {
239
251
  DescribeQueueCommandInput,
240
252
  DescribeQueueCommandOutput,
@@ -339,6 +351,10 @@ import {
339
351
  GetMetricDataV2CommandInput,
340
352
  GetMetricDataV2CommandOutput,
341
353
  } from "./commands/GetMetricDataV2Command";
354
+ import {
355
+ GetPromptFileCommandInput,
356
+ GetPromptFileCommandOutput,
357
+ } from "./commands/GetPromptFileCommand";
342
358
  import {
343
359
  GetTaskTemplateCommandInput,
344
360
  GetTaskTemplateCommandOutput,
@@ -651,6 +667,10 @@ import {
651
667
  UpdatePhoneNumberCommandInput,
652
668
  UpdatePhoneNumberCommandOutput,
653
669
  } from "./commands/UpdatePhoneNumberCommand";
670
+ import {
671
+ UpdatePromptCommandInput,
672
+ UpdatePromptCommandOutput,
673
+ } from "./commands/UpdatePromptCommand";
654
674
  import {
655
675
  UpdateQueueHoursOfOperationCommandInput,
656
676
  UpdateQueueHoursOfOperationCommandOutput,
@@ -1001,6 +1021,19 @@ export interface Connect {
1001
1021
  options: __HttpHandlerOptions,
1002
1022
  cb: (err: any, data?: CreateParticipantCommandOutput) => void
1003
1023
  ): void;
1024
+ createPrompt(
1025
+ args: CreatePromptCommandInput,
1026
+ options?: __HttpHandlerOptions
1027
+ ): Promise<CreatePromptCommandOutput>;
1028
+ createPrompt(
1029
+ args: CreatePromptCommandInput,
1030
+ cb: (err: any, data?: CreatePromptCommandOutput) => void
1031
+ ): void;
1032
+ createPrompt(
1033
+ args: CreatePromptCommandInput,
1034
+ options: __HttpHandlerOptions,
1035
+ cb: (err: any, data?: CreatePromptCommandOutput) => void
1036
+ ): void;
1004
1037
  createQueue(
1005
1038
  args: CreateQueueCommandInput,
1006
1039
  options?: __HttpHandlerOptions
@@ -1248,6 +1281,19 @@ export interface Connect {
1248
1281
  options: __HttpHandlerOptions,
1249
1282
  cb: (err: any, data?: DeleteIntegrationAssociationCommandOutput) => void
1250
1283
  ): void;
1284
+ deletePrompt(
1285
+ args: DeletePromptCommandInput,
1286
+ options?: __HttpHandlerOptions
1287
+ ): Promise<DeletePromptCommandOutput>;
1288
+ deletePrompt(
1289
+ args: DeletePromptCommandInput,
1290
+ cb: (err: any, data?: DeletePromptCommandOutput) => void
1291
+ ): void;
1292
+ deletePrompt(
1293
+ args: DeletePromptCommandInput,
1294
+ options: __HttpHandlerOptions,
1295
+ cb: (err: any, data?: DeletePromptCommandOutput) => void
1296
+ ): void;
1251
1297
  deleteQuickConnect(
1252
1298
  args: DeleteQuickConnectCommandInput,
1253
1299
  options?: __HttpHandlerOptions
@@ -1508,6 +1554,19 @@ export interface Connect {
1508
1554
  options: __HttpHandlerOptions,
1509
1555
  cb: (err: any, data?: DescribePhoneNumberCommandOutput) => void
1510
1556
  ): void;
1557
+ describePrompt(
1558
+ args: DescribePromptCommandInput,
1559
+ options?: __HttpHandlerOptions
1560
+ ): Promise<DescribePromptCommandOutput>;
1561
+ describePrompt(
1562
+ args: DescribePromptCommandInput,
1563
+ cb: (err: any, data?: DescribePromptCommandOutput) => void
1564
+ ): void;
1565
+ describePrompt(
1566
+ args: DescribePromptCommandInput,
1567
+ options: __HttpHandlerOptions,
1568
+ cb: (err: any, data?: DescribePromptCommandOutput) => void
1569
+ ): void;
1511
1570
  describeQueue(
1512
1571
  args: DescribeQueueCommandInput,
1513
1572
  options?: __HttpHandlerOptions
@@ -1858,6 +1917,19 @@ export interface Connect {
1858
1917
  options: __HttpHandlerOptions,
1859
1918
  cb: (err: any, data?: GetMetricDataV2CommandOutput) => void
1860
1919
  ): void;
1920
+ getPromptFile(
1921
+ args: GetPromptFileCommandInput,
1922
+ options?: __HttpHandlerOptions
1923
+ ): Promise<GetPromptFileCommandOutput>;
1924
+ getPromptFile(
1925
+ args: GetPromptFileCommandInput,
1926
+ cb: (err: any, data?: GetPromptFileCommandOutput) => void
1927
+ ): void;
1928
+ getPromptFile(
1929
+ args: GetPromptFileCommandInput,
1930
+ options: __HttpHandlerOptions,
1931
+ cb: (err: any, data?: GetPromptFileCommandOutput) => void
1932
+ ): void;
1861
1933
  getTaskTemplate(
1862
1934
  args: GetTaskTemplateCommandInput,
1863
1935
  options?: __HttpHandlerOptions
@@ -2872,6 +2944,19 @@ export interface Connect {
2872
2944
  options: __HttpHandlerOptions,
2873
2945
  cb: (err: any, data?: UpdatePhoneNumberCommandOutput) => void
2874
2946
  ): void;
2947
+ updatePrompt(
2948
+ args: UpdatePromptCommandInput,
2949
+ options?: __HttpHandlerOptions
2950
+ ): Promise<UpdatePromptCommandOutput>;
2951
+ updatePrompt(
2952
+ args: UpdatePromptCommandInput,
2953
+ cb: (err: any, data?: UpdatePromptCommandOutput) => void
2954
+ ): void;
2955
+ updatePrompt(
2956
+ args: UpdatePromptCommandInput,
2957
+ options: __HttpHandlerOptions,
2958
+ cb: (err: any, data?: UpdatePromptCommandOutput) => void
2959
+ ): void;
2875
2960
  updateQueueHoursOfOperation(
2876
2961
  args: UpdateQueueHoursOfOperationCommandInput,
2877
2962
  options?: __HttpHandlerOptions
@@ -22,7 +22,6 @@ import {
22
22
  UserAgentInputConfig,
23
23
  UserAgentResolvedConfig,
24
24
  } from "@aws-sdk/middleware-user-agent";
25
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
25
  import {
27
26
  Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
@@ -33,17 +32,20 @@ import {
33
32
  BodyLengthCalculator as __BodyLengthCalculator,
34
33
  ChecksumConstructor as __ChecksumConstructor,
35
34
  Credentials as __Credentials,
36
- Decoder as __Decoder,
37
- Encoder as __Encoder,
38
35
  HashConstructor as __HashConstructor,
39
36
  HttpHandlerOptions as __HttpHandlerOptions,
40
37
  Logger as __Logger,
41
- Provider as __Provider,
42
38
  Provider,
43
- StreamCollector as __StreamCollector,
44
39
  UrlParser as __UrlParser,
45
40
  UserAgent as __UserAgent,
46
41
  } from "@aws-sdk/types";
42
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
+ import {
44
+ Decoder as __Decoder,
45
+ Encoder as __Encoder,
46
+ Provider as __Provider,
47
+ StreamCollector as __StreamCollector,
48
+ } from "@smithy/types";
47
49
  import {
48
50
  ActivateEvaluationFormCommandInput,
49
51
  ActivateEvaluationFormCommandOutput,
@@ -124,6 +126,10 @@ import {
124
126
  CreateParticipantCommandInput,
125
127
  CreateParticipantCommandOutput,
126
128
  } from "./commands/CreateParticipantCommand";
129
+ import {
130
+ CreatePromptCommandInput,
131
+ CreatePromptCommandOutput,
132
+ } from "./commands/CreatePromptCommand";
127
133
  import {
128
134
  CreateQueueCommandInput,
129
135
  CreateQueueCommandOutput,
@@ -200,6 +206,10 @@ import {
200
206
  DeleteIntegrationAssociationCommandInput,
201
207
  DeleteIntegrationAssociationCommandOutput,
202
208
  } from "./commands/DeleteIntegrationAssociationCommand";
209
+ import {
210
+ DeletePromptCommandInput,
211
+ DeletePromptCommandOutput,
212
+ } from "./commands/DeletePromptCommand";
203
213
  import {
204
214
  DeleteQuickConnectCommandInput,
205
215
  DeleteQuickConnectCommandOutput,
@@ -280,6 +290,10 @@ import {
280
290
  DescribePhoneNumberCommandInput,
281
291
  DescribePhoneNumberCommandOutput,
282
292
  } from "./commands/DescribePhoneNumberCommand";
293
+ import {
294
+ DescribePromptCommandInput,
295
+ DescribePromptCommandOutput,
296
+ } from "./commands/DescribePromptCommand";
283
297
  import {
284
298
  DescribeQueueCommandInput,
285
299
  DescribeQueueCommandOutput,
@@ -384,6 +398,10 @@ import {
384
398
  GetMetricDataV2CommandInput,
385
399
  GetMetricDataV2CommandOutput,
386
400
  } from "./commands/GetMetricDataV2Command";
401
+ import {
402
+ GetPromptFileCommandInput,
403
+ GetPromptFileCommandOutput,
404
+ } from "./commands/GetPromptFileCommand";
387
405
  import {
388
406
  GetTaskTemplateCommandInput,
389
407
  GetTaskTemplateCommandOutput,
@@ -696,6 +714,10 @@ import {
696
714
  UpdatePhoneNumberCommandInput,
697
715
  UpdatePhoneNumberCommandOutput,
698
716
  } from "./commands/UpdatePhoneNumberCommand";
717
+ import {
718
+ UpdatePromptCommandInput,
719
+ UpdatePromptCommandOutput,
720
+ } from "./commands/UpdatePromptCommand";
699
721
  import {
700
722
  UpdateQueueHoursOfOperationCommandInput,
701
723
  UpdateQueueHoursOfOperationCommandOutput,
@@ -810,6 +832,7 @@ export type ServiceInputTypes =
810
832
  | CreateInstanceCommandInput
811
833
  | CreateIntegrationAssociationCommandInput
812
834
  | CreateParticipantCommandInput
835
+ | CreatePromptCommandInput
813
836
  | CreateQueueCommandInput
814
837
  | CreateQuickConnectCommandInput
815
838
  | CreateRoutingProfileCommandInput
@@ -829,6 +852,7 @@ export type ServiceInputTypes =
829
852
  | DeleteHoursOfOperationCommandInput
830
853
  | DeleteInstanceCommandInput
831
854
  | DeleteIntegrationAssociationCommandInput
855
+ | DeletePromptCommandInput
832
856
  | DeleteQuickConnectCommandInput
833
857
  | DeleteRuleCommandInput
834
858
  | DeleteSecurityProfileCommandInput
@@ -849,6 +873,7 @@ export type ServiceInputTypes =
849
873
  | DescribeInstanceCommandInput
850
874
  | DescribeInstanceStorageConfigCommandInput
851
875
  | DescribePhoneNumberCommandInput
876
+ | DescribePromptCommandInput
852
877
  | DescribeQueueCommandInput
853
878
  | DescribeQuickConnectCommandInput
854
879
  | DescribeRoutingProfileCommandInput
@@ -875,6 +900,7 @@ export type ServiceInputTypes =
875
900
  | GetFederationTokenCommandInput
876
901
  | GetMetricDataCommandInput
877
902
  | GetMetricDataV2CommandInput
903
+ | GetPromptFileCommandInput
878
904
  | GetTaskTemplateCommandInput
879
905
  | GetTrafficDistributionCommandInput
880
906
  | ListAgentStatusesCommandInput
@@ -953,6 +979,7 @@ export type ServiceInputTypes =
953
979
  | UpdateInstanceStorageConfigCommandInput
954
980
  | UpdateParticipantRoleConfigCommandInput
955
981
  | UpdatePhoneNumberCommandInput
982
+ | UpdatePromptCommandInput
956
983
  | UpdateQueueHoursOfOperationCommandInput
957
984
  | UpdateQueueMaxContactsCommandInput
958
985
  | UpdateQueueNameCommandInput
@@ -996,6 +1023,7 @@ export type ServiceOutputTypes =
996
1023
  | CreateInstanceCommandOutput
997
1024
  | CreateIntegrationAssociationCommandOutput
998
1025
  | CreateParticipantCommandOutput
1026
+ | CreatePromptCommandOutput
999
1027
  | CreateQueueCommandOutput
1000
1028
  | CreateQuickConnectCommandOutput
1001
1029
  | CreateRoutingProfileCommandOutput
@@ -1015,6 +1043,7 @@ export type ServiceOutputTypes =
1015
1043
  | DeleteHoursOfOperationCommandOutput
1016
1044
  | DeleteInstanceCommandOutput
1017
1045
  | DeleteIntegrationAssociationCommandOutput
1046
+ | DeletePromptCommandOutput
1018
1047
  | DeleteQuickConnectCommandOutput
1019
1048
  | DeleteRuleCommandOutput
1020
1049
  | DeleteSecurityProfileCommandOutput
@@ -1035,6 +1064,7 @@ export type ServiceOutputTypes =
1035
1064
  | DescribeInstanceCommandOutput
1036
1065
  | DescribeInstanceStorageConfigCommandOutput
1037
1066
  | DescribePhoneNumberCommandOutput
1067
+ | DescribePromptCommandOutput
1038
1068
  | DescribeQueueCommandOutput
1039
1069
  | DescribeQuickConnectCommandOutput
1040
1070
  | DescribeRoutingProfileCommandOutput
@@ -1061,6 +1091,7 @@ export type ServiceOutputTypes =
1061
1091
  | GetFederationTokenCommandOutput
1062
1092
  | GetMetricDataCommandOutput
1063
1093
  | GetMetricDataV2CommandOutput
1094
+ | GetPromptFileCommandOutput
1064
1095
  | GetTaskTemplateCommandOutput
1065
1096
  | GetTrafficDistributionCommandOutput
1066
1097
  | ListAgentStatusesCommandOutput
@@ -1139,6 +1170,7 @@ export type ServiceOutputTypes =
1139
1170
  | UpdateInstanceStorageConfigCommandOutput
1140
1171
  | UpdateParticipantRoleConfigCommandOutput
1141
1172
  | UpdatePhoneNumberCommandOutput
1173
+ | UpdatePromptCommandOutput
1142
1174
  | UpdateQueueHoursOfOperationCommandOutput
1143
1175
  | UpdateQueueMaxContactsCommandOutput
1144
1176
  | UpdateQueueNameCommandOutput
@@ -0,0 +1,34 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ConnectClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ConnectClient";
14
+ import { CreatePromptRequest, CreatePromptResponse } from "../models/models_0";
15
+ export interface CreatePromptCommandInput extends CreatePromptRequest {}
16
+ export interface CreatePromptCommandOutput
17
+ extends CreatePromptResponse,
18
+ __MetadataBearer {}
19
+ export declare class CreatePromptCommand extends $Command<
20
+ CreatePromptCommandInput,
21
+ CreatePromptCommandOutput,
22
+ ConnectClientResolvedConfig
23
+ > {
24
+ readonly input: CreatePromptCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: CreatePromptCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: ConnectClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<CreatePromptCommandInput, CreatePromptCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }