@aws-sdk/client-connect 3.46.0 → 3.47.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/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +6 -120
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -76
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/ConnectClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -114
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.SuspendContactRecordingResponse = exports.SuspendContactRecordingRequest = exports.StopContactStreamingResponse = exports.StopContactStreamingRequest = exports.StopContactRecordingResponse = exports.StopContactRecordingRequest = exports.StopContactResponse = exports.StopContactRequest = exports.
|
|
3
|
+
exports.OutboundCallerConfig = exports.CreateIntegrationAssociationResponse = exports.CreateIntegrationAssociationRequest = exports.SourceType = exports.IntegrationType = exports.CreateInstanceResponse = exports.CreateInstanceRequest = exports.DirectoryType = exports.CreateHoursOfOperationResponse = exports.CreateHoursOfOperationRequest = exports.HoursOfOperationConfig = exports.HoursOfOperationTimeSlice = exports.HoursOfOperationDays = exports.CreateContactFlowModuleResponse = exports.CreateContactFlowModuleRequest = exports.ProblemDetail = exports.CreateContactFlowResponse = exports.CreateContactFlowRequest = exports.ContactFlowType = exports.CreateAgentStatusResponse = exports.CreateAgentStatusRequest = exports.AssociateSecurityKeyResponse = exports.AssociateSecurityKeyRequest = exports.AssociateRoutingProfileQueuesRequest = exports.RoutingProfileQueueConfig = exports.RoutingProfileQueueReference = exports.Channel = exports.AssociateQueueQuickConnectsRequest = exports.AssociateLexBotRequest = exports.AssociateLambdaFunctionRequest = exports.AssociateInstanceStorageConfigResponse = exports.AssociateInstanceStorageConfigRequest = exports.InstanceStorageConfig = exports.StorageType = exports.S3Config = exports.KinesisVideoStreamConfig = exports.EncryptionConfig = exports.EncryptionType = exports.KinesisStreamConfig = exports.KinesisFirehoseConfig = exports.InstanceStorageResourceType = exports.AssociateBotRequest = exports.LexV2Bot = exports.LexBot = exports.AssociateApprovedOriginRequest = exports.AgentStatusSummary = exports.AgentStatus = exports.AgentStatusType = exports.AgentStatusState = exports.AgentInfo = void 0;
|
|
4
|
+
exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.DescribeContactFlowModuleRequest = exports.DescribeContactFlowResponse = exports.ContactFlow = exports.ContactFlowState = exports.DescribeContactFlowRequest = exports.DescribeContactResponse = exports.Contact = exports.QueueInfo = exports.ContactInitiationMethod = exports.DescribeContactRequest = exports.DescribeAgentStatusResponse = exports.DescribeAgentStatusRequest = exports.DeleteUserHierarchyGroupRequest = exports.DeleteUserRequest = exports.DeleteUseCaseRequest = exports.ResourceType = exports.DeleteSecurityProfileRequest = exports.DeleteQuickConnectRequest = exports.DeleteIntegrationAssociationRequest = exports.DeleteInstanceRequest = exports.DeleteHoursOfOperationRequest = exports.DeleteContactFlowModuleResponse = exports.DeleteContactFlowModuleRequest = exports.DeleteContactFlowRequest = exports.CreateUserHierarchyGroupResponse = exports.CreateUserHierarchyGroupRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.UserPhoneConfig = exports.PhoneType = exports.UserIdentityInfo = exports.CreateUseCaseResponse = exports.CreateUseCaseRequest = exports.UseCaseType = exports.CreateSecurityProfileResponse = exports.CreateSecurityProfileRequest = exports.CreateRoutingProfileResponse = exports.CreateRoutingProfileRequest = exports.MediaConcurrency = exports.CreateQuickConnectResponse = exports.CreateQuickConnectRequest = exports.QuickConnectConfig = exports.UserQuickConnectConfig = exports.QuickConnectType = exports.QueueQuickConnectConfig = exports.PhoneNumberQuickConnectConfig = exports.CreateQueueResponse = exports.CreateQueueRequest = void 0;
|
|
5
|
+
exports.GetContactAttributesRequest = exports.DisassociateSecurityKeyRequest = exports.DisassociateRoutingProfileQueuesRequest = exports.DisassociateQueueQuickConnectsRequest = exports.DisassociateLexBotRequest = exports.DisassociateLambdaFunctionRequest = exports.DisassociateInstanceStorageConfigRequest = exports.DisassociateBotRequest = exports.DisassociateApprovedOriginRequest = exports.DescribeUserHierarchyStructureResponse = exports.HierarchyStructure = exports.HierarchyLevel = exports.DescribeUserHierarchyStructureRequest = exports.DescribeUserHierarchyGroupResponse = exports.HierarchyGroup = exports.HierarchyPath = exports.HierarchyGroupSummary = exports.DescribeUserHierarchyGroupRequest = exports.DescribeUserResponse = exports.User = exports.DescribeUserRequest = exports.DescribeSecurityProfileResponse = exports.SecurityProfile = exports.DescribeSecurityProfileRequest = exports.DescribeRoutingProfileResponse = exports.RoutingProfile = exports.DescribeRoutingProfileRequest = exports.DescribeQuickConnectResponse = exports.QuickConnect = exports.DescribeQuickConnectRequest = exports.DescribeQueueResponse = exports.Queue = exports.QueueStatus = exports.DescribeQueueRequest = exports.DescribeInstanceStorageConfigResponse = exports.DescribeInstanceStorageConfigRequest = exports.DescribeInstanceAttributeResponse = exports.Attribute = exports.DescribeInstanceAttributeRequest = exports.InstanceAttributeType = exports.DescribeInstanceResponse = exports.Instance = exports.InstanceStatusReason = exports.InstanceStatus = exports.DescribeInstanceRequest = exports.DescribeHoursOfOperationResponse = exports.HoursOfOperation = exports.DescribeHoursOfOperationRequest = exports.DescribeContactFlowModuleResponse = exports.ContactFlowModule = void 0;
|
|
6
|
+
exports.ListInstanceAttributesResponse = exports.ListInstanceAttributesRequest = exports.ListHoursOfOperationsResponse = exports.HoursOfOperationSummary = exports.ListHoursOfOperationsRequest = exports.ListContactReferencesResponse = exports.ReferenceSummary = exports.UrlReference = exports.AttachmentReference = exports.ReferenceStatus = exports.ListContactReferencesRequest = exports.ReferenceType = exports.ListContactFlowsResponse = exports.ContactFlowSummary = exports.ListContactFlowsRequest = exports.ListContactFlowModulesResponse = exports.ContactFlowModuleSummary = exports.ListContactFlowModulesRequest = exports.ListBotsResponse = exports.LexBotConfig = exports.ListBotsRequest = exports.LexVersion = exports.ListApprovedOriginsResponse = exports.ListApprovedOriginsRequest = exports.ListAgentStatusResponse = exports.ListAgentStatusRequest = exports.GetMetricDataResponse = exports.HistoricalMetricResult = exports.HistoricalMetricData = exports.GetMetricDataRequest = exports.HistoricalMetric = exports.Threshold = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.GetFederationTokenResponse = exports.Credentials = exports.GetFederationTokenRequest = exports.GetCurrentMetricDataResponse = exports.CurrentMetricResult = exports.Dimensions = exports.QueueReference = exports.CurrentMetricData = exports.GetCurrentMetricDataRequest = exports.Grouping = exports.Filters = exports.CurrentMetric = exports.Unit = exports.CurrentMetricName = exports.GetContactAttributesResponse = void 0;
|
|
7
|
+
exports.ListUserHierarchyGroupsResponse = exports.ListUserHierarchyGroupsRequest = exports.ListUseCasesResponse = exports.UseCase = exports.ListUseCasesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSecurityProfilesResponse = exports.SecurityProfileSummary = exports.ListSecurityProfilesRequest = exports.ListSecurityProfilePermissionsResponse = exports.ListSecurityProfilePermissionsRequest = exports.ListSecurityKeysResponse = exports.SecurityKey = exports.ListSecurityKeysRequest = exports.ListRoutingProfilesResponse = exports.RoutingProfileSummary = exports.ListRoutingProfilesRequest = exports.ListRoutingProfileQueuesResponse = exports.RoutingProfileQueueConfigSummary = exports.ListRoutingProfileQueuesRequest = exports.ListQuickConnectsResponse = exports.ListQuickConnectsRequest = exports.ListQueuesResponse = exports.QueueSummary = exports.ListQueuesRequest = exports.QueueType = exports.ListQueueQuickConnectsResponse = exports.QuickConnectSummary = exports.ListQueueQuickConnectsRequest = exports.ListPromptsResponse = exports.PromptSummary = exports.ListPromptsRequest = exports.ListPhoneNumbersResponse = exports.PhoneNumberSummary = exports.ListPhoneNumbersRequest = exports.PhoneNumberType = exports.PhoneNumberCountryCode = exports.ListLexBotsResponse = exports.ListLexBotsRequest = exports.ListLambdaFunctionsResponse = exports.ListLambdaFunctionsRequest = exports.ListIntegrationAssociationsResponse = exports.IntegrationAssociationSummary = exports.ListIntegrationAssociationsRequest = exports.ListInstanceStorageConfigsResponse = exports.ListInstanceStorageConfigsRequest = exports.ListInstancesResponse = exports.InstanceSummary = exports.ListInstancesRequest = void 0;
|
|
8
|
+
exports.SuspendContactRecordingResponse = exports.SuspendContactRecordingRequest = exports.StopContactStreamingResponse = exports.StopContactStreamingRequest = exports.StopContactRecordingResponse = exports.StopContactRecordingRequest = exports.StopContactResponse = exports.StopContactRequest = exports.StartTaskContactResponse = exports.StartTaskContactRequest = exports.Reference = exports.StartOutboundVoiceContactResponse = exports.StartOutboundVoiceContactRequest = exports.TrafficType = exports.AnswerMachineDetectionConfig = exports.StartContactStreamingResponse = exports.StartContactStreamingRequest = exports.ChatStreamingConfiguration = exports.StartContactRecordingResponse = exports.StartContactRecordingRequest = exports.VoiceRecordingConfiguration = exports.VoiceRecordingTrack = exports.StartChatContactResponse = exports.StartChatContactRequest = exports.ParticipantDetails = exports.ChatMessage = exports.ResumeContactRecordingResponse = exports.ResumeContactRecordingRequest = exports.ListUsersResponse = exports.UserSummary = exports.ListUsersRequest = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
|
-
var AccessDeniedException;
|
|
11
|
-
(function (AccessDeniedException) {
|
|
12
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
13
|
-
...obj,
|
|
14
|
-
});
|
|
15
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
16
10
|
var AgentInfo;
|
|
17
11
|
(function (AgentInfo) {
|
|
18
12
|
AgentInfo.filterSensitiveLog = (obj) => ({
|
|
@@ -48,48 +42,6 @@ var AssociateApprovedOriginRequest;
|
|
|
48
42
|
...obj,
|
|
49
43
|
});
|
|
50
44
|
})(AssociateApprovedOriginRequest = exports.AssociateApprovedOriginRequest || (exports.AssociateApprovedOriginRequest = {}));
|
|
51
|
-
var InternalServiceException;
|
|
52
|
-
(function (InternalServiceException) {
|
|
53
|
-
InternalServiceException.filterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
});
|
|
56
|
-
})(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
|
|
57
|
-
var InvalidParameterException;
|
|
58
|
-
(function (InvalidParameterException) {
|
|
59
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
60
|
-
...obj,
|
|
61
|
-
});
|
|
62
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
63
|
-
var InvalidRequestException;
|
|
64
|
-
(function (InvalidRequestException) {
|
|
65
|
-
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
66
|
-
...obj,
|
|
67
|
-
});
|
|
68
|
-
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
69
|
-
var ResourceConflictException;
|
|
70
|
-
(function (ResourceConflictException) {
|
|
71
|
-
ResourceConflictException.filterSensitiveLog = (obj) => ({
|
|
72
|
-
...obj,
|
|
73
|
-
});
|
|
74
|
-
})(ResourceConflictException = exports.ResourceConflictException || (exports.ResourceConflictException = {}));
|
|
75
|
-
var ResourceNotFoundException;
|
|
76
|
-
(function (ResourceNotFoundException) {
|
|
77
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
78
|
-
...obj,
|
|
79
|
-
});
|
|
80
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
81
|
-
var ServiceQuotaExceededException;
|
|
82
|
-
(function (ServiceQuotaExceededException) {
|
|
83
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
});
|
|
86
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
87
|
-
var ThrottlingException;
|
|
88
|
-
(function (ThrottlingException) {
|
|
89
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
90
|
-
...obj,
|
|
91
|
-
});
|
|
92
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
93
45
|
var LexBot;
|
|
94
46
|
(function (LexBot) {
|
|
95
47
|
LexBot.filterSensitiveLog = (obj) => ({
|
|
@@ -108,12 +60,6 @@ var AssociateBotRequest;
|
|
|
108
60
|
...obj,
|
|
109
61
|
});
|
|
110
62
|
})(AssociateBotRequest = exports.AssociateBotRequest || (exports.AssociateBotRequest = {}));
|
|
111
|
-
var LimitExceededException;
|
|
112
|
-
(function (LimitExceededException) {
|
|
113
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
114
|
-
...obj,
|
|
115
|
-
});
|
|
116
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
117
63
|
var InstanceStorageResourceType;
|
|
118
64
|
(function (InstanceStorageResourceType) {
|
|
119
65
|
InstanceStorageResourceType["AGENT_EVENTS"] = "AGENT_EVENTS";
|
|
@@ -248,12 +194,6 @@ var CreateAgentStatusResponse;
|
|
|
248
194
|
...obj,
|
|
249
195
|
});
|
|
250
196
|
})(CreateAgentStatusResponse = exports.CreateAgentStatusResponse || (exports.CreateAgentStatusResponse = {}));
|
|
251
|
-
var DuplicateResourceException;
|
|
252
|
-
(function (DuplicateResourceException) {
|
|
253
|
-
DuplicateResourceException.filterSensitiveLog = (obj) => ({
|
|
254
|
-
...obj,
|
|
255
|
-
});
|
|
256
|
-
})(DuplicateResourceException = exports.DuplicateResourceException || (exports.DuplicateResourceException = {}));
|
|
257
197
|
var ContactFlowType;
|
|
258
198
|
(function (ContactFlowType) {
|
|
259
199
|
ContactFlowType["AGENT_HOLD"] = "AGENT_HOLD";
|
|
@@ -284,12 +224,6 @@ var ProblemDetail;
|
|
|
284
224
|
...obj,
|
|
285
225
|
});
|
|
286
226
|
})(ProblemDetail = exports.ProblemDetail || (exports.ProblemDetail = {}));
|
|
287
|
-
var InvalidContactFlowException;
|
|
288
|
-
(function (InvalidContactFlowException) {
|
|
289
|
-
InvalidContactFlowException.filterSensitiveLog = (obj) => ({
|
|
290
|
-
...obj,
|
|
291
|
-
});
|
|
292
|
-
})(InvalidContactFlowException = exports.InvalidContactFlowException || (exports.InvalidContactFlowException = {}));
|
|
293
227
|
var CreateContactFlowModuleRequest;
|
|
294
228
|
(function (CreateContactFlowModuleRequest) {
|
|
295
229
|
CreateContactFlowModuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -302,18 +236,6 @@ var CreateContactFlowModuleResponse;
|
|
|
302
236
|
...obj,
|
|
303
237
|
});
|
|
304
238
|
})(CreateContactFlowModuleResponse = exports.CreateContactFlowModuleResponse || (exports.CreateContactFlowModuleResponse = {}));
|
|
305
|
-
var IdempotencyException;
|
|
306
|
-
(function (IdempotencyException) {
|
|
307
|
-
IdempotencyException.filterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
});
|
|
310
|
-
})(IdempotencyException = exports.IdempotencyException || (exports.IdempotencyException = {}));
|
|
311
|
-
var InvalidContactFlowModuleException;
|
|
312
|
-
(function (InvalidContactFlowModuleException) {
|
|
313
|
-
InvalidContactFlowModuleException.filterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
});
|
|
316
|
-
})(InvalidContactFlowModuleException = exports.InvalidContactFlowModuleException || (exports.InvalidContactFlowModuleException = {}));
|
|
317
239
|
var HoursOfOperationDays;
|
|
318
240
|
(function (HoursOfOperationDays) {
|
|
319
241
|
HoursOfOperationDays["FRIDAY"] = "FRIDAY";
|
|
@@ -598,12 +520,6 @@ var ResourceType;
|
|
|
598
520
|
ResourceType["PARTICIPANT"] = "PARTICIPANT";
|
|
599
521
|
ResourceType["USER"] = "USER";
|
|
600
522
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
601
|
-
var ResourceInUseException;
|
|
602
|
-
(function (ResourceInUseException) {
|
|
603
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
});
|
|
606
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
607
523
|
var DeleteUseCaseRequest;
|
|
608
524
|
(function (DeleteUseCaseRequest) {
|
|
609
525
|
DeleteUseCaseRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -667,12 +583,6 @@ var DescribeContactResponse;
|
|
|
667
583
|
...obj,
|
|
668
584
|
});
|
|
669
585
|
})(DescribeContactResponse = exports.DescribeContactResponse || (exports.DescribeContactResponse = {}));
|
|
670
|
-
var ContactFlowNotPublishedException;
|
|
671
|
-
(function (ContactFlowNotPublishedException) {
|
|
672
|
-
ContactFlowNotPublishedException.filterSensitiveLog = (obj) => ({
|
|
673
|
-
...obj,
|
|
674
|
-
});
|
|
675
|
-
})(ContactFlowNotPublishedException = exports.ContactFlowNotPublishedException || (exports.ContactFlowNotPublishedException = {}));
|
|
676
586
|
var DescribeContactFlowRequest;
|
|
677
587
|
(function (DescribeContactFlowRequest) {
|
|
678
588
|
DescribeContactFlowRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1119,12 +1029,6 @@ var GetFederationTokenResponse;
|
|
|
1119
1029
|
...(obj.Credentials && { Credentials: Credentials.filterSensitiveLog(obj.Credentials) }),
|
|
1120
1030
|
});
|
|
1121
1031
|
})(GetFederationTokenResponse = exports.GetFederationTokenResponse || (exports.GetFederationTokenResponse = {}));
|
|
1122
|
-
var UserNotFoundException;
|
|
1123
|
-
(function (UserNotFoundException) {
|
|
1124
|
-
UserNotFoundException.filterSensitiveLog = (obj) => ({
|
|
1125
|
-
...obj,
|
|
1126
|
-
});
|
|
1127
|
-
})(UserNotFoundException = exports.UserNotFoundException || (exports.UserNotFoundException = {}));
|
|
1128
1032
|
var HistoricalMetricName;
|
|
1129
1033
|
(function (HistoricalMetricName) {
|
|
1130
1034
|
HistoricalMetricName["ABANDON_TIME"] = "ABANDON_TIME";
|
|
@@ -1999,18 +1903,6 @@ var StartContactStreamingResponse;
|
|
|
1999
1903
|
...obj,
|
|
2000
1904
|
});
|
|
2001
1905
|
})(StartContactStreamingResponse = exports.StartContactStreamingResponse || (exports.StartContactStreamingResponse = {}));
|
|
2002
|
-
var DestinationNotAllowedException;
|
|
2003
|
-
(function (DestinationNotAllowedException) {
|
|
2004
|
-
DestinationNotAllowedException.filterSensitiveLog = (obj) => ({
|
|
2005
|
-
...obj,
|
|
2006
|
-
});
|
|
2007
|
-
})(DestinationNotAllowedException = exports.DestinationNotAllowedException || (exports.DestinationNotAllowedException = {}));
|
|
2008
|
-
var OutboundContactNotPermittedException;
|
|
2009
|
-
(function (OutboundContactNotPermittedException) {
|
|
2010
|
-
OutboundContactNotPermittedException.filterSensitiveLog = (obj) => ({
|
|
2011
|
-
...obj,
|
|
2012
|
-
});
|
|
2013
|
-
})(OutboundContactNotPermittedException = exports.OutboundContactNotPermittedException || (exports.OutboundContactNotPermittedException = {}));
|
|
2014
1906
|
var AnswerMachineDetectionConfig;
|
|
2015
1907
|
(function (AnswerMachineDetectionConfig) {
|
|
2016
1908
|
AnswerMachineDetectionConfig.filterSensitiveLog = (obj) => ({
|
|
@@ -2052,12 +1944,6 @@ var StartTaskContactResponse;
|
|
|
2052
1944
|
...obj,
|
|
2053
1945
|
});
|
|
2054
1946
|
})(StartTaskContactResponse = exports.StartTaskContactResponse || (exports.StartTaskContactResponse = {}));
|
|
2055
|
-
var ContactNotFoundException;
|
|
2056
|
-
(function (ContactNotFoundException) {
|
|
2057
|
-
ContactNotFoundException.filterSensitiveLog = (obj) => ({
|
|
2058
|
-
...obj,
|
|
2059
|
-
});
|
|
2060
|
-
})(ContactNotFoundException = exports.ContactNotFoundException || (exports.ContactNotFoundException = {}));
|
|
2061
1947
|
var StopContactRequest;
|
|
2062
1948
|
(function (StopContactRequest) {
|
|
2063
1949
|
StopContactRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
export var AccessDeniedException;
|
|
4
|
-
(function (AccessDeniedException) {
|
|
5
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
7
3
|
export var AgentInfo;
|
|
8
4
|
(function (AgentInfo) {
|
|
9
5
|
AgentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -31,34 +27,6 @@ export var AssociateApprovedOriginRequest;
|
|
|
31
27
|
(function (AssociateApprovedOriginRequest) {
|
|
32
28
|
AssociateApprovedOriginRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
29
|
})(AssociateApprovedOriginRequest || (AssociateApprovedOriginRequest = {}));
|
|
34
|
-
export var InternalServiceException;
|
|
35
|
-
(function (InternalServiceException) {
|
|
36
|
-
InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(InternalServiceException || (InternalServiceException = {}));
|
|
38
|
-
export var InvalidParameterException;
|
|
39
|
-
(function (InvalidParameterException) {
|
|
40
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
42
|
-
export var InvalidRequestException;
|
|
43
|
-
(function (InvalidRequestException) {
|
|
44
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
46
|
-
export var ResourceConflictException;
|
|
47
|
-
(function (ResourceConflictException) {
|
|
48
|
-
ResourceConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
-
})(ResourceConflictException || (ResourceConflictException = {}));
|
|
50
|
-
export var ResourceNotFoundException;
|
|
51
|
-
(function (ResourceNotFoundException) {
|
|
52
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
54
|
-
export var ServiceQuotaExceededException;
|
|
55
|
-
(function (ServiceQuotaExceededException) {
|
|
56
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
58
|
-
export var ThrottlingException;
|
|
59
|
-
(function (ThrottlingException) {
|
|
60
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
62
30
|
export var LexBot;
|
|
63
31
|
(function (LexBot) {
|
|
64
32
|
LexBot.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -71,10 +39,6 @@ export var AssociateBotRequest;
|
|
|
71
39
|
(function (AssociateBotRequest) {
|
|
72
40
|
AssociateBotRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
41
|
})(AssociateBotRequest || (AssociateBotRequest = {}));
|
|
74
|
-
export var LimitExceededException;
|
|
75
|
-
(function (LimitExceededException) {
|
|
76
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
78
42
|
export var InstanceStorageResourceType;
|
|
79
43
|
(function (InstanceStorageResourceType) {
|
|
80
44
|
InstanceStorageResourceType["AGENT_EVENTS"] = "AGENT_EVENTS";
|
|
@@ -173,10 +137,6 @@ export var CreateAgentStatusResponse;
|
|
|
173
137
|
(function (CreateAgentStatusResponse) {
|
|
174
138
|
CreateAgentStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
139
|
})(CreateAgentStatusResponse || (CreateAgentStatusResponse = {}));
|
|
176
|
-
export var DuplicateResourceException;
|
|
177
|
-
(function (DuplicateResourceException) {
|
|
178
|
-
DuplicateResourceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
-
})(DuplicateResourceException || (DuplicateResourceException = {}));
|
|
180
140
|
export var ContactFlowType;
|
|
181
141
|
(function (ContactFlowType) {
|
|
182
142
|
ContactFlowType["AGENT_HOLD"] = "AGENT_HOLD";
|
|
@@ -201,10 +161,6 @@ export var ProblemDetail;
|
|
|
201
161
|
(function (ProblemDetail) {
|
|
202
162
|
ProblemDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
163
|
})(ProblemDetail || (ProblemDetail = {}));
|
|
204
|
-
export var InvalidContactFlowException;
|
|
205
|
-
(function (InvalidContactFlowException) {
|
|
206
|
-
InvalidContactFlowException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
-
})(InvalidContactFlowException || (InvalidContactFlowException = {}));
|
|
208
164
|
export var CreateContactFlowModuleRequest;
|
|
209
165
|
(function (CreateContactFlowModuleRequest) {
|
|
210
166
|
CreateContactFlowModuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -213,14 +169,6 @@ export var CreateContactFlowModuleResponse;
|
|
|
213
169
|
(function (CreateContactFlowModuleResponse) {
|
|
214
170
|
CreateContactFlowModuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
171
|
})(CreateContactFlowModuleResponse || (CreateContactFlowModuleResponse = {}));
|
|
216
|
-
export var IdempotencyException;
|
|
217
|
-
(function (IdempotencyException) {
|
|
218
|
-
IdempotencyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
-
})(IdempotencyException || (IdempotencyException = {}));
|
|
220
|
-
export var InvalidContactFlowModuleException;
|
|
221
|
-
(function (InvalidContactFlowModuleException) {
|
|
222
|
-
InvalidContactFlowModuleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
-
})(InvalidContactFlowModuleException || (InvalidContactFlowModuleException = {}));
|
|
224
172
|
export var HoursOfOperationDays;
|
|
225
173
|
(function (HoursOfOperationDays) {
|
|
226
174
|
HoursOfOperationDays["FRIDAY"] = "FRIDAY";
|
|
@@ -428,10 +376,6 @@ export var ResourceType;
|
|
|
428
376
|
ResourceType["PARTICIPANT"] = "PARTICIPANT";
|
|
429
377
|
ResourceType["USER"] = "USER";
|
|
430
378
|
})(ResourceType || (ResourceType = {}));
|
|
431
|
-
export var ResourceInUseException;
|
|
432
|
-
(function (ResourceInUseException) {
|
|
433
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
434
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
435
379
|
export var DeleteUseCaseRequest;
|
|
436
380
|
(function (DeleteUseCaseRequest) {
|
|
437
381
|
DeleteUseCaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -477,10 +421,6 @@ export var DescribeContactResponse;
|
|
|
477
421
|
(function (DescribeContactResponse) {
|
|
478
422
|
DescribeContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
479
423
|
})(DescribeContactResponse || (DescribeContactResponse = {}));
|
|
480
|
-
export var ContactFlowNotPublishedException;
|
|
481
|
-
(function (ContactFlowNotPublishedException) {
|
|
482
|
-
ContactFlowNotPublishedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
483
|
-
})(ContactFlowNotPublishedException || (ContactFlowNotPublishedException = {}));
|
|
484
424
|
export var DescribeContactFlowRequest;
|
|
485
425
|
(function (DescribeContactFlowRequest) {
|
|
486
426
|
DescribeContactFlowRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -796,10 +736,6 @@ export var GetFederationTokenResponse;
|
|
|
796
736
|
(function (GetFederationTokenResponse) {
|
|
797
737
|
GetFederationTokenResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Credentials && { Credentials: Credentials.filterSensitiveLog(obj.Credentials) }))); };
|
|
798
738
|
})(GetFederationTokenResponse || (GetFederationTokenResponse = {}));
|
|
799
|
-
export var UserNotFoundException;
|
|
800
|
-
(function (UserNotFoundException) {
|
|
801
|
-
UserNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
802
|
-
})(UserNotFoundException || (UserNotFoundException = {}));
|
|
803
739
|
export var HistoricalMetricName;
|
|
804
740
|
(function (HistoricalMetricName) {
|
|
805
741
|
HistoricalMetricName["ABANDON_TIME"] = "ABANDON_TIME";
|
|
@@ -1492,14 +1428,6 @@ export var StartContactStreamingResponse;
|
|
|
1492
1428
|
(function (StartContactStreamingResponse) {
|
|
1493
1429
|
StartContactStreamingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1494
1430
|
})(StartContactStreamingResponse || (StartContactStreamingResponse = {}));
|
|
1495
|
-
export var DestinationNotAllowedException;
|
|
1496
|
-
(function (DestinationNotAllowedException) {
|
|
1497
|
-
DestinationNotAllowedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1498
|
-
})(DestinationNotAllowedException || (DestinationNotAllowedException = {}));
|
|
1499
|
-
export var OutboundContactNotPermittedException;
|
|
1500
|
-
(function (OutboundContactNotPermittedException) {
|
|
1501
|
-
OutboundContactNotPermittedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1502
|
-
})(OutboundContactNotPermittedException || (OutboundContactNotPermittedException = {}));
|
|
1503
1431
|
export var AnswerMachineDetectionConfig;
|
|
1504
1432
|
(function (AnswerMachineDetectionConfig) {
|
|
1505
1433
|
AnswerMachineDetectionConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1529,10 +1457,6 @@ export var StartTaskContactResponse;
|
|
|
1529
1457
|
(function (StartTaskContactResponse) {
|
|
1530
1458
|
StartTaskContactResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1531
1459
|
})(StartTaskContactResponse || (StartTaskContactResponse = {}));
|
|
1532
|
-
export var ContactNotFoundException;
|
|
1533
|
-
(function (ContactNotFoundException) {
|
|
1534
|
-
ContactNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1535
|
-
})(ContactNotFoundException || (ContactNotFoundException = {}));
|
|
1536
1460
|
export var StopContactRequest;
|
|
1537
1461
|
(function (StopContactRequest) {
|
|
1538
1462
|
StopContactRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
|
|
10
10
|
import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
|
|
@@ -236,6 +236,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
236
236
|
* @internal
|
|
237
237
|
*/
|
|
238
238
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
239
|
+
/**
|
|
240
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
241
|
+
*/
|
|
242
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
239
243
|
}
|
|
240
244
|
declare type ConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
241
245
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
Message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
/**
|
|
17
11
|
* <p>Information about the agent who accepted the contact.</p>
|
|
18
12
|
*/
|
|
@@ -140,12 +134,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
|
|
|
140
134
|
*/
|
|
141
135
|
Message?: string;
|
|
142
136
|
}
|
|
143
|
-
export declare namespace InternalServiceException {
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
148
|
-
}
|
|
149
137
|
/**
|
|
150
138
|
* <p>One or more of the specified parameters are not valid.</p>
|
|
151
139
|
*/
|
|
@@ -157,12 +145,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
157
145
|
*/
|
|
158
146
|
Message?: string;
|
|
159
147
|
}
|
|
160
|
-
export declare namespace InvalidParameterException {
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
165
|
-
}
|
|
166
148
|
/**
|
|
167
149
|
* <p>The request is not valid.</p>
|
|
168
150
|
*/
|
|
@@ -174,12 +156,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
174
156
|
*/
|
|
175
157
|
Message?: string;
|
|
176
158
|
}
|
|
177
|
-
export declare namespace InvalidRequestException {
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
182
|
-
}
|
|
183
159
|
/**
|
|
184
160
|
* <p>A resource already has that name.</p>
|
|
185
161
|
*/
|
|
@@ -188,12 +164,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
188
164
|
$fault: "client";
|
|
189
165
|
Message?: string;
|
|
190
166
|
}
|
|
191
|
-
export declare namespace ResourceConflictException {
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
196
|
-
}
|
|
197
167
|
/**
|
|
198
168
|
* <p>The specified resource was not found.</p>
|
|
199
169
|
*/
|
|
@@ -205,12 +175,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
205
175
|
*/
|
|
206
176
|
Message?: string;
|
|
207
177
|
}
|
|
208
|
-
export declare namespace ResourceNotFoundException {
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
213
|
-
}
|
|
214
178
|
/**
|
|
215
179
|
* <p>The service quota has been exceeded.</p>
|
|
216
180
|
*/
|
|
@@ -219,12 +183,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
219
183
|
$fault: "client";
|
|
220
184
|
Message?: string;
|
|
221
185
|
}
|
|
222
|
-
export declare namespace ServiceQuotaExceededException {
|
|
223
|
-
/**
|
|
224
|
-
* @internal
|
|
225
|
-
*/
|
|
226
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
227
|
-
}
|
|
228
186
|
/**
|
|
229
187
|
* <p>The throttling limit has been exceeded.</p>
|
|
230
188
|
*/
|
|
@@ -233,12 +191,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
233
191
|
$fault: "client";
|
|
234
192
|
Message?: string;
|
|
235
193
|
}
|
|
236
|
-
export declare namespace ThrottlingException {
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
241
|
-
}
|
|
242
194
|
/**
|
|
243
195
|
* <p>Configuration information of an Amazon Lex bot.</p>
|
|
244
196
|
*/
|
|
@@ -304,12 +256,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
304
256
|
*/
|
|
305
257
|
Message?: string;
|
|
306
258
|
}
|
|
307
|
-
export declare namespace LimitExceededException {
|
|
308
|
-
/**
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
312
|
-
}
|
|
313
259
|
export declare enum InstanceStorageResourceType {
|
|
314
260
|
AGENT_EVENTS = "AGENT_EVENTS",
|
|
315
261
|
CALL_RECORDINGS = "CALL_RECORDINGS",
|
|
@@ -707,12 +653,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
|
|
|
707
653
|
$fault: "client";
|
|
708
654
|
Message?: string;
|
|
709
655
|
}
|
|
710
|
-
export declare namespace DuplicateResourceException {
|
|
711
|
-
/**
|
|
712
|
-
* @internal
|
|
713
|
-
*/
|
|
714
|
-
const filterSensitiveLog: (obj: DuplicateResourceException) => any;
|
|
715
|
-
}
|
|
716
656
|
export declare enum ContactFlowType {
|
|
717
657
|
AGENT_HOLD = "AGENT_HOLD",
|
|
718
658
|
AGENT_TRANSFER = "AGENT_TRANSFER",
|
|
@@ -801,12 +741,6 @@ export interface InvalidContactFlowException extends __SmithyException, $Metadat
|
|
|
801
741
|
*/
|
|
802
742
|
problems?: ProblemDetail[];
|
|
803
743
|
}
|
|
804
|
-
export declare namespace InvalidContactFlowException {
|
|
805
|
-
/**
|
|
806
|
-
* @internal
|
|
807
|
-
*/
|
|
808
|
-
const filterSensitiveLog: (obj: InvalidContactFlowException) => any;
|
|
809
|
-
}
|
|
810
744
|
export interface CreateContactFlowModuleRequest {
|
|
811
745
|
/**
|
|
812
746
|
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
@@ -866,12 +800,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
866
800
|
$fault: "client";
|
|
867
801
|
Message?: string;
|
|
868
802
|
}
|
|
869
|
-
export declare namespace IdempotencyException {
|
|
870
|
-
/**
|
|
871
|
-
* @internal
|
|
872
|
-
*/
|
|
873
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
874
|
-
}
|
|
875
803
|
/**
|
|
876
804
|
* <p>The problems with the module. Please fix before trying again.</p>
|
|
877
805
|
*/
|
|
@@ -880,12 +808,6 @@ export interface InvalidContactFlowModuleException extends __SmithyException, $M
|
|
|
880
808
|
$fault: "client";
|
|
881
809
|
Problems?: ProblemDetail[];
|
|
882
810
|
}
|
|
883
|
-
export declare namespace InvalidContactFlowModuleException {
|
|
884
|
-
/**
|
|
885
|
-
* @internal
|
|
886
|
-
*/
|
|
887
|
-
const filterSensitiveLog: (obj: InvalidContactFlowModuleException) => any;
|
|
888
|
-
}
|
|
889
811
|
export declare enum HoursOfOperationDays {
|
|
890
812
|
FRIDAY = "FRIDAY",
|
|
891
813
|
MONDAY = "MONDAY",
|
|
@@ -1803,12 +1725,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1803
1725
|
*/
|
|
1804
1726
|
ResourceId?: string;
|
|
1805
1727
|
}
|
|
1806
|
-
export declare namespace ResourceInUseException {
|
|
1807
|
-
/**
|
|
1808
|
-
* @internal
|
|
1809
|
-
*/
|
|
1810
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
1811
|
-
}
|
|
1812
1728
|
export interface DeleteUseCaseRequest {
|
|
1813
1729
|
/**
|
|
1814
1730
|
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
@@ -2022,12 +1938,6 @@ export interface ContactFlowNotPublishedException extends __SmithyException, $Me
|
|
|
2022
1938
|
$fault: "client";
|
|
2023
1939
|
Message?: string;
|
|
2024
1940
|
}
|
|
2025
|
-
export declare namespace ContactFlowNotPublishedException {
|
|
2026
|
-
/**
|
|
2027
|
-
* @internal
|
|
2028
|
-
*/
|
|
2029
|
-
const filterSensitiveLog: (obj: ContactFlowNotPublishedException) => any;
|
|
2030
|
-
}
|
|
2031
1941
|
export interface DescribeContactFlowRequest {
|
|
2032
1942
|
/**
|
|
2033
1943
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
@@ -3537,12 +3447,6 @@ export interface UserNotFoundException extends __SmithyException, $MetadataBeare
|
|
|
3537
3447
|
$fault: "client";
|
|
3538
3448
|
Message?: string;
|
|
3539
3449
|
}
|
|
3540
|
-
export declare namespace UserNotFoundException {
|
|
3541
|
-
/**
|
|
3542
|
-
* @internal
|
|
3543
|
-
*/
|
|
3544
|
-
const filterSensitiveLog: (obj: UserNotFoundException) => any;
|
|
3545
|
-
}
|
|
3546
3450
|
export declare enum HistoricalMetricName {
|
|
3547
3451
|
ABANDON_TIME = "ABANDON_TIME",
|
|
3548
3452
|
AFTER_CONTACT_WORK_TIME = "AFTER_CONTACT_WORK_TIME",
|
|
@@ -5979,12 +5883,6 @@ export interface DestinationNotAllowedException extends __SmithyException, $Meta
|
|
|
5979
5883
|
*/
|
|
5980
5884
|
Message?: string;
|
|
5981
5885
|
}
|
|
5982
|
-
export declare namespace DestinationNotAllowedException {
|
|
5983
|
-
/**
|
|
5984
|
-
* @internal
|
|
5985
|
-
*/
|
|
5986
|
-
const filterSensitiveLog: (obj: DestinationNotAllowedException) => any;
|
|
5987
|
-
}
|
|
5988
5886
|
/**
|
|
5989
5887
|
* <p>The contact is not permitted.</p>
|
|
5990
5888
|
*/
|
|
@@ -5996,12 +5894,6 @@ export interface OutboundContactNotPermittedException extends __SmithyException,
|
|
|
5996
5894
|
*/
|
|
5997
5895
|
Message?: string;
|
|
5998
5896
|
}
|
|
5999
|
-
export declare namespace OutboundContactNotPermittedException {
|
|
6000
|
-
/**
|
|
6001
|
-
* @internal
|
|
6002
|
-
*/
|
|
6003
|
-
const filterSensitiveLog: (obj: OutboundContactNotPermittedException) => any;
|
|
6004
|
-
}
|
|
6005
5897
|
/**
|
|
6006
5898
|
* <p>Configuration of the answering machine detection.</p>
|
|
6007
5899
|
*/
|
|
@@ -6211,12 +6103,6 @@ export interface ContactNotFoundException extends __SmithyException, $MetadataBe
|
|
|
6211
6103
|
*/
|
|
6212
6104
|
Message?: string;
|
|
6213
6105
|
}
|
|
6214
|
-
export declare namespace ContactNotFoundException {
|
|
6215
|
-
/**
|
|
6216
|
-
* @internal
|
|
6217
|
-
*/
|
|
6218
|
-
const filterSensitiveLog: (obj: ContactNotFoundException) => any;
|
|
6219
|
-
}
|
|
6220
6106
|
export interface StopContactRequest {
|
|
6221
6107
|
/**
|
|
6222
6108
|
* <p>The ID of the contact.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutput } from "./commands/AssociateApprovedOriginCommand";
|
|
10
10
|
import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
|
|
@@ -179,6 +179,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
179
179
|
regionInfoProvider?: RegionInfoProvider;
|
|
180
180
|
|
|
181
181
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
182
|
+
|
|
183
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
182
184
|
}
|
|
183
185
|
declare type ConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
184
186
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
Message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
|
|
13
9
|
export interface AgentInfo {
|
|
14
10
|
|
|
@@ -86,10 +82,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
|
|
|
86
82
|
|
|
87
83
|
Message?: string;
|
|
88
84
|
}
|
|
89
|
-
export declare namespace InternalServiceException {
|
|
90
|
-
|
|
91
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
92
|
-
}
|
|
93
85
|
|
|
94
86
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
95
87
|
name: "InvalidParameterException";
|
|
@@ -97,10 +89,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
97
89
|
|
|
98
90
|
Message?: string;
|
|
99
91
|
}
|
|
100
|
-
export declare namespace InvalidParameterException {
|
|
101
|
-
|
|
102
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
103
|
-
}
|
|
104
92
|
|
|
105
93
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
106
94
|
name: "InvalidRequestException";
|
|
@@ -108,20 +96,12 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
108
96
|
|
|
109
97
|
Message?: string;
|
|
110
98
|
}
|
|
111
|
-
export declare namespace InvalidRequestException {
|
|
112
|
-
|
|
113
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
114
|
-
}
|
|
115
99
|
|
|
116
100
|
export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
|
|
117
101
|
name: "ResourceConflictException";
|
|
118
102
|
$fault: "client";
|
|
119
103
|
Message?: string;
|
|
120
104
|
}
|
|
121
|
-
export declare namespace ResourceConflictException {
|
|
122
|
-
|
|
123
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
124
|
-
}
|
|
125
105
|
|
|
126
106
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
127
107
|
name: "ResourceNotFoundException";
|
|
@@ -129,30 +109,18 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
129
109
|
|
|
130
110
|
Message?: string;
|
|
131
111
|
}
|
|
132
|
-
export declare namespace ResourceNotFoundException {
|
|
133
|
-
|
|
134
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
135
|
-
}
|
|
136
112
|
|
|
137
113
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
138
114
|
name: "ServiceQuotaExceededException";
|
|
139
115
|
$fault: "client";
|
|
140
116
|
Message?: string;
|
|
141
117
|
}
|
|
142
|
-
export declare namespace ServiceQuotaExceededException {
|
|
143
|
-
|
|
144
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
145
|
-
}
|
|
146
118
|
|
|
147
119
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
148
120
|
name: "ThrottlingException";
|
|
149
121
|
$fault: "client";
|
|
150
122
|
Message?: string;
|
|
151
123
|
}
|
|
152
|
-
export declare namespace ThrottlingException {
|
|
153
|
-
|
|
154
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
155
|
-
}
|
|
156
124
|
|
|
157
125
|
export interface LexBot {
|
|
158
126
|
|
|
@@ -192,10 +160,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
192
160
|
|
|
193
161
|
Message?: string;
|
|
194
162
|
}
|
|
195
|
-
export declare namespace LimitExceededException {
|
|
196
|
-
|
|
197
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
198
|
-
}
|
|
199
163
|
export declare enum InstanceStorageResourceType {
|
|
200
164
|
AGENT_EVENTS = "AGENT_EVENTS",
|
|
201
165
|
CALL_RECORDINGS = "CALL_RECORDINGS",
|
|
@@ -434,10 +398,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
|
|
|
434
398
|
$fault: "client";
|
|
435
399
|
Message?: string;
|
|
436
400
|
}
|
|
437
|
-
export declare namespace DuplicateResourceException {
|
|
438
|
-
|
|
439
|
-
const filterSensitiveLog: (obj: DuplicateResourceException) => any;
|
|
440
|
-
}
|
|
441
401
|
export declare enum ContactFlowType {
|
|
442
402
|
AGENT_HOLD = "AGENT_HOLD",
|
|
443
403
|
AGENT_TRANSFER = "AGENT_TRANSFER",
|
|
@@ -495,10 +455,6 @@ export interface InvalidContactFlowException extends __SmithyException, $Metadat
|
|
|
495
455
|
|
|
496
456
|
problems?: ProblemDetail[];
|
|
497
457
|
}
|
|
498
|
-
export declare namespace InvalidContactFlowException {
|
|
499
|
-
|
|
500
|
-
const filterSensitiveLog: (obj: InvalidContactFlowException) => any;
|
|
501
|
-
}
|
|
502
458
|
export interface CreateContactFlowModuleRequest {
|
|
503
459
|
|
|
504
460
|
InstanceId: string | undefined;
|
|
@@ -535,20 +491,12 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
535
491
|
$fault: "client";
|
|
536
492
|
Message?: string;
|
|
537
493
|
}
|
|
538
|
-
export declare namespace IdempotencyException {
|
|
539
|
-
|
|
540
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
541
|
-
}
|
|
542
494
|
|
|
543
495
|
export interface InvalidContactFlowModuleException extends __SmithyException, $MetadataBearer {
|
|
544
496
|
name: "InvalidContactFlowModuleException";
|
|
545
497
|
$fault: "client";
|
|
546
498
|
Problems?: ProblemDetail[];
|
|
547
499
|
}
|
|
548
|
-
export declare namespace InvalidContactFlowModuleException {
|
|
549
|
-
|
|
550
|
-
const filterSensitiveLog: (obj: InvalidContactFlowModuleException) => any;
|
|
551
|
-
}
|
|
552
500
|
export declare enum HoursOfOperationDays {
|
|
553
501
|
FRIDAY = "FRIDAY",
|
|
554
502
|
MONDAY = "MONDAY",
|
|
@@ -1100,10 +1048,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1100
1048
|
|
|
1101
1049
|
ResourceId?: string;
|
|
1102
1050
|
}
|
|
1103
|
-
export declare namespace ResourceInUseException {
|
|
1104
|
-
|
|
1105
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
1106
|
-
}
|
|
1107
1051
|
export interface DeleteUseCaseRequest {
|
|
1108
1052
|
|
|
1109
1053
|
InstanceId: string | undefined;
|
|
@@ -1232,10 +1176,6 @@ export interface ContactFlowNotPublishedException extends __SmithyException, $Me
|
|
|
1232
1176
|
$fault: "client";
|
|
1233
1177
|
Message?: string;
|
|
1234
1178
|
}
|
|
1235
|
-
export declare namespace ContactFlowNotPublishedException {
|
|
1236
|
-
|
|
1237
|
-
const filterSensitiveLog: (obj: ContactFlowNotPublishedException) => any;
|
|
1238
|
-
}
|
|
1239
1179
|
export interface DescribeContactFlowRequest {
|
|
1240
1180
|
|
|
1241
1181
|
InstanceId: string | undefined;
|
|
@@ -2085,10 +2025,6 @@ export interface UserNotFoundException extends __SmithyException, $MetadataBeare
|
|
|
2085
2025
|
$fault: "client";
|
|
2086
2026
|
Message?: string;
|
|
2087
2027
|
}
|
|
2088
|
-
export declare namespace UserNotFoundException {
|
|
2089
|
-
|
|
2090
|
-
const filterSensitiveLog: (obj: UserNotFoundException) => any;
|
|
2091
|
-
}
|
|
2092
2028
|
export declare enum HistoricalMetricName {
|
|
2093
2029
|
ABANDON_TIME = "ABANDON_TIME",
|
|
2094
2030
|
AFTER_CONTACT_WORK_TIME = "AFTER_CONTACT_WORK_TIME",
|
|
@@ -3528,10 +3464,6 @@ export interface DestinationNotAllowedException extends __SmithyException, $Meta
|
|
|
3528
3464
|
|
|
3529
3465
|
Message?: string;
|
|
3530
3466
|
}
|
|
3531
|
-
export declare namespace DestinationNotAllowedException {
|
|
3532
|
-
|
|
3533
|
-
const filterSensitiveLog: (obj: DestinationNotAllowedException) => any;
|
|
3534
|
-
}
|
|
3535
3467
|
|
|
3536
3468
|
export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
|
|
3537
3469
|
name: "OutboundContactNotPermittedException";
|
|
@@ -3539,10 +3471,6 @@ export interface OutboundContactNotPermittedException extends __SmithyException,
|
|
|
3539
3471
|
|
|
3540
3472
|
Message?: string;
|
|
3541
3473
|
}
|
|
3542
|
-
export declare namespace OutboundContactNotPermittedException {
|
|
3543
|
-
|
|
3544
|
-
const filterSensitiveLog: (obj: OutboundContactNotPermittedException) => any;
|
|
3545
|
-
}
|
|
3546
3474
|
|
|
3547
3475
|
export interface AnswerMachineDetectionConfig {
|
|
3548
3476
|
|
|
@@ -3648,10 +3576,6 @@ export interface ContactNotFoundException extends __SmithyException, $MetadataBe
|
|
|
3648
3576
|
|
|
3649
3577
|
Message?: string;
|
|
3650
3578
|
}
|
|
3651
|
-
export declare namespace ContactNotFoundException {
|
|
3652
|
-
|
|
3653
|
-
const filterSensitiveLog: (obj: ContactNotFoundException) => any;
|
|
3654
|
-
}
|
|
3655
3579
|
export interface StopContactRequest {
|
|
3656
3580
|
|
|
3657
3581
|
ContactId: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ConnectClientConfig } from "./ConnectClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +18,41 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"@types/uuid": "^8.3.0"
|
|
58
58
|
},
|