@aws-sdk/client-connect 3.701.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 +186 -63
- 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 +11 -0
- package/dist-es/models/models_1.js +0 -16
- package/dist-es/models/models_2.js +24 -5
- package/dist-es/models/models_3.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +62 -0
- package/dist-types/Connect.d.ts +16 -2
- package/dist-types/ConnectClient.d.ts +6 -4
- package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreateIntegrationAssociationCommand.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/DisassociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
- package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +21 -0
- 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 +142 -81
- package/dist-types/models/models_1.d.ts +202 -171
- package/dist-types/models/models_2.d.ts +215 -400
- package/dist-types/models/models_3.d.ts +430 -3
- 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 +34 -19
- package/dist-types/ts3.4/models/models_1.d.ts +19 -43
- package/dist-types/ts3.4/models/models_2.d.ts +65 -89
- package/dist-types/ts3.4/models/models_3.d.ts +92 -6
- 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 connect programmatically to an Amazon Web Services service
|
|
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
|
@@ -73,6 +73,7 @@ __export(src_exports, {
|
|
|
73
73
|
ContactFlowType: () => ContactFlowType,
|
|
74
74
|
ContactInitiationMethod: () => ContactInitiationMethod,
|
|
75
75
|
ContactNotFoundException: () => ContactNotFoundException,
|
|
76
|
+
ContactRecordingType: () => ContactRecordingType,
|
|
76
77
|
ContactState: () => ContactState,
|
|
77
78
|
CreateAgentStatusCommand: () => CreateAgentStatusCommand,
|
|
78
79
|
CreateContactCommand: () => CreateContactCommand,
|
|
@@ -91,6 +92,7 @@ __export(src_exports, {
|
|
|
91
92
|
CreatePersistentContactAssociationCommand: () => CreatePersistentContactAssociationCommand,
|
|
92
93
|
CreatePredefinedAttributeCommand: () => CreatePredefinedAttributeCommand,
|
|
93
94
|
CreatePromptCommand: () => CreatePromptCommand,
|
|
95
|
+
CreatePushNotificationRegistrationCommand: () => CreatePushNotificationRegistrationCommand,
|
|
94
96
|
CreateQueueCommand: () => CreateQueueCommand,
|
|
95
97
|
CreateQuickConnectCommand: () => CreateQuickConnectCommand,
|
|
96
98
|
CreateRoutingProfileCommand: () => CreateRoutingProfileCommand,
|
|
@@ -123,6 +125,7 @@ __export(src_exports, {
|
|
|
123
125
|
DeleteIntegrationAssociationCommand: () => DeleteIntegrationAssociationCommand,
|
|
124
126
|
DeletePredefinedAttributeCommand: () => DeletePredefinedAttributeCommand,
|
|
125
127
|
DeletePromptCommand: () => DeletePromptCommand,
|
|
128
|
+
DeletePushNotificationRegistrationCommand: () => DeletePushNotificationRegistrationCommand,
|
|
126
129
|
DeleteQueueCommand: () => DeleteQueueCommand,
|
|
127
130
|
DeleteQuickConnectCommand: () => DeleteQuickConnectCommand,
|
|
128
131
|
DeleteRoutingProfileCommand: () => DeleteRoutingProfileCommand,
|
|
@@ -168,6 +171,7 @@ __export(src_exports, {
|
|
|
168
171
|
DescribeViewResponseFilterSensitiveLog: () => DescribeViewResponseFilterSensitiveLog,
|
|
169
172
|
DescribeVocabularyCommand: () => DescribeVocabularyCommand,
|
|
170
173
|
DestinationNotAllowedException: () => DestinationNotAllowedException,
|
|
174
|
+
DeviceType: () => DeviceType,
|
|
171
175
|
DirectoryType: () => DirectoryType,
|
|
172
176
|
DisassociateAnalyticsDataSetCommand: () => DisassociateAnalyticsDataSetCommand,
|
|
173
177
|
DisassociateApprovedOriginCommand: () => DisassociateApprovedOriginCommand,
|
|
@@ -242,6 +246,7 @@ __export(src_exports, {
|
|
|
242
246
|
InvalidParameterException: () => InvalidParameterException,
|
|
243
247
|
InvalidRequestException: () => InvalidRequestException,
|
|
244
248
|
InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,
|
|
249
|
+
IvrRecordingTrack: () => IvrRecordingTrack,
|
|
245
250
|
LexVersion: () => LexVersion,
|
|
246
251
|
LimitExceededException: () => LimitExceededException,
|
|
247
252
|
ListAgentStatusesCommand: () => ListAgentStatusesCommand,
|
|
@@ -1034,9 +1039,11 @@ var VocabularyLanguageCode = {
|
|
|
1034
1039
|
ZH_CN: "zh-CN"
|
|
1035
1040
|
};
|
|
1036
1041
|
var FlowAssociationResourceType = {
|
|
1042
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1037
1043
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
1038
1044
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
1039
|
-
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER"
|
|
1045
|
+
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
|
|
1046
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"
|
|
1040
1047
|
};
|
|
1041
1048
|
var InstanceStorageResourceType = {
|
|
1042
1049
|
AGENT_EVENTS: "AGENT_EVENTS",
|
|
@@ -1083,9 +1090,11 @@ var FileUseCaseType = {
|
|
|
1083
1090
|
EMAIL_MESSAGE: "EMAIL_MESSAGE"
|
|
1084
1091
|
};
|
|
1085
1092
|
var ListFlowAssociationResourceType = {
|
|
1093
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1086
1094
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
1087
1095
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
1088
|
-
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER"
|
|
1096
|
+
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
1097
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"
|
|
1089
1098
|
};
|
|
1090
1099
|
var EndpointType = {
|
|
1091
1100
|
CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",
|
|
@@ -1304,7 +1313,9 @@ var DirectoryType = {
|
|
|
1304
1313
|
SAML: "SAML"
|
|
1305
1314
|
};
|
|
1306
1315
|
var IntegrationType = {
|
|
1316
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1307
1317
|
APPLICATION: "APPLICATION",
|
|
1318
|
+
CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR",
|
|
1308
1319
|
CASES_DOMAIN: "CASES_DOMAIN",
|
|
1309
1320
|
EVENT: "EVENT",
|
|
1310
1321
|
FILE_SCANNER: "FILE_SCANNER",
|
|
@@ -1340,6 +1351,11 @@ var PredefinedAttributeValues;
|
|
|
1340
1351
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1341
1352
|
}, "visit");
|
|
1342
1353
|
})(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
|
|
1354
|
+
var DeviceType = {
|
|
1355
|
+
APNS: "APNS",
|
|
1356
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
1357
|
+
GCM: "GCM"
|
|
1358
|
+
};
|
|
1343
1359
|
var QuickConnectType = {
|
|
1344
1360
|
PHONE_NUMBER: "PHONE_NUMBER",
|
|
1345
1361
|
QUEUE: "QUEUE",
|
|
@@ -2070,22 +2086,6 @@ var RealTimeContactAnalysisTimeData;
|
|
|
2070
2086
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2071
2087
|
}, "visit");
|
|
2072
2088
|
})(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
|
|
2073
|
-
var RealTimeContactAnalysisPostContactSummaryFailureCode = {
|
|
2074
|
-
FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
|
|
2075
|
-
INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
|
|
2076
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
2077
|
-
INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
|
|
2078
|
-
QUOTA_EXCEEDED: "QUOTA_EXCEEDED"
|
|
2079
|
-
};
|
|
2080
|
-
var RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
2081
|
-
COMPLETED: "COMPLETED",
|
|
2082
|
-
FAILED: "FAILED"
|
|
2083
|
-
};
|
|
2084
|
-
var RealTimeContactAnalysisSentimentLabel = {
|
|
2085
|
-
NEGATIVE: "NEGATIVE",
|
|
2086
|
-
NEUTRAL: "NEUTRAL",
|
|
2087
|
-
POSITIVE: "POSITIVE"
|
|
2088
|
-
};
|
|
2089
2089
|
var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2090
2090
|
...obj,
|
|
2091
2091
|
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2134,6 +2134,22 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2134
2134
|
|
|
2135
2135
|
// src/models/models_2.ts
|
|
2136
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
|
+
};
|
|
2137
2153
|
var RealtimeContactAnalysisSegment;
|
|
2138
2154
|
((RealtimeContactAnalysisSegment3) => {
|
|
2139
2155
|
RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -2175,6 +2191,11 @@ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends Co
|
|
|
2175
2191
|
};
|
|
2176
2192
|
__name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
|
|
2177
2193
|
var OutputTypeNotFoundException = _OutputTypeNotFoundException;
|
|
2194
|
+
var ContactRecordingType = {
|
|
2195
|
+
AGENT: "AGENT",
|
|
2196
|
+
IVR: "IVR",
|
|
2197
|
+
SCREEN: "SCREEN"
|
|
2198
|
+
};
|
|
2178
2199
|
var SearchContactsMatchType = {
|
|
2179
2200
|
MATCH_ALL: "MATCH_ALL",
|
|
2180
2201
|
MATCH_ANY: "MATCH_ANY"
|
|
@@ -2243,6 +2264,9 @@ var TrafficType = {
|
|
|
2243
2264
|
CAMPAIGN: "CAMPAIGN",
|
|
2244
2265
|
GENERAL: "GENERAL"
|
|
2245
2266
|
};
|
|
2267
|
+
var IvrRecordingTrack = {
|
|
2268
|
+
ALL: "ALL"
|
|
2269
|
+
};
|
|
2246
2270
|
var VoiceRecordingTrack = {
|
|
2247
2271
|
ALL: "ALL",
|
|
2248
2272
|
FROM_AGENT: "FROM_AGENT",
|
|
@@ -2568,11 +2592,6 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2568
2592
|
...obj,
|
|
2569
2593
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2570
2594
|
}), "UpdateViewMetadataRequestFilterSensitiveLog");
|
|
2571
|
-
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2572
|
-
...obj,
|
|
2573
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2574
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2575
|
-
}), "CreateContactRequestFilterSensitiveLog");
|
|
2576
2595
|
|
|
2577
2596
|
// src/protocols/Aws_restJson1.ts
|
|
2578
2597
|
var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -3230,6 +3249,26 @@ var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3230
3249
|
b.m("PUT").h(headers).b(body);
|
|
3231
3250
|
return b.build();
|
|
3232
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");
|
|
3233
3272
|
var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3234
3273
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3235
3274
|
const headers = {
|
|
@@ -3633,6 +3672,19 @@ var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3633
3672
|
b.m("DELETE").h(headers).b(body);
|
|
3634
3673
|
return b.build();
|
|
3635
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");
|
|
3636
3688
|
var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3637
3689
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3638
3690
|
const headers = {};
|
|
@@ -5168,6 +5220,7 @@ var se_ResumeContactRecordingCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
5168
5220
|
body = JSON.stringify(
|
|
5169
5221
|
(0, import_smithy_client.take)(input, {
|
|
5170
5222
|
ContactId: [],
|
|
5223
|
+
ContactRecordingType: [],
|
|
5171
5224
|
InitialContactId: [],
|
|
5172
5225
|
InstanceId: []
|
|
5173
5226
|
})
|
|
@@ -5843,6 +5896,7 @@ var se_StopContactRecordingCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
5843
5896
|
body = JSON.stringify(
|
|
5844
5897
|
(0, import_smithy_client.take)(input, {
|
|
5845
5898
|
ContactId: [],
|
|
5899
|
+
ContactRecordingType: [],
|
|
5846
5900
|
InitialContactId: [],
|
|
5847
5901
|
InstanceId: []
|
|
5848
5902
|
})
|
|
@@ -5895,6 +5949,7 @@ var se_SuspendContactRecordingCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
5895
5949
|
body = JSON.stringify(
|
|
5896
5950
|
(0, import_smithy_client.take)(input, {
|
|
5897
5951
|
ContactId: [],
|
|
5952
|
+
ContactRecordingType: [],
|
|
5898
5953
|
InitialContactId: [],
|
|
5899
5954
|
InstanceId: []
|
|
5900
5955
|
})
|
|
@@ -6033,10 +6088,14 @@ var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
6033
6088
|
let body;
|
|
6034
6089
|
body = JSON.stringify(
|
|
6035
6090
|
(0, import_smithy_client.take)(input, {
|
|
6091
|
+
CustomerEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6036
6092
|
Description: [],
|
|
6037
6093
|
Name: [],
|
|
6094
|
+
QueueInfo: (_) => (0, import_smithy_client._json)(_),
|
|
6038
6095
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
6039
|
-
SegmentAttributes: (_) => se_SegmentAttributes(_, context)
|
|
6096
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
6097
|
+
SystemEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6098
|
+
UserInfo: (_) => (0, import_smithy_client._json)(_)
|
|
6040
6099
|
})
|
|
6041
6100
|
);
|
|
6042
6101
|
b.m("POST").h(headers).b(body);
|
|
@@ -7345,6 +7404,20 @@ var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
7345
7404
|
Object.assign(contents, doc);
|
|
7346
7405
|
return contents;
|
|
7347
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");
|
|
7348
7421
|
var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7349
7422
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7350
7423
|
return de_CommandError(output, context);
|
|
@@ -7665,6 +7738,16 @@ var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
7665
7738
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
7666
7739
|
return contents;
|
|
7667
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");
|
|
7668
7751
|
var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7669
7752
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7670
7753
|
return de_CommandError(output, context);
|
|
@@ -12923,6 +13006,47 @@ var CreateAgentStatusCommand = _CreateAgentStatusCommand;
|
|
|
12923
13006
|
|
|
12924
13007
|
|
|
12925
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
|
|
12926
13050
|
var _CreateContactCommand = class _CreateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
12927
13051
|
return [
|
|
12928
13052
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -13101,6 +13225,20 @@ var _CreatePromptCommand = class _CreatePromptCommand extends import_smithy_clie
|
|
|
13101
13225
|
__name(_CreatePromptCommand, "CreatePromptCommand");
|
|
13102
13226
|
var CreatePromptCommand = _CreatePromptCommand;
|
|
13103
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
|
+
|
|
13104
13242
|
// src/commands/CreateQueueCommand.ts
|
|
13105
13243
|
|
|
13106
13244
|
|
|
@@ -13451,6 +13589,20 @@ var _DeletePromptCommand = class _DeletePromptCommand extends import_smithy_clie
|
|
|
13451
13589
|
__name(_DeletePromptCommand, "DeletePromptCommand");
|
|
13452
13590
|
var DeletePromptCommand = _DeletePromptCommand;
|
|
13453
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
|
+
|
|
13454
13606
|
// src/commands/DeleteQueueCommand.ts
|
|
13455
13607
|
|
|
13456
13608
|
|
|
@@ -13665,42 +13817,6 @@ var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand
|
|
|
13665
13817
|
|
|
13666
13818
|
|
|
13667
13819
|
|
|
13668
|
-
|
|
13669
|
-
// src/models/models_3.ts
|
|
13670
|
-
|
|
13671
|
-
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13672
|
-
...obj,
|
|
13673
|
-
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
13674
|
-
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
13675
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
13676
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13677
|
-
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
13678
|
-
...obj.AdditionalRecipients && {
|
|
13679
|
-
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
13680
|
-
},
|
|
13681
|
-
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
13682
|
-
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
13683
|
-
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13684
|
-
...obj,
|
|
13685
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13686
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13687
|
-
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
13688
|
-
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13689
|
-
...obj,
|
|
13690
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13691
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13692
|
-
}), "UpdateContactRequestFilterSensitiveLog");
|
|
13693
|
-
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13694
|
-
...obj,
|
|
13695
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13696
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13697
|
-
}), "ContactFilterSensitiveLog");
|
|
13698
|
-
var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13699
|
-
...obj,
|
|
13700
|
-
...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
|
|
13701
|
-
}), "DescribeContactResponseFilterSensitiveLog");
|
|
13702
|
-
|
|
13703
|
-
// src/commands/DescribeContactCommand.ts
|
|
13704
13820
|
var _DescribeContactCommand = class _DescribeContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13705
13821
|
return [
|
|
13706
13822
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -16451,6 +16567,7 @@ var commands = {
|
|
|
16451
16567
|
CreatePersistentContactAssociationCommand,
|
|
16452
16568
|
CreatePredefinedAttributeCommand,
|
|
16453
16569
|
CreatePromptCommand,
|
|
16570
|
+
CreatePushNotificationRegistrationCommand,
|
|
16454
16571
|
CreateQueueCommand,
|
|
16455
16572
|
CreateQuickConnectCommand,
|
|
16456
16573
|
CreateRoutingProfileCommand,
|
|
@@ -16476,6 +16593,7 @@ var commands = {
|
|
|
16476
16593
|
DeleteIntegrationAssociationCommand,
|
|
16477
16594
|
DeletePredefinedAttributeCommand,
|
|
16478
16595
|
DeletePromptCommand,
|
|
16596
|
+
DeletePushNotificationRegistrationCommand,
|
|
16479
16597
|
DeleteQueueCommand,
|
|
16480
16598
|
DeleteQuickConnectCommand,
|
|
16481
16599
|
DeleteRoutingProfileCommand,
|
|
@@ -16991,6 +17109,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16991
17109
|
CreatePersistentContactAssociationCommand,
|
|
16992
17110
|
CreatePredefinedAttributeCommand,
|
|
16993
17111
|
CreatePromptCommand,
|
|
17112
|
+
CreatePushNotificationRegistrationCommand,
|
|
16994
17113
|
CreateQueueCommand,
|
|
16995
17114
|
CreateQuickConnectCommand,
|
|
16996
17115
|
CreateRoutingProfileCommand,
|
|
@@ -17016,6 +17135,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17016
17135
|
DeleteIntegrationAssociationCommand,
|
|
17017
17136
|
DeletePredefinedAttributeCommand,
|
|
17018
17137
|
DeletePromptCommand,
|
|
17138
|
+
DeletePushNotificationRegistrationCommand,
|
|
17019
17139
|
DeleteQueueCommand,
|
|
17020
17140
|
DeleteQuickConnectCommand,
|
|
17021
17141
|
DeleteRoutingProfileCommand,
|
|
@@ -17350,6 +17470,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17350
17470
|
ParticipantRole,
|
|
17351
17471
|
RehydrationType,
|
|
17352
17472
|
PredefinedAttributeValues,
|
|
17473
|
+
DeviceType,
|
|
17353
17474
|
QuickConnectType,
|
|
17354
17475
|
BehaviorType,
|
|
17355
17476
|
NotificationContentType,
|
|
@@ -17413,9 +17534,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17413
17534
|
RealTimeContactAnalysisSupportedChannel,
|
|
17414
17535
|
ArtifactStatus,
|
|
17415
17536
|
RealTimeContactAnalysisTimeData,
|
|
17416
|
-
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17417
|
-
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17418
|
-
RealTimeContactAnalysisSentimentLabel,
|
|
17419
17537
|
DescribeEmailAddressResponseFilterSensitiveLog,
|
|
17420
17538
|
InstanceFilterSensitiveLog,
|
|
17421
17539
|
DescribeInstanceResponseFilterSensitiveLog,
|
|
@@ -17426,9 +17544,13 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17426
17544
|
GetFederationTokenResponseFilterSensitiveLog,
|
|
17427
17545
|
InstanceSummaryFilterSensitiveLog,
|
|
17428
17546
|
ListInstancesResponseFilterSensitiveLog,
|
|
17547
|
+
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17548
|
+
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17549
|
+
RealTimeContactAnalysisSentimentLabel,
|
|
17429
17550
|
RealtimeContactAnalysisSegment,
|
|
17430
17551
|
RealTimeContactAnalysisStatus,
|
|
17431
17552
|
OutputTypeNotFoundException,
|
|
17553
|
+
ContactRecordingType,
|
|
17432
17554
|
SearchContactsMatchType,
|
|
17433
17555
|
SortableFieldName,
|
|
17434
17556
|
SearchContactsTimeRangeType,
|
|
@@ -17440,6 +17562,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17440
17562
|
ChatEventType,
|
|
17441
17563
|
OutboundMessageSourceType,
|
|
17442
17564
|
TrafficType,
|
|
17565
|
+
IvrRecordingTrack,
|
|
17443
17566
|
VoiceRecordingTrack,
|
|
17444
17567
|
InboundMessageSourceType,
|
|
17445
17568
|
EmailHeaderType,
|
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";
|