@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 { GetFunctionCodeSigningConfigRequest, GetFunctionCodeSigningConfigResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFunctionCodeSigningConfigCommand,
|
|
18
|
-
serializeAws_restJson1GetFunctionCodeSigningConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFunctionCodeSigningConfigCommandInput extends GetFunctionCodeSigningConfigRequest {}
|
|
22
|
-
export interface GetFunctionCodeSigningConfigCommandOutput
|
|
23
|
-
extends GetFunctionCodeSigningConfigResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Returns the code signing configuration for the specified function.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetFunctionCodeSigningConfigCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetFunctionCodeSigningConfigCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetFunctionCodeSigningConfigCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetFunctionCodeSigningConfigCommand extends $Command<
|
|
44
|
-
GetFunctionCodeSigningConfigCommandInput,
|
|
45
|
-
GetFunctionCodeSigningConfigCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetFunctionCodeSigningConfigCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetFunctionCodeSigningConfigCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetFunctionCodeSigningConfigRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetFunctionCodeSigningConfigResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetFunctionCodeSigningConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetFunctionCodeSigningConfigCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<GetFunctionCodeSigningConfigCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1GetFunctionCodeSigningConfigCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,97 +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 { GetFunctionRequest, GetFunctionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFunctionCommand,
|
|
18
|
-
serializeAws_restJson1GetFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFunctionCommandInput extends GetFunctionRequest {}
|
|
22
|
-
export interface GetFunctionCommandOutput extends GetFunctionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns information about the function or function version, with a link to download the deployment package
|
|
26
|
-
* that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
|
|
27
|
-
* returned.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetFunctionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetFunctionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetFunctionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetFunctionCommand extends $Command<
|
|
44
|
-
GetFunctionCommandInput,
|
|
45
|
-
GetFunctionCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetFunctionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetFunctionCommandInput, GetFunctionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetFunctionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetFunctionRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetFunctionResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetFunctionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFunctionCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetFunctionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -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 { GetFunctionConcurrencyRequest, GetFunctionConcurrencyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFunctionConcurrencyCommand,
|
|
18
|
-
serializeAws_restJson1GetFunctionConcurrencyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFunctionConcurrencyCommandInput extends GetFunctionConcurrencyRequest {}
|
|
22
|
-
export interface GetFunctionConcurrencyCommandOutput extends GetFunctionConcurrencyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a
|
|
26
|
-
* function, use <a>PutFunctionConcurrency</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, GetFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, GetFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new GetFunctionConcurrencyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetFunctionConcurrencyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetFunctionConcurrencyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetFunctionConcurrencyCommand extends $Command<
|
|
43
|
-
GetFunctionConcurrencyCommandInput,
|
|
44
|
-
GetFunctionConcurrencyCommandOutput,
|
|
45
|
-
LambdaClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetFunctionConcurrencyCommandInput) {
|
|
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<GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput> {
|
|
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 = "GetFunctionConcurrencyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: GetFunctionConcurrencyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: GetFunctionConcurrencyResponse.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: GetFunctionConcurrencyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1GetFunctionConcurrencyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFunctionConcurrencyCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1GetFunctionConcurrencyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +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, GetFunctionConfigurationRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFunctionConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1GetFunctionConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFunctionConfigurationCommandInput extends GetFunctionConfigurationRequest {}
|
|
22
|
-
export interface GetFunctionConfigurationCommandOutput extends FunctionConfiguration, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the version-specific settings of a Lambda function or version. The output includes only options that
|
|
26
|
-
* can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
|
|
27
|
-
* <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetFunctionConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetFunctionConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetFunctionConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetFunctionConfigurationCommand extends $Command<
|
|
44
|
-
GetFunctionConfigurationCommandInput,
|
|
45
|
-
GetFunctionConfigurationCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetFunctionConfigurationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetFunctionConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetFunctionConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: FunctionConfiguration.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetFunctionConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetFunctionConfigurationCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetFunctionConfigurationCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetFunctionConfigurationCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,99 +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 { FunctionEventInvokeConfig, GetFunctionEventInvokeConfigRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetFunctionEventInvokeConfigCommand,
|
|
18
|
-
serializeAws_restJson1GetFunctionEventInvokeConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetFunctionEventInvokeConfigCommandInput extends GetFunctionEventInvokeConfigRequest {}
|
|
22
|
-
export interface GetFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the configuration for asynchronous invocation for a function, version, or alias.</p>
|
|
26
|
-
* <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</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, GetFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, GetFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new GetFunctionEventInvokeConfigCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetFunctionEventInvokeConfigCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetFunctionEventInvokeConfigCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetFunctionEventInvokeConfigCommand extends $Command<
|
|
43
|
-
GetFunctionEventInvokeConfigCommandInput,
|
|
44
|
-
GetFunctionEventInvokeConfigCommandOutput,
|
|
45
|
-
LambdaClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetFunctionEventInvokeConfigCommandInput) {
|
|
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<GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput> {
|
|
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 = "GetFunctionEventInvokeConfigCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: GetFunctionEventInvokeConfigRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: FunctionEventInvokeConfig.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: GetFunctionEventInvokeConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1GetFunctionEventInvokeConfigCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<GetFunctionEventInvokeConfigCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1GetFunctionEventInvokeConfigCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,97 +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 { GetLayerVersionByArnRequest, GetLayerVersionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetLayerVersionByArnCommand,
|
|
18
|
-
serializeAws_restJson1GetLayerVersionByArnCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetLayerVersionByArnCommandInput extends GetLayerVersionByArnRequest {}
|
|
22
|
-
export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
26
|
-
* layer</a>, with a link to download the layer archive
|
|
27
|
-
* that's valid for 10 minutes.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetLayerVersionByArnCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetLayerVersionByArnCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetLayerVersionByArnCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetLayerVersionByArnCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetLayerVersionByArnCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetLayerVersionByArnCommand extends $Command<
|
|
44
|
-
GetLayerVersionByArnCommandInput,
|
|
45
|
-
GetLayerVersionByArnCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetLayerVersionByArnCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetLayerVersionByArnCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetLayerVersionByArnRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetLayerVersionResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetLayerVersionByArnCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetLayerVersionByArnCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLayerVersionByArnCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetLayerVersionByArnCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,97 +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 { GetLayerVersionRequest, GetLayerVersionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetLayerVersionCommand,
|
|
18
|
-
serializeAws_restJson1GetLayerVersionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetLayerVersionCommandInput extends GetLayerVersionRequest {}
|
|
22
|
-
export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
26
|
-
* layer</a>, with a link to download the layer archive
|
|
27
|
-
* that's valid for 10 minutes.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetLayerVersionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetLayerVersionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetLayerVersionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetLayerVersionCommand extends $Command<
|
|
44
|
-
GetLayerVersionCommandInput,
|
|
45
|
-
GetLayerVersionCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetLayerVersionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetLayerVersionCommandInput, GetLayerVersionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetLayerVersionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetLayerVersionRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetLayerVersionResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetLayerVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetLayerVersionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLayerVersionCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1GetLayerVersionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|