@aws-sdk/client-lambda 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist-cjs/Lambda.js +886 -0
- package/dist-cjs/LambdaClient.js +49 -0
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +65 -0
- package/dist-cjs/commands/AddPermissionCommand.js +72 -0
- package/dist-cjs/commands/CreateAliasCommand.js +65 -0
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +62 -0
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +124 -0
- package/dist-cjs/commands/CreateFunctionCommand.js +106 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +60 -0
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +61 -0
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +63 -0
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +60 -0
- package/dist-cjs/commands/DeleteFunctionCommand.js +65 -0
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +60 -0
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +61 -0
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +62 -0
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +60 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +60 -0
- package/dist-cjs/commands/GetAliasCommand.js +60 -0
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +60 -0
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +61 -0
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +60 -0
- package/dist-cjs/commands/GetFunctionCommand.js +62 -0
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +61 -0
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +62 -0
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +61 -0
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +62 -0
- package/dist-cjs/commands/GetLayerVersionCommand.js +62 -0
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +61 -0
- package/dist-cjs/commands/GetPolicyCommand.js +60 -0
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +60 -0
- package/dist-cjs/commands/InvokeAsyncCommand.js +65 -0
- package/dist-cjs/commands/InvokeCommand.js +86 -0
- package/dist-cjs/commands/ListAliasesCommand.js +61 -0
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +62 -0
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +61 -0
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +61 -0
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +61 -0
- package/dist-cjs/commands/ListFunctionsCommand.js +68 -0
- package/dist-cjs/commands/ListLayerVersionsCommand.js +63 -0
- package/dist-cjs/commands/ListLayersCommand.js +65 -0
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +60 -0
- package/dist-cjs/commands/ListTagsCommand.js +61 -0
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +61 -0
- package/dist-cjs/commands/PublishLayerVersionCommand.js +63 -0
- package/dist-cjs/commands/PublishVersionCommand.js +68 -0
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +61 -0
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +68 -0
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +70 -0
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +60 -0
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +62 -0
- package/dist-cjs/commands/RemovePermissionCommand.js +61 -0
- package/dist-cjs/commands/TagResourceCommand.js +60 -0
- package/dist-cjs/commands/UntagResourceCommand.js +60 -0
- package/dist-cjs/commands/UpdateAliasCommand.js +60 -0
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +61 -0
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +85 -0
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +68 -0
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +74 -0
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +61 -0
- package/dist-cjs/endpoints.js +85 -0
- package/dist-cjs/index.js +78 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1593 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAliasesPaginator.js +45 -0
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +45 -0
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +45 -0
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +45 -0
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +45 -0
- package/dist-cjs/pagination/ListFunctionsPaginator.js +45 -0
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +45 -0
- package/dist-cjs/pagination/ListLayersPaginator.js +45 -0
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +45 -0
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +45 -0
- package/dist-cjs/protocols/Aws_restJson1.js +9491 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +46 -0
- package/dist-cjs/runtimeConfig.native.js +19 -0
- package/dist-cjs/runtimeConfig.shared.js +20 -0
- package/dist-cjs/waiters/waitForFunctionActive.js +63 -0
- package/dist-cjs/waiters/waitForFunctionExists.js +40 -0
- package/dist-cjs/waiters/waitForFunctionUpdated.js +63 -0
- package/dist-es/Lambda.js +880 -0
- package/dist-es/LambdaClient.js +37 -0
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +39 -0
- package/dist-es/commands/AddPermissionCommand.js +39 -0
- package/dist-es/commands/CreateAliasCommand.js +39 -0
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/CreateEventSourceMappingCommand.js +39 -0
- package/dist-es/commands/CreateFunctionCommand.js +39 -0
- package/dist-es/commands/DeleteAliasCommand.js +39 -0
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +39 -0
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/DeleteFunctionCommand.js +39 -0
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +39 -0
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +39 -0
- package/dist-es/commands/DeleteLayerVersionCommand.js +39 -0
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +39 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +39 -0
- package/dist-es/commands/GetAliasCommand.js +39 -0
- package/dist-es/commands/GetCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/GetEventSourceMappingCommand.js +39 -0
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/GetFunctionCommand.js +39 -0
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +39 -0
- package/dist-es/commands/GetFunctionConfigurationCommand.js +39 -0
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +39 -0
- package/dist-es/commands/GetLayerVersionByArnCommand.js +39 -0
- package/dist-es/commands/GetLayerVersionCommand.js +39 -0
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +39 -0
- package/dist-es/commands/GetPolicyCommand.js +39 -0
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +39 -0
- package/dist-es/commands/InvokeAsyncCommand.js +39 -0
- package/dist-es/commands/InvokeCommand.js +39 -0
- package/dist-es/commands/ListAliasesCommand.js +39 -0
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +39 -0
- package/dist-es/commands/ListEventSourceMappingsCommand.js +39 -0
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +39 -0
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/ListFunctionsCommand.js +39 -0
- package/dist-es/commands/ListLayerVersionsCommand.js +39 -0
- package/dist-es/commands/ListLayersCommand.js +39 -0
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +39 -0
- package/dist-es/commands/ListTagsCommand.js +39 -0
- package/dist-es/commands/ListVersionsByFunctionCommand.js +39 -0
- package/dist-es/commands/PublishLayerVersionCommand.js +39 -0
- package/dist-es/commands/PublishVersionCommand.js +39 -0
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +39 -0
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +39 -0
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +39 -0
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +39 -0
- package/dist-es/commands/RemovePermissionCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateAliasCommand.js +39 -0
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +39 -0
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +39 -0
- package/dist-es/commands/UpdateFunctionCodeCommand.js +39 -0
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +39 -0
- package/dist-es/endpoints.js +81 -0
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/dist-es/models/models_0.js +778 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +74 -0
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +74 -0
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +74 -0
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +74 -0
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +74 -0
- package/dist-es/pagination/ListFunctionsPaginator.js +74 -0
- package/dist-es/pagination/ListLayerVersionsPaginator.js +74 -0
- package/dist-es/pagination/ListLayersPaginator.js +74 -0
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +74 -0
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +74 -0
- package/dist-es/protocols/Aws_restJson1.js +10392 -0
- package/dist-es/runtimeConfig.browser.js +16 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-es/waiters/waitForFunctionActive.js +69 -0
- package/dist-es/waiters/waitForFunctionExists.js +45 -0
- package/dist-es/waiters/waitForFunctionUpdated.js +69 -0
- package/dist-types/Lambda.d.ts +714 -0
- package/dist-types/LambdaClient.d.ts +196 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +40 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +47 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +40 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +37 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +99 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +81 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +35 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +38 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +40 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +35 -0
- package/dist-types/commands/GetAliasCommand.d.ts +35 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +36 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +37 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +36 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +37 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +37 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +37 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +36 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +51 -0
- package/dist-types/commands/InvokeCommand.d.ts +61 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +37 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +36 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +36 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +43 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +38 -0
- package/dist-types/commands/ListLayersCommand.d.ts +40 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsCommand.d.ts +36 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +36 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +38 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +43 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +43 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +45 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +37 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +60 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +43 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +49 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/dist-types/models/models_0.d.ts +4706 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLayersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +176 -0
- package/dist-types/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/dist-types/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/Lambda.d.ts +714 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +196 -0
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +99 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +81 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +36 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4706 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +176 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionActive.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionExists.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdated.d.ts +14 -0
- package/package.json +53 -50
- package/Lambda.ts +0 -2323
- package/LambdaClient.ts +0 -517
- package/commands/AddLayerVersionPermissionCommand.ts +0 -102
- package/commands/AddPermissionCommand.ts +0 -105
- package/commands/CreateAliasCommand.ts +0 -99
- package/commands/CreateCodeSigningConfigCommand.ts +0 -96
- package/commands/CreateEventSourceMappingCommand.ts +0 -158
- package/commands/CreateFunctionCommand.ts +0 -138
- package/commands/DeleteAliasCommand.ts +0 -94
- package/commands/DeleteCodeSigningConfigCommand.ts +0 -95
- package/commands/DeleteEventSourceMappingCommand.ts +0 -96
- package/commands/DeleteFunctionCodeSigningConfigCommand.ts +0 -100
- package/commands/DeleteFunctionCommand.ts +0 -99
- package/commands/DeleteFunctionConcurrencyCommand.ts +0 -97
- package/commands/DeleteFunctionEventInvokeConfigCommand.ts +0 -101
- package/commands/DeleteLayerVersionCommand.ts +0 -96
- package/commands/DeleteProvisionedConcurrencyConfigCommand.ts +0 -100
- package/commands/GetAccountSettingsCommand.ts +0 -94
- package/commands/GetAliasCommand.ts +0 -90
- package/commands/GetCodeSigningConfigCommand.ts +0 -94
- package/commands/GetEventSourceMappingCommand.ts +0 -94
- package/commands/GetFunctionCodeSigningConfigCommand.ts +0 -99
- package/commands/GetFunctionCommand.ts +0 -96
- package/commands/GetFunctionConcurrencyCommand.ts +0 -95
- package/commands/GetFunctionConfigurationCommand.ts +0 -96
- package/commands/GetFunctionEventInvokeConfigCommand.ts +0 -98
- package/commands/GetLayerVersionByArnCommand.ts +0 -96
- package/commands/GetLayerVersionCommand.ts +0 -96
- package/commands/GetLayerVersionPolicyCommand.ts +0 -95
- package/commands/GetPolicyCommand.ts +0 -94
- package/commands/GetProvisionedConcurrencyConfigCommand.ts +0 -102
- package/commands/InvokeAsyncCommand.ts +0 -108
- package/commands/InvokeCommand.ts +0 -113
- package/commands/ListAliasesCommand.ts +0 -95
- package/commands/ListCodeSigningConfigsCommand.ts +0 -96
- package/commands/ListEventSourceMappingsCommand.ts +0 -95
- package/commands/ListFunctionEventInvokeConfigsCommand.ts +0 -103
- package/commands/ListFunctionsByCodeSigningConfigCommand.ts +0 -103
- package/commands/ListFunctionsCommand.ts +0 -102
- package/commands/ListLayerVersionsCommand.ts +0 -96
- package/commands/ListLayersCommand.ts +0 -96
- package/commands/ListProvisionedConcurrencyConfigsCommand.ts +0 -105
- package/commands/ListTagsCommand.ts +0 -91
- package/commands/ListVersionsByFunctionCommand.ts +0 -95
- package/commands/PublishLayerVersionCommand.ts +0 -97
- package/commands/PublishVersionCommand.ts +0 -102
- package/commands/PutFunctionCodeSigningConfigCommand.ts +0 -100
- package/commands/PutFunctionConcurrencyCommand.ts +0 -102
- package/commands/PutFunctionEventInvokeConfigCommand.ts +0 -107
- package/commands/PutProvisionedConcurrencyConfigCommand.ts +0 -102
- package/commands/RemoveLayerVersionPermissionCommand.ts +0 -99
- package/commands/RemovePermissionCommand.ts +0 -95
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateAliasCommand.ts +0 -94
- package/commands/UpdateCodeSigningConfigCommand.ts +0 -95
- package/commands/UpdateEventSourceMappingCommand.ts +0 -117
- package/commands/UpdateFunctionCodeCommand.ts +0 -102
- package/commands/UpdateFunctionConfigurationCommand.ts +0 -111
- package/commands/UpdateFunctionEventInvokeConfigCommand.ts +0 -101
- package/dist/cjs/Lambda.js +0 -887
- package/dist/cjs/Lambda.js.map +0 -1
- package/dist/cjs/LambdaClient.js +0 -50
- package/dist/cjs/LambdaClient.js.map +0 -1
- package/dist/cjs/commands/AddLayerVersionPermissionCommand.js +0 -66
- package/dist/cjs/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/AddPermissionCommand.js +0 -72
- package/dist/cjs/commands/AddPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAliasCommand.js +0 -66
- package/dist/cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCodeSigningConfigCommand.js +0 -63
- package/dist/cjs/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEventSourceMappingCommand.js +0 -125
- package/dist/cjs/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFunctionCommand.js +0 -105
- package/dist/cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAliasCommand.js +0 -61
- package/dist/cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCodeSigningConfigCommand.js +0 -62
- package/dist/cjs/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEventSourceMappingCommand.js +0 -63
- package/dist/cjs/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -61
- package/dist/cjs/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionCommand.js +0 -66
- package/dist/cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -61
- package/dist/cjs/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -62
- package/dist/cjs/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLayerVersionCommand.js +0 -63
- package/dist/cjs/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -61
- package/dist/cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccountSettingsCommand.js +0 -61
- package/dist/cjs/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/GetAliasCommand.js +0 -61
- package/dist/cjs/commands/GetAliasCommand.js.map +0 -1
- package/dist/cjs/commands/GetCodeSigningConfigCommand.js +0 -61
- package/dist/cjs/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetEventSourceMappingCommand.js +0 -61
- package/dist/cjs/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -61
- package/dist/cjs/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionCommand.js +0 -63
- package/dist/cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionConcurrencyCommand.js +0 -62
- package/dist/cjs/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionConfigurationCommand.js +0 -63
- package/dist/cjs/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -62
- package/dist/cjs/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetLayerVersionByArnCommand.js +0 -63
- package/dist/cjs/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist/cjs/commands/GetLayerVersionCommand.js +0 -63
- package/dist/cjs/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist/cjs/commands/GetLayerVersionPolicyCommand.js +0 -62
- package/dist/cjs/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetPolicyCommand.js +0 -61
- package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -61
- package/dist/cjs/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/InvokeAsyncCommand.js +0 -66
- package/dist/cjs/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist/cjs/commands/InvokeCommand.js +0 -87
- package/dist/cjs/commands/InvokeCommand.js.map +0 -1
- package/dist/cjs/commands/ListAliasesCommand.js +0 -62
- package/dist/cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListCodeSigningConfigsCommand.js +0 -63
- package/dist/cjs/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventSourceMappingsCommand.js +0 -62
- package/dist/cjs/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -62
- package/dist/cjs/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -62
- package/dist/cjs/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/ListFunctionsCommand.js +0 -69
- package/dist/cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLayerVersionsCommand.js +0 -63
- package/dist/cjs/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLayersCommand.js +0 -63
- package/dist/cjs/commands/ListLayersCommand.js.map +0 -1
- package/dist/cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -61
- package/dist/cjs/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsCommand.js +0 -62
- package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist/cjs/commands/ListVersionsByFunctionCommand.js +0 -62
- package/dist/cjs/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/PublishLayerVersionCommand.js +0 -64
- package/dist/cjs/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist/cjs/commands/PublishVersionCommand.js +0 -69
- package/dist/cjs/commands/PublishVersionCommand.js.map +0 -1
- package/dist/cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -62
- package/dist/cjs/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/PutFunctionConcurrencyCommand.js +0 -69
- package/dist/cjs/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist/cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -71
- package/dist/cjs/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -61
- package/dist/cjs/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -63
- package/dist/cjs/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/RemovePermissionCommand.js +0 -62
- package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -61
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -61
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAliasCommand.js +0 -61
- package/dist/cjs/commands/UpdateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCodeSigningConfigCommand.js +0 -62
- package/dist/cjs/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEventSourceMappingCommand.js +0 -84
- package/dist/cjs/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFunctionCodeCommand.js +0 -69
- package/dist/cjs/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFunctionConfigurationCommand.js +0 -75
- package/dist/cjs/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -62
- package/dist/cjs/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/cjs/endpoints.js +0 -86
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -79
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js +0 -5
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -1589
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -92
- package/dist/cjs/pagination/Interfaces.js +0 -3
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAliasesPaginator.js +0 -46
- package/dist/cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -46
- package/dist/cjs/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListEventSourceMappingsPaginator.js +0 -46
- package/dist/cjs/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -46
- package/dist/cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -46
- package/dist/cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFunctionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListLayerVersionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListLayersPaginator.js +0 -46
- package/dist/cjs/pagination/ListLayersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -46
- package/dist/cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListVersionsByFunctionPaginator.js +0 -46
- package/dist/cjs/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js +0 -9400
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js +0 -20
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForFunctionActive.js +0 -64
- package/dist/cjs/waiters/waitForFunctionActive.js.map +0 -1
- package/dist/cjs/waiters/waitForFunctionExists.js +0 -41
- package/dist/cjs/waiters/waitForFunctionExists.js.map +0 -1
- package/dist/cjs/waiters/waitForFunctionUpdated.js +0 -64
- package/dist/cjs/waiters/waitForFunctionUpdated.js.map +0 -1
- package/dist/es/Lambda.js +0 -890
- package/dist/es/Lambda.js.map +0 -1
- package/dist/es/LambdaClient.js +0 -52
- package/dist/es/LambdaClient.js.map +0 -1
- package/dist/es/commands/AddLayerVersionPermissionCommand.js +0 -70
- package/dist/es/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist/es/commands/AddPermissionCommand.js +0 -76
- package/dist/es/commands/AddPermissionCommand.js.map +0 -1
- package/dist/es/commands/CreateAliasCommand.js +0 -70
- package/dist/es/commands/CreateAliasCommand.js.map +0 -1
- package/dist/es/commands/CreateCodeSigningConfigCommand.js +0 -67
- package/dist/es/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/CreateEventSourceMappingCommand.js +0 -129
- package/dist/es/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist/es/commands/CreateFunctionCommand.js +0 -109
- package/dist/es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/es/commands/DeleteAliasCommand.js +0 -65
- package/dist/es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteCodeSigningConfigCommand.js +0 -66
- package/dist/es/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteEventSourceMappingCommand.js +0 -67
- package/dist/es/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -65
- package/dist/es/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionCommand.js +0 -70
- package/dist/es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionConcurrencyCommand.js +0 -65
- package/dist/es/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -66
- package/dist/es/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteLayerVersionCommand.js +0 -67
- package/dist/es/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist/es/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -65
- package/dist/es/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/es/commands/GetAccountSettingsCommand.js +0 -65
- package/dist/es/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist/es/commands/GetAliasCommand.js +0 -65
- package/dist/es/commands/GetAliasCommand.js.map +0 -1
- package/dist/es/commands/GetCodeSigningConfigCommand.js +0 -65
- package/dist/es/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/GetEventSourceMappingCommand.js +0 -65
- package/dist/es/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionCodeSigningConfigCommand.js +0 -65
- package/dist/es/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionCommand.js +0 -67
- package/dist/es/commands/GetFunctionCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionConcurrencyCommand.js +0 -66
- package/dist/es/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionConfigurationCommand.js +0 -67
- package/dist/es/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionEventInvokeConfigCommand.js +0 -66
- package/dist/es/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/es/commands/GetLayerVersionByArnCommand.js +0 -67
- package/dist/es/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist/es/commands/GetLayerVersionCommand.js +0 -67
- package/dist/es/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist/es/commands/GetLayerVersionPolicyCommand.js +0 -66
- package/dist/es/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetPolicyCommand.js +0 -65
- package/dist/es/commands/GetPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetProvisionedConcurrencyConfigCommand.js +0 -65
- package/dist/es/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/es/commands/InvokeAsyncCommand.js +0 -70
- package/dist/es/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist/es/commands/InvokeCommand.js +0 -91
- package/dist/es/commands/InvokeCommand.js.map +0 -1
- package/dist/es/commands/ListAliasesCommand.js +0 -66
- package/dist/es/commands/ListAliasesCommand.js.map +0 -1
- package/dist/es/commands/ListCodeSigningConfigsCommand.js +0 -67
- package/dist/es/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListEventSourceMappingsCommand.js +0 -66
- package/dist/es/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist/es/commands/ListFunctionEventInvokeConfigsCommand.js +0 -66
- package/dist/es/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -66
- package/dist/es/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/ListFunctionsCommand.js +0 -73
- package/dist/es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/es/commands/ListLayerVersionsCommand.js +0 -67
- package/dist/es/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListLayersCommand.js +0 -67
- package/dist/es/commands/ListLayersCommand.js.map +0 -1
- package/dist/es/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -65
- package/dist/es/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsCommand.js +0 -66
- package/dist/es/commands/ListTagsCommand.js.map +0 -1
- package/dist/es/commands/ListVersionsByFunctionCommand.js +0 -66
- package/dist/es/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist/es/commands/PublishLayerVersionCommand.js +0 -68
- package/dist/es/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist/es/commands/PublishVersionCommand.js +0 -73
- package/dist/es/commands/PublishVersionCommand.js.map +0 -1
- package/dist/es/commands/PutFunctionCodeSigningConfigCommand.js +0 -66
- package/dist/es/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/PutFunctionConcurrencyCommand.js +0 -73
- package/dist/es/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist/es/commands/PutFunctionEventInvokeConfigCommand.js +0 -75
- package/dist/es/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/es/commands/PutProvisionedConcurrencyConfigCommand.js +0 -65
- package/dist/es/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist/es/commands/RemoveLayerVersionPermissionCommand.js +0 -67
- package/dist/es/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist/es/commands/RemovePermissionCommand.js +0 -66
- package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -65
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -65
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAliasCommand.js +0 -65
- package/dist/es/commands/UpdateAliasCommand.js.map +0 -1
- package/dist/es/commands/UpdateCodeSigningConfigCommand.js +0 -66
- package/dist/es/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist/es/commands/UpdateEventSourceMappingCommand.js +0 -88
- package/dist/es/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist/es/commands/UpdateFunctionCodeCommand.js +0 -73
- package/dist/es/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist/es/commands/UpdateFunctionConfigurationCommand.js +0 -79
- package/dist/es/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -66
- package/dist/es/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist/es/endpoints.js +0 -82
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -76
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -1248
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -92
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAliasesPaginator.js +0 -87
- package/dist/es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListCodeSigningConfigsPaginator.js +0 -87
- package/dist/es/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist/es/pagination/ListEventSourceMappingsPaginator.js +0 -87
- package/dist/es/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist/es/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -87
- package/dist/es/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist/es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -87
- package/dist/es/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist/es/pagination/ListFunctionsPaginator.js +0 -87
- package/dist/es/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListLayerVersionsPaginator.js +0 -87
- package/dist/es/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListLayersPaginator.js +0 -87
- package/dist/es/pagination/ListLayersPaginator.js.map +0 -1
- package/dist/es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -87
- package/dist/es/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist/es/pagination/ListVersionsByFunctionPaginator.js +0 -87
- package/dist/es/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js +0 -10311
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -20
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -25
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js +0 -12
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -17
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForFunctionActive.js +0 -79
- package/dist/es/waiters/waitForFunctionActive.js.map +0 -1
- package/dist/es/waiters/waitForFunctionExists.js +0 -55
- package/dist/es/waiters/waitForFunctionExists.js.map +0 -1
- package/dist/es/waiters/waitForFunctionUpdated.js +0 -79
- package/dist/es/waiters/waitForFunctionUpdated.js.map +0 -1
- package/dist/types/Lambda.d.ts +0 -703
- package/dist/types/LambdaClient.d.ts +0 -196
- package/dist/types/commands/AddLayerVersionPermissionCommand.d.ts +0 -40
- package/dist/types/commands/AddPermissionCommand.d.ts +0 -46
- package/dist/types/commands/CreateAliasCommand.d.ts +0 -40
- package/dist/types/commands/CreateCodeSigningConfigCommand.d.ts +0 -37
- package/dist/types/commands/CreateEventSourceMappingCommand.d.ts +0 -99
- package/dist/types/commands/CreateFunctionCommand.d.ts +0 -79
- package/dist/types/commands/DeleteAliasCommand.d.ts +0 -35
- package/dist/types/commands/DeleteCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/commands/DeleteEventSourceMappingCommand.d.ts +0 -37
- package/dist/types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/commands/DeleteFunctionCommand.d.ts +0 -40
- package/dist/types/commands/DeleteFunctionConcurrencyCommand.d.ts +0 -35
- package/dist/types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/commands/DeleteLayerVersionCommand.d.ts +0 -37
- package/dist/types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetAccountSettingsCommand.d.ts +0 -35
- package/dist/types/commands/GetAliasCommand.d.ts +0 -35
- package/dist/types/commands/GetCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetEventSourceMappingCommand.d.ts +0 -35
- package/dist/types/commands/GetFunctionCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/commands/GetFunctionCommand.d.ts +0 -37
- package/dist/types/commands/GetFunctionConcurrencyCommand.d.ts +0 -36
- package/dist/types/commands/GetFunctionConfigurationCommand.d.ts +0 -37
- package/dist/types/commands/GetFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/commands/GetLayerVersionByArnCommand.d.ts +0 -37
- package/dist/types/commands/GetLayerVersionCommand.d.ts +0 -37
- package/dist/types/commands/GetLayerVersionPolicyCommand.d.ts +0 -36
- package/dist/types/commands/GetPolicyCommand.d.ts +0 -35
- package/dist/types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/commands/InvokeAsyncCommand.d.ts +0 -51
- package/dist/types/commands/InvokeCommand.d.ts +0 -61
- package/dist/types/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/commands/ListCodeSigningConfigsCommand.d.ts +0 -37
- package/dist/types/commands/ListEventSourceMappingsCommand.d.ts +0 -36
- package/dist/types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +0 -36
- package/dist/types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/commands/ListFunctionsCommand.d.ts +0 -43
- package/dist/types/commands/ListLayerVersionsCommand.d.ts +0 -37
- package/dist/types/commands/ListLayersCommand.d.ts +0 -37
- package/dist/types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +0 -35
- package/dist/types/commands/ListTagsCommand.d.ts +0 -36
- package/dist/types/commands/ListVersionsByFunctionCommand.d.ts +0 -36
- package/dist/types/commands/PublishLayerVersionCommand.d.ts +0 -38
- package/dist/types/commands/PublishVersionCommand.d.ts +0 -43
- package/dist/types/commands/PutFunctionCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/commands/PutFunctionConcurrencyCommand.d.ts +0 -43
- package/dist/types/commands/PutFunctionEventInvokeConfigCommand.d.ts +0 -45
- package/dist/types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/commands/RemoveLayerVersionPermissionCommand.d.ts +0 -37
- package/dist/types/commands/RemovePermissionCommand.d.ts +0 -36
- package/dist/types/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/commands/UpdateAliasCommand.d.ts +0 -35
- package/dist/types/commands/UpdateCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/commands/UpdateEventSourceMappingCommand.d.ts +0 -58
- package/dist/types/commands/UpdateFunctionCodeCommand.d.ts +0 -43
- package/dist/types/commands/UpdateFunctionConfigurationCommand.d.ts +0 -49
- package/dist/types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/models/models_0.d.ts +0 -4645
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListCodeSigningConfigsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListEventSourceMappingsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +0 -4
- package/dist/types/pagination/ListFunctionsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListLayerVersionsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListLayersPaginator.d.ts +0 -4
- package/dist/types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListVersionsByFunctionPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_restJson1.d.ts +0 -176
- package/dist/types/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/runtimeConfig.d.ts +0 -36
- package/dist/types/runtimeConfig.native.d.ts +0 -35
- package/dist/types/ts3.4/Lambda.d.ts +0 -703
- package/dist/types/ts3.4/LambdaClient.d.ts +0 -196
- package/dist/types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/AddPermissionCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/CreateAliasCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +0 -99
- package/dist/types/ts3.4/commands/CreateFunctionCommand.d.ts +0 -79
- package/dist/types/ts3.4/commands/DeleteAliasCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFunctionCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAccountSettingsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAliasCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetFunctionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetLayerVersionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/InvokeAsyncCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/InvokeCommand.d.ts +0 -61
- package/dist/types/ts3.4/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListFunctionsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListLayerVersionsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListLayersCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PublishLayerVersionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/PublishVersionCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateAliasCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4645
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListFunctionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListLayersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +0 -176
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -35
- package/dist/types/ts3.4/waiters/waitForFunctionActive.d.ts +0 -14
- package/dist/types/ts3.4/waiters/waitForFunctionExists.d.ts +0 -14
- package/dist/types/ts3.4/waiters/waitForFunctionUpdated.d.ts +0 -14
- package/dist/types/waiters/waitForFunctionActive.d.ts +0 -14
- package/dist/types/waiters/waitForFunctionExists.d.ts +0 -14
- package/dist/types/waiters/waitForFunctionUpdated.d.ts +0 -14
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5632
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAliasesPaginator.ts +0 -54
- package/pagination/ListCodeSigningConfigsPaginator.ts +0 -58
- package/pagination/ListEventSourceMappingsPaginator.ts +0 -58
- package/pagination/ListFunctionEventInvokeConfigsPaginator.ts +0 -58
- package/pagination/ListFunctionsByCodeSigningConfigPaginator.ts +0 -58
- package/pagination/ListFunctionsPaginator.ts +0 -58
- package/pagination/ListLayerVersionsPaginator.ts +0 -58
- package/pagination/ListLayersPaginator.ts +0 -54
- package/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +0 -58
- package/pagination/ListVersionsByFunctionPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -10630
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
- package/waiters/waitForFunctionActive.ts +0 -65
- package/waiters/waitForFunctionExists.ts +0 -42
- package/waiters/waitForFunctionUpdated.ts +0 -65
package/Lambda.ts
DELETED
|
@@ -1,2323 +0,0 @@
|
|
|
1
|
-
import { LambdaClient } from "./LambdaClient";
|
|
2
|
-
import {
|
|
3
|
-
AddLayerVersionPermissionCommand,
|
|
4
|
-
AddLayerVersionPermissionCommandInput,
|
|
5
|
-
AddLayerVersionPermissionCommandOutput,
|
|
6
|
-
} from "./commands/AddLayerVersionPermissionCommand";
|
|
7
|
-
import {
|
|
8
|
-
AddPermissionCommand,
|
|
9
|
-
AddPermissionCommandInput,
|
|
10
|
-
AddPermissionCommandOutput,
|
|
11
|
-
} from "./commands/AddPermissionCommand";
|
|
12
|
-
import { CreateAliasCommand, CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateCodeSigningConfigCommand,
|
|
15
|
-
CreateCodeSigningConfigCommandInput,
|
|
16
|
-
CreateCodeSigningConfigCommandOutput,
|
|
17
|
-
} from "./commands/CreateCodeSigningConfigCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateEventSourceMappingCommand,
|
|
20
|
-
CreateEventSourceMappingCommandInput,
|
|
21
|
-
CreateEventSourceMappingCommandOutput,
|
|
22
|
-
} from "./commands/CreateEventSourceMappingCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateFunctionCommand,
|
|
25
|
-
CreateFunctionCommandInput,
|
|
26
|
-
CreateFunctionCommandOutput,
|
|
27
|
-
} from "./commands/CreateFunctionCommand";
|
|
28
|
-
import { DeleteAliasCommand, DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
|
|
29
|
-
import {
|
|
30
|
-
DeleteCodeSigningConfigCommand,
|
|
31
|
-
DeleteCodeSigningConfigCommandInput,
|
|
32
|
-
DeleteCodeSigningConfigCommandOutput,
|
|
33
|
-
} from "./commands/DeleteCodeSigningConfigCommand";
|
|
34
|
-
import {
|
|
35
|
-
DeleteEventSourceMappingCommand,
|
|
36
|
-
DeleteEventSourceMappingCommandInput,
|
|
37
|
-
DeleteEventSourceMappingCommandOutput,
|
|
38
|
-
} from "./commands/DeleteEventSourceMappingCommand";
|
|
39
|
-
import {
|
|
40
|
-
DeleteFunctionCodeSigningConfigCommand,
|
|
41
|
-
DeleteFunctionCodeSigningConfigCommandInput,
|
|
42
|
-
DeleteFunctionCodeSigningConfigCommandOutput,
|
|
43
|
-
} from "./commands/DeleteFunctionCodeSigningConfigCommand";
|
|
44
|
-
import {
|
|
45
|
-
DeleteFunctionCommand,
|
|
46
|
-
DeleteFunctionCommandInput,
|
|
47
|
-
DeleteFunctionCommandOutput,
|
|
48
|
-
} from "./commands/DeleteFunctionCommand";
|
|
49
|
-
import {
|
|
50
|
-
DeleteFunctionConcurrencyCommand,
|
|
51
|
-
DeleteFunctionConcurrencyCommandInput,
|
|
52
|
-
DeleteFunctionConcurrencyCommandOutput,
|
|
53
|
-
} from "./commands/DeleteFunctionConcurrencyCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteFunctionEventInvokeConfigCommand,
|
|
56
|
-
DeleteFunctionEventInvokeConfigCommandInput,
|
|
57
|
-
DeleteFunctionEventInvokeConfigCommandOutput,
|
|
58
|
-
} from "./commands/DeleteFunctionEventInvokeConfigCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteLayerVersionCommand,
|
|
61
|
-
DeleteLayerVersionCommandInput,
|
|
62
|
-
DeleteLayerVersionCommandOutput,
|
|
63
|
-
} from "./commands/DeleteLayerVersionCommand";
|
|
64
|
-
import {
|
|
65
|
-
DeleteProvisionedConcurrencyConfigCommand,
|
|
66
|
-
DeleteProvisionedConcurrencyConfigCommandInput,
|
|
67
|
-
DeleteProvisionedConcurrencyConfigCommandOutput,
|
|
68
|
-
} from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
69
|
-
import {
|
|
70
|
-
GetAccountSettingsCommand,
|
|
71
|
-
GetAccountSettingsCommandInput,
|
|
72
|
-
GetAccountSettingsCommandOutput,
|
|
73
|
-
} from "./commands/GetAccountSettingsCommand";
|
|
74
|
-
import { GetAliasCommand, GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
75
|
-
import {
|
|
76
|
-
GetCodeSigningConfigCommand,
|
|
77
|
-
GetCodeSigningConfigCommandInput,
|
|
78
|
-
GetCodeSigningConfigCommandOutput,
|
|
79
|
-
} from "./commands/GetCodeSigningConfigCommand";
|
|
80
|
-
import {
|
|
81
|
-
GetEventSourceMappingCommand,
|
|
82
|
-
GetEventSourceMappingCommandInput,
|
|
83
|
-
GetEventSourceMappingCommandOutput,
|
|
84
|
-
} from "./commands/GetEventSourceMappingCommand";
|
|
85
|
-
import {
|
|
86
|
-
GetFunctionCodeSigningConfigCommand,
|
|
87
|
-
GetFunctionCodeSigningConfigCommandInput,
|
|
88
|
-
GetFunctionCodeSigningConfigCommandOutput,
|
|
89
|
-
} from "./commands/GetFunctionCodeSigningConfigCommand";
|
|
90
|
-
import { GetFunctionCommand, GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
91
|
-
import {
|
|
92
|
-
GetFunctionConcurrencyCommand,
|
|
93
|
-
GetFunctionConcurrencyCommandInput,
|
|
94
|
-
GetFunctionConcurrencyCommandOutput,
|
|
95
|
-
} from "./commands/GetFunctionConcurrencyCommand";
|
|
96
|
-
import {
|
|
97
|
-
GetFunctionConfigurationCommand,
|
|
98
|
-
GetFunctionConfigurationCommandInput,
|
|
99
|
-
GetFunctionConfigurationCommandOutput,
|
|
100
|
-
} from "./commands/GetFunctionConfigurationCommand";
|
|
101
|
-
import {
|
|
102
|
-
GetFunctionEventInvokeConfigCommand,
|
|
103
|
-
GetFunctionEventInvokeConfigCommandInput,
|
|
104
|
-
GetFunctionEventInvokeConfigCommandOutput,
|
|
105
|
-
} from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
106
|
-
import {
|
|
107
|
-
GetLayerVersionByArnCommand,
|
|
108
|
-
GetLayerVersionByArnCommandInput,
|
|
109
|
-
GetLayerVersionByArnCommandOutput,
|
|
110
|
-
} from "./commands/GetLayerVersionByArnCommand";
|
|
111
|
-
import {
|
|
112
|
-
GetLayerVersionCommand,
|
|
113
|
-
GetLayerVersionCommandInput,
|
|
114
|
-
GetLayerVersionCommandOutput,
|
|
115
|
-
} from "./commands/GetLayerVersionCommand";
|
|
116
|
-
import {
|
|
117
|
-
GetLayerVersionPolicyCommand,
|
|
118
|
-
GetLayerVersionPolicyCommandInput,
|
|
119
|
-
GetLayerVersionPolicyCommandOutput,
|
|
120
|
-
} from "./commands/GetLayerVersionPolicyCommand";
|
|
121
|
-
import { GetPolicyCommand, GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
122
|
-
import {
|
|
123
|
-
GetProvisionedConcurrencyConfigCommand,
|
|
124
|
-
GetProvisionedConcurrencyConfigCommandInput,
|
|
125
|
-
GetProvisionedConcurrencyConfigCommandOutput,
|
|
126
|
-
} from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
127
|
-
import { InvokeAsyncCommand, InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
|
|
128
|
-
import { InvokeCommand, InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
|
|
129
|
-
import { ListAliasesCommand, ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
|
|
130
|
-
import {
|
|
131
|
-
ListCodeSigningConfigsCommand,
|
|
132
|
-
ListCodeSigningConfigsCommandInput,
|
|
133
|
-
ListCodeSigningConfigsCommandOutput,
|
|
134
|
-
} from "./commands/ListCodeSigningConfigsCommand";
|
|
135
|
-
import {
|
|
136
|
-
ListEventSourceMappingsCommand,
|
|
137
|
-
ListEventSourceMappingsCommandInput,
|
|
138
|
-
ListEventSourceMappingsCommandOutput,
|
|
139
|
-
} from "./commands/ListEventSourceMappingsCommand";
|
|
140
|
-
import {
|
|
141
|
-
ListFunctionEventInvokeConfigsCommand,
|
|
142
|
-
ListFunctionEventInvokeConfigsCommandInput,
|
|
143
|
-
ListFunctionEventInvokeConfigsCommandOutput,
|
|
144
|
-
} from "./commands/ListFunctionEventInvokeConfigsCommand";
|
|
145
|
-
import {
|
|
146
|
-
ListFunctionsByCodeSigningConfigCommand,
|
|
147
|
-
ListFunctionsByCodeSigningConfigCommandInput,
|
|
148
|
-
ListFunctionsByCodeSigningConfigCommandOutput,
|
|
149
|
-
} from "./commands/ListFunctionsByCodeSigningConfigCommand";
|
|
150
|
-
import {
|
|
151
|
-
ListFunctionsCommand,
|
|
152
|
-
ListFunctionsCommandInput,
|
|
153
|
-
ListFunctionsCommandOutput,
|
|
154
|
-
} from "./commands/ListFunctionsCommand";
|
|
155
|
-
import {
|
|
156
|
-
ListLayerVersionsCommand,
|
|
157
|
-
ListLayerVersionsCommandInput,
|
|
158
|
-
ListLayerVersionsCommandOutput,
|
|
159
|
-
} from "./commands/ListLayerVersionsCommand";
|
|
160
|
-
import { ListLayersCommand, ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand";
|
|
161
|
-
import {
|
|
162
|
-
ListProvisionedConcurrencyConfigsCommand,
|
|
163
|
-
ListProvisionedConcurrencyConfigsCommandInput,
|
|
164
|
-
ListProvisionedConcurrencyConfigsCommandOutput,
|
|
165
|
-
} from "./commands/ListProvisionedConcurrencyConfigsCommand";
|
|
166
|
-
import { ListTagsCommand, ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
167
|
-
import {
|
|
168
|
-
ListVersionsByFunctionCommand,
|
|
169
|
-
ListVersionsByFunctionCommandInput,
|
|
170
|
-
ListVersionsByFunctionCommandOutput,
|
|
171
|
-
} from "./commands/ListVersionsByFunctionCommand";
|
|
172
|
-
import {
|
|
173
|
-
PublishLayerVersionCommand,
|
|
174
|
-
PublishLayerVersionCommandInput,
|
|
175
|
-
PublishLayerVersionCommandOutput,
|
|
176
|
-
} from "./commands/PublishLayerVersionCommand";
|
|
177
|
-
import {
|
|
178
|
-
PublishVersionCommand,
|
|
179
|
-
PublishVersionCommandInput,
|
|
180
|
-
PublishVersionCommandOutput,
|
|
181
|
-
} from "./commands/PublishVersionCommand";
|
|
182
|
-
import {
|
|
183
|
-
PutFunctionCodeSigningConfigCommand,
|
|
184
|
-
PutFunctionCodeSigningConfigCommandInput,
|
|
185
|
-
PutFunctionCodeSigningConfigCommandOutput,
|
|
186
|
-
} from "./commands/PutFunctionCodeSigningConfigCommand";
|
|
187
|
-
import {
|
|
188
|
-
PutFunctionConcurrencyCommand,
|
|
189
|
-
PutFunctionConcurrencyCommandInput,
|
|
190
|
-
PutFunctionConcurrencyCommandOutput,
|
|
191
|
-
} from "./commands/PutFunctionConcurrencyCommand";
|
|
192
|
-
import {
|
|
193
|
-
PutFunctionEventInvokeConfigCommand,
|
|
194
|
-
PutFunctionEventInvokeConfigCommandInput,
|
|
195
|
-
PutFunctionEventInvokeConfigCommandOutput,
|
|
196
|
-
} from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
197
|
-
import {
|
|
198
|
-
PutProvisionedConcurrencyConfigCommand,
|
|
199
|
-
PutProvisionedConcurrencyConfigCommandInput,
|
|
200
|
-
PutProvisionedConcurrencyConfigCommandOutput,
|
|
201
|
-
} from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
202
|
-
import {
|
|
203
|
-
RemoveLayerVersionPermissionCommand,
|
|
204
|
-
RemoveLayerVersionPermissionCommandInput,
|
|
205
|
-
RemoveLayerVersionPermissionCommandOutput,
|
|
206
|
-
} from "./commands/RemoveLayerVersionPermissionCommand";
|
|
207
|
-
import {
|
|
208
|
-
RemovePermissionCommand,
|
|
209
|
-
RemovePermissionCommandInput,
|
|
210
|
-
RemovePermissionCommandOutput,
|
|
211
|
-
} from "./commands/RemovePermissionCommand";
|
|
212
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
213
|
-
import {
|
|
214
|
-
UntagResourceCommand,
|
|
215
|
-
UntagResourceCommandInput,
|
|
216
|
-
UntagResourceCommandOutput,
|
|
217
|
-
} from "./commands/UntagResourceCommand";
|
|
218
|
-
import { UpdateAliasCommand, UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
219
|
-
import {
|
|
220
|
-
UpdateCodeSigningConfigCommand,
|
|
221
|
-
UpdateCodeSigningConfigCommandInput,
|
|
222
|
-
UpdateCodeSigningConfigCommandOutput,
|
|
223
|
-
} from "./commands/UpdateCodeSigningConfigCommand";
|
|
224
|
-
import {
|
|
225
|
-
UpdateEventSourceMappingCommand,
|
|
226
|
-
UpdateEventSourceMappingCommandInput,
|
|
227
|
-
UpdateEventSourceMappingCommandOutput,
|
|
228
|
-
} from "./commands/UpdateEventSourceMappingCommand";
|
|
229
|
-
import {
|
|
230
|
-
UpdateFunctionCodeCommand,
|
|
231
|
-
UpdateFunctionCodeCommandInput,
|
|
232
|
-
UpdateFunctionCodeCommandOutput,
|
|
233
|
-
} from "./commands/UpdateFunctionCodeCommand";
|
|
234
|
-
import {
|
|
235
|
-
UpdateFunctionConfigurationCommand,
|
|
236
|
-
UpdateFunctionConfigurationCommandInput,
|
|
237
|
-
UpdateFunctionConfigurationCommandOutput,
|
|
238
|
-
} from "./commands/UpdateFunctionConfigurationCommand";
|
|
239
|
-
import {
|
|
240
|
-
UpdateFunctionEventInvokeConfigCommand,
|
|
241
|
-
UpdateFunctionEventInvokeConfigCommandInput,
|
|
242
|
-
UpdateFunctionEventInvokeConfigCommandOutput,
|
|
243
|
-
} from "./commands/UpdateFunctionEventInvokeConfigCommand";
|
|
244
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* <fullname>Lambda</fullname>
|
|
248
|
-
* <p>
|
|
249
|
-
* <b>Overview</b>
|
|
250
|
-
* </p>
|
|
251
|
-
* <p>This is the <i>Lambda API Reference</i>. The Lambda Developer Guide provides additional
|
|
252
|
-
* information. For the service overview, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is
|
|
253
|
-
* Lambda</a>, and for information about how the service works, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html">Lambda: How it Works</a> in the <b>Lambda Developer Guide</b>.</p>
|
|
254
|
-
*/
|
|
255
|
-
export class Lambda extends LambdaClient {
|
|
256
|
-
/**
|
|
257
|
-
* <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
258
|
-
* layer</a>. Use this action to grant layer
|
|
259
|
-
* usage permission to other accounts. You can grant permission to a single account, all accounts in an organization,
|
|
260
|
-
* or all Amazon Web Services accounts. </p>
|
|
261
|
-
* <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you
|
|
262
|
-
* specified when you added it.</p>
|
|
263
|
-
*/
|
|
264
|
-
public addLayerVersionPermission(
|
|
265
|
-
args: AddLayerVersionPermissionCommandInput,
|
|
266
|
-
options?: __HttpHandlerOptions
|
|
267
|
-
): Promise<AddLayerVersionPermissionCommandOutput>;
|
|
268
|
-
public addLayerVersionPermission(
|
|
269
|
-
args: AddLayerVersionPermissionCommandInput,
|
|
270
|
-
cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void
|
|
271
|
-
): void;
|
|
272
|
-
public addLayerVersionPermission(
|
|
273
|
-
args: AddLayerVersionPermissionCommandInput,
|
|
274
|
-
options: __HttpHandlerOptions,
|
|
275
|
-
cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void
|
|
276
|
-
): void;
|
|
277
|
-
public addLayerVersionPermission(
|
|
278
|
-
args: AddLayerVersionPermissionCommandInput,
|
|
279
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddLayerVersionPermissionCommandOutput) => void),
|
|
280
|
-
cb?: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void
|
|
281
|
-
): Promise<AddLayerVersionPermissionCommandOutput> | void {
|
|
282
|
-
const command = new AddLayerVersionPermissionCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
} else if (typeof cb === "function") {
|
|
286
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
} else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* <p>Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the
|
|
295
|
-
* function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,
|
|
296
|
-
* the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.</p>
|
|
297
|
-
*
|
|
298
|
-
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. For Amazon Web Services
|
|
299
|
-
* services, the principal is a domain-style identifier defined by the service, like <code>s3.amazonaws.com</code> or
|
|
300
|
-
* <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the
|
|
301
|
-
* <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other
|
|
302
|
-
* accounts could potentially configure resources in their account to invoke your Lambda function.</p>
|
|
303
|
-
*
|
|
304
|
-
* <p>This action adds a statement to a resource-based permissions policy for the function. For more information
|
|
305
|
-
* about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Lambda Function Policies</a>. </p>
|
|
306
|
-
*/
|
|
307
|
-
public addPermission(
|
|
308
|
-
args: AddPermissionCommandInput,
|
|
309
|
-
options?: __HttpHandlerOptions
|
|
310
|
-
): Promise<AddPermissionCommandOutput>;
|
|
311
|
-
public addPermission(
|
|
312
|
-
args: AddPermissionCommandInput,
|
|
313
|
-
cb: (err: any, data?: AddPermissionCommandOutput) => void
|
|
314
|
-
): void;
|
|
315
|
-
public addPermission(
|
|
316
|
-
args: AddPermissionCommandInput,
|
|
317
|
-
options: __HttpHandlerOptions,
|
|
318
|
-
cb: (err: any, data?: AddPermissionCommandOutput) => void
|
|
319
|
-
): void;
|
|
320
|
-
public addPermission(
|
|
321
|
-
args: AddPermissionCommandInput,
|
|
322
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddPermissionCommandOutput) => void),
|
|
323
|
-
cb?: (err: any, data?: AddPermissionCommandOutput) => void
|
|
324
|
-
): Promise<AddPermissionCommandOutput> | void {
|
|
325
|
-
const command = new AddPermissionCommand(args);
|
|
326
|
-
if (typeof optionsOrCb === "function") {
|
|
327
|
-
this.send(command, optionsOrCb);
|
|
328
|
-
} else if (typeof cb === "function") {
|
|
329
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
331
|
-
} else {
|
|
332
|
-
return this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a> for a
|
|
338
|
-
* Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
|
|
339
|
-
* different version.</p>
|
|
340
|
-
* <p>You can also map an alias to split invocation requests between two versions. Use the
|
|
341
|
-
* <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
|
|
342
|
-
* it receives.</p>
|
|
343
|
-
*/
|
|
344
|
-
public createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
|
|
345
|
-
public createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
346
|
-
public createAlias(
|
|
347
|
-
args: CreateAliasCommandInput,
|
|
348
|
-
options: __HttpHandlerOptions,
|
|
349
|
-
cb: (err: any, data?: CreateAliasCommandOutput) => void
|
|
350
|
-
): void;
|
|
351
|
-
public createAlias(
|
|
352
|
-
args: CreateAliasCommandInput,
|
|
353
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAliasCommandOutput) => void),
|
|
354
|
-
cb?: (err: any, data?: CreateAliasCommandOutput) => void
|
|
355
|
-
): Promise<CreateAliasCommandOutput> | void {
|
|
356
|
-
const command = new CreateAliasCommand(args);
|
|
357
|
-
if (typeof optionsOrCb === "function") {
|
|
358
|
-
this.send(command, optionsOrCb);
|
|
359
|
-
} else if (typeof cb === "function") {
|
|
360
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
} else {
|
|
363
|
-
return this.send(command, optionsOrCb);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">code signing configuration</a> defines a list of
|
|
369
|
-
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
370
|
-
* validation checks fail). </p>
|
|
371
|
-
*/
|
|
372
|
-
public createCodeSigningConfig(
|
|
373
|
-
args: CreateCodeSigningConfigCommandInput,
|
|
374
|
-
options?: __HttpHandlerOptions
|
|
375
|
-
): Promise<CreateCodeSigningConfigCommandOutput>;
|
|
376
|
-
public createCodeSigningConfig(
|
|
377
|
-
args: CreateCodeSigningConfigCommandInput,
|
|
378
|
-
cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void
|
|
379
|
-
): void;
|
|
380
|
-
public createCodeSigningConfig(
|
|
381
|
-
args: CreateCodeSigningConfigCommandInput,
|
|
382
|
-
options: __HttpHandlerOptions,
|
|
383
|
-
cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void
|
|
384
|
-
): void;
|
|
385
|
-
public createCodeSigningConfig(
|
|
386
|
-
args: CreateCodeSigningConfigCommandInput,
|
|
387
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCodeSigningConfigCommandOutput) => void),
|
|
388
|
-
cb?: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void
|
|
389
|
-
): Promise<CreateCodeSigningConfigCommandOutput> | void {
|
|
390
|
-
const command = new CreateCodeSigningConfigCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
} else if (typeof cb === "function") {
|
|
394
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
-
} else {
|
|
397
|
-
return this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source
|
|
403
|
-
* and triggers the function.</p>
|
|
404
|
-
* <p>For details about each event source type, see the following topics. In particular, each of the topics
|
|
405
|
-
* describes the required and optional parameters for the specific event source. </p>
|
|
406
|
-
* <ul>
|
|
407
|
-
* <li>
|
|
408
|
-
* <p>
|
|
409
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
|
|
410
|
-
* Configuring a Dynamo DB stream as an event source</a>
|
|
411
|
-
* </p>
|
|
412
|
-
* </li>
|
|
413
|
-
* <li>
|
|
414
|
-
* <p>
|
|
415
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
|
|
416
|
-
* Configuring a Kinesis stream as an event source</a>
|
|
417
|
-
* </p>
|
|
418
|
-
* </li>
|
|
419
|
-
* <li>
|
|
420
|
-
* <p>
|
|
421
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource">
|
|
422
|
-
* Configuring an SQS queue as an event source</a>
|
|
423
|
-
* </p>
|
|
424
|
-
* </li>
|
|
425
|
-
* <li>
|
|
426
|
-
* <p>
|
|
427
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
|
|
428
|
-
* Configuring an MQ broker as an event source</a>
|
|
429
|
-
* </p>
|
|
430
|
-
* </li>
|
|
431
|
-
* <li>
|
|
432
|
-
* <p>
|
|
433
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html">
|
|
434
|
-
* Configuring MSK as an event source</a>
|
|
435
|
-
* </p>
|
|
436
|
-
* </li>
|
|
437
|
-
* <li>
|
|
438
|
-
* <p>
|
|
439
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html">
|
|
440
|
-
* Configuring Self-Managed Apache Kafka as an event source</a>
|
|
441
|
-
* </p>
|
|
442
|
-
* </li>
|
|
443
|
-
* </ul>
|
|
444
|
-
* <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
|
|
445
|
-
* <ul>
|
|
446
|
-
* <li>
|
|
447
|
-
* <p>
|
|
448
|
-
* <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
|
|
449
|
-
* </li>
|
|
450
|
-
* <li>
|
|
451
|
-
* <p>
|
|
452
|
-
* <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
453
|
-
* </li>
|
|
454
|
-
* <li>
|
|
455
|
-
* <p>
|
|
456
|
-
* <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
457
|
-
* </li>
|
|
458
|
-
* <li>
|
|
459
|
-
* <p>
|
|
460
|
-
* <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
461
|
-
* </li>
|
|
462
|
-
* <li>
|
|
463
|
-
* <p>
|
|
464
|
-
* <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
|
|
465
|
-
* </li>
|
|
466
|
-
* </ul>
|
|
467
|
-
*/
|
|
468
|
-
public createEventSourceMapping(
|
|
469
|
-
args: CreateEventSourceMappingCommandInput,
|
|
470
|
-
options?: __HttpHandlerOptions
|
|
471
|
-
): Promise<CreateEventSourceMappingCommandOutput>;
|
|
472
|
-
public createEventSourceMapping(
|
|
473
|
-
args: CreateEventSourceMappingCommandInput,
|
|
474
|
-
cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void
|
|
475
|
-
): void;
|
|
476
|
-
public createEventSourceMapping(
|
|
477
|
-
args: CreateEventSourceMappingCommandInput,
|
|
478
|
-
options: __HttpHandlerOptions,
|
|
479
|
-
cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void
|
|
480
|
-
): void;
|
|
481
|
-
public createEventSourceMapping(
|
|
482
|
-
args: CreateEventSourceMappingCommandInput,
|
|
483
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEventSourceMappingCommandOutput) => void),
|
|
484
|
-
cb?: (err: any, data?: CreateEventSourceMappingCommandOutput) => void
|
|
485
|
-
): Promise<CreateEventSourceMappingCommandOutput> | void {
|
|
486
|
-
const command = new CreateEventSourceMappingCommand(args);
|
|
487
|
-
if (typeof optionsOrCb === "function") {
|
|
488
|
-
this.send(command, optionsOrCb);
|
|
489
|
-
} else if (typeof cb === "function") {
|
|
490
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
491
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
492
|
-
} else {
|
|
493
|
-
return this.send(command, optionsOrCb);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
|
|
499
|
-
* deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
|
|
500
|
-
* services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p>
|
|
501
|
-
*
|
|
502
|
-
* <p>You set the package type to <code>Image</code> if the deployment package is a
|
|
503
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>. For a container image,
|
|
504
|
-
* the code property must include the URI of a container image in the Amazon ECR registry.
|
|
505
|
-
* You do not need to specify the handler and runtime properties. </p>
|
|
506
|
-
*
|
|
507
|
-
* <p>You set the package type to <code>Zip</code> if the deployment package is a
|
|
508
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>.
|
|
509
|
-
* For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and
|
|
510
|
-
* runtime properties.</p>
|
|
511
|
-
*
|
|
512
|
-
* <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If
|
|
513
|
-
* your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or
|
|
514
|
-
* modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in
|
|
515
|
-
* the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For
|
|
516
|
-
* more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
|
|
517
|
-
* States</a>.</p>
|
|
518
|
-
*
|
|
519
|
-
* <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
|
|
520
|
-
* changes when you update your function's code and configuration. A published version is a snapshot of your function
|
|
521
|
-
* code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
|
|
522
|
-
* changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
|
|
523
|
-
* your function from its initial configuration.</p>
|
|
524
|
-
*
|
|
525
|
-
* <p>The other parameters let you configure version-specific and function-level settings. You can modify
|
|
526
|
-
* version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
|
|
527
|
-
* to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
|
|
528
|
-
* and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
|
|
529
|
-
*
|
|
530
|
-
* <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,
|
|
531
|
-
* specify the ARN of a code-signing configuration. When a user
|
|
532
|
-
* attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code
|
|
533
|
-
* package has a valid signature from a trusted publisher. The code-signing configuration
|
|
534
|
-
* includes set set of signing profiles, which define the trusted publishers for this function.</p>
|
|
535
|
-
*
|
|
536
|
-
* <p>If another account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant
|
|
537
|
-
* permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,
|
|
538
|
-
* or on an alias.</p>
|
|
539
|
-
*
|
|
540
|
-
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
|
|
541
|
-
* in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a
|
|
542
|
-
* function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Functions</a>.</p>
|
|
543
|
-
*/
|
|
544
|
-
public createFunction(
|
|
545
|
-
args: CreateFunctionCommandInput,
|
|
546
|
-
options?: __HttpHandlerOptions
|
|
547
|
-
): Promise<CreateFunctionCommandOutput>;
|
|
548
|
-
public createFunction(
|
|
549
|
-
args: CreateFunctionCommandInput,
|
|
550
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
551
|
-
): void;
|
|
552
|
-
public createFunction(
|
|
553
|
-
args: CreateFunctionCommandInput,
|
|
554
|
-
options: __HttpHandlerOptions,
|
|
555
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
556
|
-
): void;
|
|
557
|
-
public createFunction(
|
|
558
|
-
args: CreateFunctionCommandInput,
|
|
559
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFunctionCommandOutput) => void),
|
|
560
|
-
cb?: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
561
|
-
): Promise<CreateFunctionCommandOutput> | void {
|
|
562
|
-
const command = new CreateFunctionCommand(args);
|
|
563
|
-
if (typeof optionsOrCb === "function") {
|
|
564
|
-
this.send(command, optionsOrCb);
|
|
565
|
-
} else if (typeof cb === "function") {
|
|
566
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
567
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
568
|
-
} else {
|
|
569
|
-
return this.send(command, optionsOrCb);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* <p>Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
|
|
575
|
-
*/
|
|
576
|
-
public deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
|
|
577
|
-
public deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
578
|
-
public deleteAlias(
|
|
579
|
-
args: DeleteAliasCommandInput,
|
|
580
|
-
options: __HttpHandlerOptions,
|
|
581
|
-
cb: (err: any, data?: DeleteAliasCommandOutput) => void
|
|
582
|
-
): void;
|
|
583
|
-
public deleteAlias(
|
|
584
|
-
args: DeleteAliasCommandInput,
|
|
585
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAliasCommandOutput) => void),
|
|
586
|
-
cb?: (err: any, data?: DeleteAliasCommandOutput) => void
|
|
587
|
-
): Promise<DeleteAliasCommandOutput> | void {
|
|
588
|
-
const command = new DeleteAliasCommand(args);
|
|
589
|
-
if (typeof optionsOrCb === "function") {
|
|
590
|
-
this.send(command, optionsOrCb);
|
|
591
|
-
} else if (typeof cb === "function") {
|
|
592
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
594
|
-
} else {
|
|
595
|
-
return this.send(command, optionsOrCb);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is
|
|
601
|
-
* using it. </p>
|
|
602
|
-
*/
|
|
603
|
-
public deleteCodeSigningConfig(
|
|
604
|
-
args: DeleteCodeSigningConfigCommandInput,
|
|
605
|
-
options?: __HttpHandlerOptions
|
|
606
|
-
): Promise<DeleteCodeSigningConfigCommandOutput>;
|
|
607
|
-
public deleteCodeSigningConfig(
|
|
608
|
-
args: DeleteCodeSigningConfigCommandInput,
|
|
609
|
-
cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void
|
|
610
|
-
): void;
|
|
611
|
-
public deleteCodeSigningConfig(
|
|
612
|
-
args: DeleteCodeSigningConfigCommandInput,
|
|
613
|
-
options: __HttpHandlerOptions,
|
|
614
|
-
cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void
|
|
615
|
-
): void;
|
|
616
|
-
public deleteCodeSigningConfig(
|
|
617
|
-
args: DeleteCodeSigningConfigCommandInput,
|
|
618
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCodeSigningConfigCommandOutput) => void),
|
|
619
|
-
cb?: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void
|
|
620
|
-
): Promise<DeleteCodeSigningConfigCommandOutput> | void {
|
|
621
|
-
const command = new DeleteCodeSigningConfigCommand(args);
|
|
622
|
-
if (typeof optionsOrCb === "function") {
|
|
623
|
-
this.send(command, optionsOrCb);
|
|
624
|
-
} else if (typeof cb === "function") {
|
|
625
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
-
} else {
|
|
628
|
-
return this.send(command, optionsOrCb);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source
|
|
634
|
-
* mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
|
|
635
|
-
* <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely deleted for several seconds.</p>
|
|
636
|
-
*/
|
|
637
|
-
public deleteEventSourceMapping(
|
|
638
|
-
args: DeleteEventSourceMappingCommandInput,
|
|
639
|
-
options?: __HttpHandlerOptions
|
|
640
|
-
): Promise<DeleteEventSourceMappingCommandOutput>;
|
|
641
|
-
public deleteEventSourceMapping(
|
|
642
|
-
args: DeleteEventSourceMappingCommandInput,
|
|
643
|
-
cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void
|
|
644
|
-
): void;
|
|
645
|
-
public deleteEventSourceMapping(
|
|
646
|
-
args: DeleteEventSourceMappingCommandInput,
|
|
647
|
-
options: __HttpHandlerOptions,
|
|
648
|
-
cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void
|
|
649
|
-
): void;
|
|
650
|
-
public deleteEventSourceMapping(
|
|
651
|
-
args: DeleteEventSourceMappingCommandInput,
|
|
652
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEventSourceMappingCommandOutput) => void),
|
|
653
|
-
cb?: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void
|
|
654
|
-
): Promise<DeleteEventSourceMappingCommandOutput> | void {
|
|
655
|
-
const command = new DeleteEventSourceMappingCommand(args);
|
|
656
|
-
if (typeof optionsOrCb === "function") {
|
|
657
|
-
this.send(command, optionsOrCb);
|
|
658
|
-
} else if (typeof cb === "function") {
|
|
659
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
660
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
661
|
-
} else {
|
|
662
|
-
return this.send(command, optionsOrCb);
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
|
|
668
|
-
* Otherwise, all versions and aliases are deleted.</p>
|
|
669
|
-
*
|
|
670
|
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>.
|
|
671
|
-
* For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you
|
|
672
|
-
* originally configured it.</p>
|
|
673
|
-
*/
|
|
674
|
-
public deleteFunction(
|
|
675
|
-
args: DeleteFunctionCommandInput,
|
|
676
|
-
options?: __HttpHandlerOptions
|
|
677
|
-
): Promise<DeleteFunctionCommandOutput>;
|
|
678
|
-
public deleteFunction(
|
|
679
|
-
args: DeleteFunctionCommandInput,
|
|
680
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
681
|
-
): void;
|
|
682
|
-
public deleteFunction(
|
|
683
|
-
args: DeleteFunctionCommandInput,
|
|
684
|
-
options: __HttpHandlerOptions,
|
|
685
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
686
|
-
): void;
|
|
687
|
-
public deleteFunction(
|
|
688
|
-
args: DeleteFunctionCommandInput,
|
|
689
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionCommandOutput) => void),
|
|
690
|
-
cb?: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
691
|
-
): Promise<DeleteFunctionCommandOutput> | void {
|
|
692
|
-
const command = new DeleteFunctionCommand(args);
|
|
693
|
-
if (typeof optionsOrCb === "function") {
|
|
694
|
-
this.send(command, optionsOrCb);
|
|
695
|
-
} else if (typeof cb === "function") {
|
|
696
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
697
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
698
|
-
} else {
|
|
699
|
-
return this.send(command, optionsOrCb);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* <p>Removes the code signing configuration from the function.</p>
|
|
705
|
-
*/
|
|
706
|
-
public deleteFunctionCodeSigningConfig(
|
|
707
|
-
args: DeleteFunctionCodeSigningConfigCommandInput,
|
|
708
|
-
options?: __HttpHandlerOptions
|
|
709
|
-
): Promise<DeleteFunctionCodeSigningConfigCommandOutput>;
|
|
710
|
-
public deleteFunctionCodeSigningConfig(
|
|
711
|
-
args: DeleteFunctionCodeSigningConfigCommandInput,
|
|
712
|
-
cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void
|
|
713
|
-
): void;
|
|
714
|
-
public deleteFunctionCodeSigningConfig(
|
|
715
|
-
args: DeleteFunctionCodeSigningConfigCommandInput,
|
|
716
|
-
options: __HttpHandlerOptions,
|
|
717
|
-
cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void
|
|
718
|
-
): void;
|
|
719
|
-
public deleteFunctionCodeSigningConfig(
|
|
720
|
-
args: DeleteFunctionCodeSigningConfigCommandInput,
|
|
721
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void),
|
|
722
|
-
cb?: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void
|
|
723
|
-
): Promise<DeleteFunctionCodeSigningConfigCommandOutput> | void {
|
|
724
|
-
const command = new DeleteFunctionCodeSigningConfigCommand(args);
|
|
725
|
-
if (typeof optionsOrCb === "function") {
|
|
726
|
-
this.send(command, optionsOrCb);
|
|
727
|
-
} else if (typeof cb === "function") {
|
|
728
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
729
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
730
|
-
} else {
|
|
731
|
-
return this.send(command, optionsOrCb);
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* <p>Removes a concurrent execution limit from a function.</p>
|
|
737
|
-
*/
|
|
738
|
-
public deleteFunctionConcurrency(
|
|
739
|
-
args: DeleteFunctionConcurrencyCommandInput,
|
|
740
|
-
options?: __HttpHandlerOptions
|
|
741
|
-
): Promise<DeleteFunctionConcurrencyCommandOutput>;
|
|
742
|
-
public deleteFunctionConcurrency(
|
|
743
|
-
args: DeleteFunctionConcurrencyCommandInput,
|
|
744
|
-
cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void
|
|
745
|
-
): void;
|
|
746
|
-
public deleteFunctionConcurrency(
|
|
747
|
-
args: DeleteFunctionConcurrencyCommandInput,
|
|
748
|
-
options: __HttpHandlerOptions,
|
|
749
|
-
cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void
|
|
750
|
-
): void;
|
|
751
|
-
public deleteFunctionConcurrency(
|
|
752
|
-
args: DeleteFunctionConcurrencyCommandInput,
|
|
753
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void),
|
|
754
|
-
cb?: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void
|
|
755
|
-
): Promise<DeleteFunctionConcurrencyCommandOutput> | void {
|
|
756
|
-
const command = new DeleteFunctionConcurrencyCommand(args);
|
|
757
|
-
if (typeof optionsOrCb === "function") {
|
|
758
|
-
this.send(command, optionsOrCb);
|
|
759
|
-
} else if (typeof cb === "function") {
|
|
760
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
761
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
762
|
-
} else {
|
|
763
|
-
return this.send(command, optionsOrCb);
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* <p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
769
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
770
|
-
*/
|
|
771
|
-
public deleteFunctionEventInvokeConfig(
|
|
772
|
-
args: DeleteFunctionEventInvokeConfigCommandInput,
|
|
773
|
-
options?: __HttpHandlerOptions
|
|
774
|
-
): Promise<DeleteFunctionEventInvokeConfigCommandOutput>;
|
|
775
|
-
public deleteFunctionEventInvokeConfig(
|
|
776
|
-
args: DeleteFunctionEventInvokeConfigCommandInput,
|
|
777
|
-
cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void
|
|
778
|
-
): void;
|
|
779
|
-
public deleteFunctionEventInvokeConfig(
|
|
780
|
-
args: DeleteFunctionEventInvokeConfigCommandInput,
|
|
781
|
-
options: __HttpHandlerOptions,
|
|
782
|
-
cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void
|
|
783
|
-
): void;
|
|
784
|
-
public deleteFunctionEventInvokeConfig(
|
|
785
|
-
args: DeleteFunctionEventInvokeConfigCommandInput,
|
|
786
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void),
|
|
787
|
-
cb?: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void
|
|
788
|
-
): Promise<DeleteFunctionEventInvokeConfigCommandOutput> | void {
|
|
789
|
-
const command = new DeleteFunctionEventInvokeConfigCommand(args);
|
|
790
|
-
if (typeof optionsOrCb === "function") {
|
|
791
|
-
this.send(command, optionsOrCb);
|
|
792
|
-
} else if (typeof cb === "function") {
|
|
793
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
794
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
795
|
-
} else {
|
|
796
|
-
return this.send(command, optionsOrCb);
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* <p>Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
802
|
-
* layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid
|
|
803
|
-
* breaking functions, a copy of the version remains in Lambda until no functions refer to it.</p>
|
|
804
|
-
*/
|
|
805
|
-
public deleteLayerVersion(
|
|
806
|
-
args: DeleteLayerVersionCommandInput,
|
|
807
|
-
options?: __HttpHandlerOptions
|
|
808
|
-
): Promise<DeleteLayerVersionCommandOutput>;
|
|
809
|
-
public deleteLayerVersion(
|
|
810
|
-
args: DeleteLayerVersionCommandInput,
|
|
811
|
-
cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void
|
|
812
|
-
): void;
|
|
813
|
-
public deleteLayerVersion(
|
|
814
|
-
args: DeleteLayerVersionCommandInput,
|
|
815
|
-
options: __HttpHandlerOptions,
|
|
816
|
-
cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void
|
|
817
|
-
): void;
|
|
818
|
-
public deleteLayerVersion(
|
|
819
|
-
args: DeleteLayerVersionCommandInput,
|
|
820
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLayerVersionCommandOutput) => void),
|
|
821
|
-
cb?: (err: any, data?: DeleteLayerVersionCommandOutput) => void
|
|
822
|
-
): Promise<DeleteLayerVersionCommandOutput> | void {
|
|
823
|
-
const command = new DeleteLayerVersionCommand(args);
|
|
824
|
-
if (typeof optionsOrCb === "function") {
|
|
825
|
-
this.send(command, optionsOrCb);
|
|
826
|
-
} else if (typeof cb === "function") {
|
|
827
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
828
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
829
|
-
} else {
|
|
830
|
-
return this.send(command, optionsOrCb);
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* <p>Deletes the provisioned concurrency configuration for a function.</p>
|
|
836
|
-
*/
|
|
837
|
-
public deleteProvisionedConcurrencyConfig(
|
|
838
|
-
args: DeleteProvisionedConcurrencyConfigCommandInput,
|
|
839
|
-
options?: __HttpHandlerOptions
|
|
840
|
-
): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
841
|
-
public deleteProvisionedConcurrencyConfig(
|
|
842
|
-
args: DeleteProvisionedConcurrencyConfigCommandInput,
|
|
843
|
-
cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void
|
|
844
|
-
): void;
|
|
845
|
-
public deleteProvisionedConcurrencyConfig(
|
|
846
|
-
args: DeleteProvisionedConcurrencyConfigCommandInput,
|
|
847
|
-
options: __HttpHandlerOptions,
|
|
848
|
-
cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void
|
|
849
|
-
): void;
|
|
850
|
-
public deleteProvisionedConcurrencyConfig(
|
|
851
|
-
args: DeleteProvisionedConcurrencyConfigCommandInput,
|
|
852
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void),
|
|
853
|
-
cb?: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void
|
|
854
|
-
): Promise<DeleteProvisionedConcurrencyConfigCommandOutput> | void {
|
|
855
|
-
const command = new DeleteProvisionedConcurrencyConfigCommand(args);
|
|
856
|
-
if (typeof optionsOrCb === "function") {
|
|
857
|
-
this.send(command, optionsOrCb);
|
|
858
|
-
} else if (typeof cb === "function") {
|
|
859
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
860
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
861
|
-
} else {
|
|
862
|
-
return this.send(command, optionsOrCb);
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* <p>Retrieves details about your account's <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limits</a> and usage in an Amazon Web Services Region.</p>
|
|
868
|
-
*/
|
|
869
|
-
public getAccountSettings(
|
|
870
|
-
args: GetAccountSettingsCommandInput,
|
|
871
|
-
options?: __HttpHandlerOptions
|
|
872
|
-
): Promise<GetAccountSettingsCommandOutput>;
|
|
873
|
-
public getAccountSettings(
|
|
874
|
-
args: GetAccountSettingsCommandInput,
|
|
875
|
-
cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
|
|
876
|
-
): void;
|
|
877
|
-
public getAccountSettings(
|
|
878
|
-
args: GetAccountSettingsCommandInput,
|
|
879
|
-
options: __HttpHandlerOptions,
|
|
880
|
-
cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
|
|
881
|
-
): void;
|
|
882
|
-
public getAccountSettings(
|
|
883
|
-
args: GetAccountSettingsCommandInput,
|
|
884
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAccountSettingsCommandOutput) => void),
|
|
885
|
-
cb?: (err: any, data?: GetAccountSettingsCommandOutput) => void
|
|
886
|
-
): Promise<GetAccountSettingsCommandOutput> | void {
|
|
887
|
-
const command = new GetAccountSettingsCommand(args);
|
|
888
|
-
if (typeof optionsOrCb === "function") {
|
|
889
|
-
this.send(command, optionsOrCb);
|
|
890
|
-
} else if (typeof cb === "function") {
|
|
891
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
892
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
893
|
-
} else {
|
|
894
|
-
return this.send(command, optionsOrCb);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
/**
|
|
899
|
-
* <p>Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
|
|
900
|
-
*/
|
|
901
|
-
public getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAliasCommandOutput>;
|
|
902
|
-
public getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
|
|
903
|
-
public getAlias(
|
|
904
|
-
args: GetAliasCommandInput,
|
|
905
|
-
options: __HttpHandlerOptions,
|
|
906
|
-
cb: (err: any, data?: GetAliasCommandOutput) => void
|
|
907
|
-
): void;
|
|
908
|
-
public getAlias(
|
|
909
|
-
args: GetAliasCommandInput,
|
|
910
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAliasCommandOutput) => void),
|
|
911
|
-
cb?: (err: any, data?: GetAliasCommandOutput) => void
|
|
912
|
-
): Promise<GetAliasCommandOutput> | void {
|
|
913
|
-
const command = new GetAliasCommand(args);
|
|
914
|
-
if (typeof optionsOrCb === "function") {
|
|
915
|
-
this.send(command, optionsOrCb);
|
|
916
|
-
} else if (typeof cb === "function") {
|
|
917
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
918
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
919
|
-
} else {
|
|
920
|
-
return this.send(command, optionsOrCb);
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* <p>Returns information about the specified code signing configuration.</p>
|
|
926
|
-
*/
|
|
927
|
-
public getCodeSigningConfig(
|
|
928
|
-
args: GetCodeSigningConfigCommandInput,
|
|
929
|
-
options?: __HttpHandlerOptions
|
|
930
|
-
): Promise<GetCodeSigningConfigCommandOutput>;
|
|
931
|
-
public getCodeSigningConfig(
|
|
932
|
-
args: GetCodeSigningConfigCommandInput,
|
|
933
|
-
cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void
|
|
934
|
-
): void;
|
|
935
|
-
public getCodeSigningConfig(
|
|
936
|
-
args: GetCodeSigningConfigCommandInput,
|
|
937
|
-
options: __HttpHandlerOptions,
|
|
938
|
-
cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void
|
|
939
|
-
): void;
|
|
940
|
-
public getCodeSigningConfig(
|
|
941
|
-
args: GetCodeSigningConfigCommandInput,
|
|
942
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCodeSigningConfigCommandOutput) => void),
|
|
943
|
-
cb?: (err: any, data?: GetCodeSigningConfigCommandOutput) => void
|
|
944
|
-
): Promise<GetCodeSigningConfigCommandOutput> | void {
|
|
945
|
-
const command = new GetCodeSigningConfigCommand(args);
|
|
946
|
-
if (typeof optionsOrCb === "function") {
|
|
947
|
-
this.send(command, optionsOrCb);
|
|
948
|
-
} else if (typeof cb === "function") {
|
|
949
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
950
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
951
|
-
} else {
|
|
952
|
-
return this.send(command, optionsOrCb);
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
|
|
958
|
-
*/
|
|
959
|
-
public getEventSourceMapping(
|
|
960
|
-
args: GetEventSourceMappingCommandInput,
|
|
961
|
-
options?: __HttpHandlerOptions
|
|
962
|
-
): Promise<GetEventSourceMappingCommandOutput>;
|
|
963
|
-
public getEventSourceMapping(
|
|
964
|
-
args: GetEventSourceMappingCommandInput,
|
|
965
|
-
cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void
|
|
966
|
-
): void;
|
|
967
|
-
public getEventSourceMapping(
|
|
968
|
-
args: GetEventSourceMappingCommandInput,
|
|
969
|
-
options: __HttpHandlerOptions,
|
|
970
|
-
cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void
|
|
971
|
-
): void;
|
|
972
|
-
public getEventSourceMapping(
|
|
973
|
-
args: GetEventSourceMappingCommandInput,
|
|
974
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEventSourceMappingCommandOutput) => void),
|
|
975
|
-
cb?: (err: any, data?: GetEventSourceMappingCommandOutput) => void
|
|
976
|
-
): Promise<GetEventSourceMappingCommandOutput> | void {
|
|
977
|
-
const command = new GetEventSourceMappingCommand(args);
|
|
978
|
-
if (typeof optionsOrCb === "function") {
|
|
979
|
-
this.send(command, optionsOrCb);
|
|
980
|
-
} else if (typeof cb === "function") {
|
|
981
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
982
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
983
|
-
} else {
|
|
984
|
-
return this.send(command, optionsOrCb);
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* <p>Returns information about the function or function version, with a link to download the deployment package
|
|
990
|
-
* that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
|
|
991
|
-
* returned.</p>
|
|
992
|
-
*/
|
|
993
|
-
public getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
994
|
-
public getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
995
|
-
public getFunction(
|
|
996
|
-
args: GetFunctionCommandInput,
|
|
997
|
-
options: __HttpHandlerOptions,
|
|
998
|
-
cb: (err: any, data?: GetFunctionCommandOutput) => void
|
|
999
|
-
): void;
|
|
1000
|
-
public getFunction(
|
|
1001
|
-
args: GetFunctionCommandInput,
|
|
1002
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionCommandOutput) => void),
|
|
1003
|
-
cb?: (err: any, data?: GetFunctionCommandOutput) => void
|
|
1004
|
-
): Promise<GetFunctionCommandOutput> | void {
|
|
1005
|
-
const command = new GetFunctionCommand(args);
|
|
1006
|
-
if (typeof optionsOrCb === "function") {
|
|
1007
|
-
this.send(command, optionsOrCb);
|
|
1008
|
-
} else if (typeof cb === "function") {
|
|
1009
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1010
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1011
|
-
} else {
|
|
1012
|
-
return this.send(command, optionsOrCb);
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* <p>Returns the code signing configuration for the specified function.</p>
|
|
1018
|
-
*/
|
|
1019
|
-
public getFunctionCodeSigningConfig(
|
|
1020
|
-
args: GetFunctionCodeSigningConfigCommandInput,
|
|
1021
|
-
options?: __HttpHandlerOptions
|
|
1022
|
-
): Promise<GetFunctionCodeSigningConfigCommandOutput>;
|
|
1023
|
-
public getFunctionCodeSigningConfig(
|
|
1024
|
-
args: GetFunctionCodeSigningConfigCommandInput,
|
|
1025
|
-
cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void
|
|
1026
|
-
): void;
|
|
1027
|
-
public getFunctionCodeSigningConfig(
|
|
1028
|
-
args: GetFunctionCodeSigningConfigCommandInput,
|
|
1029
|
-
options: __HttpHandlerOptions,
|
|
1030
|
-
cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void
|
|
1031
|
-
): void;
|
|
1032
|
-
public getFunctionCodeSigningConfig(
|
|
1033
|
-
args: GetFunctionCodeSigningConfigCommandInput,
|
|
1034
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void),
|
|
1035
|
-
cb?: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void
|
|
1036
|
-
): Promise<GetFunctionCodeSigningConfigCommandOutput> | void {
|
|
1037
|
-
const command = new GetFunctionCodeSigningConfigCommand(args);
|
|
1038
|
-
if (typeof optionsOrCb === "function") {
|
|
1039
|
-
this.send(command, optionsOrCb);
|
|
1040
|
-
} else if (typeof cb === "function") {
|
|
1041
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1042
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1043
|
-
} else {
|
|
1044
|
-
return this.send(command, optionsOrCb);
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
|
|
1050
|
-
* function, use <a>PutFunctionConcurrency</a>.</p>
|
|
1051
|
-
*/
|
|
1052
|
-
public getFunctionConcurrency(
|
|
1053
|
-
args: GetFunctionConcurrencyCommandInput,
|
|
1054
|
-
options?: __HttpHandlerOptions
|
|
1055
|
-
): Promise<GetFunctionConcurrencyCommandOutput>;
|
|
1056
|
-
public getFunctionConcurrency(
|
|
1057
|
-
args: GetFunctionConcurrencyCommandInput,
|
|
1058
|
-
cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void
|
|
1059
|
-
): void;
|
|
1060
|
-
public getFunctionConcurrency(
|
|
1061
|
-
args: GetFunctionConcurrencyCommandInput,
|
|
1062
|
-
options: __HttpHandlerOptions,
|
|
1063
|
-
cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void
|
|
1064
|
-
): void;
|
|
1065
|
-
public getFunctionConcurrency(
|
|
1066
|
-
args: GetFunctionConcurrencyCommandInput,
|
|
1067
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionConcurrencyCommandOutput) => void),
|
|
1068
|
-
cb?: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void
|
|
1069
|
-
): Promise<GetFunctionConcurrencyCommandOutput> | void {
|
|
1070
|
-
const command = new GetFunctionConcurrencyCommand(args);
|
|
1071
|
-
if (typeof optionsOrCb === "function") {
|
|
1072
|
-
this.send(command, optionsOrCb);
|
|
1073
|
-
} else if (typeof cb === "function") {
|
|
1074
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1075
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1076
|
-
} else {
|
|
1077
|
-
return this.send(command, optionsOrCb);
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
|
|
1083
|
-
* can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
|
|
1084
|
-
* <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
1085
|
-
*/
|
|
1086
|
-
public getFunctionConfiguration(
|
|
1087
|
-
args: GetFunctionConfigurationCommandInput,
|
|
1088
|
-
options?: __HttpHandlerOptions
|
|
1089
|
-
): Promise<GetFunctionConfigurationCommandOutput>;
|
|
1090
|
-
public getFunctionConfiguration(
|
|
1091
|
-
args: GetFunctionConfigurationCommandInput,
|
|
1092
|
-
cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void
|
|
1093
|
-
): void;
|
|
1094
|
-
public getFunctionConfiguration(
|
|
1095
|
-
args: GetFunctionConfigurationCommandInput,
|
|
1096
|
-
options: __HttpHandlerOptions,
|
|
1097
|
-
cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void
|
|
1098
|
-
): void;
|
|
1099
|
-
public getFunctionConfiguration(
|
|
1100
|
-
args: GetFunctionConfigurationCommandInput,
|
|
1101
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionConfigurationCommandOutput) => void),
|
|
1102
|
-
cb?: (err: any, data?: GetFunctionConfigurationCommandOutput) => void
|
|
1103
|
-
): Promise<GetFunctionConfigurationCommandOutput> | void {
|
|
1104
|
-
const command = new GetFunctionConfigurationCommand(args);
|
|
1105
|
-
if (typeof optionsOrCb === "function") {
|
|
1106
|
-
this.send(command, optionsOrCb);
|
|
1107
|
-
} else if (typeof cb === "function") {
|
|
1108
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1110
|
-
} else {
|
|
1111
|
-
return this.send(command, optionsOrCb);
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
1117
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
1118
|
-
*/
|
|
1119
|
-
public getFunctionEventInvokeConfig(
|
|
1120
|
-
args: GetFunctionEventInvokeConfigCommandInput,
|
|
1121
|
-
options?: __HttpHandlerOptions
|
|
1122
|
-
): Promise<GetFunctionEventInvokeConfigCommandOutput>;
|
|
1123
|
-
public getFunctionEventInvokeConfig(
|
|
1124
|
-
args: GetFunctionEventInvokeConfigCommandInput,
|
|
1125
|
-
cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void
|
|
1126
|
-
): void;
|
|
1127
|
-
public getFunctionEventInvokeConfig(
|
|
1128
|
-
args: GetFunctionEventInvokeConfigCommandInput,
|
|
1129
|
-
options: __HttpHandlerOptions,
|
|
1130
|
-
cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void
|
|
1131
|
-
): void;
|
|
1132
|
-
public getFunctionEventInvokeConfig(
|
|
1133
|
-
args: GetFunctionEventInvokeConfigCommandInput,
|
|
1134
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void),
|
|
1135
|
-
cb?: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void
|
|
1136
|
-
): Promise<GetFunctionEventInvokeConfigCommandOutput> | void {
|
|
1137
|
-
const command = new GetFunctionEventInvokeConfigCommand(args);
|
|
1138
|
-
if (typeof optionsOrCb === "function") {
|
|
1139
|
-
this.send(command, optionsOrCb);
|
|
1140
|
-
} else if (typeof cb === "function") {
|
|
1141
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1143
|
-
} else {
|
|
1144
|
-
return this.send(command, optionsOrCb);
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
/**
|
|
1149
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1150
|
-
* layer</a>, with a link to download the layer archive
|
|
1151
|
-
* that's valid for 10 minutes.</p>
|
|
1152
|
-
*/
|
|
1153
|
-
public getLayerVersion(
|
|
1154
|
-
args: GetLayerVersionCommandInput,
|
|
1155
|
-
options?: __HttpHandlerOptions
|
|
1156
|
-
): Promise<GetLayerVersionCommandOutput>;
|
|
1157
|
-
public getLayerVersion(
|
|
1158
|
-
args: GetLayerVersionCommandInput,
|
|
1159
|
-
cb: (err: any, data?: GetLayerVersionCommandOutput) => void
|
|
1160
|
-
): void;
|
|
1161
|
-
public getLayerVersion(
|
|
1162
|
-
args: GetLayerVersionCommandInput,
|
|
1163
|
-
options: __HttpHandlerOptions,
|
|
1164
|
-
cb: (err: any, data?: GetLayerVersionCommandOutput) => void
|
|
1165
|
-
): void;
|
|
1166
|
-
public getLayerVersion(
|
|
1167
|
-
args: GetLayerVersionCommandInput,
|
|
1168
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLayerVersionCommandOutput) => void),
|
|
1169
|
-
cb?: (err: any, data?: GetLayerVersionCommandOutput) => void
|
|
1170
|
-
): Promise<GetLayerVersionCommandOutput> | void {
|
|
1171
|
-
const command = new GetLayerVersionCommand(args);
|
|
1172
|
-
if (typeof optionsOrCb === "function") {
|
|
1173
|
-
this.send(command, optionsOrCb);
|
|
1174
|
-
} else if (typeof cb === "function") {
|
|
1175
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1176
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1177
|
-
} else {
|
|
1178
|
-
return this.send(command, optionsOrCb);
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1184
|
-
* layer</a>, with a link to download the layer archive
|
|
1185
|
-
* that's valid for 10 minutes.</p>
|
|
1186
|
-
*/
|
|
1187
|
-
public getLayerVersionByArn(
|
|
1188
|
-
args: GetLayerVersionByArnCommandInput,
|
|
1189
|
-
options?: __HttpHandlerOptions
|
|
1190
|
-
): Promise<GetLayerVersionByArnCommandOutput>;
|
|
1191
|
-
public getLayerVersionByArn(
|
|
1192
|
-
args: GetLayerVersionByArnCommandInput,
|
|
1193
|
-
cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void
|
|
1194
|
-
): void;
|
|
1195
|
-
public getLayerVersionByArn(
|
|
1196
|
-
args: GetLayerVersionByArnCommandInput,
|
|
1197
|
-
options: __HttpHandlerOptions,
|
|
1198
|
-
cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void
|
|
1199
|
-
): void;
|
|
1200
|
-
public getLayerVersionByArn(
|
|
1201
|
-
args: GetLayerVersionByArnCommandInput,
|
|
1202
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLayerVersionByArnCommandOutput) => void),
|
|
1203
|
-
cb?: (err: any, data?: GetLayerVersionByArnCommandOutput) => void
|
|
1204
|
-
): Promise<GetLayerVersionByArnCommandOutput> | void {
|
|
1205
|
-
const command = new GetLayerVersionByArnCommand(args);
|
|
1206
|
-
if (typeof optionsOrCb === "function") {
|
|
1207
|
-
this.send(command, optionsOrCb);
|
|
1208
|
-
} else if (typeof cb === "function") {
|
|
1209
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1210
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1211
|
-
} else {
|
|
1212
|
-
return this.send(command, optionsOrCb);
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1218
|
-
* layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
|
|
1219
|
-
*/
|
|
1220
|
-
public getLayerVersionPolicy(
|
|
1221
|
-
args: GetLayerVersionPolicyCommandInput,
|
|
1222
|
-
options?: __HttpHandlerOptions
|
|
1223
|
-
): Promise<GetLayerVersionPolicyCommandOutput>;
|
|
1224
|
-
public getLayerVersionPolicy(
|
|
1225
|
-
args: GetLayerVersionPolicyCommandInput,
|
|
1226
|
-
cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void
|
|
1227
|
-
): void;
|
|
1228
|
-
public getLayerVersionPolicy(
|
|
1229
|
-
args: GetLayerVersionPolicyCommandInput,
|
|
1230
|
-
options: __HttpHandlerOptions,
|
|
1231
|
-
cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void
|
|
1232
|
-
): void;
|
|
1233
|
-
public getLayerVersionPolicy(
|
|
1234
|
-
args: GetLayerVersionPolicyCommandInput,
|
|
1235
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLayerVersionPolicyCommandOutput) => void),
|
|
1236
|
-
cb?: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void
|
|
1237
|
-
): Promise<GetLayerVersionPolicyCommandOutput> | void {
|
|
1238
|
-
const command = new GetLayerVersionPolicyCommand(args);
|
|
1239
|
-
if (typeof optionsOrCb === "function") {
|
|
1240
|
-
this.send(command, optionsOrCb);
|
|
1241
|
-
} else if (typeof cb === "function") {
|
|
1242
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1244
|
-
} else {
|
|
1245
|
-
return this.send(command, optionsOrCb);
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* <p>Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM policy</a> for a function, version, or alias.</p>
|
|
1251
|
-
*/
|
|
1252
|
-
public getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
|
|
1253
|
-
public getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
1254
|
-
public getPolicy(
|
|
1255
|
-
args: GetPolicyCommandInput,
|
|
1256
|
-
options: __HttpHandlerOptions,
|
|
1257
|
-
cb: (err: any, data?: GetPolicyCommandOutput) => void
|
|
1258
|
-
): void;
|
|
1259
|
-
public getPolicy(
|
|
1260
|
-
args: GetPolicyCommandInput,
|
|
1261
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPolicyCommandOutput) => void),
|
|
1262
|
-
cb?: (err: any, data?: GetPolicyCommandOutput) => void
|
|
1263
|
-
): Promise<GetPolicyCommandOutput> | void {
|
|
1264
|
-
const command = new GetPolicyCommand(args);
|
|
1265
|
-
if (typeof optionsOrCb === "function") {
|
|
1266
|
-
this.send(command, optionsOrCb);
|
|
1267
|
-
} else if (typeof cb === "function") {
|
|
1268
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1269
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1270
|
-
} else {
|
|
1271
|
-
return this.send(command, optionsOrCb);
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1276
|
-
* <p>Retrieves the provisioned concurrency configuration for a function's alias or version.</p>
|
|
1277
|
-
*/
|
|
1278
|
-
public getProvisionedConcurrencyConfig(
|
|
1279
|
-
args: GetProvisionedConcurrencyConfigCommandInput,
|
|
1280
|
-
options?: __HttpHandlerOptions
|
|
1281
|
-
): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
1282
|
-
public getProvisionedConcurrencyConfig(
|
|
1283
|
-
args: GetProvisionedConcurrencyConfigCommandInput,
|
|
1284
|
-
cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
|
|
1285
|
-
): void;
|
|
1286
|
-
public getProvisionedConcurrencyConfig(
|
|
1287
|
-
args: GetProvisionedConcurrencyConfigCommandInput,
|
|
1288
|
-
options: __HttpHandlerOptions,
|
|
1289
|
-
cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
|
|
1290
|
-
): void;
|
|
1291
|
-
public getProvisionedConcurrencyConfig(
|
|
1292
|
-
args: GetProvisionedConcurrencyConfigCommandInput,
|
|
1293
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void),
|
|
1294
|
-
cb?: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
|
|
1295
|
-
): Promise<GetProvisionedConcurrencyConfigCommandOutput> | void {
|
|
1296
|
-
const command = new GetProvisionedConcurrencyConfigCommand(args);
|
|
1297
|
-
if (typeof optionsOrCb === "function") {
|
|
1298
|
-
this.send(command, optionsOrCb);
|
|
1299
|
-
} else if (typeof cb === "function") {
|
|
1300
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1302
|
-
} else {
|
|
1303
|
-
return this.send(command, optionsOrCb);
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
|
|
1309
|
-
* asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
|
|
1310
|
-
*
|
|
1311
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
|
|
1312
|
-
* details about the function response, including errors, are included in the response body and headers. For either
|
|
1313
|
-
* invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
|
|
1314
|
-
*
|
|
1315
|
-
* <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
|
|
1316
|
-
* client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
|
|
1317
|
-
* error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html">Retry Behavior</a>.</p>
|
|
1318
|
-
*
|
|
1319
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
|
|
1320
|
-
* Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
|
|
1321
|
-
* to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
|
|
1322
|
-
* times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">dead-letter queue</a>.</p>
|
|
1323
|
-
*
|
|
1324
|
-
* <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
|
|
1325
|
-
* prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limit errors</a>, or issues with your function's code and configuration.
|
|
1326
|
-
* For example, Lambda returns <code>TooManyRequestsException</code> if executing the function would cause you to
|
|
1327
|
-
* exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or
|
|
1328
|
-
* function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
|
|
1329
|
-
*
|
|
1330
|
-
* <p>For functions with a long timeout, your client might be disconnected during synchronous invocation while it
|
|
1331
|
-
* waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
|
|
1332
|
-
* connections with timeout or keep-alive settings.</p>
|
|
1333
|
-
*
|
|
1334
|
-
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action.</p>
|
|
1335
|
-
*/
|
|
1336
|
-
public invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise<InvokeCommandOutput>;
|
|
1337
|
-
public invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void;
|
|
1338
|
-
public invoke(
|
|
1339
|
-
args: InvokeCommandInput,
|
|
1340
|
-
options: __HttpHandlerOptions,
|
|
1341
|
-
cb: (err: any, data?: InvokeCommandOutput) => void
|
|
1342
|
-
): void;
|
|
1343
|
-
public invoke(
|
|
1344
|
-
args: InvokeCommandInput,
|
|
1345
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InvokeCommandOutput) => void),
|
|
1346
|
-
cb?: (err: any, data?: InvokeCommandOutput) => void
|
|
1347
|
-
): Promise<InvokeCommandOutput> | void {
|
|
1348
|
-
const command = new InvokeCommand(args);
|
|
1349
|
-
if (typeof optionsOrCb === "function") {
|
|
1350
|
-
this.send(command, optionsOrCb);
|
|
1351
|
-
} else if (typeof cb === "function") {
|
|
1352
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1354
|
-
} else {
|
|
1355
|
-
return this.send(command, optionsOrCb);
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* @deprecated
|
|
1361
|
-
*
|
|
1362
|
-
* <important>
|
|
1363
|
-
* <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
|
|
1364
|
-
* </important>
|
|
1365
|
-
* <p>Invokes a function asynchronously.</p>
|
|
1366
|
-
*/
|
|
1367
|
-
public invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAsyncCommandOutput>;
|
|
1368
|
-
public invokeAsync(args: InvokeAsyncCommandInput, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
|
|
1369
|
-
public invokeAsync(
|
|
1370
|
-
args: InvokeAsyncCommandInput,
|
|
1371
|
-
options: __HttpHandlerOptions,
|
|
1372
|
-
cb: (err: any, data?: InvokeAsyncCommandOutput) => void
|
|
1373
|
-
): void;
|
|
1374
|
-
public invokeAsync(
|
|
1375
|
-
args: InvokeAsyncCommandInput,
|
|
1376
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InvokeAsyncCommandOutput) => void),
|
|
1377
|
-
cb?: (err: any, data?: InvokeAsyncCommandOutput) => void
|
|
1378
|
-
): Promise<InvokeAsyncCommandOutput> | void {
|
|
1379
|
-
const command = new InvokeAsyncCommand(args);
|
|
1380
|
-
if (typeof optionsOrCb === "function") {
|
|
1381
|
-
this.send(command, optionsOrCb);
|
|
1382
|
-
} else if (typeof cb === "function") {
|
|
1383
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1384
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1385
|
-
} else {
|
|
1386
|
-
return this.send(command, optionsOrCb);
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/**
|
|
1391
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">aliases</a>
|
|
1392
|
-
* for a Lambda function.</p>
|
|
1393
|
-
*/
|
|
1394
|
-
public listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
|
|
1395
|
-
public listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
|
|
1396
|
-
public listAliases(
|
|
1397
|
-
args: ListAliasesCommandInput,
|
|
1398
|
-
options: __HttpHandlerOptions,
|
|
1399
|
-
cb: (err: any, data?: ListAliasesCommandOutput) => void
|
|
1400
|
-
): void;
|
|
1401
|
-
public listAliases(
|
|
1402
|
-
args: ListAliasesCommandInput,
|
|
1403
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAliasesCommandOutput) => void),
|
|
1404
|
-
cb?: (err: any, data?: ListAliasesCommandOutput) => void
|
|
1405
|
-
): Promise<ListAliasesCommandOutput> | void {
|
|
1406
|
-
const command = new ListAliasesCommand(args);
|
|
1407
|
-
if (typeof optionsOrCb === "function") {
|
|
1408
|
-
this.send(command, optionsOrCb);
|
|
1409
|
-
} else if (typeof cb === "function") {
|
|
1410
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1411
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1412
|
-
} else {
|
|
1413
|
-
return this.send(command, optionsOrCb);
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code
|
|
1419
|
-
* signing configurations</a>. A request returns up to 10,000 configurations per
|
|
1420
|
-
* call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
|
|
1421
|
-
*/
|
|
1422
|
-
public listCodeSigningConfigs(
|
|
1423
|
-
args: ListCodeSigningConfigsCommandInput,
|
|
1424
|
-
options?: __HttpHandlerOptions
|
|
1425
|
-
): Promise<ListCodeSigningConfigsCommandOutput>;
|
|
1426
|
-
public listCodeSigningConfigs(
|
|
1427
|
-
args: ListCodeSigningConfigsCommandInput,
|
|
1428
|
-
cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void
|
|
1429
|
-
): void;
|
|
1430
|
-
public listCodeSigningConfigs(
|
|
1431
|
-
args: ListCodeSigningConfigsCommandInput,
|
|
1432
|
-
options: __HttpHandlerOptions,
|
|
1433
|
-
cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void
|
|
1434
|
-
): void;
|
|
1435
|
-
public listCodeSigningConfigs(
|
|
1436
|
-
args: ListCodeSigningConfigsCommandInput,
|
|
1437
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCodeSigningConfigsCommandOutput) => void),
|
|
1438
|
-
cb?: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void
|
|
1439
|
-
): Promise<ListCodeSigningConfigsCommandOutput> | void {
|
|
1440
|
-
const command = new ListCodeSigningConfigsCommand(args);
|
|
1441
|
-
if (typeof optionsOrCb === "function") {
|
|
1442
|
-
this.send(command, optionsOrCb);
|
|
1443
|
-
} else if (typeof cb === "function") {
|
|
1444
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1445
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1446
|
-
} else {
|
|
1447
|
-
return this.send(command, optionsOrCb);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
/**
|
|
1452
|
-
* <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to only show event source mappings for a
|
|
1453
|
-
* single event source.</p>
|
|
1454
|
-
*/
|
|
1455
|
-
public listEventSourceMappings(
|
|
1456
|
-
args: ListEventSourceMappingsCommandInput,
|
|
1457
|
-
options?: __HttpHandlerOptions
|
|
1458
|
-
): Promise<ListEventSourceMappingsCommandOutput>;
|
|
1459
|
-
public listEventSourceMappings(
|
|
1460
|
-
args: ListEventSourceMappingsCommandInput,
|
|
1461
|
-
cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void
|
|
1462
|
-
): void;
|
|
1463
|
-
public listEventSourceMappings(
|
|
1464
|
-
args: ListEventSourceMappingsCommandInput,
|
|
1465
|
-
options: __HttpHandlerOptions,
|
|
1466
|
-
cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void
|
|
1467
|
-
): void;
|
|
1468
|
-
public listEventSourceMappings(
|
|
1469
|
-
args: ListEventSourceMappingsCommandInput,
|
|
1470
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEventSourceMappingsCommandOutput) => void),
|
|
1471
|
-
cb?: (err: any, data?: ListEventSourceMappingsCommandOutput) => void
|
|
1472
|
-
): Promise<ListEventSourceMappingsCommandOutput> | void {
|
|
1473
|
-
const command = new ListEventSourceMappingsCommand(args);
|
|
1474
|
-
if (typeof optionsOrCb === "function") {
|
|
1475
|
-
this.send(command, optionsOrCb);
|
|
1476
|
-
} else if (typeof cb === "function") {
|
|
1477
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1478
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1479
|
-
} else {
|
|
1480
|
-
return this.send(command, optionsOrCb);
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* <p>Retrieves a list of configurations for asynchronous invocation for a function.</p>
|
|
1486
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
1487
|
-
*/
|
|
1488
|
-
public listFunctionEventInvokeConfigs(
|
|
1489
|
-
args: ListFunctionEventInvokeConfigsCommandInput,
|
|
1490
|
-
options?: __HttpHandlerOptions
|
|
1491
|
-
): Promise<ListFunctionEventInvokeConfigsCommandOutput>;
|
|
1492
|
-
public listFunctionEventInvokeConfigs(
|
|
1493
|
-
args: ListFunctionEventInvokeConfigsCommandInput,
|
|
1494
|
-
cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void
|
|
1495
|
-
): void;
|
|
1496
|
-
public listFunctionEventInvokeConfigs(
|
|
1497
|
-
args: ListFunctionEventInvokeConfigsCommandInput,
|
|
1498
|
-
options: __HttpHandlerOptions,
|
|
1499
|
-
cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void
|
|
1500
|
-
): void;
|
|
1501
|
-
public listFunctionEventInvokeConfigs(
|
|
1502
|
-
args: ListFunctionEventInvokeConfigsCommandInput,
|
|
1503
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void),
|
|
1504
|
-
cb?: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void
|
|
1505
|
-
): Promise<ListFunctionEventInvokeConfigsCommandOutput> | void {
|
|
1506
|
-
const command = new ListFunctionEventInvokeConfigsCommand(args);
|
|
1507
|
-
if (typeof optionsOrCb === "function") {
|
|
1508
|
-
this.send(command, optionsOrCb);
|
|
1509
|
-
} else if (typeof cb === "function") {
|
|
1510
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1511
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1512
|
-
} else {
|
|
1513
|
-
return this.send(command, optionsOrCb);
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50
|
|
1519
|
-
* functions per call.</p>
|
|
1520
|
-
* <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published versions of each function in
|
|
1521
|
-
* addition to the unpublished version. </p>
|
|
1522
|
-
* <note>
|
|
1523
|
-
* <p>The <code>ListFunctions</code> action returns a subset of the <a>FunctionConfiguration</a> fields.
|
|
1524
|
-
* To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode)
|
|
1525
|
-
* for a function or version, use <a>GetFunction</a>.</p>
|
|
1526
|
-
* </note>
|
|
1527
|
-
*/
|
|
1528
|
-
public listFunctions(
|
|
1529
|
-
args: ListFunctionsCommandInput,
|
|
1530
|
-
options?: __HttpHandlerOptions
|
|
1531
|
-
): Promise<ListFunctionsCommandOutput>;
|
|
1532
|
-
public listFunctions(
|
|
1533
|
-
args: ListFunctionsCommandInput,
|
|
1534
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
1535
|
-
): void;
|
|
1536
|
-
public listFunctions(
|
|
1537
|
-
args: ListFunctionsCommandInput,
|
|
1538
|
-
options: __HttpHandlerOptions,
|
|
1539
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
1540
|
-
): void;
|
|
1541
|
-
public listFunctions(
|
|
1542
|
-
args: ListFunctionsCommandInput,
|
|
1543
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFunctionsCommandOutput) => void),
|
|
1544
|
-
cb?: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
1545
|
-
): Promise<ListFunctionsCommandOutput> | void {
|
|
1546
|
-
const command = new ListFunctionsCommand(args);
|
|
1547
|
-
if (typeof optionsOrCb === "function") {
|
|
1548
|
-
this.send(command, optionsOrCb);
|
|
1549
|
-
} else if (typeof cb === "function") {
|
|
1550
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1551
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1552
|
-
} else {
|
|
1553
|
-
return this.send(command, optionsOrCb);
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* <p>List the functions that use the specified code signing configuration. You can use this method prior to deleting a
|
|
1559
|
-
* code signing configuration, to verify that no functions are using it.</p>
|
|
1560
|
-
*/
|
|
1561
|
-
public listFunctionsByCodeSigningConfig(
|
|
1562
|
-
args: ListFunctionsByCodeSigningConfigCommandInput,
|
|
1563
|
-
options?: __HttpHandlerOptions
|
|
1564
|
-
): Promise<ListFunctionsByCodeSigningConfigCommandOutput>;
|
|
1565
|
-
public listFunctionsByCodeSigningConfig(
|
|
1566
|
-
args: ListFunctionsByCodeSigningConfigCommandInput,
|
|
1567
|
-
cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void
|
|
1568
|
-
): void;
|
|
1569
|
-
public listFunctionsByCodeSigningConfig(
|
|
1570
|
-
args: ListFunctionsByCodeSigningConfigCommandInput,
|
|
1571
|
-
options: __HttpHandlerOptions,
|
|
1572
|
-
cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void
|
|
1573
|
-
): void;
|
|
1574
|
-
public listFunctionsByCodeSigningConfig(
|
|
1575
|
-
args: ListFunctionsByCodeSigningConfigCommandInput,
|
|
1576
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void),
|
|
1577
|
-
cb?: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void
|
|
1578
|
-
): Promise<ListFunctionsByCodeSigningConfigCommandOutput> | void {
|
|
1579
|
-
const command = new ListFunctionsByCodeSigningConfigCommand(args);
|
|
1580
|
-
if (typeof optionsOrCb === "function") {
|
|
1581
|
-
this.send(command, optionsOrCb);
|
|
1582
|
-
} else if (typeof cb === "function") {
|
|
1583
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1585
|
-
} else {
|
|
1586
|
-
return this.send(command, optionsOrCb);
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
/**
|
|
1591
|
-
* <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1592
|
-
* layers</a> and shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only layers
|
|
1593
|
-
* that indicate that they're compatible with that runtime.</p>
|
|
1594
|
-
*/
|
|
1595
|
-
public listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Promise<ListLayersCommandOutput>;
|
|
1596
|
-
public listLayers(args: ListLayersCommandInput, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
|
|
1597
|
-
public listLayers(
|
|
1598
|
-
args: ListLayersCommandInput,
|
|
1599
|
-
options: __HttpHandlerOptions,
|
|
1600
|
-
cb: (err: any, data?: ListLayersCommandOutput) => void
|
|
1601
|
-
): void;
|
|
1602
|
-
public listLayers(
|
|
1603
|
-
args: ListLayersCommandInput,
|
|
1604
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLayersCommandOutput) => void),
|
|
1605
|
-
cb?: (err: any, data?: ListLayersCommandOutput) => void
|
|
1606
|
-
): Promise<ListLayersCommandOutput> | void {
|
|
1607
|
-
const command = new ListLayersCommand(args);
|
|
1608
|
-
if (typeof optionsOrCb === "function") {
|
|
1609
|
-
this.send(command, optionsOrCb);
|
|
1610
|
-
} else if (typeof cb === "function") {
|
|
1611
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1612
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1613
|
-
} else {
|
|
1614
|
-
return this.send(command, optionsOrCb);
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* <p>Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1620
|
-
* layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime identifier</a> to list only
|
|
1621
|
-
* versions that indicate that they're compatible with that runtime.</p>
|
|
1622
|
-
*/
|
|
1623
|
-
public listLayerVersions(
|
|
1624
|
-
args: ListLayerVersionsCommandInput,
|
|
1625
|
-
options?: __HttpHandlerOptions
|
|
1626
|
-
): Promise<ListLayerVersionsCommandOutput>;
|
|
1627
|
-
public listLayerVersions(
|
|
1628
|
-
args: ListLayerVersionsCommandInput,
|
|
1629
|
-
cb: (err: any, data?: ListLayerVersionsCommandOutput) => void
|
|
1630
|
-
): void;
|
|
1631
|
-
public listLayerVersions(
|
|
1632
|
-
args: ListLayerVersionsCommandInput,
|
|
1633
|
-
options: __HttpHandlerOptions,
|
|
1634
|
-
cb: (err: any, data?: ListLayerVersionsCommandOutput) => void
|
|
1635
|
-
): void;
|
|
1636
|
-
public listLayerVersions(
|
|
1637
|
-
args: ListLayerVersionsCommandInput,
|
|
1638
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLayerVersionsCommandOutput) => void),
|
|
1639
|
-
cb?: (err: any, data?: ListLayerVersionsCommandOutput) => void
|
|
1640
|
-
): Promise<ListLayerVersionsCommandOutput> | void {
|
|
1641
|
-
const command = new ListLayerVersionsCommand(args);
|
|
1642
|
-
if (typeof optionsOrCb === "function") {
|
|
1643
|
-
this.send(command, optionsOrCb);
|
|
1644
|
-
} else if (typeof cb === "function") {
|
|
1645
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1646
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1647
|
-
} else {
|
|
1648
|
-
return this.send(command, optionsOrCb);
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* <p>Retrieves a list of provisioned concurrency configurations for a function.</p>
|
|
1654
|
-
*/
|
|
1655
|
-
public listProvisionedConcurrencyConfigs(
|
|
1656
|
-
args: ListProvisionedConcurrencyConfigsCommandInput,
|
|
1657
|
-
options?: __HttpHandlerOptions
|
|
1658
|
-
): Promise<ListProvisionedConcurrencyConfigsCommandOutput>;
|
|
1659
|
-
public listProvisionedConcurrencyConfigs(
|
|
1660
|
-
args: ListProvisionedConcurrencyConfigsCommandInput,
|
|
1661
|
-
cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void
|
|
1662
|
-
): void;
|
|
1663
|
-
public listProvisionedConcurrencyConfigs(
|
|
1664
|
-
args: ListProvisionedConcurrencyConfigsCommandInput,
|
|
1665
|
-
options: __HttpHandlerOptions,
|
|
1666
|
-
cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void
|
|
1667
|
-
): void;
|
|
1668
|
-
public listProvisionedConcurrencyConfigs(
|
|
1669
|
-
args: ListProvisionedConcurrencyConfigsCommandInput,
|
|
1670
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void),
|
|
1671
|
-
cb?: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void
|
|
1672
|
-
): Promise<ListProvisionedConcurrencyConfigsCommandOutput> | void {
|
|
1673
|
-
const command = new ListProvisionedConcurrencyConfigsCommand(args);
|
|
1674
|
-
if (typeof optionsOrCb === "function") {
|
|
1675
|
-
this.send(command, optionsOrCb);
|
|
1676
|
-
} else if (typeof cb === "function") {
|
|
1677
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1678
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1679
|
-
} else {
|
|
1680
|
-
return this.send(command, optionsOrCb);
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* <p>Returns a function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
|
|
1686
|
-
* also view tags with <a>GetFunction</a>.</p>
|
|
1687
|
-
*/
|
|
1688
|
-
public listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
1689
|
-
public listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
1690
|
-
public listTags(
|
|
1691
|
-
args: ListTagsCommandInput,
|
|
1692
|
-
options: __HttpHandlerOptions,
|
|
1693
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
1694
|
-
): void;
|
|
1695
|
-
public listTags(
|
|
1696
|
-
args: ListTagsCommandInput,
|
|
1697
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsCommandOutput) => void),
|
|
1698
|
-
cb?: (err: any, data?: ListTagsCommandOutput) => void
|
|
1699
|
-
): Promise<ListTagsCommandOutput> | void {
|
|
1700
|
-
const command = new ListTagsCommand(args);
|
|
1701
|
-
if (typeof optionsOrCb === "function") {
|
|
1702
|
-
this.send(command, optionsOrCb);
|
|
1703
|
-
} else if (typeof cb === "function") {
|
|
1704
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1705
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1706
|
-
} else {
|
|
1707
|
-
return this.send(command, optionsOrCb);
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
/**
|
|
1712
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
|
|
1713
|
-
* with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
|
|
1714
|
-
*/
|
|
1715
|
-
public listVersionsByFunction(
|
|
1716
|
-
args: ListVersionsByFunctionCommandInput,
|
|
1717
|
-
options?: __HttpHandlerOptions
|
|
1718
|
-
): Promise<ListVersionsByFunctionCommandOutput>;
|
|
1719
|
-
public listVersionsByFunction(
|
|
1720
|
-
args: ListVersionsByFunctionCommandInput,
|
|
1721
|
-
cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void
|
|
1722
|
-
): void;
|
|
1723
|
-
public listVersionsByFunction(
|
|
1724
|
-
args: ListVersionsByFunctionCommandInput,
|
|
1725
|
-
options: __HttpHandlerOptions,
|
|
1726
|
-
cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void
|
|
1727
|
-
): void;
|
|
1728
|
-
public listVersionsByFunction(
|
|
1729
|
-
args: ListVersionsByFunctionCommandInput,
|
|
1730
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVersionsByFunctionCommandOutput) => void),
|
|
1731
|
-
cb?: (err: any, data?: ListVersionsByFunctionCommandOutput) => void
|
|
1732
|
-
): Promise<ListVersionsByFunctionCommandOutput> | void {
|
|
1733
|
-
const command = new ListVersionsByFunctionCommand(args);
|
|
1734
|
-
if (typeof optionsOrCb === "function") {
|
|
1735
|
-
this.send(command, optionsOrCb);
|
|
1736
|
-
} else if (typeof cb === "function") {
|
|
1737
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1738
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1739
|
-
} else {
|
|
1740
|
-
return this.send(command, optionsOrCb);
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1746
|
-
* layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same
|
|
1747
|
-
* layer name, a new version is created.</p>
|
|
1748
|
-
* <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
|
|
1749
|
-
*/
|
|
1750
|
-
public publishLayerVersion(
|
|
1751
|
-
args: PublishLayerVersionCommandInput,
|
|
1752
|
-
options?: __HttpHandlerOptions
|
|
1753
|
-
): Promise<PublishLayerVersionCommandOutput>;
|
|
1754
|
-
public publishLayerVersion(
|
|
1755
|
-
args: PublishLayerVersionCommandInput,
|
|
1756
|
-
cb: (err: any, data?: PublishLayerVersionCommandOutput) => void
|
|
1757
|
-
): void;
|
|
1758
|
-
public publishLayerVersion(
|
|
1759
|
-
args: PublishLayerVersionCommandInput,
|
|
1760
|
-
options: __HttpHandlerOptions,
|
|
1761
|
-
cb: (err: any, data?: PublishLayerVersionCommandOutput) => void
|
|
1762
|
-
): void;
|
|
1763
|
-
public publishLayerVersion(
|
|
1764
|
-
args: PublishLayerVersionCommandInput,
|
|
1765
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishLayerVersionCommandOutput) => void),
|
|
1766
|
-
cb?: (err: any, data?: PublishLayerVersionCommandOutput) => void
|
|
1767
|
-
): Promise<PublishLayerVersionCommandOutput> | void {
|
|
1768
|
-
const command = new PublishLayerVersionCommand(args);
|
|
1769
|
-
if (typeof optionsOrCb === "function") {
|
|
1770
|
-
this.send(command, optionsOrCb);
|
|
1771
|
-
} else if (typeof cb === "function") {
|
|
1772
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1773
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1774
|
-
} else {
|
|
1775
|
-
return this.send(command, optionsOrCb);
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
/**
|
|
1780
|
-
* <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
|
|
1781
|
-
* current code and configuration of a function. Use versions to create a snapshot of your function code and
|
|
1782
|
-
* configuration that doesn't change.</p>
|
|
1783
|
-
*
|
|
1784
|
-
* <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
|
|
1785
|
-
* version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
|
|
1786
|
-
* function before publishing a version.</p>
|
|
1787
|
-
*
|
|
1788
|
-
* <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
|
|
1789
|
-
*/
|
|
1790
|
-
public publishVersion(
|
|
1791
|
-
args: PublishVersionCommandInput,
|
|
1792
|
-
options?: __HttpHandlerOptions
|
|
1793
|
-
): Promise<PublishVersionCommandOutput>;
|
|
1794
|
-
public publishVersion(
|
|
1795
|
-
args: PublishVersionCommandInput,
|
|
1796
|
-
cb: (err: any, data?: PublishVersionCommandOutput) => void
|
|
1797
|
-
): void;
|
|
1798
|
-
public publishVersion(
|
|
1799
|
-
args: PublishVersionCommandInput,
|
|
1800
|
-
options: __HttpHandlerOptions,
|
|
1801
|
-
cb: (err: any, data?: PublishVersionCommandOutput) => void
|
|
1802
|
-
): void;
|
|
1803
|
-
public publishVersion(
|
|
1804
|
-
args: PublishVersionCommandInput,
|
|
1805
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishVersionCommandOutput) => void),
|
|
1806
|
-
cb?: (err: any, data?: PublishVersionCommandOutput) => void
|
|
1807
|
-
): Promise<PublishVersionCommandOutput> | void {
|
|
1808
|
-
const command = new PublishVersionCommand(args);
|
|
1809
|
-
if (typeof optionsOrCb === "function") {
|
|
1810
|
-
this.send(command, optionsOrCb);
|
|
1811
|
-
} else if (typeof cb === "function") {
|
|
1812
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1813
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1814
|
-
} else {
|
|
1815
|
-
return this.send(command, optionsOrCb);
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
/**
|
|
1820
|
-
* <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the
|
|
1821
|
-
* next time a user tries to deploy a code package to the function. </p>
|
|
1822
|
-
*/
|
|
1823
|
-
public putFunctionCodeSigningConfig(
|
|
1824
|
-
args: PutFunctionCodeSigningConfigCommandInput,
|
|
1825
|
-
options?: __HttpHandlerOptions
|
|
1826
|
-
): Promise<PutFunctionCodeSigningConfigCommandOutput>;
|
|
1827
|
-
public putFunctionCodeSigningConfig(
|
|
1828
|
-
args: PutFunctionCodeSigningConfigCommandInput,
|
|
1829
|
-
cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void
|
|
1830
|
-
): void;
|
|
1831
|
-
public putFunctionCodeSigningConfig(
|
|
1832
|
-
args: PutFunctionCodeSigningConfigCommandInput,
|
|
1833
|
-
options: __HttpHandlerOptions,
|
|
1834
|
-
cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void
|
|
1835
|
-
): void;
|
|
1836
|
-
public putFunctionCodeSigningConfig(
|
|
1837
|
-
args: PutFunctionCodeSigningConfigCommandInput,
|
|
1838
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void),
|
|
1839
|
-
cb?: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void
|
|
1840
|
-
): Promise<PutFunctionCodeSigningConfigCommandOutput> | void {
|
|
1841
|
-
const command = new PutFunctionCodeSigningConfigCommand(args);
|
|
1842
|
-
if (typeof optionsOrCb === "function") {
|
|
1843
|
-
this.send(command, optionsOrCb);
|
|
1844
|
-
} else if (typeof cb === "function") {
|
|
1845
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1846
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1847
|
-
} else {
|
|
1848
|
-
return this.send(command, optionsOrCb);
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
/**
|
|
1853
|
-
* <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency
|
|
1854
|
-
* level.</p>
|
|
1855
|
-
* <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished
|
|
1856
|
-
* version. Reserving concurrency both ensures that your function has capacity to process the specified number of
|
|
1857
|
-
* events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see
|
|
1858
|
-
* the current setting for a function.</p>
|
|
1859
|
-
* <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency
|
|
1860
|
-
* for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for
|
|
1861
|
-
* functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing Concurrency</a>.</p>
|
|
1862
|
-
*/
|
|
1863
|
-
public putFunctionConcurrency(
|
|
1864
|
-
args: PutFunctionConcurrencyCommandInput,
|
|
1865
|
-
options?: __HttpHandlerOptions
|
|
1866
|
-
): Promise<PutFunctionConcurrencyCommandOutput>;
|
|
1867
|
-
public putFunctionConcurrency(
|
|
1868
|
-
args: PutFunctionConcurrencyCommandInput,
|
|
1869
|
-
cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void
|
|
1870
|
-
): void;
|
|
1871
|
-
public putFunctionConcurrency(
|
|
1872
|
-
args: PutFunctionConcurrencyCommandInput,
|
|
1873
|
-
options: __HttpHandlerOptions,
|
|
1874
|
-
cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void
|
|
1875
|
-
): void;
|
|
1876
|
-
public putFunctionConcurrency(
|
|
1877
|
-
args: PutFunctionConcurrencyCommandInput,
|
|
1878
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutFunctionConcurrencyCommandOutput) => void),
|
|
1879
|
-
cb?: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void
|
|
1880
|
-
): Promise<PutFunctionConcurrencyCommandOutput> | void {
|
|
1881
|
-
const command = new PutFunctionConcurrencyCommand(args);
|
|
1882
|
-
if (typeof optionsOrCb === "function") {
|
|
1883
|
-
this.send(command, optionsOrCb);
|
|
1884
|
-
} else if (typeof cb === "function") {
|
|
1885
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1886
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1887
|
-
} else {
|
|
1888
|
-
return this.send(command, optionsOrCb);
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1892
|
-
/**
|
|
1893
|
-
* <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous
|
|
1894
|
-
* invocation</a> on a function, version, or alias. If a configuration already exists for a function, version,
|
|
1895
|
-
* or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without
|
|
1896
|
-
* affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p>
|
|
1897
|
-
* <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains
|
|
1898
|
-
* events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
|
|
1899
|
-
* invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
|
|
1900
|
-
* <a>UpdateFunctionConfiguration</a>.</p>
|
|
1901
|
-
* <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
|
|
1902
|
-
* that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
|
|
1903
|
-
* dead-letter queue.</p>
|
|
1904
|
-
*/
|
|
1905
|
-
public putFunctionEventInvokeConfig(
|
|
1906
|
-
args: PutFunctionEventInvokeConfigCommandInput,
|
|
1907
|
-
options?: __HttpHandlerOptions
|
|
1908
|
-
): Promise<PutFunctionEventInvokeConfigCommandOutput>;
|
|
1909
|
-
public putFunctionEventInvokeConfig(
|
|
1910
|
-
args: PutFunctionEventInvokeConfigCommandInput,
|
|
1911
|
-
cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void
|
|
1912
|
-
): void;
|
|
1913
|
-
public putFunctionEventInvokeConfig(
|
|
1914
|
-
args: PutFunctionEventInvokeConfigCommandInput,
|
|
1915
|
-
options: __HttpHandlerOptions,
|
|
1916
|
-
cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void
|
|
1917
|
-
): void;
|
|
1918
|
-
public putFunctionEventInvokeConfig(
|
|
1919
|
-
args: PutFunctionEventInvokeConfigCommandInput,
|
|
1920
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void),
|
|
1921
|
-
cb?: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void
|
|
1922
|
-
): Promise<PutFunctionEventInvokeConfigCommandOutput> | void {
|
|
1923
|
-
const command = new PutFunctionEventInvokeConfigCommand(args);
|
|
1924
|
-
if (typeof optionsOrCb === "function") {
|
|
1925
|
-
this.send(command, optionsOrCb);
|
|
1926
|
-
} else if (typeof cb === "function") {
|
|
1927
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1928
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1929
|
-
} else {
|
|
1930
|
-
return this.send(command, optionsOrCb);
|
|
1931
|
-
}
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* <p>Adds a provisioned concurrency configuration to a function's alias or version.</p>
|
|
1936
|
-
*/
|
|
1937
|
-
public putProvisionedConcurrencyConfig(
|
|
1938
|
-
args: PutProvisionedConcurrencyConfigCommandInput,
|
|
1939
|
-
options?: __HttpHandlerOptions
|
|
1940
|
-
): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
1941
|
-
public putProvisionedConcurrencyConfig(
|
|
1942
|
-
args: PutProvisionedConcurrencyConfigCommandInput,
|
|
1943
|
-
cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
|
|
1944
|
-
): void;
|
|
1945
|
-
public putProvisionedConcurrencyConfig(
|
|
1946
|
-
args: PutProvisionedConcurrencyConfigCommandInput,
|
|
1947
|
-
options: __HttpHandlerOptions,
|
|
1948
|
-
cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
|
|
1949
|
-
): void;
|
|
1950
|
-
public putProvisionedConcurrencyConfig(
|
|
1951
|
-
args: PutProvisionedConcurrencyConfigCommandInput,
|
|
1952
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void),
|
|
1953
|
-
cb?: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
|
|
1954
|
-
): Promise<PutProvisionedConcurrencyConfigCommandOutput> | void {
|
|
1955
|
-
const command = new PutProvisionedConcurrencyConfigCommand(args);
|
|
1956
|
-
if (typeof optionsOrCb === "function") {
|
|
1957
|
-
this.send(command, optionsOrCb);
|
|
1958
|
-
} else if (typeof cb === "function") {
|
|
1959
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1960
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1961
|
-
} else {
|
|
1962
|
-
return this.send(command, optionsOrCb);
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
/**
|
|
1967
|
-
* <p>Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
1968
|
-
* layer</a>. For more information, see
|
|
1969
|
-
* <a>AddLayerVersionPermission</a>.</p>
|
|
1970
|
-
*/
|
|
1971
|
-
public removeLayerVersionPermission(
|
|
1972
|
-
args: RemoveLayerVersionPermissionCommandInput,
|
|
1973
|
-
options?: __HttpHandlerOptions
|
|
1974
|
-
): Promise<RemoveLayerVersionPermissionCommandOutput>;
|
|
1975
|
-
public removeLayerVersionPermission(
|
|
1976
|
-
args: RemoveLayerVersionPermissionCommandInput,
|
|
1977
|
-
cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void
|
|
1978
|
-
): void;
|
|
1979
|
-
public removeLayerVersionPermission(
|
|
1980
|
-
args: RemoveLayerVersionPermissionCommandInput,
|
|
1981
|
-
options: __HttpHandlerOptions,
|
|
1982
|
-
cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void
|
|
1983
|
-
): void;
|
|
1984
|
-
public removeLayerVersionPermission(
|
|
1985
|
-
args: RemoveLayerVersionPermissionCommandInput,
|
|
1986
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void),
|
|
1987
|
-
cb?: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void
|
|
1988
|
-
): Promise<RemoveLayerVersionPermissionCommandOutput> | void {
|
|
1989
|
-
const command = new RemoveLayerVersionPermissionCommand(args);
|
|
1990
|
-
if (typeof optionsOrCb === "function") {
|
|
1991
|
-
this.send(command, optionsOrCb);
|
|
1992
|
-
} else if (typeof cb === "function") {
|
|
1993
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1994
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1995
|
-
} else {
|
|
1996
|
-
return this.send(command, optionsOrCb);
|
|
1997
|
-
}
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2000
|
-
/**
|
|
2001
|
-
* <p>Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement
|
|
2002
|
-
* from the output of <a>GetPolicy</a>.</p>
|
|
2003
|
-
*/
|
|
2004
|
-
public removePermission(
|
|
2005
|
-
args: RemovePermissionCommandInput,
|
|
2006
|
-
options?: __HttpHandlerOptions
|
|
2007
|
-
): Promise<RemovePermissionCommandOutput>;
|
|
2008
|
-
public removePermission(
|
|
2009
|
-
args: RemovePermissionCommandInput,
|
|
2010
|
-
cb: (err: any, data?: RemovePermissionCommandOutput) => void
|
|
2011
|
-
): void;
|
|
2012
|
-
public removePermission(
|
|
2013
|
-
args: RemovePermissionCommandInput,
|
|
2014
|
-
options: __HttpHandlerOptions,
|
|
2015
|
-
cb: (err: any, data?: RemovePermissionCommandOutput) => void
|
|
2016
|
-
): void;
|
|
2017
|
-
public removePermission(
|
|
2018
|
-
args: RemovePermissionCommandInput,
|
|
2019
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemovePermissionCommandOutput) => void),
|
|
2020
|
-
cb?: (err: any, data?: RemovePermissionCommandOutput) => void
|
|
2021
|
-
): Promise<RemovePermissionCommandOutput> | void {
|
|
2022
|
-
const command = new RemovePermissionCommand(args);
|
|
2023
|
-
if (typeof optionsOrCb === "function") {
|
|
2024
|
-
this.send(command, optionsOrCb);
|
|
2025
|
-
} else if (typeof cb === "function") {
|
|
2026
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2027
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2028
|
-
} else {
|
|
2029
|
-
return this.send(command, optionsOrCb);
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
/**
|
|
2034
|
-
* <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function.</p>
|
|
2035
|
-
*/
|
|
2036
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
2037
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
2038
|
-
public tagResource(
|
|
2039
|
-
args: TagResourceCommandInput,
|
|
2040
|
-
options: __HttpHandlerOptions,
|
|
2041
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
2042
|
-
): void;
|
|
2043
|
-
public tagResource(
|
|
2044
|
-
args: TagResourceCommandInput,
|
|
2045
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
2046
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
2047
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
2048
|
-
const command = new TagResourceCommand(args);
|
|
2049
|
-
if (typeof optionsOrCb === "function") {
|
|
2050
|
-
this.send(command, optionsOrCb);
|
|
2051
|
-
} else if (typeof cb === "function") {
|
|
2052
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2053
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2054
|
-
} else {
|
|
2055
|
-
return this.send(command, optionsOrCb);
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* <p>Removes <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> from a function.</p>
|
|
2061
|
-
*/
|
|
2062
|
-
public untagResource(
|
|
2063
|
-
args: UntagResourceCommandInput,
|
|
2064
|
-
options?: __HttpHandlerOptions
|
|
2065
|
-
): Promise<UntagResourceCommandOutput>;
|
|
2066
|
-
public untagResource(
|
|
2067
|
-
args: UntagResourceCommandInput,
|
|
2068
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
2069
|
-
): void;
|
|
2070
|
-
public untagResource(
|
|
2071
|
-
args: UntagResourceCommandInput,
|
|
2072
|
-
options: __HttpHandlerOptions,
|
|
2073
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
2074
|
-
): void;
|
|
2075
|
-
public untagResource(
|
|
2076
|
-
args: UntagResourceCommandInput,
|
|
2077
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
2078
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
2079
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
2080
|
-
const command = new UntagResourceCommand(args);
|
|
2081
|
-
if (typeof optionsOrCb === "function") {
|
|
2082
|
-
this.send(command, optionsOrCb);
|
|
2083
|
-
} else if (typeof cb === "function") {
|
|
2084
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2085
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2086
|
-
} else {
|
|
2087
|
-
return this.send(command, optionsOrCb);
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
/**
|
|
2092
|
-
* <p>Updates the configuration of a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a>.</p>
|
|
2093
|
-
*/
|
|
2094
|
-
public updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
|
|
2095
|
-
public updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
|
|
2096
|
-
public updateAlias(
|
|
2097
|
-
args: UpdateAliasCommandInput,
|
|
2098
|
-
options: __HttpHandlerOptions,
|
|
2099
|
-
cb: (err: any, data?: UpdateAliasCommandOutput) => void
|
|
2100
|
-
): void;
|
|
2101
|
-
public updateAlias(
|
|
2102
|
-
args: UpdateAliasCommandInput,
|
|
2103
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAliasCommandOutput) => void),
|
|
2104
|
-
cb?: (err: any, data?: UpdateAliasCommandOutput) => void
|
|
2105
|
-
): Promise<UpdateAliasCommandOutput> | void {
|
|
2106
|
-
const command = new UpdateAliasCommand(args);
|
|
2107
|
-
if (typeof optionsOrCb === "function") {
|
|
2108
|
-
this.send(command, optionsOrCb);
|
|
2109
|
-
} else if (typeof cb === "function") {
|
|
2110
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2111
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2112
|
-
} else {
|
|
2113
|
-
return this.send(command, optionsOrCb);
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
/**
|
|
2118
|
-
* <p>Update the code signing configuration. Changes to the code signing configuration take effect the next time a
|
|
2119
|
-
* user tries to deploy a code package to the function. </p>
|
|
2120
|
-
*/
|
|
2121
|
-
public updateCodeSigningConfig(
|
|
2122
|
-
args: UpdateCodeSigningConfigCommandInput,
|
|
2123
|
-
options?: __HttpHandlerOptions
|
|
2124
|
-
): Promise<UpdateCodeSigningConfigCommandOutput>;
|
|
2125
|
-
public updateCodeSigningConfig(
|
|
2126
|
-
args: UpdateCodeSigningConfigCommandInput,
|
|
2127
|
-
cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void
|
|
2128
|
-
): void;
|
|
2129
|
-
public updateCodeSigningConfig(
|
|
2130
|
-
args: UpdateCodeSigningConfigCommandInput,
|
|
2131
|
-
options: __HttpHandlerOptions,
|
|
2132
|
-
cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void
|
|
2133
|
-
): void;
|
|
2134
|
-
public updateCodeSigningConfig(
|
|
2135
|
-
args: UpdateCodeSigningConfigCommandInput,
|
|
2136
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateCodeSigningConfigCommandOutput) => void),
|
|
2137
|
-
cb?: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void
|
|
2138
|
-
): Promise<UpdateCodeSigningConfigCommandOutput> | void {
|
|
2139
|
-
const command = new UpdateCodeSigningConfigCommand(args);
|
|
2140
|
-
if (typeof optionsOrCb === "function") {
|
|
2141
|
-
this.send(command, optionsOrCb);
|
|
2142
|
-
} else if (typeof cb === "function") {
|
|
2143
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2145
|
-
} else {
|
|
2146
|
-
return this.send(command, optionsOrCb);
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
/**
|
|
2151
|
-
* <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.</p>
|
|
2152
|
-
* <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
|
|
2153
|
-
* <ul>
|
|
2154
|
-
* <li>
|
|
2155
|
-
* <p>
|
|
2156
|
-
* <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
|
|
2157
|
-
* </li>
|
|
2158
|
-
* <li>
|
|
2159
|
-
* <p>
|
|
2160
|
-
* <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
2161
|
-
* </li>
|
|
2162
|
-
* <li>
|
|
2163
|
-
* <p>
|
|
2164
|
-
* <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
2165
|
-
* </li>
|
|
2166
|
-
* <li>
|
|
2167
|
-
* <p>
|
|
2168
|
-
* <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
2169
|
-
* </li>
|
|
2170
|
-
* <li>
|
|
2171
|
-
* <p>
|
|
2172
|
-
* <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
|
|
2173
|
-
* </li>
|
|
2174
|
-
* </ul>
|
|
2175
|
-
*/
|
|
2176
|
-
public updateEventSourceMapping(
|
|
2177
|
-
args: UpdateEventSourceMappingCommandInput,
|
|
2178
|
-
options?: __HttpHandlerOptions
|
|
2179
|
-
): Promise<UpdateEventSourceMappingCommandOutput>;
|
|
2180
|
-
public updateEventSourceMapping(
|
|
2181
|
-
args: UpdateEventSourceMappingCommandInput,
|
|
2182
|
-
cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void
|
|
2183
|
-
): void;
|
|
2184
|
-
public updateEventSourceMapping(
|
|
2185
|
-
args: UpdateEventSourceMappingCommandInput,
|
|
2186
|
-
options: __HttpHandlerOptions,
|
|
2187
|
-
cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void
|
|
2188
|
-
): void;
|
|
2189
|
-
public updateEventSourceMapping(
|
|
2190
|
-
args: UpdateEventSourceMappingCommandInput,
|
|
2191
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEventSourceMappingCommandOutput) => void),
|
|
2192
|
-
cb?: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void
|
|
2193
|
-
): Promise<UpdateEventSourceMappingCommandOutput> | void {
|
|
2194
|
-
const command = new UpdateEventSourceMappingCommand(args);
|
|
2195
|
-
if (typeof optionsOrCb === "function") {
|
|
2196
|
-
this.send(command, optionsOrCb);
|
|
2197
|
-
} else if (typeof cb === "function") {
|
|
2198
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2200
|
-
} else {
|
|
2201
|
-
return this.send(command, optionsOrCb);
|
|
2202
|
-
}
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
/**
|
|
2206
|
-
* <p>Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed
|
|
2207
|
-
* by a trusted publisher. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">Configuring code signing</a>.</p>
|
|
2208
|
-
*
|
|
2209
|
-
* <p>The function's code is locked when you publish a version. You can't modify the code of a published version,
|
|
2210
|
-
* only the unpublished version.</p>
|
|
2211
|
-
* <note>
|
|
2212
|
-
* <p>For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if
|
|
2213
|
-
* you update the image tag to a new image, Lambda does not automatically update the function.</p>
|
|
2214
|
-
* </note>
|
|
2215
|
-
*/
|
|
2216
|
-
public updateFunctionCode(
|
|
2217
|
-
args: UpdateFunctionCodeCommandInput,
|
|
2218
|
-
options?: __HttpHandlerOptions
|
|
2219
|
-
): Promise<UpdateFunctionCodeCommandOutput>;
|
|
2220
|
-
public updateFunctionCode(
|
|
2221
|
-
args: UpdateFunctionCodeCommandInput,
|
|
2222
|
-
cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void
|
|
2223
|
-
): void;
|
|
2224
|
-
public updateFunctionCode(
|
|
2225
|
-
args: UpdateFunctionCodeCommandInput,
|
|
2226
|
-
options: __HttpHandlerOptions,
|
|
2227
|
-
cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void
|
|
2228
|
-
): void;
|
|
2229
|
-
public updateFunctionCode(
|
|
2230
|
-
args: UpdateFunctionCodeCommandInput,
|
|
2231
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFunctionCodeCommandOutput) => void),
|
|
2232
|
-
cb?: (err: any, data?: UpdateFunctionCodeCommandOutput) => void
|
|
2233
|
-
): Promise<UpdateFunctionCodeCommandOutput> | void {
|
|
2234
|
-
const command = new UpdateFunctionCodeCommand(args);
|
|
2235
|
-
if (typeof optionsOrCb === "function") {
|
|
2236
|
-
this.send(command, optionsOrCb);
|
|
2237
|
-
} else if (typeof cb === "function") {
|
|
2238
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2239
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2240
|
-
} else {
|
|
2241
|
-
return this.send(command, optionsOrCb);
|
|
2242
|
-
}
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
/**
|
|
2246
|
-
* <p>Modify the version-specific settings of a Lambda function.</p>
|
|
2247
|
-
*
|
|
2248
|
-
* <p>When you update a function, Lambda provisions an instance of the function and its supporting resources. If
|
|
2249
|
-
* your function connects to a VPC, this process can take a minute. During this time, you can't modify the function,
|
|
2250
|
-
* but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>, and
|
|
2251
|
-
* <code>LastUpdateStatusReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a>
|
|
2252
|
-
* indicate when the update is complete and the function is processing events with the new configuration. For more
|
|
2253
|
-
* information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
|
|
2254
|
-
* States</a>.</p>
|
|
2255
|
-
*
|
|
2256
|
-
* <p>These settings can vary between versions of a function and are locked when you publish a version. You can't
|
|
2257
|
-
* modify the configuration of a published version, only the unpublished version.</p>
|
|
2258
|
-
*
|
|
2259
|
-
* <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
|
|
2260
|
-
* to an account or Amazon Web Services service, use <a>AddPermission</a>.</p>
|
|
2261
|
-
*/
|
|
2262
|
-
public updateFunctionConfiguration(
|
|
2263
|
-
args: UpdateFunctionConfigurationCommandInput,
|
|
2264
|
-
options?: __HttpHandlerOptions
|
|
2265
|
-
): Promise<UpdateFunctionConfigurationCommandOutput>;
|
|
2266
|
-
public updateFunctionConfiguration(
|
|
2267
|
-
args: UpdateFunctionConfigurationCommandInput,
|
|
2268
|
-
cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void
|
|
2269
|
-
): void;
|
|
2270
|
-
public updateFunctionConfiguration(
|
|
2271
|
-
args: UpdateFunctionConfigurationCommandInput,
|
|
2272
|
-
options: __HttpHandlerOptions,
|
|
2273
|
-
cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void
|
|
2274
|
-
): void;
|
|
2275
|
-
public updateFunctionConfiguration(
|
|
2276
|
-
args: UpdateFunctionConfigurationCommandInput,
|
|
2277
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFunctionConfigurationCommandOutput) => void),
|
|
2278
|
-
cb?: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void
|
|
2279
|
-
): Promise<UpdateFunctionConfigurationCommandOutput> | void {
|
|
2280
|
-
const command = new UpdateFunctionConfigurationCommand(args);
|
|
2281
|
-
if (typeof optionsOrCb === "function") {
|
|
2282
|
-
this.send(command, optionsOrCb);
|
|
2283
|
-
} else if (typeof cb === "function") {
|
|
2284
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2286
|
-
} else {
|
|
2287
|
-
return this.send(command, optionsOrCb);
|
|
2288
|
-
}
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
/**
|
|
2292
|
-
* <p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
2293
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>
|
|
2294
|
-
*/
|
|
2295
|
-
public updateFunctionEventInvokeConfig(
|
|
2296
|
-
args: UpdateFunctionEventInvokeConfigCommandInput,
|
|
2297
|
-
options?: __HttpHandlerOptions
|
|
2298
|
-
): Promise<UpdateFunctionEventInvokeConfigCommandOutput>;
|
|
2299
|
-
public updateFunctionEventInvokeConfig(
|
|
2300
|
-
args: UpdateFunctionEventInvokeConfigCommandInput,
|
|
2301
|
-
cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void
|
|
2302
|
-
): void;
|
|
2303
|
-
public updateFunctionEventInvokeConfig(
|
|
2304
|
-
args: UpdateFunctionEventInvokeConfigCommandInput,
|
|
2305
|
-
options: __HttpHandlerOptions,
|
|
2306
|
-
cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void
|
|
2307
|
-
): void;
|
|
2308
|
-
public updateFunctionEventInvokeConfig(
|
|
2309
|
-
args: UpdateFunctionEventInvokeConfigCommandInput,
|
|
2310
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void),
|
|
2311
|
-
cb?: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void
|
|
2312
|
-
): Promise<UpdateFunctionEventInvokeConfigCommandOutput> | void {
|
|
2313
|
-
const command = new UpdateFunctionEventInvokeConfigCommand(args);
|
|
2314
|
-
if (typeof optionsOrCb === "function") {
|
|
2315
|
-
this.send(command, optionsOrCb);
|
|
2316
|
-
} else if (typeof cb === "function") {
|
|
2317
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2319
|
-
} else {
|
|
2320
|
-
return this.send(command, optionsOrCb);
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
}
|