@aws-sdk/client-lambda 3.42.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 +51 -0
- package/README.md +62 -3
- package/dist-cjs/endpoints.js +176 -23
- package/dist-cjs/models/models_0.js +17 -208
- package/dist-cjs/protocols/Aws_restJson1.js +70 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +176 -23
- package/dist-es/models/models_0.js +10 -136
- package/dist-es/protocols/Aws_restJson1.js +68 -4
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Lambda.d.ts +189 -13
- package/dist-types/LambdaClient.d.ts +67 -4
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +49 -10
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +98 -219
- 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/LambdaClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +26 -136
- 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 +39 -46
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = void 0;
|
|
3
|
+
exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = exports.VpcConfig = exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.ThrottleReason = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
|
|
4
|
+
exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = void 0;
|
|
5
|
+
exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = void 0;
|
|
7
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
7
|
var AccountLimit;
|
|
9
8
|
(function (AccountLimit) {
|
|
@@ -29,42 +28,6 @@ var AddLayerVersionPermissionResponse;
|
|
|
29
28
|
...obj,
|
|
30
29
|
});
|
|
31
30
|
})(AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionResponse || (exports.AddLayerVersionPermissionResponse = {}));
|
|
32
|
-
var InvalidParameterValueException;
|
|
33
|
-
(function (InvalidParameterValueException) {
|
|
34
|
-
InvalidParameterValueException.filterSensitiveLog = (obj) => ({
|
|
35
|
-
...obj,
|
|
36
|
-
});
|
|
37
|
-
})(InvalidParameterValueException = exports.InvalidParameterValueException || (exports.InvalidParameterValueException = {}));
|
|
38
|
-
var PolicyLengthExceededException;
|
|
39
|
-
(function (PolicyLengthExceededException) {
|
|
40
|
-
PolicyLengthExceededException.filterSensitiveLog = (obj) => ({
|
|
41
|
-
...obj,
|
|
42
|
-
});
|
|
43
|
-
})(PolicyLengthExceededException = exports.PolicyLengthExceededException || (exports.PolicyLengthExceededException = {}));
|
|
44
|
-
var PreconditionFailedException;
|
|
45
|
-
(function (PreconditionFailedException) {
|
|
46
|
-
PreconditionFailedException.filterSensitiveLog = (obj) => ({
|
|
47
|
-
...obj,
|
|
48
|
-
});
|
|
49
|
-
})(PreconditionFailedException = exports.PreconditionFailedException || (exports.PreconditionFailedException = {}));
|
|
50
|
-
var ResourceConflictException;
|
|
51
|
-
(function (ResourceConflictException) {
|
|
52
|
-
ResourceConflictException.filterSensitiveLog = (obj) => ({
|
|
53
|
-
...obj,
|
|
54
|
-
});
|
|
55
|
-
})(ResourceConflictException = exports.ResourceConflictException || (exports.ResourceConflictException = {}));
|
|
56
|
-
var ResourceNotFoundException;
|
|
57
|
-
(function (ResourceNotFoundException) {
|
|
58
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
62
|
-
var ServiceException;
|
|
63
|
-
(function (ServiceException) {
|
|
64
|
-
ServiceException.filterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
})(ServiceException = exports.ServiceException || (exports.ServiceException = {}));
|
|
68
31
|
var ThrottleReason;
|
|
69
32
|
(function (ThrottleReason) {
|
|
70
33
|
ThrottleReason["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
|
|
@@ -73,12 +36,6 @@ var ThrottleReason;
|
|
|
73
36
|
ThrottleReason["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
|
|
74
37
|
ThrottleReason["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
|
|
75
38
|
})(ThrottleReason = exports.ThrottleReason || (exports.ThrottleReason = {}));
|
|
76
|
-
var TooManyRequestsException;
|
|
77
|
-
(function (TooManyRequestsException) {
|
|
78
|
-
TooManyRequestsException.filterSensitiveLog = (obj) => ({
|
|
79
|
-
...obj,
|
|
80
|
-
});
|
|
81
|
-
})(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
|
|
82
39
|
var AddPermissionRequest;
|
|
83
40
|
(function (AddPermissionRequest) {
|
|
84
41
|
AddPermissionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -167,6 +124,18 @@ var DestinationConfig;
|
|
|
167
124
|
...obj,
|
|
168
125
|
});
|
|
169
126
|
})(DestinationConfig = exports.DestinationConfig || (exports.DestinationConfig = {}));
|
|
127
|
+
var Filter;
|
|
128
|
+
(function (Filter) {
|
|
129
|
+
Filter.filterSensitiveLog = (obj) => ({
|
|
130
|
+
...obj,
|
|
131
|
+
});
|
|
132
|
+
})(Filter = exports.Filter || (exports.Filter = {}));
|
|
133
|
+
var FilterCriteria;
|
|
134
|
+
(function (FilterCriteria) {
|
|
135
|
+
FilterCriteria.filterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
})(FilterCriteria = exports.FilterCriteria || (exports.FilterCriteria = {}));
|
|
170
139
|
var FunctionResponseType;
|
|
171
140
|
(function (FunctionResponseType) {
|
|
172
141
|
FunctionResponseType["ReportBatchItemFailures"] = "ReportBatchItemFailures";
|
|
@@ -184,8 +153,10 @@ var SelfManagedEventSource;
|
|
|
184
153
|
var SourceAccessType;
|
|
185
154
|
(function (SourceAccessType) {
|
|
186
155
|
SourceAccessType["BASIC_AUTH"] = "BASIC_AUTH";
|
|
156
|
+
SourceAccessType["CLIENT_CERTIFICATE_TLS_AUTH"] = "CLIENT_CERTIFICATE_TLS_AUTH";
|
|
187
157
|
SourceAccessType["SASL_SCRAM_256_AUTH"] = "SASL_SCRAM_256_AUTH";
|
|
188
158
|
SourceAccessType["SASL_SCRAM_512_AUTH"] = "SASL_SCRAM_512_AUTH";
|
|
159
|
+
SourceAccessType["SERVER_ROOT_CA_CERTIFICATE"] = "SERVER_ROOT_CA_CERTIFICATE";
|
|
189
160
|
SourceAccessType["VIRTUAL_HOST"] = "VIRTUAL_HOST";
|
|
190
161
|
SourceAccessType["VPC_SECURITY_GROUP"] = "VPC_SECURITY_GROUP";
|
|
191
162
|
SourceAccessType["VPC_SUBNET"] = "VPC_SUBNET";
|
|
@@ -214,24 +185,6 @@ var EventSourceMappingConfiguration;
|
|
|
214
185
|
...obj,
|
|
215
186
|
});
|
|
216
187
|
})(EventSourceMappingConfiguration = exports.EventSourceMappingConfiguration || (exports.EventSourceMappingConfiguration = {}));
|
|
217
|
-
var CodeSigningConfigNotFoundException;
|
|
218
|
-
(function (CodeSigningConfigNotFoundException) {
|
|
219
|
-
CodeSigningConfigNotFoundException.filterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
});
|
|
222
|
-
})(CodeSigningConfigNotFoundException = exports.CodeSigningConfigNotFoundException || (exports.CodeSigningConfigNotFoundException = {}));
|
|
223
|
-
var CodeStorageExceededException;
|
|
224
|
-
(function (CodeStorageExceededException) {
|
|
225
|
-
CodeStorageExceededException.filterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
});
|
|
228
|
-
})(CodeStorageExceededException = exports.CodeStorageExceededException || (exports.CodeStorageExceededException = {}));
|
|
229
|
-
var CodeVerificationFailedException;
|
|
230
|
-
(function (CodeVerificationFailedException) {
|
|
231
|
-
CodeVerificationFailedException.filterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
});
|
|
234
|
-
})(CodeVerificationFailedException = exports.CodeVerificationFailedException || (exports.CodeVerificationFailedException = {}));
|
|
235
188
|
var FunctionCode;
|
|
236
189
|
(function (FunctionCode) {
|
|
237
190
|
FunctionCode.filterSensitiveLog = (obj) => ({
|
|
@@ -421,12 +374,6 @@ var FunctionConfiguration;
|
|
|
421
374
|
}),
|
|
422
375
|
});
|
|
423
376
|
})(FunctionConfiguration = exports.FunctionConfiguration || (exports.FunctionConfiguration = {}));
|
|
424
|
-
var InvalidCodeSignatureException;
|
|
425
|
-
(function (InvalidCodeSignatureException) {
|
|
426
|
-
InvalidCodeSignatureException.filterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
})(InvalidCodeSignatureException = exports.InvalidCodeSignatureException || (exports.InvalidCodeSignatureException = {}));
|
|
430
377
|
var DeleteAliasRequest;
|
|
431
378
|
(function (DeleteAliasRequest) {
|
|
432
379
|
DeleteAliasRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -451,12 +398,6 @@ var DeleteEventSourceMappingRequest;
|
|
|
451
398
|
...obj,
|
|
452
399
|
});
|
|
453
400
|
})(DeleteEventSourceMappingRequest = exports.DeleteEventSourceMappingRequest || (exports.DeleteEventSourceMappingRequest = {}));
|
|
454
|
-
var ResourceInUseException;
|
|
455
|
-
(function (ResourceInUseException) {
|
|
456
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
});
|
|
459
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
460
401
|
var DeleteFunctionRequest;
|
|
461
402
|
(function (DeleteFunctionRequest) {
|
|
462
403
|
DeleteFunctionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -662,90 +603,6 @@ var GetProvisionedConcurrencyConfigResponse;
|
|
|
662
603
|
...obj,
|
|
663
604
|
});
|
|
664
605
|
})(GetProvisionedConcurrencyConfigResponse = exports.GetProvisionedConcurrencyConfigResponse || (exports.GetProvisionedConcurrencyConfigResponse = {}));
|
|
665
|
-
var ProvisionedConcurrencyConfigNotFoundException;
|
|
666
|
-
(function (ProvisionedConcurrencyConfigNotFoundException) {
|
|
667
|
-
ProvisionedConcurrencyConfigNotFoundException.filterSensitiveLog = (obj) => ({
|
|
668
|
-
...obj,
|
|
669
|
-
});
|
|
670
|
-
})(ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyConfigNotFoundException || (exports.ProvisionedConcurrencyConfigNotFoundException = {}));
|
|
671
|
-
var EC2AccessDeniedException;
|
|
672
|
-
(function (EC2AccessDeniedException) {
|
|
673
|
-
EC2AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
674
|
-
...obj,
|
|
675
|
-
});
|
|
676
|
-
})(EC2AccessDeniedException = exports.EC2AccessDeniedException || (exports.EC2AccessDeniedException = {}));
|
|
677
|
-
var EC2ThrottledException;
|
|
678
|
-
(function (EC2ThrottledException) {
|
|
679
|
-
EC2ThrottledException.filterSensitiveLog = (obj) => ({
|
|
680
|
-
...obj,
|
|
681
|
-
});
|
|
682
|
-
})(EC2ThrottledException = exports.EC2ThrottledException || (exports.EC2ThrottledException = {}));
|
|
683
|
-
var EC2UnexpectedException;
|
|
684
|
-
(function (EC2UnexpectedException) {
|
|
685
|
-
EC2UnexpectedException.filterSensitiveLog = (obj) => ({
|
|
686
|
-
...obj,
|
|
687
|
-
});
|
|
688
|
-
})(EC2UnexpectedException = exports.EC2UnexpectedException || (exports.EC2UnexpectedException = {}));
|
|
689
|
-
var EFSIOException;
|
|
690
|
-
(function (EFSIOException) {
|
|
691
|
-
EFSIOException.filterSensitiveLog = (obj) => ({
|
|
692
|
-
...obj,
|
|
693
|
-
});
|
|
694
|
-
})(EFSIOException = exports.EFSIOException || (exports.EFSIOException = {}));
|
|
695
|
-
var EFSMountConnectivityException;
|
|
696
|
-
(function (EFSMountConnectivityException) {
|
|
697
|
-
EFSMountConnectivityException.filterSensitiveLog = (obj) => ({
|
|
698
|
-
...obj,
|
|
699
|
-
});
|
|
700
|
-
})(EFSMountConnectivityException = exports.EFSMountConnectivityException || (exports.EFSMountConnectivityException = {}));
|
|
701
|
-
var EFSMountFailureException;
|
|
702
|
-
(function (EFSMountFailureException) {
|
|
703
|
-
EFSMountFailureException.filterSensitiveLog = (obj) => ({
|
|
704
|
-
...obj,
|
|
705
|
-
});
|
|
706
|
-
})(EFSMountFailureException = exports.EFSMountFailureException || (exports.EFSMountFailureException = {}));
|
|
707
|
-
var EFSMountTimeoutException;
|
|
708
|
-
(function (EFSMountTimeoutException) {
|
|
709
|
-
EFSMountTimeoutException.filterSensitiveLog = (obj) => ({
|
|
710
|
-
...obj,
|
|
711
|
-
});
|
|
712
|
-
})(EFSMountTimeoutException = exports.EFSMountTimeoutException || (exports.EFSMountTimeoutException = {}));
|
|
713
|
-
var ENILimitReachedException;
|
|
714
|
-
(function (ENILimitReachedException) {
|
|
715
|
-
ENILimitReachedException.filterSensitiveLog = (obj) => ({
|
|
716
|
-
...obj,
|
|
717
|
-
});
|
|
718
|
-
})(ENILimitReachedException = exports.ENILimitReachedException || (exports.ENILimitReachedException = {}));
|
|
719
|
-
var InvalidRequestContentException;
|
|
720
|
-
(function (InvalidRequestContentException) {
|
|
721
|
-
InvalidRequestContentException.filterSensitiveLog = (obj) => ({
|
|
722
|
-
...obj,
|
|
723
|
-
});
|
|
724
|
-
})(InvalidRequestContentException = exports.InvalidRequestContentException || (exports.InvalidRequestContentException = {}));
|
|
725
|
-
var InvalidRuntimeException;
|
|
726
|
-
(function (InvalidRuntimeException) {
|
|
727
|
-
InvalidRuntimeException.filterSensitiveLog = (obj) => ({
|
|
728
|
-
...obj,
|
|
729
|
-
});
|
|
730
|
-
})(InvalidRuntimeException = exports.InvalidRuntimeException || (exports.InvalidRuntimeException = {}));
|
|
731
|
-
var InvalidSecurityGroupIDException;
|
|
732
|
-
(function (InvalidSecurityGroupIDException) {
|
|
733
|
-
InvalidSecurityGroupIDException.filterSensitiveLog = (obj) => ({
|
|
734
|
-
...obj,
|
|
735
|
-
});
|
|
736
|
-
})(InvalidSecurityGroupIDException = exports.InvalidSecurityGroupIDException || (exports.InvalidSecurityGroupIDException = {}));
|
|
737
|
-
var InvalidSubnetIDException;
|
|
738
|
-
(function (InvalidSubnetIDException) {
|
|
739
|
-
InvalidSubnetIDException.filterSensitiveLog = (obj) => ({
|
|
740
|
-
...obj,
|
|
741
|
-
});
|
|
742
|
-
})(InvalidSubnetIDException = exports.InvalidSubnetIDException || (exports.InvalidSubnetIDException = {}));
|
|
743
|
-
var InvalidZipFileException;
|
|
744
|
-
(function (InvalidZipFileException) {
|
|
745
|
-
InvalidZipFileException.filterSensitiveLog = (obj) => ({
|
|
746
|
-
...obj,
|
|
747
|
-
});
|
|
748
|
-
})(InvalidZipFileException = exports.InvalidZipFileException || (exports.InvalidZipFileException = {}));
|
|
749
606
|
var InvocationType;
|
|
750
607
|
(function (InvocationType) {
|
|
751
608
|
InvocationType["DryRun"] = "DryRun";
|
|
@@ -771,54 +628,6 @@ var InvocationResponse;
|
|
|
771
628
|
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
|
|
772
629
|
});
|
|
773
630
|
})(InvocationResponse = exports.InvocationResponse || (exports.InvocationResponse = {}));
|
|
774
|
-
var KMSAccessDeniedException;
|
|
775
|
-
(function (KMSAccessDeniedException) {
|
|
776
|
-
KMSAccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
777
|
-
...obj,
|
|
778
|
-
});
|
|
779
|
-
})(KMSAccessDeniedException = exports.KMSAccessDeniedException || (exports.KMSAccessDeniedException = {}));
|
|
780
|
-
var KMSDisabledException;
|
|
781
|
-
(function (KMSDisabledException) {
|
|
782
|
-
KMSDisabledException.filterSensitiveLog = (obj) => ({
|
|
783
|
-
...obj,
|
|
784
|
-
});
|
|
785
|
-
})(KMSDisabledException = exports.KMSDisabledException || (exports.KMSDisabledException = {}));
|
|
786
|
-
var KMSInvalidStateException;
|
|
787
|
-
(function (KMSInvalidStateException) {
|
|
788
|
-
KMSInvalidStateException.filterSensitiveLog = (obj) => ({
|
|
789
|
-
...obj,
|
|
790
|
-
});
|
|
791
|
-
})(KMSInvalidStateException = exports.KMSInvalidStateException || (exports.KMSInvalidStateException = {}));
|
|
792
|
-
var KMSNotFoundException;
|
|
793
|
-
(function (KMSNotFoundException) {
|
|
794
|
-
KMSNotFoundException.filterSensitiveLog = (obj) => ({
|
|
795
|
-
...obj,
|
|
796
|
-
});
|
|
797
|
-
})(KMSNotFoundException = exports.KMSNotFoundException || (exports.KMSNotFoundException = {}));
|
|
798
|
-
var RequestTooLargeException;
|
|
799
|
-
(function (RequestTooLargeException) {
|
|
800
|
-
RequestTooLargeException.filterSensitiveLog = (obj) => ({
|
|
801
|
-
...obj,
|
|
802
|
-
});
|
|
803
|
-
})(RequestTooLargeException = exports.RequestTooLargeException || (exports.RequestTooLargeException = {}));
|
|
804
|
-
var ResourceNotReadyException;
|
|
805
|
-
(function (ResourceNotReadyException) {
|
|
806
|
-
ResourceNotReadyException.filterSensitiveLog = (obj) => ({
|
|
807
|
-
...obj,
|
|
808
|
-
});
|
|
809
|
-
})(ResourceNotReadyException = exports.ResourceNotReadyException || (exports.ResourceNotReadyException = {}));
|
|
810
|
-
var SubnetIPAddressLimitReachedException;
|
|
811
|
-
(function (SubnetIPAddressLimitReachedException) {
|
|
812
|
-
SubnetIPAddressLimitReachedException.filterSensitiveLog = (obj) => ({
|
|
813
|
-
...obj,
|
|
814
|
-
});
|
|
815
|
-
})(SubnetIPAddressLimitReachedException = exports.SubnetIPAddressLimitReachedException || (exports.SubnetIPAddressLimitReachedException = {}));
|
|
816
|
-
var UnsupportedMediaTypeException;
|
|
817
|
-
(function (UnsupportedMediaTypeException) {
|
|
818
|
-
UnsupportedMediaTypeException.filterSensitiveLog = (obj) => ({
|
|
819
|
-
...obj,
|
|
820
|
-
});
|
|
821
|
-
})(UnsupportedMediaTypeException = exports.UnsupportedMediaTypeException || (exports.UnsupportedMediaTypeException = {}));
|
|
822
631
|
var InvokeAsyncRequest;
|
|
823
632
|
(function (InvokeAsyncRequest) {
|
|
824
633
|
InvokeAsyncRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -184,6 +184,10 @@ const serializeAws_restJson1CreateEventSourceMappingCommand = async (input, cont
|
|
|
184
184
|
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
185
185
|
...(input.EventSourceArn !== undefined &&
|
|
186
186
|
input.EventSourceArn !== null && { EventSourceArn: input.EventSourceArn }),
|
|
187
|
+
...(input.FilterCriteria !== undefined &&
|
|
188
|
+
input.FilterCriteria !== null && {
|
|
189
|
+
FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
|
|
190
|
+
}),
|
|
187
191
|
...(input.FunctionName !== undefined && input.FunctionName !== null && { FunctionName: input.FunctionName }),
|
|
188
192
|
...(input.FunctionResponseTypes !== undefined &&
|
|
189
193
|
input.FunctionResponseTypes !== null && {
|
|
@@ -1852,6 +1856,10 @@ const serializeAws_restJson1UpdateEventSourceMappingCommand = async (input, cont
|
|
|
1852
1856
|
DestinationConfig: serializeAws_restJson1DestinationConfig(input.DestinationConfig, context),
|
|
1853
1857
|
}),
|
|
1854
1858
|
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
1859
|
+
...(input.FilterCriteria !== undefined &&
|
|
1860
|
+
input.FilterCriteria !== null && {
|
|
1861
|
+
FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
|
|
1862
|
+
}),
|
|
1855
1863
|
...(input.FunctionName !== undefined && input.FunctionName !== null && { FunctionName: input.FunctionName }),
|
|
1856
1864
|
...(input.FunctionResponseTypes !== undefined &&
|
|
1857
1865
|
input.FunctionResponseTypes !== null && {
|
|
@@ -2392,6 +2400,7 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
|
|
|
2392
2400
|
BisectBatchOnFunctionError: undefined,
|
|
2393
2401
|
DestinationConfig: undefined,
|
|
2394
2402
|
EventSourceArn: undefined,
|
|
2403
|
+
FilterCriteria: undefined,
|
|
2395
2404
|
FunctionArn: undefined,
|
|
2396
2405
|
FunctionResponseTypes: undefined,
|
|
2397
2406
|
LastModified: undefined,
|
|
@@ -2424,6 +2433,9 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
|
|
|
2424
2433
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
2425
2434
|
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
2426
2435
|
}
|
|
2436
|
+
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
2437
|
+
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
2438
|
+
}
|
|
2427
2439
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
2428
2440
|
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
2429
2441
|
}
|
|
@@ -2928,6 +2940,7 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
|
|
|
2928
2940
|
BisectBatchOnFunctionError: undefined,
|
|
2929
2941
|
DestinationConfig: undefined,
|
|
2930
2942
|
EventSourceArn: undefined,
|
|
2943
|
+
FilterCriteria: undefined,
|
|
2931
2944
|
FunctionArn: undefined,
|
|
2932
2945
|
FunctionResponseTypes: undefined,
|
|
2933
2946
|
LastModified: undefined,
|
|
@@ -2960,6 +2973,9 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
|
|
|
2960
2973
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
2961
2974
|
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
2962
2975
|
}
|
|
2976
|
+
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
2977
|
+
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
2978
|
+
}
|
|
2963
2979
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
2964
2980
|
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
2965
2981
|
}
|
|
@@ -3748,6 +3764,7 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
|
|
|
3748
3764
|
BisectBatchOnFunctionError: undefined,
|
|
3749
3765
|
DestinationConfig: undefined,
|
|
3750
3766
|
EventSourceArn: undefined,
|
|
3767
|
+
FilterCriteria: undefined,
|
|
3751
3768
|
FunctionArn: undefined,
|
|
3752
3769
|
FunctionResponseTypes: undefined,
|
|
3753
3770
|
LastModified: undefined,
|
|
@@ -3780,6 +3797,9 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
|
|
|
3780
3797
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
3781
3798
|
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
3782
3799
|
}
|
|
3800
|
+
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
3801
|
+
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
3802
|
+
}
|
|
3783
3803
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
3784
3804
|
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
3785
3805
|
}
|
|
@@ -7196,6 +7216,7 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
|
|
|
7196
7216
|
BisectBatchOnFunctionError: undefined,
|
|
7197
7217
|
DestinationConfig: undefined,
|
|
7198
7218
|
EventSourceArn: undefined,
|
|
7219
|
+
FilterCriteria: undefined,
|
|
7199
7220
|
FunctionArn: undefined,
|
|
7200
7221
|
FunctionResponseTypes: undefined,
|
|
7201
7222
|
LastModified: undefined,
|
|
@@ -7228,6 +7249,9 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
|
|
|
7228
7249
|
if (data.EventSourceArn !== undefined && data.EventSourceArn !== null) {
|
|
7229
7250
|
contents.EventSourceArn = smithy_client_1.expectString(data.EventSourceArn);
|
|
7230
7251
|
}
|
|
7252
|
+
if (data.FilterCriteria !== undefined && data.FilterCriteria !== null) {
|
|
7253
|
+
contents.FilterCriteria = deserializeAws_restJson1FilterCriteria(data.FilterCriteria, context);
|
|
7254
|
+
}
|
|
7231
7255
|
if (data.FunctionArn !== undefined && data.FunctionArn !== null) {
|
|
7232
7256
|
contents.FunctionArn = smithy_client_1.expectString(data.FunctionArn);
|
|
7233
7257
|
}
|
|
@@ -8657,6 +8681,27 @@ const serializeAws_restJson1FileSystemConfigList = (input, context) => {
|
|
|
8657
8681
|
return serializeAws_restJson1FileSystemConfig(entry, context);
|
|
8658
8682
|
});
|
|
8659
8683
|
};
|
|
8684
|
+
const serializeAws_restJson1Filter = (input, context) => {
|
|
8685
|
+
return {
|
|
8686
|
+
...(input.Pattern !== undefined && input.Pattern !== null && { Pattern: input.Pattern }),
|
|
8687
|
+
};
|
|
8688
|
+
};
|
|
8689
|
+
const serializeAws_restJson1FilterCriteria = (input, context) => {
|
|
8690
|
+
return {
|
|
8691
|
+
...(input.Filters !== undefined &&
|
|
8692
|
+
input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
|
|
8693
|
+
};
|
|
8694
|
+
};
|
|
8695
|
+
const serializeAws_restJson1FilterList = (input, context) => {
|
|
8696
|
+
return input
|
|
8697
|
+
.filter((e) => e != null)
|
|
8698
|
+
.map((entry) => {
|
|
8699
|
+
if (entry === null) {
|
|
8700
|
+
return null;
|
|
8701
|
+
}
|
|
8702
|
+
return serializeAws_restJson1Filter(entry, context);
|
|
8703
|
+
});
|
|
8704
|
+
};
|
|
8660
8705
|
const serializeAws_restJson1FunctionCode = (input, context) => {
|
|
8661
8706
|
return {
|
|
8662
8707
|
...(input.ImageUri !== undefined && input.ImageUri !== null && { ImageUri: input.ImageUri }),
|
|
@@ -9021,6 +9066,9 @@ const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context
|
|
|
9021
9066
|
? deserializeAws_restJson1DestinationConfig(output.DestinationConfig, context)
|
|
9022
9067
|
: undefined,
|
|
9023
9068
|
EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
|
|
9069
|
+
FilterCriteria: output.FilterCriteria !== undefined && output.FilterCriteria !== null
|
|
9070
|
+
? deserializeAws_restJson1FilterCriteria(output.FilterCriteria, context)
|
|
9071
|
+
: undefined,
|
|
9024
9072
|
FunctionArn: smithy_client_1.expectString(output.FunctionArn),
|
|
9025
9073
|
FunctionResponseTypes: output.FunctionResponseTypes !== undefined && output.FunctionResponseTypes !== null
|
|
9026
9074
|
? deserializeAws_restJson1FunctionResponseTypeList(output.FunctionResponseTypes, context)
|
|
@@ -9081,6 +9129,28 @@ const deserializeAws_restJson1FileSystemConfigList = (output, context) => {
|
|
|
9081
9129
|
return deserializeAws_restJson1FileSystemConfig(entry, context);
|
|
9082
9130
|
});
|
|
9083
9131
|
};
|
|
9132
|
+
const deserializeAws_restJson1Filter = (output, context) => {
|
|
9133
|
+
return {
|
|
9134
|
+
Pattern: smithy_client_1.expectString(output.Pattern),
|
|
9135
|
+
};
|
|
9136
|
+
};
|
|
9137
|
+
const deserializeAws_restJson1FilterCriteria = (output, context) => {
|
|
9138
|
+
return {
|
|
9139
|
+
Filters: output.Filters !== undefined && output.Filters !== null
|
|
9140
|
+
? deserializeAws_restJson1FilterList(output.Filters, context)
|
|
9141
|
+
: undefined,
|
|
9142
|
+
};
|
|
9143
|
+
};
|
|
9144
|
+
const deserializeAws_restJson1FilterList = (output, context) => {
|
|
9145
|
+
return (output || [])
|
|
9146
|
+
.filter((e) => e != null)
|
|
9147
|
+
.map((entry) => {
|
|
9148
|
+
if (entry === null) {
|
|
9149
|
+
return null;
|
|
9150
|
+
}
|
|
9151
|
+
return deserializeAws_restJson1Filter(entry, context);
|
|
9152
|
+
});
|
|
9153
|
+
};
|
|
9084
9154
|
const deserializeAws_restJson1FunctionArnList = (output, context) => {
|
|
9085
9155
|
return (output || [])
|
|
9086
9156
|
.filter((e) => e != null)
|
|
@@ -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)),
|
|
@@ -16,14 +16,17 @@ 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
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
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 }),
|
|
32
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),
|
|
33
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),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
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
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
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),
|