@aws-sdk/client-connect 3.699.0 → 3.703.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 (73) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/index.js +123 -49
  3. package/dist-es/commands/CreateContactCommand.js +1 -1
  4. package/dist-es/commands/StartEmailContactCommand.js +1 -1
  5. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  6. package/dist-es/commands/UpdateContactCommand.js +1 -1
  7. package/dist-es/models/models_0.js +6 -5
  8. package/dist-es/models/models_1.js +5 -0
  9. package/dist-es/models/models_2.js +13 -27
  10. package/dist-es/models/models_3.js +23 -0
  11. package/dist-es/protocols/Aws_restJson1.js +64 -8
  12. package/dist-types/Connect.d.ts +1 -1
  13. package/dist-types/ConnectClient.d.ts +1 -1
  14. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  15. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateContactCommand.d.ts +13 -2
  17. package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
  18. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
  24. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -1
  28. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  29. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  30. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
  31. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
  32. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  33. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  34. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
  35. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
  36. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
  37. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
  38. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  39. package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
  40. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
  41. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  42. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
  43. package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
  44. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
  45. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
  46. package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
  47. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
  48. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  50. package/dist-types/commands/UpdateContactCommand.d.ts +33 -1
  51. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
  55. package/dist-types/index.d.ts +1 -1
  56. package/dist-types/models/models_0.d.ts +87 -119
  57. package/dist-types/models/models_1.d.ts +238 -89
  58. package/dist-types/models/models_2.d.ts +442 -699
  59. package/dist-types/models/models_3.d.ts +598 -127
  60. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  64. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  68. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/models/models_0.d.ts +11 -21
  70. package/dist-types/ts3.4/models/models_1.d.ts +18 -6
  71. package/dist-types/ts3.4/models/models_2.d.ts +63 -96
  72. package/dist-types/ts3.4/models/models_3.d.ts +99 -27
  73. package/package.json +1 -1
@@ -373,7 +373,7 @@ export const se_CreateContactCommand = async (input, context) => {
373
373
  Name: [],
374
374
  References: (_) => _json(_),
375
375
  RelatedContactId: [],
376
- SegmentAttributes: (_) => _json(_),
376
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
377
377
  UserInfo: (_) => _json(_),
378
378
  }));
379
379
  b.m("PUT").h(headers).b(body);
@@ -2462,6 +2462,7 @@ export const se_ResumeContactRecordingCommand = async (input, context) => {
2462
2462
  let body;
2463
2463
  body = JSON.stringify(take(input, {
2464
2464
  ContactId: [],
2465
+ ContactRecordingType: [],
2465
2466
  InitialContactId: [],
2466
2467
  InstanceId: [],
2467
2468
  }));
@@ -2837,7 +2838,7 @@ export const se_StartChatContactCommand = async (input, context) => {
2837
2838
  ParticipantDetails: (_) => _json(_),
2838
2839
  PersistentChat: (_) => _json(_),
2839
2840
  RelatedContactId: [],
2840
- SegmentAttributes: (_) => _json(_),
2841
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
2841
2842
  SupportedMessagingContentTypes: (_) => _json(_),
2842
2843
  }));
2843
2844
  b.m("PUT").h(headers).b(body);
@@ -2912,7 +2913,7 @@ export const se_StartEmailContactCommand = async (input, context) => {
2912
2913
  Name: [],
2913
2914
  References: (_) => _json(_),
2914
2915
  RelatedContactId: [],
2915
- SegmentAttributes: (_) => _json(_),
2916
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
2916
2917
  }));
2917
2918
  b.m("PUT").h(headers).b(body);
2918
2919
  return b.build();
@@ -2934,7 +2935,7 @@ export const se_StartOutboundChatContactCommand = async (input, context) => {
2934
2935
  InstanceId: [],
2935
2936
  ParticipantDetails: (_) => _json(_),
2936
2937
  RelatedContactId: [],
2937
- SegmentAttributes: (_) => _json(_),
2938
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
2938
2939
  SourceEndpoint: (_) => _json(_),
2939
2940
  SupportedMessagingContentTypes: (_) => _json(_),
2940
2941
  }));
@@ -3020,7 +3021,7 @@ export const se_StartTaskContactCommand = async (input, context) => {
3020
3021
  References: (_) => _json(_),
3021
3022
  RelatedContactId: [],
3022
3023
  ScheduledTime: (_) => _.getTime() / 1000,
3023
- SegmentAttributes: (_) => _json(_),
3024
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
3024
3025
  TaskTemplateId: [],
3025
3026
  }));
3026
3027
  b.m("PUT").h(headers).b(body);
@@ -3071,6 +3072,7 @@ export const se_StopContactRecordingCommand = async (input, context) => {
3071
3072
  let body;
3072
3073
  body = JSON.stringify(take(input, {
3073
3074
  ContactId: [],
3075
+ ContactRecordingType: [],
3074
3076
  InitialContactId: [],
3075
3077
  InstanceId: [],
3076
3078
  }));
@@ -3117,6 +3119,7 @@ export const se_SuspendContactRecordingCommand = async (input, context) => {
3117
3119
  let body;
3118
3120
  body = JSON.stringify(take(input, {
3119
3121
  ContactId: [],
3122
+ ContactRecordingType: [],
3120
3123
  InitialContactId: [],
3121
3124
  InstanceId: [],
3122
3125
  }));
@@ -3243,10 +3246,14 @@ export const se_UpdateContactCommand = async (input, context) => {
3243
3246
  b.p("ContactId", () => input.ContactId, "{ContactId}", false);
3244
3247
  let body;
3245
3248
  body = JSON.stringify(take(input, {
3249
+ CustomerEndpoint: (_) => _json(_),
3246
3250
  Description: [],
3247
3251
  Name: [],
3252
+ QueueInfo: (_) => _json(_),
3248
3253
  References: (_) => _json(_),
3249
- SegmentAttributes: (_) => _json(_),
3254
+ SegmentAttributes: (_) => se_SegmentAttributes(_, context),
3255
+ SystemEndpoint: (_) => _json(_),
3256
+ UserInfo: (_) => _json(_),
3250
3257
  }));
3251
3258
  b.m("POST").h(headers).b(body);
3252
3259
  return b.build();
@@ -8325,6 +8332,31 @@ const se_SecurityProfileSearchCriteria = (input, context) => {
8325
8332
  StringCondition: _json,
8326
8333
  });
8327
8334
  };
8335
+ const se_SegmentAttributes = (input, context) => {
8336
+ return Object.entries(input).reduce((acc, [key, value]) => {
8337
+ if (value === null) {
8338
+ return acc;
8339
+ }
8340
+ acc[key] = se_SegmentAttributeValue(value, context);
8341
+ return acc;
8342
+ }, {});
8343
+ };
8344
+ const se_SegmentAttributeValue = (input, context) => {
8345
+ return take(input, {
8346
+ ValueInteger: [],
8347
+ ValueMap: (_) => se_SegmentAttributeValueMap(_, context),
8348
+ ValueString: [],
8349
+ });
8350
+ };
8351
+ const se_SegmentAttributeValueMap = (input, context) => {
8352
+ return Object.entries(input).reduce((acc, [key, value]) => {
8353
+ if (value === null) {
8354
+ return acc;
8355
+ }
8356
+ acc[key] = se_SegmentAttributeValue(value, context);
8357
+ return acc;
8358
+ }, {});
8359
+ };
8328
8360
  const se_Threshold = (input, context) => {
8329
8361
  return take(input, {
8330
8362
  Comparison: [],
@@ -8576,7 +8608,7 @@ const de_Contact = (output, context) => {
8576
8608
  RelatedContactId: __expectString,
8577
8609
  RoutingCriteria: (_) => de_RoutingCriteria(_, context),
8578
8610
  ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8579
- SegmentAttributes: _json,
8611
+ SegmentAttributes: (_) => de_SegmentAttributes(_, context),
8580
8612
  SystemEndpoint: _json,
8581
8613
  Tags: _json,
8582
8614
  TotalPauseCount: __expectInt32,
@@ -8591,7 +8623,6 @@ const de_ContactFlow = (output, context) => {
8591
8623
  Description: __expectString,
8592
8624
  FlowContentSha256: __expectString,
8593
8625
  Id: __expectString,
8594
- IsDefault: __expectBoolean,
8595
8626
  LastModifiedRegion: __expectString,
8596
8627
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8597
8628
  Name: __expectString,
@@ -9550,6 +9581,31 @@ const de_SecurityProfileSummaryList = (output, context) => {
9550
9581
  });
9551
9582
  return retVal;
9552
9583
  };
9584
+ const de_SegmentAttributes = (output, context) => {
9585
+ return Object.entries(output).reduce((acc, [key, value]) => {
9586
+ if (value === null) {
9587
+ return acc;
9588
+ }
9589
+ acc[key] = de_SegmentAttributeValue(value, context);
9590
+ return acc;
9591
+ }, {});
9592
+ };
9593
+ const de_SegmentAttributeValue = (output, context) => {
9594
+ return take(output, {
9595
+ ValueInteger: __expectInt32,
9596
+ ValueMap: (_) => de_SegmentAttributeValueMap(_, context),
9597
+ ValueString: __expectString,
9598
+ });
9599
+ };
9600
+ const de_SegmentAttributeValueMap = (output, context) => {
9601
+ return Object.entries(output).reduce((acc, [key, value]) => {
9602
+ if (value === null) {
9603
+ return acc;
9604
+ }
9605
+ acc[key] = de_SegmentAttributeValue(value, context);
9606
+ return acc;
9607
+ }, {});
9608
+ };
9553
9609
  const de_Step = (output, context) => {
9554
9610
  return take(output, {
9555
9611
  Expiry: (_) => de_Expiry(_, context),
@@ -1918,7 +1918,7 @@ export interface Connect {
1918
1918
  * are also limits to the number of requests that you can make per second. For more information, see
1919
1919
  * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
1920
1920
  * Guide</i>.</p>
1921
- * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
1921
+ * <p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
1922
1922
  * a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
1923
1923
  * @public
1924
1924
  */
@@ -443,7 +443,7 @@ export interface ConnectClientResolvedConfig extends ConnectClientResolvedConfig
443
443
  * are also limits to the number of requests that you can make per second. For more information, see
444
444
  * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
445
445
  * Guide</i>.</p>
446
- * <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
446
+ * <p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
447
447
  * a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
448
448
  * @public
449
449
  */
@@ -38,7 +38,7 @@ declare const AssociateFlowCommand_base: {
38
38
  * InstanceId: "STRING_VALUE", // required
39
39
  * ResourceId: "STRING_VALUE", // required
40
40
  * FlowId: "STRING_VALUE", // required
41
- * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
41
+ * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
42
42
  * };
43
43
  * const command = new AssociateFlowCommand(input);
44
44
  * const response = await client.send(command);
@@ -39,7 +39,7 @@ declare const BatchGetFlowAssociationCommand_base: {
39
39
  * ResourceIds: [ // resourceArnListMaxLimit100 // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
- * ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
42
+ * ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
43
43
  * };
44
44
  * const command = new BatchGetFlowAssociationCommand(input);
45
45
  * const response = await client.send(command);
@@ -48,7 +48,7 @@ declare const BatchGetFlowAssociationCommand_base: {
48
48
  * // { // FlowAssociationSummary
49
49
  * // ResourceId: "STRING_VALUE",
50
50
  * // FlowId: "STRING_VALUE",
51
- * // ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
51
+ * // ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
52
52
  * // },
53
53
  * // ],
54
54
  * // };
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { CreateContactRequest, CreateContactResponse } from "../models/models_0";
4
+ import { CreateContactResponse } from "../models/models_0";
5
+ import { CreateContactRequest } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -27,7 +28,7 @@ declare const CreateContactCommand_base: {
27
28
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
29
  };
29
30
  /**
30
- * <p></p>
31
+ * <p>Creates a new contact.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -62,6 +63,16 @@ declare const CreateContactCommand_base: {
62
63
  * SegmentAttributes: { // SegmentAttributes
63
64
  * "<keys>": { // SegmentAttributeValue
64
65
  * ValueString: "STRING_VALUE",
66
+ * ValueMap: { // SegmentAttributeValueMap
67
+ * "<keys>": {
68
+ * ValueString: "STRING_VALUE",
69
+ * ValueMap: {
70
+ * "<keys>": "<SegmentAttributeValue>",
71
+ * },
72
+ * ValueInteger: Number("int"),
73
+ * },
74
+ * },
75
+ * ValueInteger: Number("int"),
65
76
  * },
66
77
  * },
67
78
  * };
@@ -27,7 +27,9 @@ declare const CreateEmailAddressCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p></p>
30
+ * <p>Create new email address in the specified Amazon Connect instance. For more information
31
+ * about email addresses, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-email-address1.html">Create email addresses</a> in the
32
+ * Amazon Connect Administrator Guide.</p>
31
33
  * @example
32
34
  * Use a bare-bones client and the command you need to make an API call.
33
35
  * ```javascript
@@ -2,7 +2,7 @@ import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
4
  import { CreateEvaluationFormResponse } from "../models/models_0";
5
- import { CreateEvaluationFormRequest } from "../models/models_3";
5
+ import { CreateEvaluationFormRequest } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -37,7 +37,7 @@ declare const CreateIntegrationAssociationCommand_base: {
37
37
  * const client = new ConnectClient(config);
38
38
  * const input = { // CreateIntegrationAssociationRequest
39
39
  * InstanceId: "STRING_VALUE", // required
40
- * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY", // required
40
+ * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR", // required
41
41
  * IntegrationArn: "STRING_VALUE", // required
42
42
  * SourceApplicationUrl: "STRING_VALUE",
43
43
  * SourceApplicationName: "STRING_VALUE",
@@ -27,7 +27,7 @@ declare const DeleteEmailAddressCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p></p>
30
+ * <p>Deletes email address from the specified Amazon Connect instance.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeleteViewVersionRequest } from "../models/models_0";
5
- import { DeleteViewVersionResponse } from "../models/models_1";
4
+ import { DeleteViewVersionRequest, DeleteViewVersionResponse } from "../models/models_0";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { DeleteVocabularyRequest, DeleteVocabularyResponse } from "../models/models_1";
4
+ import { DeleteVocabularyRequest } from "../models/models_0";
5
+ import { DeleteVocabularyResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -232,6 +232,16 @@ declare const DescribeContactCommand_base: {
232
232
  * // SegmentAttributes: { // SegmentAttributes
233
233
  * // "<keys>": { // SegmentAttributeValue
234
234
  * // ValueString: "STRING_VALUE",
235
+ * // ValueMap: { // SegmentAttributeValueMap
236
+ * // "<keys>": {
237
+ * // ValueString: "STRING_VALUE",
238
+ * // ValueMap: {
239
+ * // "<keys>": "<SegmentAttributeValue>",
240
+ * // },
241
+ * // ValueInteger: Number("int"),
242
+ * // },
243
+ * // },
244
+ * // ValueInteger: Number("int"),
235
245
  * // },
236
246
  * // },
237
247
  * // },
@@ -31,7 +31,7 @@ declare const DescribeContactFlowCommand_base: {
31
31
  * <p>You can also create and update flows using the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html">Amazon Connect
32
32
  * Flow language</a>.</p>
33
33
  * <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content
34
- * of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. Once a contact flow is
34
+ * of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. After a flow is
35
35
  * published, <code>$SAVED</code> needs to be supplied to view saved content that has not been
36
36
  * published.</p>
37
37
  * <p>In the response, <b>Status</b> indicates the flow status as either
@@ -64,7 +64,6 @@ declare const DescribeContactFlowCommand_base: {
64
64
  * // Tags: { // TagMap
65
65
  * // "<keys>": "STRING_VALUE",
66
66
  * // },
67
- * // IsDefault: true || false,
68
67
  * // FlowContentSha256: "STRING_VALUE",
69
68
  * // Version: Number("long"),
70
69
  * // VersionDescription: "STRING_VALUE",
@@ -29,7 +29,7 @@ declare const DescribeContactFlowModuleCommand_base: {
29
29
  /**
30
30
  * <p>Describes the specified flow module.</p>
31
31
  * <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content
32
- * of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. Once a contact flow is
32
+ * of a Flow. For example, <code>arn:aws:.../contact-flow/\{id\}:$SAVED</code>. After a flow is
33
33
  * published, <code>$SAVED</code> needs to be supplied to view saved content that has not been
34
34
  * published.</p>
35
35
  * @example
@@ -27,7 +27,7 @@ declare const DescribeEmailAddressCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p></p>
30
+ * <p>Describe email address form the specified Amazon Connect instance.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -36,7 +36,7 @@ declare const DescribePhoneNumberCommand_base: {
36
36
  * and you are calling this API in the alternate Amazon Web Services Region associated with the
37
37
  * traffic distribution group, you must provide a full phone number ARN. If a UUID is provided
38
38
  * in
39
- * this scenario, you will receive a
39
+ * this scenario, you receive a
40
40
  * <code>ResourceNotFoundException</code>.</p>
41
41
  * </important>
42
42
  * @example
@@ -37,7 +37,7 @@ declare const DisassociateFlowCommand_base: {
37
37
  * const input = { // DisassociateFlowRequest
38
38
  * InstanceId: "STRING_VALUE", // required
39
39
  * ResourceId: "STRING_VALUE", // required
40
- * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
40
+ * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
41
41
  * };
42
42
  * const command = new DisassociateFlowCommand(input);
43
43
  * const response = await client.send(command);
@@ -37,14 +37,14 @@ declare const GetFlowAssociationCommand_base: {
37
37
  * const input = { // GetFlowAssociationRequest
38
38
  * InstanceId: "STRING_VALUE", // required
39
39
  * ResourceId: "STRING_VALUE", // required
40
- * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
40
+ * ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
41
41
  * };
42
42
  * const command = new GetFlowAssociationCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // GetFlowAssociationResponse
45
45
  * // ResourceId: "STRING_VALUE",
46
46
  * // FlowId: "STRING_VALUE",
47
- * // ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
47
+ * // ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER",
48
48
  * // };
49
49
  *
50
50
  * ```
@@ -27,7 +27,7 @@ declare const ImportPhoneNumberCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an
30
+ * <p>Imports a claimed phone number from an external service, such as Amazon Web Services End User Messaging, into an
31
31
  * Amazon Connect instance. You can call this API only in the same Amazon Web Services Region
32
32
  * where the Amazon Connect instance was created.</p>
33
33
  * <important>
@@ -27,7 +27,8 @@ declare const ListAssociatedContactsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p></p>
30
+ * <p>Provides information about contact tree, a list of associated contacts with a unique
31
+ * identifier.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -36,7 +36,7 @@ declare const ListFlowAssociationsCommand_base: {
36
36
  * const client = new ConnectClient(config);
37
37
  * const input = { // ListFlowAssociationsRequest
38
38
  * InstanceId: "STRING_VALUE", // required
39
- * ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
39
+ * ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
40
40
  * NextToken: "STRING_VALUE",
41
41
  * MaxResults: Number("int"),
42
42
  * };
@@ -47,7 +47,7 @@ declare const ListFlowAssociationsCommand_base: {
47
47
  * // { // FlowAssociationSummary
48
48
  * // ResourceId: "STRING_VALUE",
49
49
  * // FlowId: "STRING_VALUE",
50
- * // ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
50
+ * // ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
51
51
  * // },
52
52
  * // ],
53
53
  * // NextToken: "STRING_VALUE",
@@ -37,7 +37,7 @@ declare const ListIntegrationAssociationsCommand_base: {
37
37
  * const client = new ConnectClient(config);
38
38
  * const input = { // ListIntegrationAssociationsRequest
39
39
  * InstanceId: "STRING_VALUE", // required
40
- * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
40
+ * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
41
41
  * NextToken: "STRING_VALUE",
42
42
  * MaxResults: Number("int"),
43
43
  * IntegrationArn: "STRING_VALUE",
@@ -50,7 +50,7 @@ declare const ListIntegrationAssociationsCommand_base: {
50
50
  * // IntegrationAssociationId: "STRING_VALUE",
51
51
  * // IntegrationAssociationArn: "STRING_VALUE",
52
52
  * // InstanceId: "STRING_VALUE",
53
- * // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
53
+ * // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
54
54
  * // IntegrationArn: "STRING_VALUE",
55
55
  * // SourceApplicationUrl: "STRING_VALUE",
56
56
  * // SourceApplicationName: "STRING_VALUE",
@@ -161,7 +161,7 @@ declare const ListRealtimeContactAnalysisSegmentsV2Command_base: {
161
161
  * @throws {@link OutputTypeNotFoundException} (client fault)
162
162
  * <p>Thrown for analyzed content when requested OutputType was not enabled for a given contact.
163
163
  * For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction
164
- * policy set in Contact flow.</p>
164
+ * policy set in the flow.</p>
165
165
  *
166
166
  * @throws {@link ResourceNotFoundException} (client fault)
167
167
  * <p>The specified resource was not found.</p>
@@ -42,6 +42,7 @@ declare const ResumeContactRecordingCommand_base: {
42
42
  * InstanceId: "STRING_VALUE", // required
43
43
  * ContactId: "STRING_VALUE", // required
44
44
  * InitialContactId: "STRING_VALUE", // required
45
+ * ContactRecordingType: "AGENT" || "IVR" || "SCREEN",
45
46
  * };
46
47
  * const command = new ResumeContactRecordingCommand(input);
47
48
  * const response = await client.send(command);
@@ -28,8 +28,7 @@ declare const SearchContactFlowsCommand_base: {
28
28
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
29
  };
30
30
  /**
31
- * <p>Searches the contact flows in an Amazon Connect instance, with optional
32
- * filtering.</p>
31
+ * <p>Searches the flows in an Amazon Connect instance, with optional filtering.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -107,7 +106,6 @@ declare const SearchContactFlowsCommand_base: {
107
106
  * // Tags: { // TagMap
108
107
  * // "<keys>": "STRING_VALUE",
109
108
  * // },
110
- * // IsDefault: true || false,
111
109
  * // FlowContentSha256: "STRING_VALUE",
112
110
  * // Version: Number("long"),
113
111
  * // VersionDescription: "STRING_VALUE",
@@ -28,7 +28,7 @@ declare const SearchEmailAddressesCommand_base: {
28
28
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
29
  };
30
30
  /**
31
- * <p></p>
31
+ * <p>Searches email address in an instance, with optional filtering.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -41,7 +41,7 @@ declare const SendChatIntegrationEventCommand_base: {
41
41
  * </ul>
42
42
  * <p>When a chat integration event is sent with chat identifiers that do not map to an active
43
43
  * chat contact, a new chat contact is also created before handling chat action. </p>
44
- * <p>Access to this API is currently restricted to Amazon Pinpoint for supporting SMS
44
+ * <p>Access to this API is currently restricted to Amazon Web Services End User Messaging for supporting SMS
45
45
  * integration. </p>
46
46
  * @example
47
47
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,7 +27,12 @@ declare const SendOutboundEmailCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p></p>
30
+ * <p>Send outbound email for outbound campaigns. For more information about outbound campaigns,
31
+ * see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-outbound-campaigns.html">Set up Amazon Connect outbound campaigns</a>.</p>
32
+ * <note>
33
+ * <p>Only the Amazon Connect outbound campaigns service principal is allowed to assume a
34
+ * role in your account and call this API.</p>
35
+ * </note>
31
36
  * @example
32
37
  * Use a bare-bones client and the command you need to make an API call.
33
38
  * ```javascript
@@ -29,7 +29,9 @@ declare const StartAttachedFileUploadCommand_base: {
29
29
  /**
30
30
  * <p>Provides a pre-signed Amazon S3 URL in response for uploading your content.</p>
31
31
  * <important>
32
- * <p>You may only use this API to upload attachments to an <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Amazon Connect Case</a>.</p>
32
+ * <p>You may only use this API to upload attachments to an <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Amazon Connect Case</a> or
33
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Amazon Connect
34
+ * Email</a>. </p>
33
35
  * </important>
34
36
  * @example
35
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { StartChatContactRequest, StartChatContactResponse } from "../models/models_2";
4
+ import { StartChatContactResponse } from "../models/models_2";
5
+ import { StartChatContactRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -92,6 +93,16 @@ declare const StartChatContactCommand_base: {
92
93
  * SegmentAttributes: { // SegmentAttributes
93
94
  * "<keys>": { // SegmentAttributeValue
94
95
  * ValueString: "STRING_VALUE",
96
+ * ValueMap: { // SegmentAttributeValueMap
97
+ * "<keys>": {
98
+ * ValueString: "STRING_VALUE",
99
+ * ValueMap: {
100
+ * "<keys>": "<SegmentAttributeValue>",
101
+ * },
102
+ * ValueInteger: Number("int"),
103
+ * },
104
+ * },
105
+ * ValueInteger: Number("int"),
95
106
  * },
96
107
  * },
97
108
  * };
@@ -58,6 +58,7 @@ declare const StartContactRecordingCommand_base: {
58
58
  * InitialContactId: "STRING_VALUE", // required
59
59
  * VoiceRecordingConfiguration: { // VoiceRecordingConfiguration
60
60
  * VoiceRecordingTrack: "FROM_AGENT" || "TO_AGENT" || "ALL",
61
+ * IvrRecordingTrack: "ALL",
61
62
  * },
62
63
  * };
63
64
  * const command = new StartContactRecordingCommand(input);
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { StartEmailContactRequest, StartEmailContactResponse } from "../models/models_2";
4
+ import { StartEmailContactResponse } from "../models/models_2";
5
+ import { StartEmailContactRequest } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -27,7 +28,8 @@ declare const StartEmailContactCommand_base: {
27
28
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
29
  };
29
30
  /**
30
- * <p></p>
31
+ * <p>Creates an inbound email contact and initiates a flow to start the email contact for the
32
+ * customer. Response of this API provides the ContactId of the email contact created.</p>
31
33
  * @example
32
34
  * Use a bare-bones client and the command you need to make an API call.
33
35
  * ```javascript
@@ -91,6 +93,16 @@ declare const StartEmailContactCommand_base: {
91
93
  * SegmentAttributes: { // SegmentAttributes
92
94
  * "<keys>": { // SegmentAttributeValue
93
95
  * ValueString: "STRING_VALUE",
96
+ * ValueMap: { // SegmentAttributeValueMap
97
+ * "<keys>": {
98
+ * ValueString: "STRING_VALUE",
99
+ * ValueMap: {
100
+ * "<keys>": "<SegmentAttributeValue>",
101
+ * },
102
+ * ValueInteger: Number("int"),
103
+ * },
104
+ * },
105
+ * ValueInteger: Number("int"),
94
106
  * },
95
107
  * },
96
108
  * ClientToken: "STRING_VALUE",