@depup/aws-sdk__client-lambda 3.1010.0-depup.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/LICENSE +201 -0
- package/README.md +40 -0
- package/changes.json +46 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2089 -0
- package/dist-cjs/models/LambdaServiceException.js +12 -0
- package/dist-cjs/models/errors.js +730 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +55 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +2680 -0
- package/dist-es/Lambda.js +225 -0
- package/dist-es/LambdaClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/AddPermissionCommand.js +16 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/CreateAliasCommand.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/CreateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/CreateFunctionCommand.js +16 -0
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteAliasCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteLayerVersionCommand.js +16 -0
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +16 -0
- package/dist-es/commands/GetAliasCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/GetEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionCommand.js +16 -0
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/GetFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionByArnCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/InvokeAsyncCommand.js +16 -0
- package/dist-es/commands/InvokeCommand.js +16 -0
- package/dist-es/commands/InvokeWithResponseStreamCommand.js +20 -0
- package/dist-es/commands/ListAliasesCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/ListEventSourceMappingsCommand.js +16 -0
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/ListFunctionsCommand.js +16 -0
- package/dist-es/commands/ListLayerVersionsCommand.js +16 -0
- package/dist-es/commands/ListLayersCommand.js +16 -0
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +16 -0
- package/dist-es/commands/ListTagsCommand.js +16 -0
- package/dist-es/commands/ListVersionsByFunctionCommand.js +16 -0
- package/dist-es/commands/PublishLayerVersionCommand.js +16 -0
- package/dist-es/commands/PublishVersionCommand.js +16 -0
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/RemovePermissionCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAliasCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionCodeCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/index.js +85 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/LambdaServiceException.js +8 -0
- package/dist-es/models/enums.js +350 -0
- package/dist-es/models/errors.js +683 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayersPaginator.js +4 -0
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +17 -0
- package/dist-es/runtimeConfig.browser.js +35 -0
- package/dist-es/runtimeConfig.js +50 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +2670 -0
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForFunctionActive.js +49 -0
- package/dist-es/waiters/waitForFunctionActiveV2.js +49 -0
- package/dist-es/waiters/waitForFunctionExists.js +26 -0
- package/dist-es/waiters/waitForFunctionUpdated.js +49 -0
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +49 -0
- package/dist-es/waiters/waitForPublishedVersionActive.js +49 -0
- package/dist-types/Lambda.d.ts +760 -0
- package/dist-types/LambdaClient.d.ts +277 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +122 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +144 -0
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +128 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +104 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +336 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +379 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +128 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +99 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +84 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +228 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +90 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +104 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +100 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +102 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +85 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +93 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +102 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +111 -0
- package/dist-types/commands/GetAliasCommand.d.ts +116 -0
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +96 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +227 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +87 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +274 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +101 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +246 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +123 -0
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +86 -0
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +108 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +131 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +135 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +88 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +135 -0
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +89 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +109 -0
- package/dist-types/commands/InvokeCommand.d.ts +237 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +194 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +138 -0
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +97 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +234 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +132 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +114 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +88 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +266 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +139 -0
- package/dist-types/commands/ListLayersCommand.d.ts +135 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +131 -0
- package/dist-types/commands/ListTagsCommand.d.ts +106 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +282 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +160 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +258 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +106 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +135 -0
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +90 -0
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +116 -0
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +94 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +105 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +105 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +141 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +105 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +323 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +264 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +324 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +140 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +129 -0
- package/dist-types/commands/index.d.ts +85 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/LambdaServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +702 -0
- package/dist-types/models/errors.d.ts +668 -0
- package/dist-types/models/models_0.d.ts +5953 -0
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +17 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/Lambda.d.ts +1664 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +637 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +56 -0
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +85 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/LambdaServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +425 -0
- package/dist-types/ts3.4/models/errors.d.ts +409 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1499 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForFunctionActive.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionExists.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdated.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
- package/dist-types/waiters/waitForPublishedVersionActive.d.ts +14 -0
- package/package.json +164 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { AddPermissionRequest, AddPermissionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AddPermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddPermissionCommandInput extends AddPermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddPermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddPermissionCommandOutput extends AddPermissionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AddPermissionCommand_base: {
|
|
25
|
+
new (input: AddPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddPermissionCommandInput, AddPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AddPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddPermissionCommandInput, AddPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Grants a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying">principal</a> permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.</p> <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant permission to an organization defined in Organizations, specify the organization ID as the <code>PrincipalOrgID</code>. For Amazon Web Services services, the principal is a domain-style identifier that the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.</p> <p>This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Using resource-based policies for Lambda</a>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // AddPermissionRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* StatementId: "STRING_VALUE", // required
|
|
42
|
+
* Action: "STRING_VALUE", // required
|
|
43
|
+
* Principal: "STRING_VALUE", // required
|
|
44
|
+
* SourceArn: "STRING_VALUE",
|
|
45
|
+
* SourceAccount: "STRING_VALUE",
|
|
46
|
+
* EventSourceToken: "STRING_VALUE",
|
|
47
|
+
* Qualifier: "STRING_VALUE",
|
|
48
|
+
* RevisionId: "STRING_VALUE",
|
|
49
|
+
* PrincipalOrgID: "STRING_VALUE",
|
|
50
|
+
* FunctionUrlAuthType: "NONE" || "AWS_IAM",
|
|
51
|
+
* InvokedViaFunctionUrl: true || false,
|
|
52
|
+
* };
|
|
53
|
+
* const command = new AddPermissionCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // AddPermissionResponse
|
|
56
|
+
* // Statement: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
|
|
62
|
+
* @returns {@link AddPermissionCommandOutput}
|
|
63
|
+
* @see {@link AddPermissionCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link AddPermissionCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
68
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link PolicyLengthExceededException} (client fault)
|
|
71
|
+
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
74
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
77
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceException} (server fault)
|
|
83
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
86
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link LambdaServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @example To grant Amazon S3 permission to invoke a function
|
|
93
|
+
* ```javascript
|
|
94
|
+
* // The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.
|
|
95
|
+
* const input = {
|
|
96
|
+
* Action: "lambda:InvokeFunction",
|
|
97
|
+
* FunctionName: "my-function",
|
|
98
|
+
* Principal: "s3.amazonaws.com",
|
|
99
|
+
* SourceAccount: "123456789012",
|
|
100
|
+
* SourceArn: "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",
|
|
101
|
+
* StatementId: "s3"
|
|
102
|
+
* };
|
|
103
|
+
* const command = new AddPermissionCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* {
|
|
107
|
+
* Statement: `{"Sid":"s3","Effect":"Allow","Principal":{"Service":"s3.amazonaws.com"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:us-east-2:123456789012:function:my-function","Condition":{"StringEquals":{"AWS:SourceAccount":"123456789012"},"ArnLike":{"AWS:SourceArn":"arn:aws:s3:::my-bucket-1xpuxmplzrlbh"}}}`
|
|
108
|
+
* }
|
|
109
|
+
* *\/
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @example To grant another account permission to invoke a function
|
|
113
|
+
* ```javascript
|
|
114
|
+
* // The following example adds permission for account 223456789012 invoke a Lambda function named my-function.
|
|
115
|
+
* const input = {
|
|
116
|
+
* Action: "lambda:InvokeFunction",
|
|
117
|
+
* FunctionName: "my-function",
|
|
118
|
+
* Principal: "223456789012",
|
|
119
|
+
* StatementId: "xaccount"
|
|
120
|
+
* };
|
|
121
|
+
* const command = new AddPermissionCommand(input);
|
|
122
|
+
* const response = await client.send(command);
|
|
123
|
+
* /* response is
|
|
124
|
+
* {
|
|
125
|
+
* Statement: `{"Sid":"xaccount","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::223456789012:root"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:us-east-2:123456789012:function:my-function"}`
|
|
126
|
+
* }
|
|
127
|
+
* *\/
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class AddPermissionCommand extends AddPermissionCommand_base {
|
|
133
|
+
/** @internal type navigation helper, not in runtime. */
|
|
134
|
+
protected static __types: {
|
|
135
|
+
api: {
|
|
136
|
+
input: AddPermissionRequest;
|
|
137
|
+
output: AddPermissionResponse;
|
|
138
|
+
};
|
|
139
|
+
sdk: {
|
|
140
|
+
input: AddPermissionCommandInput;
|
|
141
|
+
output: AddPermissionCommandOutput;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { CheckpointDurableExecutionRequest, CheckpointDurableExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CheckpointDurableExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CheckpointDurableExecutionCommandInput extends CheckpointDurableExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CheckpointDurableExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CheckpointDurableExecutionCommandOutput extends CheckpointDurableExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CheckpointDurableExecutionCommand_base: {
|
|
25
|
+
new (input: CheckpointDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CheckpointDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Saves the progress of a <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable function</a> execution during runtime. This API is used by the Lambda durable functions SDK to checkpoint completed steps and schedule asynchronous operations. You typically don't need to call this API directly as the SDK handles checkpointing automatically.</p> <p>Each checkpoint operation consumes the current checkpoint token and returns a new one for the next checkpoint. This ensures that checkpoints are applied in the correct order and prevents duplicate or out-of-order state updates.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CheckpointDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CheckpointDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CheckpointDurableExecutionRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* CheckpointToken: "STRING_VALUE", // required
|
|
42
|
+
* Updates: [ // OperationUpdates
|
|
43
|
+
* { // OperationUpdate
|
|
44
|
+
* Id: "STRING_VALUE", // required
|
|
45
|
+
* ParentId: "STRING_VALUE",
|
|
46
|
+
* Name: "STRING_VALUE",
|
|
47
|
+
* Type: "EXECUTION" || "CONTEXT" || "STEP" || "WAIT" || "CALLBACK" || "CHAINED_INVOKE", // required
|
|
48
|
+
* SubType: "STRING_VALUE",
|
|
49
|
+
* Action: "START" || "SUCCEED" || "FAIL" || "RETRY" || "CANCEL", // required
|
|
50
|
+
* Payload: "STRING_VALUE",
|
|
51
|
+
* Error: { // ErrorObject
|
|
52
|
+
* ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* ErrorType: "STRING_VALUE",
|
|
54
|
+
* ErrorData: "STRING_VALUE",
|
|
55
|
+
* StackTrace: [ // StackTraceEntries
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* ContextOptions: { // ContextOptions
|
|
60
|
+
* ReplayChildren: true || false,
|
|
61
|
+
* },
|
|
62
|
+
* StepOptions: { // StepOptions
|
|
63
|
+
* NextAttemptDelaySeconds: Number("int"),
|
|
64
|
+
* },
|
|
65
|
+
* WaitOptions: { // WaitOptions
|
|
66
|
+
* WaitSeconds: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* CallbackOptions: { // CallbackOptions
|
|
69
|
+
* TimeoutSeconds: Number("int"),
|
|
70
|
+
* HeartbeatTimeoutSeconds: Number("int"),
|
|
71
|
+
* },
|
|
72
|
+
* ChainedInvokeOptions: { // ChainedInvokeOptions
|
|
73
|
+
* FunctionName: "STRING_VALUE", // required
|
|
74
|
+
* TenantId: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* ClientToken: "STRING_VALUE",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CheckpointDurableExecutionCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CheckpointDurableExecutionResponse
|
|
83
|
+
* // CheckpointToken: "STRING_VALUE",
|
|
84
|
+
* // NewExecutionState: { // CheckpointUpdatedExecutionState
|
|
85
|
+
* // Operations: [ // Operations
|
|
86
|
+
* // { // Operation
|
|
87
|
+
* // Id: "STRING_VALUE", // required
|
|
88
|
+
* // ParentId: "STRING_VALUE",
|
|
89
|
+
* // Name: "STRING_VALUE",
|
|
90
|
+
* // Type: "EXECUTION" || "CONTEXT" || "STEP" || "WAIT" || "CALLBACK" || "CHAINED_INVOKE", // required
|
|
91
|
+
* // SubType: "STRING_VALUE",
|
|
92
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
93
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
94
|
+
* // Status: "STARTED" || "PENDING" || "READY" || "SUCCEEDED" || "FAILED" || "CANCELLED" || "TIMED_OUT" || "STOPPED", // required
|
|
95
|
+
* // ExecutionDetails: { // ExecutionDetails
|
|
96
|
+
* // InputPayload: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ContextDetails: { // ContextDetails
|
|
99
|
+
* // ReplayChildren: true || false,
|
|
100
|
+
* // Result: "STRING_VALUE",
|
|
101
|
+
* // Error: { // ErrorObject
|
|
102
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
103
|
+
* // ErrorType: "STRING_VALUE",
|
|
104
|
+
* // ErrorData: "STRING_VALUE",
|
|
105
|
+
* // StackTrace: [ // StackTraceEntries
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // StepDetails: { // StepDetails
|
|
111
|
+
* // Attempt: Number("int"),
|
|
112
|
+
* // NextAttemptTimestamp: new Date("TIMESTAMP"),
|
|
113
|
+
* // Result: "STRING_VALUE",
|
|
114
|
+
* // Error: {
|
|
115
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
116
|
+
* // ErrorType: "STRING_VALUE",
|
|
117
|
+
* // ErrorData: "STRING_VALUE",
|
|
118
|
+
* // StackTrace: [
|
|
119
|
+
* // "STRING_VALUE",
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // WaitDetails: { // WaitDetails
|
|
124
|
+
* // ScheduledEndTimestamp: new Date("TIMESTAMP"),
|
|
125
|
+
* // },
|
|
126
|
+
* // CallbackDetails: { // CallbackDetails
|
|
127
|
+
* // CallbackId: "STRING_VALUE",
|
|
128
|
+
* // Result: "STRING_VALUE",
|
|
129
|
+
* // Error: {
|
|
130
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
131
|
+
* // ErrorType: "STRING_VALUE",
|
|
132
|
+
* // ErrorData: "STRING_VALUE",
|
|
133
|
+
* // StackTrace: [
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // ChainedInvokeDetails: { // ChainedInvokeDetails
|
|
139
|
+
* // Result: "STRING_VALUE",
|
|
140
|
+
* // Error: {
|
|
141
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
142
|
+
* // ErrorType: "STRING_VALUE",
|
|
143
|
+
* // ErrorData: "STRING_VALUE",
|
|
144
|
+
* // StackTrace: [
|
|
145
|
+
* // "STRING_VALUE",
|
|
146
|
+
* // ],
|
|
147
|
+
* // },
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // NextMarker: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // };
|
|
154
|
+
*
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* @param CheckpointDurableExecutionCommandInput - {@link CheckpointDurableExecutionCommandInput}
|
|
158
|
+
* @returns {@link CheckpointDurableExecutionCommandOutput}
|
|
159
|
+
* @see {@link CheckpointDurableExecutionCommandInput} for command's `input` shape.
|
|
160
|
+
* @see {@link CheckpointDurableExecutionCommandOutput} for command's `response` shape.
|
|
161
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
164
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link ServiceException} (server fault)
|
|
167
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
170
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link LambdaServiceException}
|
|
173
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export declare class CheckpointDurableExecutionCommand extends CheckpointDurableExecutionCommand_base {
|
|
179
|
+
/** @internal type navigation helper, not in runtime. */
|
|
180
|
+
protected static __types: {
|
|
181
|
+
api: {
|
|
182
|
+
input: CheckpointDurableExecutionRequest;
|
|
183
|
+
output: CheckpointDurableExecutionResponse;
|
|
184
|
+
};
|
|
185
|
+
sdk: {
|
|
186
|
+
input: CheckpointDurableExecutionCommandInput;
|
|
187
|
+
output: CheckpointDurableExecutionCommandOutput;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { AliasConfiguration, CreateAliasRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAliasCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAliasCommandInput extends CreateAliasRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAliasCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAliasCommandOutput extends AliasConfiguration, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAliasCommand_base: {
|
|
25
|
+
new (input: CreateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.</p> <p>You can also map an alias to split invocation requests between two versions. Use the <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that it receives.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CreateAliasRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* FunctionVersion: "STRING_VALUE", // required
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* RoutingConfig: { // AliasRoutingConfiguration
|
|
45
|
+
* AdditionalVersionWeights: { // AdditionalVersionWeights
|
|
46
|
+
* "<keys>": Number("double"),
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreateAliasCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // AliasConfiguration
|
|
53
|
+
* // AliasArn: "STRING_VALUE",
|
|
54
|
+
* // Name: "STRING_VALUE",
|
|
55
|
+
* // FunctionVersion: "STRING_VALUE",
|
|
56
|
+
* // Description: "STRING_VALUE",
|
|
57
|
+
* // RoutingConfig: { // AliasRoutingConfiguration
|
|
58
|
+
* // AdditionalVersionWeights: { // AdditionalVersionWeights
|
|
59
|
+
* // "<keys>": Number("double"),
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // RevisionId: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param CreateAliasCommandInput - {@link CreateAliasCommandInput}
|
|
68
|
+
* @returns {@link CreateAliasCommandOutput}
|
|
69
|
+
* @see {@link CreateAliasCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link CreateAliasCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
74
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
77
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceException} (server fault)
|
|
83
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
86
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link LambdaServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @example To create an alias for a Lambda function
|
|
93
|
+
* ```javascript
|
|
94
|
+
* // The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.
|
|
95
|
+
* const input = {
|
|
96
|
+
* Description: "alias for live version of function",
|
|
97
|
+
* FunctionName: "my-function",
|
|
98
|
+
* FunctionVersion: "1",
|
|
99
|
+
* Name: "LIVE"
|
|
100
|
+
* };
|
|
101
|
+
* const command = new CreateAliasCommand(input);
|
|
102
|
+
* const response = await client.send(command);
|
|
103
|
+
* /* response is
|
|
104
|
+
* {
|
|
105
|
+
* AliasArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",
|
|
106
|
+
* Description: "alias for live version of function",
|
|
107
|
+
* FunctionVersion: "1",
|
|
108
|
+
* Name: "LIVE",
|
|
109
|
+
* RevisionId: "873282ed-xmpl-4dc8-a069-d0c647e470c6"
|
|
110
|
+
* }
|
|
111
|
+
* *\/
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class CreateAliasCommand extends CreateAliasCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: CreateAliasRequest;
|
|
121
|
+
output: AliasConfiguration;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: CreateAliasCommandInput;
|
|
125
|
+
output: CreateAliasCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { CreateCapacityProviderRequest, CreateCapacityProviderResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateCapacityProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCapacityProviderCommandInput extends CreateCapacityProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCapacityProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCapacityProviderCommand_base: {
|
|
25
|
+
new (input: CreateCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a capacity provider that manages compute resources for Lambda functions</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CreateCapacityProviderCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CreateCapacityProviderCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CreateCapacityProviderRequest
|
|
40
|
+
* CapacityProviderName: "STRING_VALUE", // required
|
|
41
|
+
* VpcConfig: { // CapacityProviderVpcConfig
|
|
42
|
+
* SubnetIds: [ // CapacityProviderSubnetIds // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* SecurityGroupIds: [ // CapacityProviderSecurityGroupIds // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* PermissionsConfig: { // CapacityProviderPermissionsConfig
|
|
50
|
+
* CapacityProviderOperatorRoleArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* InstanceRequirements: { // InstanceRequirements
|
|
53
|
+
* Architectures: [ // ArchitecturesList
|
|
54
|
+
* "x86_64" || "arm64",
|
|
55
|
+
* ],
|
|
56
|
+
* AllowedInstanceTypes: [ // InstanceTypeSet
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* ExcludedInstanceTypes: [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
64
|
+
* MaxVCpuCount: Number("int"),
|
|
65
|
+
* ScalingMode: "Auto" || "Manual",
|
|
66
|
+
* ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
67
|
+
* { // TargetTrackingScalingPolicy
|
|
68
|
+
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
69
|
+
* TargetValue: Number("double"), // required
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
74
|
+
* Tags: { // Tags
|
|
75
|
+
* "<keys>": "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* };
|
|
78
|
+
* const command = new CreateCapacityProviderCommand(input);
|
|
79
|
+
* const response = await client.send(command);
|
|
80
|
+
* // { // CreateCapacityProviderResponse
|
|
81
|
+
* // CapacityProvider: { // CapacityProvider
|
|
82
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
83
|
+
* // State: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
84
|
+
* // VpcConfig: { // CapacityProviderVpcConfig
|
|
85
|
+
* // SubnetIds: [ // CapacityProviderSubnetIds // required
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // SecurityGroupIds: [ // CapacityProviderSecurityGroupIds // required
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // PermissionsConfig: { // CapacityProviderPermissionsConfig
|
|
93
|
+
* // CapacityProviderOperatorRoleArn: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // InstanceRequirements: { // InstanceRequirements
|
|
96
|
+
* // Architectures: [ // ArchitecturesList
|
|
97
|
+
* // "x86_64" || "arm64",
|
|
98
|
+
* // ],
|
|
99
|
+
* // AllowedInstanceTypes: [ // InstanceTypeSet
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // ExcludedInstanceTypes: [
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
107
|
+
* // MaxVCpuCount: Number("int"),
|
|
108
|
+
* // ScalingMode: "Auto" || "Manual",
|
|
109
|
+
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
110
|
+
* // { // TargetTrackingScalingPolicy
|
|
111
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
112
|
+
* // TargetValue: Number("double"), // required
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // },
|
|
116
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
117
|
+
* // LastModified: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // };
|
|
120
|
+
*
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @param CreateCapacityProviderCommandInput - {@link CreateCapacityProviderCommandInput}
|
|
124
|
+
* @returns {@link CreateCapacityProviderCommandOutput}
|
|
125
|
+
* @see {@link CreateCapacityProviderCommandInput} for command's `input` shape.
|
|
126
|
+
* @see {@link CreateCapacityProviderCommandOutput} for command's `response` shape.
|
|
127
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link CapacityProviderLimitExceededException} (client fault)
|
|
130
|
+
* <p>The maximum number of capacity providers for your account has been exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a> </p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
133
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
136
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ServiceException} (server fault)
|
|
139
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
142
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link LambdaServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class CreateCapacityProviderCommand extends CreateCapacityProviderCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: CreateCapacityProviderRequest;
|
|
155
|
+
output: CreateCapacityProviderResponse;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: CreateCapacityProviderCommandInput;
|
|
159
|
+
output: CreateCapacityProviderCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|