@cloudsnorkel/cdk-github-runners 0.6.2 → 0.7.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/.jsii +257 -252
- package/API.md +114 -125
- package/lib/lambdas/update-lambda/index.js +370 -120
- package/lib/providers/codebuild.d.ts +11 -9
- package/lib/providers/codebuild.js +17 -5
- package/lib/providers/common.d.ts +2 -10
- package/lib/providers/common.js +4 -4
- package/lib/providers/ec2.d.ts +11 -5
- package/lib/providers/ec2.js +8 -6
- package/lib/providers/fargate.d.ts +10 -5
- package/lib/providers/fargate.js +6 -6
- package/lib/providers/image-builders/ami.d.ts +10 -2
- package/lib/providers/image-builders/ami.js +3 -2
- package/lib/providers/image-builders/codebuild.js +1 -1
- package/lib/providers/image-builders/common.d.ts +10 -5
- package/lib/providers/image-builders/common.js +18 -5
- package/lib/providers/image-builders/container.d.ts +10 -2
- package/lib/providers/image-builders/container.js +3 -3
- package/lib/providers/image-builders/linux-components.js +1 -1
- package/lib/providers/image-builders/static.js +1 -1
- package/lib/providers/image-builders/windows-components.js +1 -1
- package/lib/providers/lambda.d.ts +26 -24
- package/lib/providers/lambda.js +6 -6
- package/lib/runner.js +1 -1
- package/lib/secrets.js +1 -1
- package/package.json +8 -7
|
@@ -2054,10 +2054,10 @@ var require_models_0 = __commonJS({
|
|
|
2054
2054
|
"node_modules/@aws-sdk/client-lambda/dist-cjs/models/models_0.js"(exports) {
|
|
2055
2055
|
"use strict";
|
|
2056
2056
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2057
|
-
exports.
|
|
2058
|
-
exports.
|
|
2059
|
-
exports.
|
|
2060
|
-
exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = void 0;
|
|
2057
|
+
exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.SnapStartOptimizationStatus = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.SnapStartApplyOn = exports.Runtime = exports.PackageType = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.CodeSigningPolicy = exports.Architecture = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0;
|
|
2058
|
+
exports.TracingConfigResponseFilterSensitiveLog = exports.SnapStartResponseFilterSensitiveLog = exports.LayerFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.VpcConfigFilterSensitiveLog = exports.TracingConfigFilterSensitiveLog = exports.SnapStartFilterSensitiveLog = exports.ImageConfigFilterSensitiveLog = exports.FileSystemConfigFilterSensitiveLog = exports.EphemeralStorageFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.EventSourceMappingConfigurationFilterSensitiveLog = exports.CreateEventSourceMappingRequestFilterSensitiveLog = exports.SourceAccessConfigurationFilterSensitiveLog = exports.SelfManagedKafkaEventSourceConfigFilterSensitiveLog = exports.SelfManagedEventSourceFilterSensitiveLog = exports.FilterCriteriaFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DestinationConfigFilterSensitiveLog = exports.OnSuccessFilterSensitiveLog = exports.OnFailureFilterSensitiveLog = exports.CreateCodeSigningConfigResponseFilterSensitiveLog = exports.CodeSigningConfigFilterSensitiveLog = exports.CreateCodeSigningConfigRequestFilterSensitiveLog = exports.CodeSigningPoliciesFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = exports.AllowedPublishersFilterSensitiveLog = exports.AliasConfigurationFilterSensitiveLog = exports.AliasRoutingConfigurationFilterSensitiveLog = exports.AddPermissionResponseFilterSensitiveLog = exports.AddPermissionRequestFilterSensitiveLog = exports.AddLayerVersionPermissionResponseFilterSensitiveLog = exports.AddLayerVersionPermissionRequestFilterSensitiveLog = exports.AccountUsageFilterSensitiveLog = exports.AccountLimitFilterSensitiveLog = exports.FunctionVersion = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = void 0;
|
|
2059
|
+
exports.ListAliasesRequestFilterSensitiveLog = exports.InvokeAsyncResponseFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.GetPolicyResponseFilterSensitiveLog = exports.GetPolicyRequestFilterSensitiveLog = exports.GetLayerVersionPolicyResponseFilterSensitiveLog = exports.GetLayerVersionPolicyRequestFilterSensitiveLog = exports.GetLayerVersionByArnRequestFilterSensitiveLog = exports.GetLayerVersionResponseFilterSensitiveLog = exports.LayerVersionContentOutputFilterSensitiveLog = exports.GetLayerVersionRequestFilterSensitiveLog = exports.GetFunctionUrlConfigResponseFilterSensitiveLog = exports.GetFunctionUrlConfigRequestFilterSensitiveLog = exports.GetFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.FunctionEventInvokeConfigFilterSensitiveLog = exports.GetFunctionConfigurationRequestFilterSensitiveLog = exports.GetFunctionConcurrencyResponseFilterSensitiveLog = exports.GetFunctionConcurrencyRequestFilterSensitiveLog = exports.GetFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.GetFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.ConcurrencyFilterSensitiveLog = exports.FunctionCodeLocationFilterSensitiveLog = exports.GetFunctionRequestFilterSensitiveLog = exports.GetEventSourceMappingRequestFilterSensitiveLog = exports.GetCodeSigningConfigResponseFilterSensitiveLog = exports.GetCodeSigningConfigRequestFilterSensitiveLog = exports.GetAliasRequestFilterSensitiveLog = exports.GetAccountSettingsResponseFilterSensitiveLog = exports.GetAccountSettingsRequestFilterSensitiveLog = exports.DeleteProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.DeleteLayerVersionRequestFilterSensitiveLog = exports.DeleteFunctionUrlConfigRequestFilterSensitiveLog = exports.DeleteFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.DeleteFunctionConcurrencyRequestFilterSensitiveLog = exports.DeleteFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteFunctionRequestFilterSensitiveLog = exports.DeleteEventSourceMappingRequestFilterSensitiveLog = exports.DeleteCodeSigningConfigResponseFilterSensitiveLog = exports.DeleteCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.CreateFunctionUrlConfigResponseFilterSensitiveLog = exports.CreateFunctionUrlConfigRequestFilterSensitiveLog = exports.CorsFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = void 0;
|
|
2060
|
+
exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsResponseFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsRequestFilterSensitiveLog = exports.ListEventSourceMappingsResponseFilterSensitiveLog = exports.ListEventSourceMappingsRequestFilterSensitiveLog = exports.ListCodeSigningConfigsResponseFilterSensitiveLog = exports.ListCodeSigningConfigsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = void 0;
|
|
2061
2061
|
var smithy_client_1 = require_dist_cjs7();
|
|
2062
2062
|
var LambdaServiceException_1 = require_LambdaServiceException();
|
|
2063
2063
|
var InvalidParameterValueException = class extends LambdaServiceException_1.LambdaServiceException {
|
|
@@ -2150,6 +2150,7 @@ var require_models_0 = __commonJS({
|
|
|
2150
2150
|
(function(ThrottleReason2) {
|
|
2151
2151
|
ThrottleReason2["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
|
|
2152
2152
|
ThrottleReason2["ConcurrentInvocationLimitExceeded"] = "ConcurrentInvocationLimitExceeded";
|
|
2153
|
+
ThrottleReason2["ConcurrentSnapshotCreateLimitExceeded"] = "ConcurrentSnapshotCreateLimitExceeded";
|
|
2153
2154
|
ThrottleReason2["FunctionInvocationRateLimitExceeded"] = "FunctionInvocationRateLimitExceeded";
|
|
2154
2155
|
ThrottleReason2["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
|
|
2155
2156
|
ThrottleReason2["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
|
|
@@ -2290,6 +2291,11 @@ var require_models_0 = __commonJS({
|
|
|
2290
2291
|
Runtime2["ruby25"] = "ruby2.5";
|
|
2291
2292
|
Runtime2["ruby27"] = "ruby2.7";
|
|
2292
2293
|
})(Runtime = exports.Runtime || (exports.Runtime = {}));
|
|
2294
|
+
var SnapStartApplyOn;
|
|
2295
|
+
(function(SnapStartApplyOn2) {
|
|
2296
|
+
SnapStartApplyOn2["None"] = "None";
|
|
2297
|
+
SnapStartApplyOn2["PublishedVersions"] = "PublishedVersions";
|
|
2298
|
+
})(SnapStartApplyOn = exports.SnapStartApplyOn || (exports.SnapStartApplyOn = {}));
|
|
2293
2299
|
var TracingMode;
|
|
2294
2300
|
(function(TracingMode2) {
|
|
2295
2301
|
TracingMode2["Active"] = "Active";
|
|
@@ -2303,17 +2309,33 @@ var require_models_0 = __commonJS({
|
|
|
2303
2309
|
})(LastUpdateStatus = exports.LastUpdateStatus || (exports.LastUpdateStatus = {}));
|
|
2304
2310
|
var LastUpdateStatusReasonCode;
|
|
2305
2311
|
(function(LastUpdateStatusReasonCode2) {
|
|
2312
|
+
LastUpdateStatusReasonCode2["DisabledKMSKey"] = "DisabledKMSKey";
|
|
2313
|
+
LastUpdateStatusReasonCode2["EFSIOError"] = "EFSIOError";
|
|
2314
|
+
LastUpdateStatusReasonCode2["EFSMountConnectivityError"] = "EFSMountConnectivityError";
|
|
2315
|
+
LastUpdateStatusReasonCode2["EFSMountFailure"] = "EFSMountFailure";
|
|
2316
|
+
LastUpdateStatusReasonCode2["EFSMountTimeout"] = "EFSMountTimeout";
|
|
2306
2317
|
LastUpdateStatusReasonCode2["EniLimitExceeded"] = "EniLimitExceeded";
|
|
2318
|
+
LastUpdateStatusReasonCode2["FunctionError"] = "FunctionError";
|
|
2307
2319
|
LastUpdateStatusReasonCode2["ImageAccessDenied"] = "ImageAccessDenied";
|
|
2308
2320
|
LastUpdateStatusReasonCode2["ImageDeleted"] = "ImageDeleted";
|
|
2309
2321
|
LastUpdateStatusReasonCode2["InsufficientRolePermissions"] = "InsufficientRolePermissions";
|
|
2310
2322
|
LastUpdateStatusReasonCode2["InternalError"] = "InternalError";
|
|
2311
2323
|
LastUpdateStatusReasonCode2["InvalidConfiguration"] = "InvalidConfiguration";
|
|
2312
2324
|
LastUpdateStatusReasonCode2["InvalidImage"] = "InvalidImage";
|
|
2325
|
+
LastUpdateStatusReasonCode2["InvalidRuntime"] = "InvalidRuntime";
|
|
2313
2326
|
LastUpdateStatusReasonCode2["InvalidSecurityGroup"] = "InvalidSecurityGroup";
|
|
2327
|
+
LastUpdateStatusReasonCode2["InvalidStateKMSKey"] = "InvalidStateKMSKey";
|
|
2314
2328
|
LastUpdateStatusReasonCode2["InvalidSubnet"] = "InvalidSubnet";
|
|
2329
|
+
LastUpdateStatusReasonCode2["InvalidZipFileException"] = "InvalidZipFileException";
|
|
2330
|
+
LastUpdateStatusReasonCode2["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
|
|
2331
|
+
LastUpdateStatusReasonCode2["KMSKeyNotFound"] = "KMSKeyNotFound";
|
|
2315
2332
|
LastUpdateStatusReasonCode2["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
|
|
2316
2333
|
})(LastUpdateStatusReasonCode = exports.LastUpdateStatusReasonCode || (exports.LastUpdateStatusReasonCode = {}));
|
|
2334
|
+
var SnapStartOptimizationStatus;
|
|
2335
|
+
(function(SnapStartOptimizationStatus2) {
|
|
2336
|
+
SnapStartOptimizationStatus2["Off"] = "Off";
|
|
2337
|
+
SnapStartOptimizationStatus2["On"] = "On";
|
|
2338
|
+
})(SnapStartOptimizationStatus = exports.SnapStartOptimizationStatus || (exports.SnapStartOptimizationStatus = {}));
|
|
2317
2339
|
var State;
|
|
2318
2340
|
(function(State2) {
|
|
2319
2341
|
State2["Active"] = "Active";
|
|
@@ -2324,7 +2346,13 @@ var require_models_0 = __commonJS({
|
|
|
2324
2346
|
var StateReasonCode;
|
|
2325
2347
|
(function(StateReasonCode2) {
|
|
2326
2348
|
StateReasonCode2["Creating"] = "Creating";
|
|
2349
|
+
StateReasonCode2["DisabledKMSKey"] = "DisabledKMSKey";
|
|
2350
|
+
StateReasonCode2["EFSIOError"] = "EFSIOError";
|
|
2351
|
+
StateReasonCode2["EFSMountConnectivityError"] = "EFSMountConnectivityError";
|
|
2352
|
+
StateReasonCode2["EFSMountFailure"] = "EFSMountFailure";
|
|
2353
|
+
StateReasonCode2["EFSMountTimeout"] = "EFSMountTimeout";
|
|
2327
2354
|
StateReasonCode2["EniLimitExceeded"] = "EniLimitExceeded";
|
|
2355
|
+
StateReasonCode2["FunctionError"] = "FunctionError";
|
|
2328
2356
|
StateReasonCode2["Idle"] = "Idle";
|
|
2329
2357
|
StateReasonCode2["ImageAccessDenied"] = "ImageAccessDenied";
|
|
2330
2358
|
StateReasonCode2["ImageDeleted"] = "ImageDeleted";
|
|
@@ -2332,8 +2360,13 @@ var require_models_0 = __commonJS({
|
|
|
2332
2360
|
StateReasonCode2["InternalError"] = "InternalError";
|
|
2333
2361
|
StateReasonCode2["InvalidConfiguration"] = "InvalidConfiguration";
|
|
2334
2362
|
StateReasonCode2["InvalidImage"] = "InvalidImage";
|
|
2363
|
+
StateReasonCode2["InvalidRuntime"] = "InvalidRuntime";
|
|
2335
2364
|
StateReasonCode2["InvalidSecurityGroup"] = "InvalidSecurityGroup";
|
|
2365
|
+
StateReasonCode2["InvalidStateKMSKey"] = "InvalidStateKMSKey";
|
|
2336
2366
|
StateReasonCode2["InvalidSubnet"] = "InvalidSubnet";
|
|
2367
|
+
StateReasonCode2["InvalidZipFileException"] = "InvalidZipFileException";
|
|
2368
|
+
StateReasonCode2["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
|
|
2369
|
+
StateReasonCode2["KMSKeyNotFound"] = "KMSKeyNotFound";
|
|
2337
2370
|
StateReasonCode2["Restoring"] = "Restoring";
|
|
2338
2371
|
StateReasonCode2["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
|
|
2339
2372
|
})(StateReasonCode = exports.StateReasonCode || (exports.StateReasonCode = {}));
|
|
@@ -2681,6 +2714,51 @@ var require_models_0 = __commonJS({
|
|
|
2681
2714
|
}
|
|
2682
2715
|
};
|
|
2683
2716
|
exports.ResourceNotReadyException = ResourceNotReadyException;
|
|
2717
|
+
var SnapStartException = class extends LambdaServiceException_1.LambdaServiceException {
|
|
2718
|
+
constructor(opts) {
|
|
2719
|
+
super({
|
|
2720
|
+
name: "SnapStartException",
|
|
2721
|
+
$fault: "client",
|
|
2722
|
+
...opts
|
|
2723
|
+
});
|
|
2724
|
+
this.name = "SnapStartException";
|
|
2725
|
+
this.$fault = "client";
|
|
2726
|
+
Object.setPrototypeOf(this, SnapStartException.prototype);
|
|
2727
|
+
this.Type = opts.Type;
|
|
2728
|
+
this.Message = opts.Message;
|
|
2729
|
+
}
|
|
2730
|
+
};
|
|
2731
|
+
exports.SnapStartException = SnapStartException;
|
|
2732
|
+
var SnapStartNotReadyException = class extends LambdaServiceException_1.LambdaServiceException {
|
|
2733
|
+
constructor(opts) {
|
|
2734
|
+
super({
|
|
2735
|
+
name: "SnapStartNotReadyException",
|
|
2736
|
+
$fault: "client",
|
|
2737
|
+
...opts
|
|
2738
|
+
});
|
|
2739
|
+
this.name = "SnapStartNotReadyException";
|
|
2740
|
+
this.$fault = "client";
|
|
2741
|
+
Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
|
|
2742
|
+
this.Type = opts.Type;
|
|
2743
|
+
this.Message = opts.Message;
|
|
2744
|
+
}
|
|
2745
|
+
};
|
|
2746
|
+
exports.SnapStartNotReadyException = SnapStartNotReadyException;
|
|
2747
|
+
var SnapStartTimeoutException = class extends LambdaServiceException_1.LambdaServiceException {
|
|
2748
|
+
constructor(opts) {
|
|
2749
|
+
super({
|
|
2750
|
+
name: "SnapStartTimeoutException",
|
|
2751
|
+
$fault: "client",
|
|
2752
|
+
...opts
|
|
2753
|
+
});
|
|
2754
|
+
this.name = "SnapStartTimeoutException";
|
|
2755
|
+
this.$fault = "client";
|
|
2756
|
+
Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
|
|
2757
|
+
this.Type = opts.Type;
|
|
2758
|
+
this.Message = opts.Message;
|
|
2759
|
+
}
|
|
2760
|
+
};
|
|
2761
|
+
exports.SnapStartTimeoutException = SnapStartTimeoutException;
|
|
2684
2762
|
var SubnetIPAddressLimitReachedException = class extends LambdaServiceException_1.LambdaServiceException {
|
|
2685
2763
|
constructor(opts) {
|
|
2686
2764
|
super({
|
|
@@ -2840,6 +2918,10 @@ var require_models_0 = __commonJS({
|
|
|
2840
2918
|
...obj
|
|
2841
2919
|
});
|
|
2842
2920
|
exports.ImageConfigFilterSensitiveLog = ImageConfigFilterSensitiveLog;
|
|
2921
|
+
var SnapStartFilterSensitiveLog = (obj) => ({
|
|
2922
|
+
...obj
|
|
2923
|
+
});
|
|
2924
|
+
exports.SnapStartFilterSensitiveLog = SnapStartFilterSensitiveLog;
|
|
2843
2925
|
var TracingConfigFilterSensitiveLog = (obj) => ({
|
|
2844
2926
|
...obj
|
|
2845
2927
|
});
|
|
@@ -2879,6 +2961,10 @@ var require_models_0 = __commonJS({
|
|
|
2879
2961
|
...obj
|
|
2880
2962
|
});
|
|
2881
2963
|
exports.LayerFilterSensitiveLog = LayerFilterSensitiveLog;
|
|
2964
|
+
var SnapStartResponseFilterSensitiveLog = (obj) => ({
|
|
2965
|
+
...obj
|
|
2966
|
+
});
|
|
2967
|
+
exports.SnapStartResponseFilterSensitiveLog = SnapStartResponseFilterSensitiveLog;
|
|
2882
2968
|
var TracingConfigResponseFilterSensitiveLog = (obj) => ({
|
|
2883
2969
|
...obj
|
|
2884
2970
|
});
|
|
@@ -3626,6 +3712,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
3626
3712
|
...input.Publish != null && { Publish: input.Publish },
|
|
3627
3713
|
...input.Role != null && { Role: input.Role },
|
|
3628
3714
|
...input.Runtime != null && { Runtime: input.Runtime },
|
|
3715
|
+
...input.SnapStart != null && { SnapStart: serializeAws_restJson1SnapStart(input.SnapStart, context) },
|
|
3629
3716
|
...input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) },
|
|
3630
3717
|
...input.Timeout != null && { Timeout: input.Timeout },
|
|
3631
3718
|
...input.TracingConfig != null && {
|
|
@@ -3844,7 +3931,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
3844
3931
|
let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
|
|
3845
3932
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
3846
3933
|
const query = map({
|
|
3847
|
-
Qualifier: [, input.Qualifier]
|
|
3934
|
+
Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)]
|
|
3848
3935
|
});
|
|
3849
3936
|
let body;
|
|
3850
3937
|
return new protocol_http_1.HttpRequest({
|
|
@@ -4072,7 +4159,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
4072
4159
|
const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2018-10-31/layers`;
|
|
4073
4160
|
const query = map({
|
|
4074
4161
|
find: [, "LayerVersion"],
|
|
4075
|
-
Arn: [, input.Arn]
|
|
4162
|
+
Arn: [, (0, smithy_client_1.expectNonNull)(input.Arn, `Arn`)]
|
|
4076
4163
|
});
|
|
4077
4164
|
let body;
|
|
4078
4165
|
return new protocol_http_1.HttpRequest({
|
|
@@ -4132,7 +4219,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
4132
4219
|
let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
|
|
4133
4220
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
4134
4221
|
const query = map({
|
|
4135
|
-
Qualifier: [, input.Qualifier]
|
|
4222
|
+
Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)]
|
|
4136
4223
|
});
|
|
4137
4224
|
let body;
|
|
4138
4225
|
return new protocol_http_1.HttpRequest({
|
|
@@ -4601,7 +4688,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
4601
4688
|
let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2019-09-30/functions/{FunctionName}/provisioned-concurrency`;
|
|
4602
4689
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
4603
4690
|
const query = map({
|
|
4604
|
-
Qualifier: [, input.Qualifier]
|
|
4691
|
+
Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)]
|
|
4605
4692
|
});
|
|
4606
4693
|
let body;
|
|
4607
4694
|
body = JSON.stringify({
|
|
@@ -4695,7 +4782,10 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
4695
4782
|
let resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/2017-03-31/tags/{Resource}`;
|
|
4696
4783
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
|
|
4697
4784
|
const query = map({
|
|
4698
|
-
tagKeys: [
|
|
4785
|
+
tagKeys: [
|
|
4786
|
+
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
4787
|
+
() => (input.TagKeys || []).map((_entry) => _entry)
|
|
4788
|
+
]
|
|
4699
4789
|
});
|
|
4700
4790
|
let body;
|
|
4701
4791
|
return new protocol_http_1.HttpRequest({
|
|
@@ -4870,6 +4960,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
4870
4960
|
...input.RevisionId != null && { RevisionId: input.RevisionId },
|
|
4871
4961
|
...input.Role != null && { Role: input.Role },
|
|
4872
4962
|
...input.Runtime != null && { Runtime: input.Runtime },
|
|
4963
|
+
...input.SnapStart != null && { SnapStart: serializeAws_restJson1SnapStart(input.SnapStart, context) },
|
|
4873
4964
|
...input.Timeout != null && { Timeout: input.Timeout },
|
|
4874
4965
|
...input.TracingConfig != null && {
|
|
4875
4966
|
TracingConfig: serializeAws_restJson1TracingConfig(input.TracingConfig, context)
|
|
@@ -5353,6 +5444,9 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
5353
5444
|
if (data.SigningProfileVersionArn != null) {
|
|
5354
5445
|
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
5355
5446
|
}
|
|
5447
|
+
if (data.SnapStart != null) {
|
|
5448
|
+
contents.SnapStart = deserializeAws_restJson1SnapStartResponse(data.SnapStart, context);
|
|
5449
|
+
}
|
|
5356
5450
|
if (data.State != null) {
|
|
5357
5451
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
5358
5452
|
}
|
|
@@ -6449,6 +6543,9 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
6449
6543
|
if (data.SigningProfileVersionArn != null) {
|
|
6450
6544
|
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
6451
6545
|
}
|
|
6546
|
+
if (data.SnapStart != null) {
|
|
6547
|
+
contents.SnapStart = deserializeAws_restJson1SnapStartResponse(data.SnapStart, context);
|
|
6548
|
+
}
|
|
6452
6549
|
if (data.State != null) {
|
|
6453
6550
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
6454
6551
|
}
|
|
@@ -6996,6 +7093,15 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
6996
7093
|
case "ServiceException":
|
|
6997
7094
|
case "com.amazonaws.lambda#ServiceException":
|
|
6998
7095
|
throw await deserializeAws_restJson1ServiceExceptionResponse(parsedOutput, context);
|
|
7096
|
+
case "SnapStartException":
|
|
7097
|
+
case "com.amazonaws.lambda#SnapStartException":
|
|
7098
|
+
throw await deserializeAws_restJson1SnapStartExceptionResponse(parsedOutput, context);
|
|
7099
|
+
case "SnapStartNotReadyException":
|
|
7100
|
+
case "com.amazonaws.lambda#SnapStartNotReadyException":
|
|
7101
|
+
throw await deserializeAws_restJson1SnapStartNotReadyExceptionResponse(parsedOutput, context);
|
|
7102
|
+
case "SnapStartTimeoutException":
|
|
7103
|
+
case "com.amazonaws.lambda#SnapStartTimeoutException":
|
|
7104
|
+
throw await deserializeAws_restJson1SnapStartTimeoutExceptionResponse(parsedOutput, context);
|
|
6999
7105
|
case "SubnetIPAddressLimitReachedException":
|
|
7000
7106
|
case "com.amazonaws.lambda#SubnetIPAddressLimitReachedException":
|
|
7001
7107
|
throw await deserializeAws_restJson1SubnetIPAddressLimitReachedExceptionResponse(parsedOutput, context);
|
|
@@ -7751,6 +7857,9 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
7751
7857
|
if (data.SigningProfileVersionArn != null) {
|
|
7752
7858
|
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
7753
7859
|
}
|
|
7860
|
+
if (data.SnapStart != null) {
|
|
7861
|
+
contents.SnapStart = deserializeAws_restJson1SnapStartResponse(data.SnapStart, context);
|
|
7862
|
+
}
|
|
7754
7863
|
if (data.State != null) {
|
|
7755
7864
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
7756
7865
|
}
|
|
@@ -8513,6 +8622,9 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
8513
8622
|
if (data.SigningProfileVersionArn != null) {
|
|
8514
8623
|
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
8515
8624
|
}
|
|
8625
|
+
if (data.SnapStart != null) {
|
|
8626
|
+
contents.SnapStart = deserializeAws_restJson1SnapStartResponse(data.SnapStart, context);
|
|
8627
|
+
}
|
|
8516
8628
|
if (data.State != null) {
|
|
8517
8629
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
8518
8630
|
}
|
|
@@ -8670,6 +8782,9 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
8670
8782
|
if (data.SigningProfileVersionArn != null) {
|
|
8671
8783
|
contents.SigningProfileVersionArn = (0, smithy_client_1.expectString)(data.SigningProfileVersionArn);
|
|
8672
8784
|
}
|
|
8785
|
+
if (data.SnapStart != null) {
|
|
8786
|
+
contents.SnapStart = deserializeAws_restJson1SnapStartResponse(data.SnapStart, context);
|
|
8787
|
+
}
|
|
8673
8788
|
if (data.State != null) {
|
|
8674
8789
|
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
8675
8790
|
}
|
|
@@ -9326,6 +9441,51 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
9326
9441
|
});
|
|
9327
9442
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
9328
9443
|
};
|
|
9444
|
+
var deserializeAws_restJson1SnapStartExceptionResponse = async (parsedOutput, context) => {
|
|
9445
|
+
const contents = map({});
|
|
9446
|
+
const data = parsedOutput.body;
|
|
9447
|
+
if (data.Message != null) {
|
|
9448
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
9449
|
+
}
|
|
9450
|
+
if (data.Type != null) {
|
|
9451
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
9452
|
+
}
|
|
9453
|
+
const exception = new models_0_1.SnapStartException({
|
|
9454
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9455
|
+
...contents
|
|
9456
|
+
});
|
|
9457
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
9458
|
+
};
|
|
9459
|
+
var deserializeAws_restJson1SnapStartNotReadyExceptionResponse = async (parsedOutput, context) => {
|
|
9460
|
+
const contents = map({});
|
|
9461
|
+
const data = parsedOutput.body;
|
|
9462
|
+
if (data.Message != null) {
|
|
9463
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
9464
|
+
}
|
|
9465
|
+
if (data.Type != null) {
|
|
9466
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
9467
|
+
}
|
|
9468
|
+
const exception = new models_0_1.SnapStartNotReadyException({
|
|
9469
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9470
|
+
...contents
|
|
9471
|
+
});
|
|
9472
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
9473
|
+
};
|
|
9474
|
+
var deserializeAws_restJson1SnapStartTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
9475
|
+
const contents = map({});
|
|
9476
|
+
const data = parsedOutput.body;
|
|
9477
|
+
if (data.Message != null) {
|
|
9478
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
9479
|
+
}
|
|
9480
|
+
if (data.Type != null) {
|
|
9481
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
9482
|
+
}
|
|
9483
|
+
const exception = new models_0_1.SnapStartTimeoutException({
|
|
9484
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9485
|
+
...contents
|
|
9486
|
+
});
|
|
9487
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
9488
|
+
};
|
|
9329
9489
|
var deserializeAws_restJson1SubnetIPAddressLimitReachedExceptionResponse = async (parsedOutput, context) => {
|
|
9330
9490
|
const contents = map({});
|
|
9331
9491
|
const data = parsedOutput.body;
|
|
@@ -9596,6 +9756,11 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
9596
9756
|
return entry;
|
|
9597
9757
|
});
|
|
9598
9758
|
};
|
|
9759
|
+
var serializeAws_restJson1SnapStart = (input, context) => {
|
|
9760
|
+
return {
|
|
9761
|
+
...input.ApplyOn != null && { ApplyOn: input.ApplyOn }
|
|
9762
|
+
};
|
|
9763
|
+
};
|
|
9599
9764
|
var serializeAws_restJson1SourceAccessConfiguration = (input, context) => {
|
|
9600
9765
|
return {
|
|
9601
9766
|
...input.Type != null && { Type: input.Type },
|
|
@@ -9958,6 +10123,7 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
9958
10123
|
Runtime: (0, smithy_client_1.expectString)(output.Runtime),
|
|
9959
10124
|
SigningJobArn: (0, smithy_client_1.expectString)(output.SigningJobArn),
|
|
9960
10125
|
SigningProfileVersionArn: (0, smithy_client_1.expectString)(output.SigningProfileVersionArn),
|
|
10126
|
+
SnapStart: output.SnapStart != null ? deserializeAws_restJson1SnapStartResponse(output.SnapStart, context) : void 0,
|
|
9961
10127
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
9962
10128
|
StateReason: (0, smithy_client_1.expectString)(output.StateReason),
|
|
9963
10129
|
StateReasonCode: (0, smithy_client_1.expectString)(output.StateReasonCode),
|
|
@@ -10179,6 +10345,12 @@ var require_Aws_restJson1 = __commonJS({
|
|
|
10179
10345
|
});
|
|
10180
10346
|
return retVal;
|
|
10181
10347
|
};
|
|
10348
|
+
var deserializeAws_restJson1SnapStartResponse = (output, context) => {
|
|
10349
|
+
return {
|
|
10350
|
+
ApplyOn: (0, smithy_client_1.expectString)(output.ApplyOn),
|
|
10351
|
+
OptimizationStatus: (0, smithy_client_1.expectString)(output.OptimizationStatus)
|
|
10352
|
+
};
|
|
10353
|
+
};
|
|
10182
10354
|
var deserializeAws_restJson1SourceAccessConfiguration = (output, context) => {
|
|
10183
10355
|
return {
|
|
10184
10356
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
@@ -16302,7 +16474,7 @@ var require_package = __commonJS({
|
|
|
16302
16474
|
module2.exports = {
|
|
16303
16475
|
name: "@aws-sdk/client-lambda",
|
|
16304
16476
|
description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
16305
|
-
version: "3.
|
|
16477
|
+
version: "3.223.0",
|
|
16306
16478
|
scripts: {
|
|
16307
16479
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
16308
16480
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -16320,39 +16492,39 @@ var require_package = __commonJS({
|
|
|
16320
16492
|
dependencies: {
|
|
16321
16493
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
16322
16494
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
16323
|
-
"@aws-sdk/client-sts": "3.
|
|
16324
|
-
"@aws-sdk/config-resolver": "3.
|
|
16325
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
16326
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
16327
|
-
"@aws-sdk/hash-node": "3.
|
|
16328
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
16329
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
16330
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
16331
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
16332
|
-
"@aws-sdk/middleware-logger": "3.
|
|
16333
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
16334
|
-
"@aws-sdk/middleware-retry": "3.
|
|
16335
|
-
"@aws-sdk/middleware-serde": "3.
|
|
16336
|
-
"@aws-sdk/middleware-signing": "3.
|
|
16337
|
-
"@aws-sdk/middleware-stack": "3.
|
|
16338
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
16339
|
-
"@aws-sdk/node-config-provider": "3.
|
|
16340
|
-
"@aws-sdk/node-http-handler": "3.
|
|
16341
|
-
"@aws-sdk/protocol-http": "3.
|
|
16342
|
-
"@aws-sdk/smithy-client": "3.
|
|
16343
|
-
"@aws-sdk/types": "3.
|
|
16344
|
-
"@aws-sdk/url-parser": "3.
|
|
16495
|
+
"@aws-sdk/client-sts": "3.223.0",
|
|
16496
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
16497
|
+
"@aws-sdk/credential-provider-node": "3.223.0",
|
|
16498
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
16499
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
16500
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
16501
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
16502
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
16503
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
16504
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
16505
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
16506
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
16507
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
16508
|
+
"@aws-sdk/middleware-signing": "3.222.0",
|
|
16509
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
16510
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
16511
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
16512
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
16513
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
16514
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
16515
|
+
"@aws-sdk/types": "3.222.0",
|
|
16516
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
16345
16517
|
"@aws-sdk/util-base64": "3.208.0",
|
|
16346
16518
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
16347
16519
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
16348
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
16349
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
16350
|
-
"@aws-sdk/util-endpoints": "3.
|
|
16351
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
16352
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
16520
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
16521
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
16522
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
16523
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
16524
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
16353
16525
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
16354
16526
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
16355
|
-
"@aws-sdk/util-waiter": "3.
|
|
16527
|
+
"@aws-sdk/util-waiter": "3.222.0",
|
|
16356
16528
|
tslib: "^2.3.1"
|
|
16357
16529
|
},
|
|
16358
16530
|
devDependencies: {
|
|
@@ -19744,7 +19916,7 @@ var require_package2 = __commonJS({
|
|
|
19744
19916
|
module2.exports = {
|
|
19745
19917
|
name: "@aws-sdk/client-sts",
|
|
19746
19918
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
19747
|
-
version: "3.
|
|
19919
|
+
version: "3.223.0",
|
|
19748
19920
|
scripts: {
|
|
19749
19921
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
19750
19922
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19764,36 +19936,36 @@ var require_package2 = __commonJS({
|
|
|
19764
19936
|
dependencies: {
|
|
19765
19937
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
19766
19938
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
19767
|
-
"@aws-sdk/config-resolver": "3.
|
|
19768
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
19769
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
19770
|
-
"@aws-sdk/hash-node": "3.
|
|
19771
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
19772
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
19773
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
19774
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
19775
|
-
"@aws-sdk/middleware-logger": "3.
|
|
19776
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
19777
|
-
"@aws-sdk/middleware-retry": "3.
|
|
19778
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
19779
|
-
"@aws-sdk/middleware-serde": "3.
|
|
19780
|
-
"@aws-sdk/middleware-signing": "3.
|
|
19781
|
-
"@aws-sdk/middleware-stack": "3.
|
|
19782
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
19783
|
-
"@aws-sdk/node-config-provider": "3.
|
|
19784
|
-
"@aws-sdk/node-http-handler": "3.
|
|
19785
|
-
"@aws-sdk/protocol-http": "3.
|
|
19786
|
-
"@aws-sdk/smithy-client": "3.
|
|
19787
|
-
"@aws-sdk/types": "3.
|
|
19788
|
-
"@aws-sdk/url-parser": "3.
|
|
19939
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
19940
|
+
"@aws-sdk/credential-provider-node": "3.223.0",
|
|
19941
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
19942
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
19943
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
19944
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
19945
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
19946
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
19947
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
19948
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
19949
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
19950
|
+
"@aws-sdk/middleware-sdk-sts": "3.222.0",
|
|
19951
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
19952
|
+
"@aws-sdk/middleware-signing": "3.222.0",
|
|
19953
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
19954
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
19955
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
19956
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
19957
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
19958
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
19959
|
+
"@aws-sdk/types": "3.222.0",
|
|
19960
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
19789
19961
|
"@aws-sdk/util-base64": "3.208.0",
|
|
19790
19962
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
19791
19963
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
19792
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
19793
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
19794
|
-
"@aws-sdk/util-endpoints": "3.
|
|
19795
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
19796
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
19964
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
19965
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
19966
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
19967
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
19968
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
19797
19969
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
19798
19970
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
19799
19971
|
"fast-xml-parser": "4.0.11",
|
|
@@ -20999,8 +21171,8 @@ var require_Aws_restJson12 = __commonJS({
|
|
|
20999
21171
|
});
|
|
21000
21172
|
const resolvedPath = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/federation/credentials`;
|
|
21001
21173
|
const query = map({
|
|
21002
|
-
role_name: [, input.roleName],
|
|
21003
|
-
account_id: [, input.accountId]
|
|
21174
|
+
role_name: [, (0, smithy_client_1.expectNonNull)(input.roleName, `roleName`)],
|
|
21175
|
+
account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)]
|
|
21004
21176
|
});
|
|
21005
21177
|
let body;
|
|
21006
21178
|
return new protocol_http_1.HttpRequest({
|
|
@@ -21024,7 +21196,7 @@ var require_Aws_restJson12 = __commonJS({
|
|
|
21024
21196
|
const query = map({
|
|
21025
21197
|
next_token: [, input.nextToken],
|
|
21026
21198
|
max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
21027
|
-
account_id: [, input.accountId]
|
|
21199
|
+
account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)]
|
|
21028
21200
|
});
|
|
21029
21201
|
let body;
|
|
21030
21202
|
return new protocol_http_1.HttpRequest({
|
|
@@ -21629,7 +21801,7 @@ var require_package3 = __commonJS({
|
|
|
21629
21801
|
module2.exports = {
|
|
21630
21802
|
name: "@aws-sdk/client-sso",
|
|
21631
21803
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
21632
|
-
version: "3.
|
|
21804
|
+
version: "3.223.0",
|
|
21633
21805
|
scripts: {
|
|
21634
21806
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
21635
21807
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21647,33 +21819,33 @@ var require_package3 = __commonJS({
|
|
|
21647
21819
|
dependencies: {
|
|
21648
21820
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21649
21821
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21650
|
-
"@aws-sdk/config-resolver": "3.
|
|
21651
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21652
|
-
"@aws-sdk/hash-node": "3.
|
|
21653
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
21654
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
21655
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
21656
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
21657
|
-
"@aws-sdk/middleware-logger": "3.
|
|
21658
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
21659
|
-
"@aws-sdk/middleware-retry": "3.
|
|
21660
|
-
"@aws-sdk/middleware-serde": "3.
|
|
21661
|
-
"@aws-sdk/middleware-stack": "3.
|
|
21662
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
21663
|
-
"@aws-sdk/node-config-provider": "3.
|
|
21664
|
-
"@aws-sdk/node-http-handler": "3.
|
|
21665
|
-
"@aws-sdk/protocol-http": "3.
|
|
21666
|
-
"@aws-sdk/smithy-client": "3.
|
|
21667
|
-
"@aws-sdk/types": "3.
|
|
21668
|
-
"@aws-sdk/url-parser": "3.
|
|
21822
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
21823
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
21824
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
21825
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
21826
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
21827
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
21828
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
21829
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
21830
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
21831
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
21832
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
21833
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
21834
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
21835
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
21836
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
21837
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
21838
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
21839
|
+
"@aws-sdk/types": "3.222.0",
|
|
21840
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
21669
21841
|
"@aws-sdk/util-base64": "3.208.0",
|
|
21670
21842
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
21671
21843
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
21672
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
21673
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
21674
|
-
"@aws-sdk/util-endpoints": "3.
|
|
21675
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
21676
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
21844
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
21845
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
21846
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
21847
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
21848
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
21677
21849
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
21678
21850
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
21679
21851
|
tslib: "^2.3.1"
|
|
@@ -22945,6 +23117,14 @@ var require_auth = __commonJS({
|
|
|
22945
23117
|
}
|
|
22946
23118
|
});
|
|
22947
23119
|
|
|
23120
|
+
// node_modules/@aws-sdk/types/dist-cjs/checksum.js
|
|
23121
|
+
var require_checksum = __commonJS({
|
|
23122
|
+
"node_modules/@aws-sdk/types/dist-cjs/checksum.js"(exports) {
|
|
23123
|
+
"use strict";
|
|
23124
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23125
|
+
}
|
|
23126
|
+
});
|
|
23127
|
+
|
|
22948
23128
|
// node_modules/@aws-sdk/types/dist-cjs/client.js
|
|
22949
23129
|
var require_client2 = __commonJS({
|
|
22950
23130
|
"node_modules/@aws-sdk/types/dist-cjs/client.js"(exports) {
|
|
@@ -23101,6 +23281,14 @@ var require_response = __commonJS({
|
|
|
23101
23281
|
}
|
|
23102
23282
|
});
|
|
23103
23283
|
|
|
23284
|
+
// node_modules/@aws-sdk/types/dist-cjs/retry.js
|
|
23285
|
+
var require_retry2 = __commonJS({
|
|
23286
|
+
"node_modules/@aws-sdk/types/dist-cjs/retry.js"(exports) {
|
|
23287
|
+
"use strict";
|
|
23288
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23289
|
+
}
|
|
23290
|
+
});
|
|
23291
|
+
|
|
23104
23292
|
// node_modules/@aws-sdk/types/dist-cjs/serde.js
|
|
23105
23293
|
var require_serde = __commonJS({
|
|
23106
23294
|
"node_modules/@aws-sdk/types/dist-cjs/serde.js"(exports) {
|
|
@@ -23173,6 +23361,7 @@ var require_dist_cjs37 = __commonJS({
|
|
|
23173
23361
|
var tslib_1 = require_tslib();
|
|
23174
23362
|
tslib_1.__exportStar(require_abort(), exports);
|
|
23175
23363
|
tslib_1.__exportStar(require_auth(), exports);
|
|
23364
|
+
tslib_1.__exportStar(require_checksum(), exports);
|
|
23176
23365
|
tslib_1.__exportStar(require_client2(), exports);
|
|
23177
23366
|
tslib_1.__exportStar(require_command2(), exports);
|
|
23178
23367
|
tslib_1.__exportStar(require_credentials(), exports);
|
|
@@ -23186,6 +23375,7 @@ var require_dist_cjs37 = __commonJS({
|
|
|
23186
23375
|
tslib_1.__exportStar(require_pagination(), exports);
|
|
23187
23376
|
tslib_1.__exportStar(require_profile(), exports);
|
|
23188
23377
|
tslib_1.__exportStar(require_response(), exports);
|
|
23378
|
+
tslib_1.__exportStar(require_retry2(), exports);
|
|
23189
23379
|
tslib_1.__exportStar(require_serde(), exports);
|
|
23190
23380
|
tslib_1.__exportStar(require_shapes(), exports);
|
|
23191
23381
|
tslib_1.__exportStar(require_signature(), exports);
|
|
@@ -25468,7 +25658,7 @@ var require_package4 = __commonJS({
|
|
|
25468
25658
|
module2.exports = {
|
|
25469
25659
|
name: "@aws-sdk/client-sso-oidc",
|
|
25470
25660
|
description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
25471
|
-
version: "3.
|
|
25661
|
+
version: "3.223.0",
|
|
25472
25662
|
scripts: {
|
|
25473
25663
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
25474
25664
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25486,33 +25676,33 @@ var require_package4 = __commonJS({
|
|
|
25486
25676
|
dependencies: {
|
|
25487
25677
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
25488
25678
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
25489
|
-
"@aws-sdk/config-resolver": "3.
|
|
25490
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25491
|
-
"@aws-sdk/hash-node": "3.
|
|
25492
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
25493
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
25494
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
25495
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25496
|
-
"@aws-sdk/middleware-logger": "3.
|
|
25497
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
25498
|
-
"@aws-sdk/middleware-retry": "3.
|
|
25499
|
-
"@aws-sdk/middleware-serde": "3.
|
|
25500
|
-
"@aws-sdk/middleware-stack": "3.
|
|
25501
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25502
|
-
"@aws-sdk/node-config-provider": "3.
|
|
25503
|
-
"@aws-sdk/node-http-handler": "3.
|
|
25504
|
-
"@aws-sdk/protocol-http": "3.
|
|
25505
|
-
"@aws-sdk/smithy-client": "3.
|
|
25506
|
-
"@aws-sdk/types": "3.
|
|
25507
|
-
"@aws-sdk/url-parser": "3.
|
|
25679
|
+
"@aws-sdk/config-resolver": "3.222.0",
|
|
25680
|
+
"@aws-sdk/fetch-http-handler": "3.222.0",
|
|
25681
|
+
"@aws-sdk/hash-node": "3.222.0",
|
|
25682
|
+
"@aws-sdk/invalid-dependency": "3.222.0",
|
|
25683
|
+
"@aws-sdk/middleware-content-length": "3.222.0",
|
|
25684
|
+
"@aws-sdk/middleware-endpoint": "3.222.0",
|
|
25685
|
+
"@aws-sdk/middleware-host-header": "3.222.0",
|
|
25686
|
+
"@aws-sdk/middleware-logger": "3.222.0",
|
|
25687
|
+
"@aws-sdk/middleware-recursion-detection": "3.222.0",
|
|
25688
|
+
"@aws-sdk/middleware-retry": "3.222.0",
|
|
25689
|
+
"@aws-sdk/middleware-serde": "3.222.0",
|
|
25690
|
+
"@aws-sdk/middleware-stack": "3.222.0",
|
|
25691
|
+
"@aws-sdk/middleware-user-agent": "3.222.0",
|
|
25692
|
+
"@aws-sdk/node-config-provider": "3.222.0",
|
|
25693
|
+
"@aws-sdk/node-http-handler": "3.222.0",
|
|
25694
|
+
"@aws-sdk/protocol-http": "3.222.0",
|
|
25695
|
+
"@aws-sdk/smithy-client": "3.222.0",
|
|
25696
|
+
"@aws-sdk/types": "3.222.0",
|
|
25697
|
+
"@aws-sdk/url-parser": "3.222.0",
|
|
25508
25698
|
"@aws-sdk/util-base64": "3.208.0",
|
|
25509
25699
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
25510
25700
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
25511
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
25512
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
25513
|
-
"@aws-sdk/util-endpoints": "3.
|
|
25514
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
25515
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25701
|
+
"@aws-sdk/util-defaults-mode-browser": "3.222.0",
|
|
25702
|
+
"@aws-sdk/util-defaults-mode-node": "3.222.0",
|
|
25703
|
+
"@aws-sdk/util-endpoints": "3.222.0",
|
|
25704
|
+
"@aws-sdk/util-user-agent-browser": "3.222.0",
|
|
25705
|
+
"@aws-sdk/util-user-agent-node": "3.222.0",
|
|
25516
25706
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
25517
25707
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
25518
25708
|
tslib: "^2.3.1"
|
|
@@ -28077,7 +28267,7 @@ var require_ruleset4 = __commonJS({
|
|
|
28077
28267
|
parameters: {
|
|
28078
28268
|
Region: {
|
|
28079
28269
|
builtIn: "AWS::Region",
|
|
28080
|
-
required:
|
|
28270
|
+
required: true,
|
|
28081
28271
|
documentation: "The AWS region used to dispatch the request.",
|
|
28082
28272
|
type: "String"
|
|
28083
28273
|
},
|
|
@@ -30364,6 +30554,65 @@ var require_waitForFunctionUpdatedV2 = __commonJS({
|
|
|
30364
30554
|
}
|
|
30365
30555
|
});
|
|
30366
30556
|
|
|
30557
|
+
// node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js
|
|
30558
|
+
var require_waitForPublishedVersionActive = __commonJS({
|
|
30559
|
+
"node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js"(exports) {
|
|
30560
|
+
"use strict";
|
|
30561
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30562
|
+
exports.waitUntilPublishedVersionActive = exports.waitForPublishedVersionActive = void 0;
|
|
30563
|
+
var util_waiter_1 = require_dist_cjs49();
|
|
30564
|
+
var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
|
|
30565
|
+
var checkState = async (client, input) => {
|
|
30566
|
+
let reason;
|
|
30567
|
+
try {
|
|
30568
|
+
const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input));
|
|
30569
|
+
reason = result;
|
|
30570
|
+
try {
|
|
30571
|
+
const returnComparator = () => {
|
|
30572
|
+
return result.State;
|
|
30573
|
+
};
|
|
30574
|
+
if (returnComparator() === "Active") {
|
|
30575
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
30576
|
+
}
|
|
30577
|
+
} catch (e) {
|
|
30578
|
+
}
|
|
30579
|
+
try {
|
|
30580
|
+
const returnComparator = () => {
|
|
30581
|
+
return result.State;
|
|
30582
|
+
};
|
|
30583
|
+
if (returnComparator() === "Failed") {
|
|
30584
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
30585
|
+
}
|
|
30586
|
+
} catch (e) {
|
|
30587
|
+
}
|
|
30588
|
+
try {
|
|
30589
|
+
const returnComparator = () => {
|
|
30590
|
+
return result.State;
|
|
30591
|
+
};
|
|
30592
|
+
if (returnComparator() === "Pending") {
|
|
30593
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
30594
|
+
}
|
|
30595
|
+
} catch (e) {
|
|
30596
|
+
}
|
|
30597
|
+
} catch (exception) {
|
|
30598
|
+
reason = exception;
|
|
30599
|
+
}
|
|
30600
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
30601
|
+
};
|
|
30602
|
+
var waitForPublishedVersionActive = async (params, input) => {
|
|
30603
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
30604
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
30605
|
+
};
|
|
30606
|
+
exports.waitForPublishedVersionActive = waitForPublishedVersionActive;
|
|
30607
|
+
var waitUntilPublishedVersionActive = async (params, input) => {
|
|
30608
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
30609
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
30610
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
30611
|
+
};
|
|
30612
|
+
exports.waitUntilPublishedVersionActive = waitUntilPublishedVersionActive;
|
|
30613
|
+
}
|
|
30614
|
+
});
|
|
30615
|
+
|
|
30367
30616
|
// node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js
|
|
30368
30617
|
var require_waiters = __commonJS({
|
|
30369
30618
|
"node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js"(exports) {
|
|
@@ -30375,6 +30624,7 @@ var require_waiters = __commonJS({
|
|
|
30375
30624
|
tslib_1.__exportStar(require_waitForFunctionExists(), exports);
|
|
30376
30625
|
tslib_1.__exportStar(require_waitForFunctionUpdated(), exports);
|
|
30377
30626
|
tslib_1.__exportStar(require_waitForFunctionUpdatedV2(), exports);
|
|
30627
|
+
tslib_1.__exportStar(require_waitForPublishedVersionActive(), exports);
|
|
30378
30628
|
}
|
|
30379
30629
|
});
|
|
30380
30630
|
|