@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
@@ -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
+ }
@@ -0,0 +1,32 @@
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 { DeletePromptRequest } from "../models/models_0";
15
+ export interface DeletePromptCommandInput extends DeletePromptRequest {}
16
+ export interface DeletePromptCommandOutput extends __MetadataBearer {}
17
+ export declare class DeletePromptCommand extends $Command<
18
+ DeletePromptCommandInput,
19
+ DeletePromptCommandOutput,
20
+ ConnectClientResolvedConfig
21
+ > {
22
+ readonly input: DeletePromptCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
+ constructor(input: DeletePromptCommandInput);
25
+ resolveMiddleware(
26
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
+ configuration: ConnectClientResolvedConfig,
28
+ options?: __HttpHandlerOptions
29
+ ): Handler<DeletePromptCommandInput, DeletePromptCommandOutput>;
30
+ private serialize;
31
+ private deserialize;
32
+ }
@@ -0,0 +1,37 @@
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 {
15
+ DescribePromptRequest,
16
+ DescribePromptResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribePromptCommandInput extends DescribePromptRequest {}
19
+ export interface DescribePromptCommandOutput
20
+ extends DescribePromptResponse,
21
+ __MetadataBearer {}
22
+ export declare class DescribePromptCommand extends $Command<
23
+ DescribePromptCommandInput,
24
+ DescribePromptCommandOutput,
25
+ ConnectClientResolvedConfig
26
+ > {
27
+ readonly input: DescribePromptCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: DescribePromptCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ConnectClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<DescribePromptCommandInput, DescribePromptCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import {
15
- GetCurrentMetricDataRequest,
16
- GetCurrentMetricDataResponse,
17
- } from "../models/models_0";
14
+ import { GetCurrentMetricDataRequest } from "../models/models_0";
15
+ import { GetCurrentMetricDataResponse } from "../models/models_1";
18
16
  export interface GetCurrentMetricDataCommandInput
19
17
  extends GetCurrentMetricDataRequest {}
20
18
  export interface GetCurrentMetricDataCommandOutput
@@ -0,0 +1,37 @@
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 {
15
+ GetPromptFileRequest,
16
+ GetPromptFileResponse,
17
+ } from "../models/models_1";
18
+ export interface GetPromptFileCommandInput extends GetPromptFileRequest {}
19
+ export interface GetPromptFileCommandOutput
20
+ extends GetPromptFileResponse,
21
+ __MetadataBearer {}
22
+ export declare class GetPromptFileCommand extends $Command<
23
+ GetPromptFileCommandInput,
24
+ GetPromptFileCommandOutput,
25
+ ConnectClientResolvedConfig
26
+ > {
27
+ readonly input: GetPromptFileCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: GetPromptFileCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: ConnectClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<GetPromptFileCommandInput, GetPromptFileCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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 { UpdatePromptRequest, UpdatePromptResponse } from "../models/models_1";
15
+ export interface UpdatePromptCommandInput extends UpdatePromptRequest {}
16
+ export interface UpdatePromptCommandOutput
17
+ extends UpdatePromptResponse,
18
+ __MetadataBearer {}
19
+ export declare class UpdatePromptCommand extends $Command<
20
+ UpdatePromptCommandInput,
21
+ UpdatePromptCommandOutput,
22
+ ConnectClientResolvedConfig
23
+ > {
24
+ readonly input: UpdatePromptCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: UpdatePromptCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: ConnectClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<UpdatePromptCommandInput, UpdatePromptCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -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,9 +1,8 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
3
  EndpointV2,
5
- Provider,
6
4
  } from "@aws-sdk/types";
5
+ import { Endpoint, Provider } from "@smithy/types";
7
6
  export interface ClientInputEndpointParameters {
8
7
  region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;