@depup/aws-sdk__client-lambda 3.1010.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +40 -0
- package/changes.json +46 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2089 -0
- package/dist-cjs/models/LambdaServiceException.js +12 -0
- package/dist-cjs/models/errors.js +730 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +55 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +2680 -0
- package/dist-es/Lambda.js +225 -0
- package/dist-es/LambdaClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/AddPermissionCommand.js +16 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/CreateAliasCommand.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/CreateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/CreateFunctionCommand.js +16 -0
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteAliasCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteLayerVersionCommand.js +16 -0
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +16 -0
- package/dist-es/commands/GetAliasCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/GetEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionCommand.js +16 -0
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/GetFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionByArnCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/InvokeAsyncCommand.js +16 -0
- package/dist-es/commands/InvokeCommand.js +16 -0
- package/dist-es/commands/InvokeWithResponseStreamCommand.js +20 -0
- package/dist-es/commands/ListAliasesCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/ListEventSourceMappingsCommand.js +16 -0
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/ListFunctionsCommand.js +16 -0
- package/dist-es/commands/ListLayerVersionsCommand.js +16 -0
- package/dist-es/commands/ListLayersCommand.js +16 -0
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +16 -0
- package/dist-es/commands/ListTagsCommand.js +16 -0
- package/dist-es/commands/ListVersionsByFunctionCommand.js +16 -0
- package/dist-es/commands/PublishLayerVersionCommand.js +16 -0
- package/dist-es/commands/PublishVersionCommand.js +16 -0
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/RemovePermissionCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAliasCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionCodeCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/index.js +85 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/LambdaServiceException.js +8 -0
- package/dist-es/models/enums.js +350 -0
- package/dist-es/models/errors.js +683 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayersPaginator.js +4 -0
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +17 -0
- package/dist-es/runtimeConfig.browser.js +35 -0
- package/dist-es/runtimeConfig.js +50 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +2670 -0
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForFunctionActive.js +49 -0
- package/dist-es/waiters/waitForFunctionActiveV2.js +49 -0
- package/dist-es/waiters/waitForFunctionExists.js +26 -0
- package/dist-es/waiters/waitForFunctionUpdated.js +49 -0
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +49 -0
- package/dist-es/waiters/waitForPublishedVersionActive.js +49 -0
- package/dist-types/Lambda.d.ts +760 -0
- package/dist-types/LambdaClient.d.ts +277 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +122 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +144 -0
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +128 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +104 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +336 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +379 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +128 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +99 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +84 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +228 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +90 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +104 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +100 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +102 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +85 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +93 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +102 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +111 -0
- package/dist-types/commands/GetAliasCommand.d.ts +116 -0
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +96 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +227 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +87 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +274 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +101 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +246 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +123 -0
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +86 -0
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +108 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +131 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +135 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +88 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +135 -0
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +89 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +109 -0
- package/dist-types/commands/InvokeCommand.d.ts +237 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +194 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +138 -0
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +97 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +234 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +132 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +114 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +88 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +266 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +139 -0
- package/dist-types/commands/ListLayersCommand.d.ts +135 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +131 -0
- package/dist-types/commands/ListTagsCommand.d.ts +106 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +282 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +160 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +258 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +106 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +135 -0
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +90 -0
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +116 -0
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +94 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +105 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +105 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +141 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +105 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +323 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +264 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +324 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +140 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +129 -0
- package/dist-types/commands/index.d.ts +85 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/LambdaServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +702 -0
- package/dist-types/models/errors.d.ts +668 -0
- package/dist-types/models/models_0.d.ts +5953 -0
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +17 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/Lambda.d.ts +1664 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +637 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +56 -0
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +85 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/LambdaServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +425 -0
- package/dist-types/ts3.4/models/errors.d.ts +409 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1499 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForFunctionActive.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionExists.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdated.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
- package/dist-types/waiters/waitForPublishedVersionActive.d.ts +14 -0
- package/package.json +164 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { RemovePermissionRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RemovePermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RemovePermissionCommandInput extends RemovePermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RemovePermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RemovePermissionCommand_base: {
|
|
25
|
+
new (input: RemovePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<RemovePermissionCommandInput, RemovePermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RemovePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<RemovePermissionCommandInput, RemovePermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You can get the ID of the statement from the output of <a>GetPolicy</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, RemovePermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, RemovePermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // RemovePermissionRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* StatementId: "STRING_VALUE", // required
|
|
42
|
+
* Qualifier: "STRING_VALUE",
|
|
43
|
+
* RevisionId: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RemovePermissionCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param RemovePermissionCommandInput - {@link RemovePermissionCommandInput}
|
|
52
|
+
* @returns {@link RemovePermissionCommandOutput}
|
|
53
|
+
* @see {@link RemovePermissionCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link RemovePermissionCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
61
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceException} (server fault)
|
|
67
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LambdaServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @example To remove a Lambda function's permissions
|
|
77
|
+
* ```javascript
|
|
78
|
+
* // The following example removes a permissions statement named xaccount from the PROD alias of a function named my-function.
|
|
79
|
+
* const input = {
|
|
80
|
+
* FunctionName: "my-function",
|
|
81
|
+
* Qualifier: "PROD",
|
|
82
|
+
* StatementId: "xaccount"
|
|
83
|
+
* };
|
|
84
|
+
* const command = new RemovePermissionCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* { /* metadata only *\/ }
|
|
88
|
+
* *\/
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class RemovePermissionCommand extends RemovePermissionCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: RemovePermissionRequest;
|
|
98
|
+
output: {};
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: RemovePermissionCommandInput;
|
|
102
|
+
output: RemovePermissionCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { SendDurableExecutionCallbackFailureRequest, SendDurableExecutionCallbackFailureResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendDurableExecutionCallbackFailureCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendDurableExecutionCallbackFailureCommandInput extends SendDurableExecutionCallbackFailureRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendDurableExecutionCallbackFailureCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendDurableExecutionCallbackFailureCommandOutput extends SendDurableExecutionCallbackFailureResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendDurableExecutionCallbackFailureCommand_base: {
|
|
25
|
+
new (input: SendDurableExecutionCallbackFailureCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendDurableExecutionCallbackFailureCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, SendDurableExecutionCallbackFailureCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, SendDurableExecutionCallbackFailureCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // SendDurableExecutionCallbackFailureRequest
|
|
40
|
+
* CallbackId: "STRING_VALUE", // required
|
|
41
|
+
* Error: { // ErrorObject
|
|
42
|
+
* ErrorMessage: "STRING_VALUE",
|
|
43
|
+
* ErrorType: "STRING_VALUE",
|
|
44
|
+
* ErrorData: "STRING_VALUE",
|
|
45
|
+
* StackTrace: [ // StackTraceEntries
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new SendDurableExecutionCallbackFailureCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param SendDurableExecutionCallbackFailureCommandInput - {@link SendDurableExecutionCallbackFailureCommandInput}
|
|
57
|
+
* @returns {@link SendDurableExecutionCallbackFailureCommandOutput}
|
|
58
|
+
* @see {@link SendDurableExecutionCallbackFailureCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link SendDurableExecutionCallbackFailureCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
63
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
66
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceException} (server fault)
|
|
69
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
72
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link LambdaServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class SendDurableExecutionCallbackFailureCommand extends SendDurableExecutionCallbackFailureCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: SendDurableExecutionCallbackFailureRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: SendDurableExecutionCallbackFailureCommandInput;
|
|
89
|
+
output: SendDurableExecutionCallbackFailureCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { SendDurableExecutionCallbackHeartbeatRequest, SendDurableExecutionCallbackHeartbeatResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendDurableExecutionCallbackHeartbeatCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendDurableExecutionCallbackHeartbeatCommandInput extends SendDurableExecutionCallbackHeartbeatRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendDurableExecutionCallbackHeartbeatCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendDurableExecutionCallbackHeartbeatCommandOutput extends SendDurableExecutionCallbackHeartbeatResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendDurableExecutionCallbackHeartbeatCommand_base: {
|
|
25
|
+
new (input: SendDurableExecutionCallbackHeartbeatCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendDurableExecutionCallbackHeartbeatCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, SendDurableExecutionCallbackHeartbeatCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, SendDurableExecutionCallbackHeartbeatCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // SendDurableExecutionCallbackHeartbeatRequest
|
|
40
|
+
* CallbackId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new SendDurableExecutionCallbackHeartbeatCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param SendDurableExecutionCallbackHeartbeatCommandInput - {@link SendDurableExecutionCallbackHeartbeatCommandInput}
|
|
49
|
+
* @returns {@link SendDurableExecutionCallbackHeartbeatCommandOutput}
|
|
50
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
55
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceException} (server fault)
|
|
61
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link LambdaServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class SendDurableExecutionCallbackHeartbeatCommand extends SendDurableExecutionCallbackHeartbeatCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: SendDurableExecutionCallbackHeartbeatRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: SendDurableExecutionCallbackHeartbeatCommandInput;
|
|
81
|
+
output: SendDurableExecutionCallbackHeartbeatCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { type SendDurableExecutionCallbackSuccessResponse, SendDurableExecutionCallbackSuccessRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type SendDurableExecutionCallbackSuccessCommandInputType = Omit<SendDurableExecutionCallbackSuccessRequest, "Result"> & {
|
|
14
|
+
Result?: BlobPayloadInputTypes;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The input for {@link SendDurableExecutionCallbackSuccessCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendDurableExecutionCallbackSuccessCommandInput extends SendDurableExecutionCallbackSuccessCommandInputType {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* The output of {@link SendDurableExecutionCallbackSuccessCommand}.
|
|
27
|
+
*/
|
|
28
|
+
export interface SendDurableExecutionCallbackSuccessCommandOutput extends SendDurableExecutionCallbackSuccessResponse, __MetadataBearer {
|
|
29
|
+
}
|
|
30
|
+
declare const SendDurableExecutionCallbackSuccessCommand_base: {
|
|
31
|
+
new (input: SendDurableExecutionCallbackSuccessCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
32
|
+
new (input: SendDurableExecutionCallbackSuccessCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* <p>Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { LambdaClient, SendDurableExecutionCallbackSuccessCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
41
|
+
* // const { LambdaClient, SendDurableExecutionCallbackSuccessCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
42
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
43
|
+
* const config = {}; // type is LambdaClientConfig
|
|
44
|
+
* const client = new LambdaClient(config);
|
|
45
|
+
* const input = { // SendDurableExecutionCallbackSuccessRequest
|
|
46
|
+
* CallbackId: "STRING_VALUE", // required
|
|
47
|
+
* Result: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
48
|
+
* };
|
|
49
|
+
* const command = new SendDurableExecutionCallbackSuccessCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // {};
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param SendDurableExecutionCallbackSuccessCommandInput - {@link SendDurableExecutionCallbackSuccessCommandInput}
|
|
56
|
+
* @returns {@link SendDurableExecutionCallbackSuccessCommandOutput}
|
|
57
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
62
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
65
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceException} (server fault)
|
|
68
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LambdaServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class SendDurableExecutionCallbackSuccessCommand extends SendDurableExecutionCallbackSuccessCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: SendDurableExecutionCallbackSuccessRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: SendDurableExecutionCallbackSuccessCommandInput;
|
|
88
|
+
output: SendDurableExecutionCallbackSuccessCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { StopDurableExecutionRequest, StopDurableExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopDurableExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopDurableExecutionCommandInput extends StopDurableExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopDurableExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopDurableExecutionCommandOutput extends StopDurableExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopDurableExecutionCommand_base: {
|
|
25
|
+
new (input: StopDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stops a running <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, StopDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, StopDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // StopDurableExecutionRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* Error: { // ErrorObject
|
|
42
|
+
* ErrorMessage: "STRING_VALUE",
|
|
43
|
+
* ErrorType: "STRING_VALUE",
|
|
44
|
+
* ErrorData: "STRING_VALUE",
|
|
45
|
+
* StackTrace: [ // StackTraceEntries
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StopDurableExecutionCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // StopDurableExecutionResponse
|
|
53
|
+
* // StopTimestamp: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param StopDurableExecutionCommandInput - {@link StopDurableExecutionCommandInput}
|
|
59
|
+
* @returns {@link StopDurableExecutionCommandOutput}
|
|
60
|
+
* @see {@link StopDurableExecutionCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link StopDurableExecutionCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
65
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceException} (server fault)
|
|
71
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LambdaServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class StopDurableExecutionCommand extends StopDurableExecutionCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: StopDurableExecutionRequest;
|
|
87
|
+
output: StopDurableExecutionResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: StopDurableExecutionCommandInput;
|
|
91
|
+
output: StopDurableExecutionCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { TagResourceRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to a function, event source mapping, or code signing configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, TagResourceCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, TagResourceCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // TagResourceRequest
|
|
40
|
+
* Resource: "STRING_VALUE", // required
|
|
41
|
+
* Tags: { // Tags // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
61
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceException} (server fault)
|
|
67
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LambdaServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @example To add tags to an existing Lambda function
|
|
77
|
+
* ```javascript
|
|
78
|
+
* // The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda function.
|
|
79
|
+
* const input = {
|
|
80
|
+
* Resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
81
|
+
* Tags: {
|
|
82
|
+
* DEPARTMENT: "Department A"
|
|
83
|
+
* }
|
|
84
|
+
* };
|
|
85
|
+
* const command = new TagResourceCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* { /* metadata only *\/ }
|
|
89
|
+
* *\/
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: TagResourceRequest;
|
|
99
|
+
output: {};
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: TagResourceCommandInput;
|
|
103
|
+
output: TagResourceCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|