@aws-sdk/client-connect 3.703.0 → 3.709.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.
- package/README.md +18 -2
- package/dist-cjs/index.js +158 -60
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +0 -16
- package/dist-es/models/models_2.js +16 -5
- package/dist-es/models/models_3.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +55 -0
- package/dist-types/Connect.d.ts +16 -2
- package/dist-types/ConnectClient.d.ts +6 -4
- package/dist-types/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
- package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +120 -85
- package/dist-types/models/models_1.d.ts +102 -174
- package/dist-types/models/models_2.d.ts +158 -260
- package/dist-types/models/models_3.d.ts +262 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +46 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -19
- package/dist-types/ts3.4/models/models_1.d.ts +19 -43
- package/dist-types/ts3.4/models/models_2.d.ts +46 -58
- package/dist-types/ts3.4/models/models_3.d.ts +55 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ touch with the appropriate agents.</p>
|
|
|
28
28
|
are also limits to the number of requests that you can make per second. For more information, see
|
|
29
29
|
<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
|
|
30
30
|
Guide</i>.</p>
|
|
31
|
-
<p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
|
|
32
|
-
|
|
31
|
+
<p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For a
|
|
32
|
+
list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
|
|
33
33
|
|
|
34
34
|
## Installing
|
|
35
35
|
|
|
@@ -513,6 +513,14 @@ CreatePrompt
|
|
|
513
513
|
|
|
514
514
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/CreatePromptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CreatePromptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CreatePromptCommandOutput/)
|
|
515
515
|
|
|
516
|
+
</details>
|
|
517
|
+
<details>
|
|
518
|
+
<summary>
|
|
519
|
+
CreatePushNotificationRegistration
|
|
520
|
+
</summary>
|
|
521
|
+
|
|
522
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/CreatePushNotificationRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CreatePushNotificationRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CreatePushNotificationRegistrationCommandOutput/)
|
|
523
|
+
|
|
516
524
|
</details>
|
|
517
525
|
<details>
|
|
518
526
|
<summary>
|
|
@@ -713,6 +721,14 @@ DeletePrompt
|
|
|
713
721
|
|
|
714
722
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DeletePromptCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeletePromptCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeletePromptCommandOutput/)
|
|
715
723
|
|
|
724
|
+
</details>
|
|
725
|
+
<details>
|
|
726
|
+
<summary>
|
|
727
|
+
DeletePushNotificationRegistration
|
|
728
|
+
</summary>
|
|
729
|
+
|
|
730
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DeletePushNotificationRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeletePushNotificationRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeletePushNotificationRegistrationCommandOutput/)
|
|
731
|
+
|
|
716
732
|
</details>
|
|
717
733
|
<details>
|
|
718
734
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -92,6 +92,7 @@ __export(src_exports, {
|
|
|
92
92
|
CreatePersistentContactAssociationCommand: () => CreatePersistentContactAssociationCommand,
|
|
93
93
|
CreatePredefinedAttributeCommand: () => CreatePredefinedAttributeCommand,
|
|
94
94
|
CreatePromptCommand: () => CreatePromptCommand,
|
|
95
|
+
CreatePushNotificationRegistrationCommand: () => CreatePushNotificationRegistrationCommand,
|
|
95
96
|
CreateQueueCommand: () => CreateQueueCommand,
|
|
96
97
|
CreateQuickConnectCommand: () => CreateQuickConnectCommand,
|
|
97
98
|
CreateRoutingProfileCommand: () => CreateRoutingProfileCommand,
|
|
@@ -124,6 +125,7 @@ __export(src_exports, {
|
|
|
124
125
|
DeleteIntegrationAssociationCommand: () => DeleteIntegrationAssociationCommand,
|
|
125
126
|
DeletePredefinedAttributeCommand: () => DeletePredefinedAttributeCommand,
|
|
126
127
|
DeletePromptCommand: () => DeletePromptCommand,
|
|
128
|
+
DeletePushNotificationRegistrationCommand: () => DeletePushNotificationRegistrationCommand,
|
|
127
129
|
DeleteQueueCommand: () => DeleteQueueCommand,
|
|
128
130
|
DeleteQuickConnectCommand: () => DeleteQuickConnectCommand,
|
|
129
131
|
DeleteRoutingProfileCommand: () => DeleteRoutingProfileCommand,
|
|
@@ -169,6 +171,7 @@ __export(src_exports, {
|
|
|
169
171
|
DescribeViewResponseFilterSensitiveLog: () => DescribeViewResponseFilterSensitiveLog,
|
|
170
172
|
DescribeVocabularyCommand: () => DescribeVocabularyCommand,
|
|
171
173
|
DestinationNotAllowedException: () => DestinationNotAllowedException,
|
|
174
|
+
DeviceType: () => DeviceType,
|
|
172
175
|
DirectoryType: () => DirectoryType,
|
|
173
176
|
DisassociateAnalyticsDataSetCommand: () => DisassociateAnalyticsDataSetCommand,
|
|
174
177
|
DisassociateApprovedOriginCommand: () => DisassociateApprovedOriginCommand,
|
|
@@ -1348,6 +1351,11 @@ var PredefinedAttributeValues;
|
|
|
1348
1351
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1349
1352
|
}, "visit");
|
|
1350
1353
|
})(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
|
|
1354
|
+
var DeviceType = {
|
|
1355
|
+
APNS: "APNS",
|
|
1356
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
1357
|
+
GCM: "GCM"
|
|
1358
|
+
};
|
|
1351
1359
|
var QuickConnectType = {
|
|
1352
1360
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
1353
1361
|
QUEUE: "QUEUE",
|
|
@@ -2078,22 +2086,6 @@ var RealTimeContactAnalysisTimeData;
|
|
|
2078
2086
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2079
2087
|
}, "visit");
|
|
2080
2088
|
})(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
|
|
2081
|
-
var RealTimeContactAnalysisPostContactSummaryFailureCode = {
|
|
2082
|
-
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
2083
|
-
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
2084
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
2085
|
-
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
2086
|
-
QUOTA_EXCEEDED: "QUOTA_EXCEEDED"
|
|
2087
|
-
};
|
|
2088
|
-
var RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
2089
|
-
COMPLETED: "COMPLETED",
|
|
2090
|
-
FAILED: "FAILED"
|
|
2091
|
-
};
|
|
2092
|
-
var RealTimeContactAnalysisSentimentLabel = {
|
|
2093
|
-
NEGATIVE: "NEGATIVE",
|
|
2094
|
-
NEUTRAL: "NEUTRAL",
|
|
2095
|
-
POSITIVE: "POSITIVE"
|
|
2096
|
-
};
|
|
2097
2089
|
var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2098
2090
|
...obj,
|
|
2099
2091
|
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2142,6 +2134,22 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2142
2134
|
|
|
2143
2135
|
// src/models/models_2.ts
|
|
2144
2136
|
|
|
2137
|
+
var RealTimeContactAnalysisPostContactSummaryFailureCode = {
|
|
2138
|
+
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
2139
|
+
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
2140
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
2141
|
+
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
2142
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED"
|
|
2143
|
+
};
|
|
2144
|
+
var RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
2145
|
+
COMPLETED: "COMPLETED",
|
|
2146
|
+
FAILED: "FAILED"
|
|
2147
|
+
};
|
|
2148
|
+
var RealTimeContactAnalysisSentimentLabel = {
|
|
2149
|
+
NEGATIVE: "NEGATIVE",
|
|
2150
|
+
NEUTRAL: "NEUTRAL",
|
|
2151
|
+
POSITIVE: "POSITIVE"
|
|
2152
|
+
};
|
|
2145
2153
|
var RealtimeContactAnalysisSegment;
|
|
2146
2154
|
((RealtimeContactAnalysisSegment3) => {
|
|
2147
2155
|
RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -2584,11 +2592,6 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2584
2592
|
...obj,
|
|
2585
2593
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2586
2594
|
}), "UpdateViewMetadataRequestFilterSensitiveLog");
|
|
2587
|
-
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2588
|
-
...obj,
|
|
2589
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2590
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2591
|
-
}), "CreateContactRequestFilterSensitiveLog");
|
|
2592
2595
|
|
|
2593
2596
|
// src/protocols/Aws_restJson1.ts
|
|
2594
2597
|
var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -3246,6 +3249,26 @@ var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3246
3249
|
b.m("PUT").h(headers).b(body);
|
|
3247
3250
|
return b.build();
|
|
3248
3251
|
}, "se_CreatePromptCommand");
|
|
3252
|
+
var se_CreatePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3253
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3254
|
+
const headers = {
|
|
3255
|
+
"content-type": "application/json"
|
|
3256
|
+
};
|
|
3257
|
+
b.bp("/push-notification/{InstanceId}/registrations");
|
|
3258
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3259
|
+
let body;
|
|
3260
|
+
body = JSON.stringify(
|
|
3261
|
+
(0, import_smithy_client.take)(input, {
|
|
3262
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
3263
|
+
ContactConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
3264
|
+
DeviceToken: [],
|
|
3265
|
+
DeviceType: [],
|
|
3266
|
+
PinpointAppArn: []
|
|
3267
|
+
})
|
|
3268
|
+
);
|
|
3269
|
+
b.m("PUT").h(headers).b(body);
|
|
3270
|
+
return b.build();
|
|
3271
|
+
}, "se_CreatePushNotificationRegistrationCommand");
|
|
3249
3272
|
var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3250
3273
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3251
3274
|
const headers = {
|
|
@@ -3649,6 +3672,19 @@ var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3649
3672
|
b.m("DELETE").h(headers).b(body);
|
|
3650
3673
|
return b.build();
|
|
3651
3674
|
}, "se_DeletePromptCommand");
|
|
3675
|
+
var se_DeletePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3676
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3677
|
+
const headers = {};
|
|
3678
|
+
b.bp("/push-notification/{InstanceId}/registrations/{RegistrationId}");
|
|
3679
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3680
|
+
b.p("RegistrationId", () => input.RegistrationId, "{RegistrationId}", false);
|
|
3681
|
+
const query = (0, import_smithy_client.map)({
|
|
3682
|
+
[_cI]: [, (0, import_smithy_client.expectNonNull)(input[_CI], `ContactId`)]
|
|
3683
|
+
});
|
|
3684
|
+
let body;
|
|
3685
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
3686
|
+
return b.build();
|
|
3687
|
+
}, "se_DeletePushNotificationRegistrationCommand");
|
|
3652
3688
|
var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3653
3689
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3654
3690
|
const headers = {};
|
|
@@ -7368,6 +7404,20 @@ var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
7368
7404
|
Object.assign(contents, doc);
|
|
7369
7405
|
return contents;
|
|
7370
7406
|
}, "de_CreatePromptCommand");
|
|
7407
|
+
var de_CreatePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7408
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7409
|
+
return de_CommandError(output, context);
|
|
7410
|
+
}
|
|
7411
|
+
const contents = (0, import_smithy_client.map)({
|
|
7412
|
+
$metadata: deserializeMetadata(output)
|
|
7413
|
+
});
|
|
7414
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7415
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7416
|
+
RegistrationId: import_smithy_client.expectString
|
|
7417
|
+
});
|
|
7418
|
+
Object.assign(contents, doc);
|
|
7419
|
+
return contents;
|
|
7420
|
+
}, "de_CreatePushNotificationRegistrationCommand");
|
|
7371
7421
|
var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7372
7422
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7373
7423
|
return de_CommandError(output, context);
|
|
@@ -7688,6 +7738,16 @@ var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
7688
7738
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7689
7739
|
return contents;
|
|
7690
7740
|
}, "de_DeletePromptCommand");
|
|
7741
|
+
var de_DeletePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7742
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7743
|
+
return de_CommandError(output, context);
|
|
7744
|
+
}
|
|
7745
|
+
const contents = (0, import_smithy_client.map)({
|
|
7746
|
+
$metadata: deserializeMetadata(output)
|
|
7747
|
+
});
|
|
7748
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7749
|
+
return contents;
|
|
7750
|
+
}, "de_DeletePushNotificationRegistrationCommand");
|
|
7691
7751
|
var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7692
7752
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7693
7753
|
return de_CommandError(output, context);
|
|
@@ -12946,6 +13006,47 @@ var CreateAgentStatusCommand = _CreateAgentStatusCommand;
|
|
|
12946
13006
|
|
|
12947
13007
|
|
|
12948
13008
|
|
|
13009
|
+
|
|
13010
|
+
// src/models/models_3.ts
|
|
13011
|
+
|
|
13012
|
+
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13013
|
+
...obj,
|
|
13014
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13015
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13016
|
+
}), "CreateContactRequestFilterSensitiveLog");
|
|
13017
|
+
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13018
|
+
...obj,
|
|
13019
|
+
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
13020
|
+
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
13021
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
13022
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13023
|
+
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
13024
|
+
...obj.AdditionalRecipients && {
|
|
13025
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
13026
|
+
},
|
|
13027
|
+
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
13028
|
+
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
13029
|
+
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13030
|
+
...obj,
|
|
13031
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13032
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13033
|
+
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
13034
|
+
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13035
|
+
...obj,
|
|
13036
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13037
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13038
|
+
}), "UpdateContactRequestFilterSensitiveLog");
|
|
13039
|
+
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13040
|
+
...obj,
|
|
13041
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13042
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13043
|
+
}), "ContactFilterSensitiveLog");
|
|
13044
|
+
var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13045
|
+
...obj,
|
|
13046
|
+
...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
|
|
13047
|
+
}), "DescribeContactResponseFilterSensitiveLog");
|
|
13048
|
+
|
|
13049
|
+
// src/commands/CreateContactCommand.ts
|
|
12949
13050
|
var _CreateContactCommand = class _CreateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
12950
13051
|
return [
|
|
12951
13052
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -13124,6 +13225,20 @@ var _CreatePromptCommand = class _CreatePromptCommand extends import_smithy_clie
|
|
|
13124
13225
|
__name(_CreatePromptCommand, "CreatePromptCommand");
|
|
13125
13226
|
var CreatePromptCommand = _CreatePromptCommand;
|
|
13126
13227
|
|
|
13228
|
+
// src/commands/CreatePushNotificationRegistrationCommand.ts
|
|
13229
|
+
|
|
13230
|
+
|
|
13231
|
+
|
|
13232
|
+
var _CreatePushNotificationRegistrationCommand = class _CreatePushNotificationRegistrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13233
|
+
return [
|
|
13234
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13235
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13236
|
+
];
|
|
13237
|
+
}).s("AmazonConnectService", "CreatePushNotificationRegistration", {}).n("ConnectClient", "CreatePushNotificationRegistrationCommand").f(void 0, void 0).ser(se_CreatePushNotificationRegistrationCommand).de(de_CreatePushNotificationRegistrationCommand).build() {
|
|
13238
|
+
};
|
|
13239
|
+
__name(_CreatePushNotificationRegistrationCommand, "CreatePushNotificationRegistrationCommand");
|
|
13240
|
+
var CreatePushNotificationRegistrationCommand = _CreatePushNotificationRegistrationCommand;
|
|
13241
|
+
|
|
13127
13242
|
// src/commands/CreateQueueCommand.ts
|
|
13128
13243
|
|
|
13129
13244
|
|
|
@@ -13474,6 +13589,20 @@ var _DeletePromptCommand = class _DeletePromptCommand extends import_smithy_clie
|
|
|
13474
13589
|
__name(_DeletePromptCommand, "DeletePromptCommand");
|
|
13475
13590
|
var DeletePromptCommand = _DeletePromptCommand;
|
|
13476
13591
|
|
|
13592
|
+
// src/commands/DeletePushNotificationRegistrationCommand.ts
|
|
13593
|
+
|
|
13594
|
+
|
|
13595
|
+
|
|
13596
|
+
var _DeletePushNotificationRegistrationCommand = class _DeletePushNotificationRegistrationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13597
|
+
return [
|
|
13598
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13599
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13600
|
+
];
|
|
13601
|
+
}).s("AmazonConnectService", "DeletePushNotificationRegistration", {}).n("ConnectClient", "DeletePushNotificationRegistrationCommand").f(void 0, void 0).ser(se_DeletePushNotificationRegistrationCommand).de(de_DeletePushNotificationRegistrationCommand).build() {
|
|
13602
|
+
};
|
|
13603
|
+
__name(_DeletePushNotificationRegistrationCommand, "DeletePushNotificationRegistrationCommand");
|
|
13604
|
+
var DeletePushNotificationRegistrationCommand = _DeletePushNotificationRegistrationCommand;
|
|
13605
|
+
|
|
13477
13606
|
// src/commands/DeleteQueueCommand.ts
|
|
13478
13607
|
|
|
13479
13608
|
|
|
@@ -13688,42 +13817,6 @@ var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand
|
|
|
13688
13817
|
|
|
13689
13818
|
|
|
13690
13819
|
|
|
13691
|
-
|
|
13692
|
-
// src/models/models_3.ts
|
|
13693
|
-
|
|
13694
|
-
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13695
|
-
...obj,
|
|
13696
|
-
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
13697
|
-
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
13698
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
13699
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13700
|
-
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
13701
|
-
...obj.AdditionalRecipients && {
|
|
13702
|
-
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
13703
|
-
},
|
|
13704
|
-
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
13705
|
-
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
13706
|
-
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13707
|
-
...obj,
|
|
13708
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13709
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13710
|
-
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
13711
|
-
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13712
|
-
...obj,
|
|
13713
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13714
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13715
|
-
}), "UpdateContactRequestFilterSensitiveLog");
|
|
13716
|
-
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13717
|
-
...obj,
|
|
13718
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13719
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13720
|
-
}), "ContactFilterSensitiveLog");
|
|
13721
|
-
var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13722
|
-
...obj,
|
|
13723
|
-
...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
|
|
13724
|
-
}), "DescribeContactResponseFilterSensitiveLog");
|
|
13725
|
-
|
|
13726
|
-
// src/commands/DescribeContactCommand.ts
|
|
13727
13820
|
var _DescribeContactCommand = class _DescribeContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13728
13821
|
return [
|
|
13729
13822
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -16474,6 +16567,7 @@ var commands = {
|
|
|
16474
16567
|
CreatePersistentContactAssociationCommand,
|
|
16475
16568
|
CreatePredefinedAttributeCommand,
|
|
16476
16569
|
CreatePromptCommand,
|
|
16570
|
+
CreatePushNotificationRegistrationCommand,
|
|
16477
16571
|
CreateQueueCommand,
|
|
16478
16572
|
CreateQuickConnectCommand,
|
|
16479
16573
|
CreateRoutingProfileCommand,
|
|
@@ -16499,6 +16593,7 @@ var commands = {
|
|
|
16499
16593
|
DeleteIntegrationAssociationCommand,
|
|
16500
16594
|
DeletePredefinedAttributeCommand,
|
|
16501
16595
|
DeletePromptCommand,
|
|
16596
|
+
DeletePushNotificationRegistrationCommand,
|
|
16502
16597
|
DeleteQueueCommand,
|
|
16503
16598
|
DeleteQuickConnectCommand,
|
|
16504
16599
|
DeleteRoutingProfileCommand,
|
|
@@ -17014,6 +17109,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17014
17109
|
CreatePersistentContactAssociationCommand,
|
|
17015
17110
|
CreatePredefinedAttributeCommand,
|
|
17016
17111
|
CreatePromptCommand,
|
|
17112
|
+
CreatePushNotificationRegistrationCommand,
|
|
17017
17113
|
CreateQueueCommand,
|
|
17018
17114
|
CreateQuickConnectCommand,
|
|
17019
17115
|
CreateRoutingProfileCommand,
|
|
@@ -17039,6 +17135,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17039
17135
|
DeleteIntegrationAssociationCommand,
|
|
17040
17136
|
DeletePredefinedAttributeCommand,
|
|
17041
17137
|
DeletePromptCommand,
|
|
17138
|
+
DeletePushNotificationRegistrationCommand,
|
|
17042
17139
|
DeleteQueueCommand,
|
|
17043
17140
|
DeleteQuickConnectCommand,
|
|
17044
17141
|
DeleteRoutingProfileCommand,
|
|
@@ -17373,6 +17470,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17373
17470
|
ParticipantRole,
|
|
17374
17471
|
RehydrationType,
|
|
17375
17472
|
PredefinedAttributeValues,
|
|
17473
|
+
DeviceType,
|
|
17376
17474
|
QuickConnectType,
|
|
17377
17475
|
BehaviorType,
|
|
17378
17476
|
NotificationContentType,
|
|
@@ -17436,9 +17534,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17436
17534
|
RealTimeContactAnalysisSupportedChannel,
|
|
17437
17535
|
ArtifactStatus,
|
|
17438
17536
|
RealTimeContactAnalysisTimeData,
|
|
17439
|
-
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17440
|
-
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17441
|
-
RealTimeContactAnalysisSentimentLabel,
|
|
17442
17537
|
DescribeEmailAddressResponseFilterSensitiveLog,
|
|
17443
17538
|
InstanceFilterSensitiveLog,
|
|
17444
17539
|
DescribeInstanceResponseFilterSensitiveLog,
|
|
@@ -17449,6 +17544,9 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17449
17544
|
GetFederationTokenResponseFilterSensitiveLog,
|
|
17450
17545
|
InstanceSummaryFilterSensitiveLog,
|
|
17451
17546
|
ListInstancesResponseFilterSensitiveLog,
|
|
17547
|
+
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17548
|
+
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17549
|
+
RealTimeContactAnalysisSentimentLabel,
|
|
17452
17550
|
RealtimeContactAnalysisSegment,
|
|
17453
17551
|
RealTimeContactAnalysisStatus,
|
|
17454
17552
|
OutputTypeNotFoundException,
|
package/dist-es/Connect.js
CHANGED
|
@@ -35,6 +35,7 @@ import { CreateParticipantCommand, } from "./commands/CreateParticipantCommand";
|
|
|
35
35
|
import { CreatePersistentContactAssociationCommand, } from "./commands/CreatePersistentContactAssociationCommand";
|
|
36
36
|
import { CreatePredefinedAttributeCommand, } from "./commands/CreatePredefinedAttributeCommand";
|
|
37
37
|
import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
|
|
38
|
+
import { CreatePushNotificationRegistrationCommand, } from "./commands/CreatePushNotificationRegistrationCommand";
|
|
38
39
|
import { CreateQueueCommand } from "./commands/CreateQueueCommand";
|
|
39
40
|
import { CreateQuickConnectCommand, } from "./commands/CreateQuickConnectCommand";
|
|
40
41
|
import { CreateRoutingProfileCommand, } from "./commands/CreateRoutingProfileCommand";
|
|
@@ -60,6 +61,7 @@ import { DeleteInstanceCommand, } from "./commands/DeleteInstanceCommand";
|
|
|
60
61
|
import { DeleteIntegrationAssociationCommand, } from "./commands/DeleteIntegrationAssociationCommand";
|
|
61
62
|
import { DeletePredefinedAttributeCommand, } from "./commands/DeletePredefinedAttributeCommand";
|
|
62
63
|
import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
|
|
64
|
+
import { DeletePushNotificationRegistrationCommand, } from "./commands/DeletePushNotificationRegistrationCommand";
|
|
63
65
|
import { DeleteQueueCommand } from "./commands/DeleteQueueCommand";
|
|
64
66
|
import { DeleteQuickConnectCommand, } from "./commands/DeleteQuickConnectCommand";
|
|
65
67
|
import { DeleteRoutingProfileCommand, } from "./commands/DeleteRoutingProfileCommand";
|
|
@@ -307,6 +309,7 @@ const commands = {
|
|
|
307
309
|
CreatePersistentContactAssociationCommand,
|
|
308
310
|
CreatePredefinedAttributeCommand,
|
|
309
311
|
CreatePromptCommand,
|
|
312
|
+
CreatePushNotificationRegistrationCommand,
|
|
310
313
|
CreateQueueCommand,
|
|
311
314
|
CreateQuickConnectCommand,
|
|
312
315
|
CreateRoutingProfileCommand,
|
|
@@ -332,6 +335,7 @@ const commands = {
|
|
|
332
335
|
DeleteIntegrationAssociationCommand,
|
|
333
336
|
DeletePredefinedAttributeCommand,
|
|
334
337
|
DeletePromptCommand,
|
|
338
|
+
DeletePushNotificationRegistrationCommand,
|
|
335
339
|
DeleteQueueCommand,
|
|
336
340
|
DeleteQuickConnectCommand,
|
|
337
341
|
DeleteRoutingProfileCommand,
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { CreateContactRequestFilterSensitiveLog } from "../models/
|
|
5
|
+
import { CreateContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateContactCommand extends $Command
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreatePushNotificationRegistrationCommand, se_CreatePushNotificationRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreatePushNotificationRegistrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectService", "CreatePushNotificationRegistration", {})
|
|
17
|
+
.n("ConnectClient", "CreatePushNotificationRegistrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreatePushNotificationRegistrationCommand)
|
|
20
|
+
.de(de_CreatePushNotificationRegistrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeletePushNotificationRegistrationCommand, se_DeletePushNotificationRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeletePushNotificationRegistrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectService", "DeletePushNotificationRegistration", {})
|
|
17
|
+
.n("ConnectClient", "DeletePushNotificationRegistrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeletePushNotificationRegistrationCommand)
|
|
20
|
+
.de(de_DeletePushNotificationRegistrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from "./CreateParticipantCommand";
|
|
|
34
34
|
export * from "./CreatePersistentContactAssociationCommand";
|
|
35
35
|
export * from "./CreatePredefinedAttributeCommand";
|
|
36
36
|
export * from "./CreatePromptCommand";
|
|
37
|
+
export * from "./CreatePushNotificationRegistrationCommand";
|
|
37
38
|
export * from "./CreateQueueCommand";
|
|
38
39
|
export * from "./CreateQuickConnectCommand";
|
|
39
40
|
export * from "./CreateRoutingProfileCommand";
|
|
@@ -59,6 +60,7 @@ export * from "./DeleteInstanceCommand";
|
|
|
59
60
|
export * from "./DeleteIntegrationAssociationCommand";
|
|
60
61
|
export * from "./DeletePredefinedAttributeCommand";
|
|
61
62
|
export * from "./DeletePromptCommand";
|
|
63
|
+
export * from "./DeletePushNotificationRegistrationCommand";
|
|
62
64
|
export * from "./DeleteQueueCommand";
|
|
63
65
|
export * from "./DeleteQuickConnectCommand";
|
|
64
66
|
export * from "./DeleteRoutingProfileCommand";
|
|
@@ -536,6 +536,11 @@ export var PredefinedAttributeValues;
|
|
|
536
536
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
537
537
|
};
|
|
538
538
|
})(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
|
|
539
|
+
export const DeviceType = {
|
|
540
|
+
APNS: "APNS",
|
|
541
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
542
|
+
GCM: "GCM",
|
|
543
|
+
};
|
|
539
544
|
export const QuickConnectType = {
|
|
540
545
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
541
546
|
QUEUE: "QUEUE",
|
|
@@ -502,22 +502,6 @@ export var RealTimeContactAnalysisTimeData;
|
|
|
502
502
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
503
503
|
};
|
|
504
504
|
})(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
|
|
505
|
-
export const RealTimeContactAnalysisPostContactSummaryFailureCode = {
|
|
506
|
-
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
507
|
-
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
508
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
509
|
-
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
510
|
-
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
511
|
-
};
|
|
512
|
-
export const RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
513
|
-
COMPLETED: "COMPLETED",
|
|
514
|
-
FAILED: "FAILED",
|
|
515
|
-
};
|
|
516
|
-
export const RealTimeContactAnalysisSentimentLabel = {
|
|
517
|
-
NEGATIVE: "NEGATIVE",
|
|
518
|
-
NEUTRAL: "NEUTRAL",
|
|
519
|
-
POSITIVE: "POSITIVE",
|
|
520
|
-
};
|
|
521
505
|
export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
|
|
522
506
|
...obj,
|
|
523
507
|
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export const RealTimeContactAnalysisPostContactSummaryFailureCode = {
|
|
5
|
+
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
6
|
+
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
7
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
8
|
+
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
9
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
10
|
+
};
|
|
11
|
+
export const RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
12
|
+
COMPLETED: "COMPLETED",
|
|
13
|
+
FAILED: "FAILED",
|
|
14
|
+
};
|
|
15
|
+
export const RealTimeContactAnalysisSentimentLabel = {
|
|
16
|
+
NEGATIVE: "NEGATIVE",
|
|
17
|
+
NEUTRAL: "NEUTRAL",
|
|
18
|
+
POSITIVE: "POSITIVE",
|
|
19
|
+
};
|
|
4
20
|
export var RealtimeContactAnalysisSegment;
|
|
5
21
|
(function (RealtimeContactAnalysisSegment) {
|
|
6
22
|
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
@@ -413,8 +429,3 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
413
429
|
...obj,
|
|
414
430
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
415
431
|
});
|
|
416
|
-
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
417
|
-
...obj,
|
|
418
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
419
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
420
|
-
});
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { EmailAddressInfoFilterSensitiveLog, InboundAdditionalRecipientsFilterSensitiveLog, InboundEmailContentFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
4
|
+
...obj,
|
|
5
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
6
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
7
|
+
});
|
|
3
8
|
export const StartEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
4
9
|
...obj,
|
|
5
10
|
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|