@aws-sdk/client-lambda 3.35.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 +13 -0
- package/dist-cjs/Lambda.js +0 -1
- package/dist-cjs/LambdaClient.js +0 -1
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +0 -1
- package/dist-cjs/commands/AddPermissionCommand.js +0 -1
- package/dist-cjs/commands/CreateAliasCommand.js +0 -1
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteAliasCommand.js +0 -1
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-cjs/commands/GetAliasCommand.js +0 -1
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/InvokeAsyncCommand.js +0 -1
- package/dist-cjs/commands/InvokeCommand.js +0 -1
- package/dist-cjs/commands/ListAliasesCommand.js +0 -1
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
- package/dist-cjs/commands/ListLayerVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListLayersCommand.js +0 -1
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsCommand.js +0 -1
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +0 -1
- package/dist-cjs/commands/PublishLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/PublishVersionCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -1
- package/dist-cjs/commands/RemovePermissionCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAliasCommand.js +0 -1
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js +0 -1
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListLayersPaginator.js +0 -1
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForFunctionActive.js +0 -1
- package/dist-cjs/waiters/waitForFunctionExists.js +0 -1
- package/dist-cjs/waiters/waitForFunctionUpdated.js +0 -1
- package/dist-es/Lambda.js +0 -1
- package/dist-es/LambdaClient.js +0 -1
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +0 -1
- package/dist-es/commands/AddPermissionCommand.js +0 -1
- package/dist-es/commands/CreateAliasCommand.js +0 -1
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/CreateEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/CreateFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteAliasCommand.js +0 -1
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/DeleteLayerVersionCommand.js +0 -1
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-es/commands/GetAliasCommand.js +0 -1
- package/dist-es/commands/GetCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/GetEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/GetFunctionCommand.js +0 -1
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/GetFunctionConfigurationCommand.js +0 -1
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionByArnCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +0 -1
- package/dist-es/commands/GetPolicyCommand.js +0 -1
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/InvokeAsyncCommand.js +0 -1
- package/dist-es/commands/InvokeCommand.js +0 -1
- package/dist-es/commands/ListAliasesCommand.js +0 -1
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +0 -1
- package/dist-es/commands/ListEventSourceMappingsCommand.js +0 -1
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/ListFunctionsCommand.js +0 -1
- package/dist-es/commands/ListLayerVersionsCommand.js +0 -1
- package/dist-es/commands/ListLayersCommand.js +0 -1
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
- package/dist-es/commands/ListTagsCommand.js +0 -1
- package/dist-es/commands/ListVersionsByFunctionCommand.js +0 -1
- package/dist-es/commands/PublishLayerVersionCommand.js +0 -1
- package/dist-es/commands/PublishVersionCommand.js +0 -1
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +0 -1
- package/dist-es/commands/RemovePermissionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAliasCommand.js +0 -1
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionCodeCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAliasesPaginator.js +0 -1
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionsPaginator.js +0 -1
- package/dist-es/pagination/ListLayerVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListLayersPaginator.js +0 -1
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/waitForFunctionActive.js +0 -1
- package/dist-es/waiters/waitForFunctionExists.js +0 -1
- package/dist-es/waiters/waitForFunctionUpdated.js +0 -1
- package/package.json +34 -31
- package/dist-cjs/Lambda.js.map +0 -1
- package/dist-cjs/LambdaClient.js.map +0 -1
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/AddPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/GetAliasCommand.js.map +0 -1
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist-cjs/commands/InvokeCommand.js.map +0 -1
- package/dist-cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLayersCommand.js.map +0 -1
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/PublishVersionCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/RemovePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAliasCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListLayersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionActive.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionExists.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionUpdated.js.map +0 -1
- package/dist-es/Lambda.js.map +0 -1
- package/dist-es/LambdaClient.js.map +0 -1
- package/dist-es/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist-es/commands/AddPermissionCommand.js.map +0 -1
- package/dist-es/commands/CreateAliasCommand.js.map +0 -1
- package/dist-es/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-es/commands/GetAliasCommand.js.map +0 -1
- package/dist-es/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist-es/commands/InvokeCommand.js.map +0 -1
- package/dist-es/commands/ListAliasesCommand.js.map +0 -1
- package/dist-es/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-es/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListLayersCommand.js.map +0 -1
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsCommand.js.map +0 -1
- package/dist-es/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist-es/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/PublishVersionCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist-es/commands/RemovePermissionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAliasCommand.js.map +0 -1
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListLayersPaginator.js.map +0 -1
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForFunctionActive.js.map +0 -1
- package/dist-es/waiters/waitForFunctionExists.js.map +0 -1
- package/dist-es/waiters/waitForFunctionUpdated.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Lambda.ts +0 -2335
- package/src/LambdaClient.ts +0 -518
- package/src/commands/AddLayerVersionPermissionCommand.ts +0 -103
- package/src/commands/AddPermissionCommand.ts +0 -107
- package/src/commands/CreateAliasCommand.ts +0 -100
- package/src/commands/CreateCodeSigningConfigCommand.ts +0 -97
- package/src/commands/CreateEventSourceMappingCommand.ts +0 -159
- package/src/commands/CreateFunctionCommand.ts +0 -141
- package/src/commands/DeleteAliasCommand.ts +0 -95
- package/src/commands/DeleteCodeSigningConfigCommand.ts +0 -96
- package/src/commands/DeleteEventSourceMappingCommand.ts +0 -98
- package/src/commands/DeleteFunctionCodeSigningConfigCommand.ts +0 -101
- package/src/commands/DeleteFunctionCommand.ts +0 -100
- package/src/commands/DeleteFunctionConcurrencyCommand.ts +0 -98
- package/src/commands/DeleteFunctionEventInvokeConfigCommand.ts +0 -102
- package/src/commands/DeleteLayerVersionCommand.ts +0 -97
- package/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts +0 -101
- package/src/commands/GetAccountSettingsCommand.ts +0 -95
- package/src/commands/GetAliasCommand.ts +0 -91
- package/src/commands/GetCodeSigningConfigCommand.ts +0 -95
- package/src/commands/GetEventSourceMappingCommand.ts +0 -96
- package/src/commands/GetFunctionCodeSigningConfigCommand.ts +0 -100
- package/src/commands/GetFunctionCommand.ts +0 -97
- package/src/commands/GetFunctionConcurrencyCommand.ts +0 -96
- package/src/commands/GetFunctionConfigurationCommand.ts +0 -97
- package/src/commands/GetFunctionEventInvokeConfigCommand.ts +0 -99
- package/src/commands/GetLayerVersionByArnCommand.ts +0 -97
- package/src/commands/GetLayerVersionCommand.ts +0 -97
- package/src/commands/GetLayerVersionPolicyCommand.ts +0 -96
- package/src/commands/GetPolicyCommand.ts +0 -95
- package/src/commands/GetProvisionedConcurrencyConfigCommand.ts +0 -103
- package/src/commands/InvokeAsyncCommand.ts +0 -109
- package/src/commands/InvokeCommand.ts +0 -114
- package/src/commands/ListAliasesCommand.ts +0 -96
- package/src/commands/ListCodeSigningConfigsCommand.ts +0 -97
- package/src/commands/ListEventSourceMappingsCommand.ts +0 -96
- package/src/commands/ListFunctionEventInvokeConfigsCommand.ts +0 -104
- package/src/commands/ListFunctionsByCodeSigningConfigCommand.ts +0 -104
- package/src/commands/ListFunctionsCommand.ts +0 -103
- package/src/commands/ListLayerVersionsCommand.ts +0 -98
- package/src/commands/ListLayersCommand.ts +0 -100
- package/src/commands/ListProvisionedConcurrencyConfigsCommand.ts +0 -106
- package/src/commands/ListTagsCommand.ts +0 -92
- package/src/commands/ListVersionsByFunctionCommand.ts +0 -96
- package/src/commands/PublishLayerVersionCommand.ts +0 -98
- package/src/commands/PublishVersionCommand.ts +0 -103
- package/src/commands/PutFunctionCodeSigningConfigCommand.ts +0 -101
- package/src/commands/PutFunctionConcurrencyCommand.ts +0 -103
- package/src/commands/PutFunctionEventInvokeConfigCommand.ts +0 -108
- package/src/commands/PutProvisionedConcurrencyConfigCommand.ts +0 -103
- package/src/commands/RemoveLayerVersionPermissionCommand.ts +0 -100
- package/src/commands/RemovePermissionCommand.ts +0 -96
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateAliasCommand.ts +0 -95
- package/src/commands/UpdateCodeSigningConfigCommand.ts +0 -96
- package/src/commands/UpdateEventSourceMappingCommand.ts +0 -120
- package/src/commands/UpdateFunctionCodeCommand.ts +0 -103
- package/src/commands/UpdateFunctionConfigurationCommand.ts +0 -112
- package/src/commands/UpdateFunctionEventInvokeConfigCommand.ts +0 -102
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -75
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5703
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAliasesPaginator.ts +0 -55
- package/src/pagination/ListCodeSigningConfigsPaginator.ts +0 -59
- package/src/pagination/ListEventSourceMappingsPaginator.ts +0 -59
- package/src/pagination/ListFunctionEventInvokeConfigsPaginator.ts +0 -59
- package/src/pagination/ListFunctionsByCodeSigningConfigPaginator.ts +0 -59
- package/src/pagination/ListFunctionsPaginator.ts +0 -59
- package/src/pagination/ListLayerVersionsPaginator.ts +0 -59
- package/src/pagination/ListLayersPaginator.ts +0 -55
- package/src/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +0 -59
- package/src/pagination/ListVersionsByFunctionPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -10745
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForFunctionActive.ts +0 -66
- package/src/waiters/waitForFunctionExists.ts +0 -43
- package/src/waiters/waitForFunctionUpdated.ts +0 -66
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { ListLayersRequest, ListLayersResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListLayersCommand,
|
|
18
|
-
serializeAws_restJson1ListLayersCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListLayersCommandInput extends ListLayersRequest {}
|
|
22
|
-
export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda
|
|
26
|
-
* layers</a> and shows information about the latest version of each. Specify a
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime
|
|
28
|
-
* identifier</a> to list only layers that indicate that they're compatible with that
|
|
29
|
-
* runtime. Specify a compatible architecture to include only layers that are compatible with
|
|
30
|
-
* that <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architecture</a>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LambdaClient, ListLayersCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
-
* // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
-
* const client = new LambdaClient(config);
|
|
37
|
-
* const command = new ListLayersCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListLayersCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListLayersCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListLayersCommand extends $Command<
|
|
47
|
-
ListLayersCommandInput,
|
|
48
|
-
ListLayersCommandOutput,
|
|
49
|
-
LambdaClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListLayersCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LambdaClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListLayersCommandInput, ListLayersCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LambdaClient";
|
|
74
|
-
const commandName = "ListLayersCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListLayersRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListLayersResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: ListLayersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1ListLayersCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLayersCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1ListLayersCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import {
|
|
16
|
-
ListProvisionedConcurrencyConfigsRequest,
|
|
17
|
-
ListProvisionedConcurrencyConfigsResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand,
|
|
21
|
-
serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface ListProvisionedConcurrencyConfigsCommandInput extends ListProvisionedConcurrencyConfigsRequest {}
|
|
25
|
-
export interface ListProvisionedConcurrencyConfigsCommandOutput
|
|
26
|
-
extends ListProvisionedConcurrencyConfigsResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Retrieves a list of provisioned concurrency configurations for a function.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LambdaClient, ListProvisionedConcurrencyConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
-
* // const { LambdaClient, ListProvisionedConcurrencyConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
-
* const client = new LambdaClient(config);
|
|
37
|
-
* const command = new ListProvisionedConcurrencyConfigsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListProvisionedConcurrencyConfigsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListProvisionedConcurrencyConfigsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListProvisionedConcurrencyConfigsCommand extends $Command<
|
|
47
|
-
ListProvisionedConcurrencyConfigsCommandInput,
|
|
48
|
-
ListProvisionedConcurrencyConfigsCommandOutput,
|
|
49
|
-
LambdaClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListProvisionedConcurrencyConfigsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LambdaClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LambdaClient";
|
|
74
|
-
const commandName = "ListProvisionedConcurrencyConfigsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListProvisionedConcurrencyConfigsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListProvisionedConcurrencyConfigsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: ListProvisionedConcurrencyConfigsCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<ListProvisionedConcurrencyConfigsCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { ListTagsRequest, ListTagsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTagsCommand,
|
|
18
|
-
serializeAws_restJson1ListTagsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsCommandInput extends ListTagsRequest {}
|
|
22
|
-
export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. You can
|
|
26
|
-
* also view tags with <a>GetFunction</a>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LambdaClient, ListTagsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, ListTagsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new ListTagsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListTagsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListTagsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, LambdaClientResolvedConfig> {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
|
-
|
|
46
|
-
constructor(readonly input: ListTagsCommandInput) {
|
|
47
|
-
// Start section: command_constructor
|
|
48
|
-
super();
|
|
49
|
-
// End section: command_constructor
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
resolveMiddleware(
|
|
56
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
57
|
-
configuration: LambdaClientResolvedConfig,
|
|
58
|
-
options?: __HttpHandlerOptions
|
|
59
|
-
): Handler<ListTagsCommandInput, ListTagsCommandOutput> {
|
|
60
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
61
|
-
|
|
62
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
63
|
-
|
|
64
|
-
const { logger } = configuration;
|
|
65
|
-
const clientName = "LambdaClient";
|
|
66
|
-
const commandName = "ListTagsCommand";
|
|
67
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
68
|
-
logger,
|
|
69
|
-
clientName,
|
|
70
|
-
commandName,
|
|
71
|
-
inputFilterSensitiveLog: ListTagsRequest.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: ListTagsResponse.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
const { requestHandler } = configuration;
|
|
75
|
-
return stack.resolve(
|
|
76
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
77
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
78
|
-
handlerExecutionContext
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private serialize(input: ListTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
83
|
-
return serializeAws_restJson1ListTagsCommand(input, context);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsCommandOutput> {
|
|
87
|
-
return deserializeAws_restJson1ListTagsCommand(output, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Start section: command_body_extra
|
|
91
|
-
// End section: command_body_extra
|
|
92
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { ListVersionsByFunctionRequest, ListVersionsByFunctionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListVersionsByFunctionCommand,
|
|
18
|
-
serializeAws_restJson1ListVersionsByFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListVersionsByFunctionCommandInput extends ListVersionsByFunctionRequest {}
|
|
22
|
-
export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunctionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
|
|
26
|
-
* with the version-specific configuration of each. Lambda returns up to 50 versions per call.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LambdaClient, ListVersionsByFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, ListVersionsByFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new ListVersionsByFunctionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListVersionsByFunctionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListVersionsByFunctionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListVersionsByFunctionCommand extends $Command<
|
|
43
|
-
ListVersionsByFunctionCommandInput,
|
|
44
|
-
ListVersionsByFunctionCommandOutput,
|
|
45
|
-
LambdaClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListVersionsByFunctionCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LambdaClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LambdaClient";
|
|
70
|
-
const commandName = "ListVersionsByFunctionCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListVersionsByFunctionRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListVersionsByFunctionResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListVersionsByFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ListVersionsByFunctionCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListVersionsByFunctionCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ListVersionsByFunctionCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { PublishLayerVersionRequest, PublishLayerVersionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PublishLayerVersionCommand,
|
|
18
|
-
serializeAws_restJson1PublishLayerVersionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PublishLayerVersionCommandInput extends PublishLayerVersionRequest {}
|
|
22
|
-
export interface PublishLayerVersionCommandOutput extends PublishLayerVersionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
26
|
-
* layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same
|
|
27
|
-
* layer name, a new version is created.</p>
|
|
28
|
-
* <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LambdaClient, PublishLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
33
|
-
* // const { LambdaClient, PublishLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
34
|
-
* const client = new LambdaClient(config);
|
|
35
|
-
* const command = new PublishLayerVersionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link PublishLayerVersionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link PublishLayerVersionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class PublishLayerVersionCommand extends $Command<
|
|
45
|
-
PublishLayerVersionCommandInput,
|
|
46
|
-
PublishLayerVersionCommandOutput,
|
|
47
|
-
LambdaClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: PublishLayerVersionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LambdaClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LambdaClient";
|
|
72
|
-
const commandName = "PublishLayerVersionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: PublishLayerVersionRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: PublishLayerVersionResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: PublishLayerVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1PublishLayerVersionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PublishLayerVersionCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1PublishLayerVersionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { FunctionConfiguration, PublishVersionRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PublishVersionCommand,
|
|
18
|
-
serializeAws_restJson1PublishVersionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PublishVersionCommandInput extends PublishVersionRequest {}
|
|
22
|
-
export interface PublishVersionCommandOutput extends FunctionConfiguration, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the
|
|
26
|
-
* current code and configuration of a function. Use versions to create a snapshot of your function code and
|
|
27
|
-
* configuration that doesn't change.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last
|
|
30
|
-
* version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the
|
|
31
|
-
* function before publishing a version.</p>
|
|
32
|
-
*
|
|
33
|
-
* <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { LambdaClient, PublishVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
38
|
-
* // const { LambdaClient, PublishVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
39
|
-
* const client = new LambdaClient(config);
|
|
40
|
-
* const command = new PublishVersionCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link PublishVersionCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link PublishVersionCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class PublishVersionCommand extends $Command<
|
|
50
|
-
PublishVersionCommandInput,
|
|
51
|
-
PublishVersionCommandOutput,
|
|
52
|
-
LambdaClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: PublishVersionCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: LambdaClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<PublishVersionCommandInput, PublishVersionCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "LambdaClient";
|
|
77
|
-
const commandName = "PublishVersionCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: PublishVersionRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: FunctionConfiguration.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: PublishVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1PublishVersionCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PublishVersionCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1PublishVersionCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|