Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Lambda
Contents
- Service Configuration
- Errors
- CodeSigningConfigNotFoundException
- CodeStorageExceededException
- CodeVerificationFailedException
- EC2AccessDeniedException
- EC2ThrottledException
- EC2UnexpectedException
- EFSIOException
- EFSMountConnectivityException
- EFSMountFailureException
- EFSMountTimeoutException
- ENILimitReachedException
- InvalidCodeSignatureException
- InvalidParameterValueException
- InvalidRequestContentException
- InvalidRuntimeException
- InvalidSecurityGroupIDException
- InvalidSubnetIDException
- InvalidZipFileException
- KMSAccessDeniedException
- KMSDisabledException
- KMSInvalidStateException
- KMSNotFoundException
- PolicyLengthExceededException
- PreconditionFailedException
- ProvisionedConcurrencyConfigNotFoundException
- RequestTooLargeException
- ResourceConflictException
- ResourceInUseException
- ResourceNotFoundException
- ResourceNotReadyException
- ServiceException
- SnapStartException
- SnapStartNotReadyException
- SnapStartTimeoutException
- SubnetIPAddressLimitReachedException
- TooManyRequestsException
- UnsupportedMediaTypeException
- Waiters
- Operations
- AddLayerVersionPermission
- AddPermission
- CreateAlias
- CreateCodeSigningConfig
- CreateEventSourceMapping
- CreateFunction
- CreateFunctionUrlConfig
- DeleteAlias
- DeleteCodeSigningConfig
- DeleteEventSourceMapping
- DeleteFunction
- DeleteFunctionCodeSigningConfig
- DeleteFunctionConcurrency
- DeleteFunctionEventInvokeConfig
- DeleteFunctionUrlConfig
- DeleteLayerVersion
- DeleteProvisionedConcurrencyConfig
- GetAccountSettings
- GetAlias
- GetCodeSigningConfig
- GetEventSourceMapping
- GetFunction
- GetFunctionCodeSigningConfig
- GetFunctionConcurrency
- GetFunctionConfiguration
- GetFunctionEventInvokeConfig
- GetFunctionUrlConfig
- GetLayerVersion
- GetLayerVersionByArn
- GetLayerVersionPolicy
- GetPolicy
- GetProvisionedConcurrencyConfig
- Invoke
- ListAliases (Paginated)
- ListCodeSigningConfigs (Paginated)
- ListEventSourceMappings (Paginated)
- ListFunctionEventInvokeConfigs (Paginated)
- ListFunctionUrlConfigs (Paginated)
- ListFunctions (Paginated)
- ListFunctionsByCodeSigningConfig (Paginated)
- ListLayerVersions (Paginated)
- ListLayers (Paginated)
- ListProvisionedConcurrencyConfigs (Paginated)
- ListTags
- ListVersionsByFunction (Paginated)
- PublishLayerVersion
- PublishVersion
- PutFunctionCodeSigningConfig
- PutFunctionConcurrency
- PutFunctionEventInvokeConfig
- PutProvisionedConcurrencyConfig
- RemoveLayerVersionPermission
- RemovePermission
- TagResource
- UntagResource
- UpdateAlias
- UpdateCodeSigningConfig
- UpdateEventSourceMapping
- UpdateFunctionCode
- UpdateFunctionConfiguration
- UpdateFunctionEventInvokeConfig
- UpdateFunctionUrlConfig
- Types
- Architecture
- CodeSigningPolicy
- EndPointType
- EventSourcePosition
- FunctionResponseType
- FunctionUrlAuthType
- FunctionVersion
- InvocationType
- LastUpdateStatus
- LastUpdateStatusReasonCode
- LogType
- PackageType
- ProvisionedConcurrencyStatusEnum
- Runtime
- SnapStartApplyOn
- SnapStartOptimizationStatus
- SourceAccessType
- State
- StateReasonCode
- TracingMode
- AccountLimit
- AccountUsage
- AliasConfiguration
- AliasRoutingConfiguration
- AllowedPublishers
- AmazonManagedKafkaEventSourceConfig
- CodeSigningConfig
- CodeSigningPolicies
- Concurrency
- Cors
- DeadLetterConfig
- DestinationConfig
- Environment
- EnvironmentError
- EnvironmentResponse
- EphemeralStorage
- EventSourceMappingConfiguration
- FileSystemConfig
- Filter
- FilterCriteria
- FunctionCode
- FunctionCodeLocation
- FunctionConfiguration
- FunctionEventInvokeConfig
- FunctionUrlConfig
- GetLayerVersionResponse
- ImageConfig
- ImageConfigError
- ImageConfigResponse
- Layer
- LayerVersionContentInput
- LayerVersionContentOutput
- LayerVersionsListItem
- LayersListItem
- OnFailure
- OnSuccess
- ProvisionedConcurrencyConfigListItem
- SelfManagedEventSource
- SelfManagedKafkaEventSourceConfig
- SnapStart
- SnapStartResponse
- SourceAccessConfiguration
- TracingConfig
- TracingConfigResponse
- VpcConfig
- VpcConfigResponse
Description
Derived from API version 2015-03-31
of the AWS service descriptions, licensed under Apache 2.0.
Lambda
Overview
Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.
You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.
For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas in the Amazon Web Services General Reference..
When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference..
CA certificates
Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:
- Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list.
- Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list.
- Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list.
- Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:
- Amazon Root CA 1
- Starfield Services Root Certificate Authority - G2
- Starfield Class 2 Certification Authority
Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.
Synopsis
- defaultService :: Service
- _CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError
- _CodeStorageExceededException :: AsError a => Fold a ServiceError
- _CodeVerificationFailedException :: AsError a => Fold a ServiceError
- _EC2AccessDeniedException :: AsError a => Fold a ServiceError
- _EC2ThrottledException :: AsError a => Fold a ServiceError
- _EC2UnexpectedException :: AsError a => Fold a ServiceError
- _EFSIOException :: AsError a => Fold a ServiceError
- _EFSMountConnectivityException :: AsError a => Fold a ServiceError
- _EFSMountFailureException :: AsError a => Fold a ServiceError
- _EFSMountTimeoutException :: AsError a => Fold a ServiceError
- _ENILimitReachedException :: AsError a => Fold a ServiceError
- _InvalidCodeSignatureException :: AsError a => Fold a ServiceError
- _InvalidParameterValueException :: AsError a => Fold a ServiceError
- _InvalidRequestContentException :: AsError a => Fold a ServiceError
- _InvalidRuntimeException :: AsError a => Fold a ServiceError
- _InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError
- _InvalidSubnetIDException :: AsError a => Fold a ServiceError
- _InvalidZipFileException :: AsError a => Fold a ServiceError
- _KMSAccessDeniedException :: AsError a => Fold a ServiceError
- _KMSDisabledException :: AsError a => Fold a ServiceError
- _KMSInvalidStateException :: AsError a => Fold a ServiceError
- _KMSNotFoundException :: AsError a => Fold a ServiceError
- _PolicyLengthExceededException :: AsError a => Fold a ServiceError
- _PreconditionFailedException :: AsError a => Fold a ServiceError
- _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError
- _RequestTooLargeException :: AsError a => Fold a ServiceError
- _ResourceConflictException :: AsError a => Fold a ServiceError
- _ResourceInUseException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceNotReadyException :: AsError a => Fold a ServiceError
- _ServiceException :: AsError a => Fold a ServiceError
- _SnapStartException :: AsError a => Fold a ServiceError
- _SnapStartNotReadyException :: AsError a => Fold a ServiceError
- _SnapStartTimeoutException :: AsError a => Fold a ServiceError
- _SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _UnsupportedMediaTypeException :: AsError a => Fold a ServiceError
- newFunctionActive :: Wait GetFunctionConfiguration
- newFunctionActiveV2 :: Wait GetFunction
- newFunctionExists :: Wait GetFunction
- newFunctionUpdated :: Wait GetFunctionConfiguration
- newFunctionUpdatedV2 :: Wait GetFunction
- newPublishedVersionActive :: Wait GetFunctionConfiguration
- data AddLayerVersionPermission = AddLayerVersionPermission' (Maybe Text) (Maybe Text) Text Integer Text Text Text
- newAddLayerVersionPermission :: Text -> Integer -> Text -> Text -> Text -> AddLayerVersionPermission
- data AddLayerVersionPermissionResponse = AddLayerVersionPermissionResponse' (Maybe Text) (Maybe Text) Int
- newAddLayerVersionPermissionResponse :: Int -> AddLayerVersionPermissionResponse
- data AddPermission = AddPermission' (Maybe Text) (Maybe FunctionUrlAuthType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text Text
- newAddPermission :: Text -> Text -> Text -> Text -> AddPermission
- data AddPermissionResponse = AddPermissionResponse' (Maybe Text) Int
- newAddPermissionResponse :: Int -> AddPermissionResponse
- data CreateAlias = CreateAlias' (Maybe Text) (Maybe AliasRoutingConfiguration) Text Text Text
- newCreateAlias :: Text -> Text -> Text -> CreateAlias
- data AliasConfiguration = AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration)
- newAliasConfiguration :: AliasConfiguration
- data CreateCodeSigningConfig = CreateCodeSigningConfig' (Maybe CodeSigningPolicies) (Maybe Text) AllowedPublishers
- newCreateCodeSigningConfig :: AllowedPublishers -> CreateCodeSigningConfig
- data CreateCodeSigningConfigResponse = CreateCodeSigningConfigResponse' Int CodeSigningConfig
- newCreateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse
- data CreateEventSourceMapping = CreateEventSourceMapping' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Bool) (Maybe Text) (Maybe FilterCriteria) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe (NonEmpty Text)) (Maybe Natural) Text
- newCreateEventSourceMapping :: Text -> CreateEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data CreateFunction = CreateFunction' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe DeadLetterConfig) (Maybe Text) (Maybe Environment) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe ImageConfig) (Maybe Text) (Maybe [Text]) (Maybe Natural) (Maybe PackageType) (Maybe Bool) (Maybe Runtime) (Maybe SnapStart) (Maybe (HashMap Text Text)) (Maybe Natural) (Maybe TracingConfig) (Maybe VpcConfig) Text Text FunctionCode
- newCreateFunction :: Text -> Text -> FunctionCode -> CreateFunction
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data CreateFunctionUrlConfig = CreateFunctionUrlConfig' (Maybe Cors) (Maybe Text) Text FunctionUrlAuthType
- newCreateFunctionUrlConfig :: Text -> FunctionUrlAuthType -> CreateFunctionUrlConfig
- data CreateFunctionUrlConfigResponse = CreateFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text
- newCreateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> CreateFunctionUrlConfigResponse
- data DeleteAlias = DeleteAlias' Text Text
- newDeleteAlias :: Text -> Text -> DeleteAlias
- data DeleteAliasResponse = DeleteAliasResponse' {
- newDeleteAliasResponse :: DeleteAliasResponse
- data DeleteCodeSigningConfig = DeleteCodeSigningConfig' Text
- newDeleteCodeSigningConfig :: Text -> DeleteCodeSigningConfig
- data DeleteCodeSigningConfigResponse = DeleteCodeSigningConfigResponse' Int
- newDeleteCodeSigningConfigResponse :: Int -> DeleteCodeSigningConfigResponse
- data DeleteEventSourceMapping = DeleteEventSourceMapping' Text
- newDeleteEventSourceMapping :: Text -> DeleteEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data DeleteFunction = DeleteFunction' (Maybe Text) Text
- newDeleteFunction :: Text -> DeleteFunction
- data DeleteFunctionResponse = DeleteFunctionResponse' {
- newDeleteFunctionResponse :: DeleteFunctionResponse
- data DeleteFunctionCodeSigningConfig = DeleteFunctionCodeSigningConfig' Text
- newDeleteFunctionCodeSigningConfig :: Text -> DeleteFunctionCodeSigningConfig
- data DeleteFunctionCodeSigningConfigResponse = DeleteFunctionCodeSigningConfigResponse' {
- newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse
- data DeleteFunctionConcurrency = DeleteFunctionConcurrency' Text
- newDeleteFunctionConcurrency :: Text -> DeleteFunctionConcurrency
- data DeleteFunctionConcurrencyResponse = DeleteFunctionConcurrencyResponse' {
- newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse
- data DeleteFunctionEventInvokeConfig = DeleteFunctionEventInvokeConfig' (Maybe Text) Text
- newDeleteFunctionEventInvokeConfig :: Text -> DeleteFunctionEventInvokeConfig
- data DeleteFunctionEventInvokeConfigResponse = DeleteFunctionEventInvokeConfigResponse' {
- newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse
- data DeleteFunctionUrlConfig = DeleteFunctionUrlConfig' (Maybe Text) Text
- newDeleteFunctionUrlConfig :: Text -> DeleteFunctionUrlConfig
- data DeleteFunctionUrlConfigResponse = DeleteFunctionUrlConfigResponse' {
- newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse
- data DeleteLayerVersion = DeleteLayerVersion' Text Integer
- newDeleteLayerVersion :: Text -> Integer -> DeleteLayerVersion
- data DeleteLayerVersionResponse = DeleteLayerVersionResponse' {
- newDeleteLayerVersionResponse :: DeleteLayerVersionResponse
- data DeleteProvisionedConcurrencyConfig = DeleteProvisionedConcurrencyConfig' Text Text
- newDeleteProvisionedConcurrencyConfig :: Text -> Text -> DeleteProvisionedConcurrencyConfig
- data DeleteProvisionedConcurrencyConfigResponse = DeleteProvisionedConcurrencyConfigResponse' {
- newDeleteProvisionedConcurrencyConfigResponse :: DeleteProvisionedConcurrencyConfigResponse
- data GetAccountSettings = GetAccountSettings' {
- newGetAccountSettings :: GetAccountSettings
- data GetAccountSettingsResponse = GetAccountSettingsResponse' (Maybe AccountLimit) (Maybe AccountUsage) Int
- newGetAccountSettingsResponse :: Int -> GetAccountSettingsResponse
- data GetAlias = GetAlias' Text Text
- newGetAlias :: Text -> Text -> GetAlias
- data AliasConfiguration = AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration)
- newAliasConfiguration :: AliasConfiguration
- data GetCodeSigningConfig = GetCodeSigningConfig' Text
- newGetCodeSigningConfig :: Text -> GetCodeSigningConfig
- data GetCodeSigningConfigResponse = GetCodeSigningConfigResponse' Int CodeSigningConfig
- newGetCodeSigningConfigResponse :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse
- data GetEventSourceMapping = GetEventSourceMapping' Text
- newGetEventSourceMapping :: Text -> GetEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data GetFunction = GetFunction' (Maybe Text) Text
- newGetFunction :: Text -> GetFunction
- data GetFunctionResponse = GetFunctionResponse' (Maybe FunctionCodeLocation) (Maybe Concurrency) (Maybe FunctionConfiguration) (Maybe (HashMap Text Text)) Int
- newGetFunctionResponse :: Int -> GetFunctionResponse
- data GetFunctionCodeSigningConfig = GetFunctionCodeSigningConfig' Text
- newGetFunctionCodeSigningConfig :: Text -> GetFunctionCodeSigningConfig
- data GetFunctionCodeSigningConfigResponse = GetFunctionCodeSigningConfigResponse' Int Text Text
- newGetFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse
- data GetFunctionConcurrency = GetFunctionConcurrency' Text
- newGetFunctionConcurrency :: Text -> GetFunctionConcurrency
- data GetFunctionConcurrencyResponse = GetFunctionConcurrencyResponse' (Maybe Natural) Int
- newGetFunctionConcurrencyResponse :: Int -> GetFunctionConcurrencyResponse
- data GetFunctionConfiguration = GetFunctionConfiguration' (Maybe Text) Text
- newGetFunctionConfiguration :: Text -> GetFunctionConfiguration
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data GetFunctionEventInvokeConfig = GetFunctionEventInvokeConfig' (Maybe Text) Text
- newGetFunctionEventInvokeConfig :: Text -> GetFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data GetFunctionUrlConfig = GetFunctionUrlConfig' (Maybe Text) Text
- newGetFunctionUrlConfig :: Text -> GetFunctionUrlConfig
- data GetFunctionUrlConfigResponse = GetFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text Text
- newGetFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse
- data GetLayerVersion = GetLayerVersion' Text Integer
- newGetLayerVersion :: Text -> Integer -> GetLayerVersion
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer)
- newGetLayerVersionResponse :: GetLayerVersionResponse
- data GetLayerVersionByArn = GetLayerVersionByArn' Text
- newGetLayerVersionByArn :: Text -> GetLayerVersionByArn
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer)
- newGetLayerVersionResponse :: GetLayerVersionResponse
- data GetLayerVersionPolicy = GetLayerVersionPolicy' Text Integer
- newGetLayerVersionPolicy :: Text -> Integer -> GetLayerVersionPolicy
- data GetLayerVersionPolicyResponse = GetLayerVersionPolicyResponse' (Maybe Text) (Maybe Text) Int
- newGetLayerVersionPolicyResponse :: Int -> GetLayerVersionPolicyResponse
- data GetPolicy = GetPolicy' (Maybe Text) Text
- newGetPolicy :: Text -> GetPolicy
- data GetPolicyResponse = GetPolicyResponse' (Maybe Text) (Maybe Text) Int
- newGetPolicyResponse :: Int -> GetPolicyResponse
- data GetProvisionedConcurrencyConfig = GetProvisionedConcurrencyConfig' Text Text
- newGetProvisionedConcurrencyConfig :: Text -> Text -> GetProvisionedConcurrencyConfig
- data GetProvisionedConcurrencyConfigResponse = GetProvisionedConcurrencyConfigResponse' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) Int
- newGetProvisionedConcurrencyConfigResponse :: Int -> GetProvisionedConcurrencyConfigResponse
- data Invoke = Invoke' (Maybe Text) (Maybe InvocationType) (Maybe LogType) (Maybe Text) Text ByteString
- newInvoke :: Text -> ByteString -> Invoke
- data InvokeResponse = InvokeResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ByteString) Int
- newInvokeResponse :: Int -> InvokeResponse
- data ListAliases = ListAliases' (Maybe Text) (Maybe Text) (Maybe Natural) Text
- newListAliases :: Text -> ListAliases
- data ListAliasesResponse = ListAliasesResponse' (Maybe [AliasConfiguration]) (Maybe Text) Int
- newListAliasesResponse :: Int -> ListAliasesResponse
- data ListCodeSigningConfigs = ListCodeSigningConfigs' (Maybe Text) (Maybe Natural)
- newListCodeSigningConfigs :: ListCodeSigningConfigs
- data ListCodeSigningConfigsResponse = ListCodeSigningConfigsResponse' (Maybe [CodeSigningConfig]) (Maybe Text) Int
- newListCodeSigningConfigsResponse :: Int -> ListCodeSigningConfigsResponse
- data ListEventSourceMappings = ListEventSourceMappings' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural)
- newListEventSourceMappings :: ListEventSourceMappings
- data ListEventSourceMappingsResponse = ListEventSourceMappingsResponse' (Maybe [EventSourceMappingConfiguration]) (Maybe Text) Int
- newListEventSourceMappingsResponse :: Int -> ListEventSourceMappingsResponse
- data ListFunctionEventInvokeConfigs = ListFunctionEventInvokeConfigs' (Maybe Text) (Maybe Natural) Text
- newListFunctionEventInvokeConfigs :: Text -> ListFunctionEventInvokeConfigs
- data ListFunctionEventInvokeConfigsResponse = ListFunctionEventInvokeConfigsResponse' (Maybe [FunctionEventInvokeConfig]) (Maybe Text) Int
- newListFunctionEventInvokeConfigsResponse :: Int -> ListFunctionEventInvokeConfigsResponse
- data ListFunctionUrlConfigs = ListFunctionUrlConfigs' (Maybe Text) (Maybe Natural) Text
- newListFunctionUrlConfigs :: Text -> ListFunctionUrlConfigs
- data ListFunctionUrlConfigsResponse = ListFunctionUrlConfigsResponse' (Maybe Text) Int [FunctionUrlConfig]
- newListFunctionUrlConfigsResponse :: Int -> ListFunctionUrlConfigsResponse
- data ListFunctions = ListFunctions' (Maybe FunctionVersion) (Maybe Text) (Maybe Text) (Maybe Natural)
- newListFunctions :: ListFunctions
- data ListFunctionsResponse = ListFunctionsResponse' (Maybe [FunctionConfiguration]) (Maybe Text) Int
- newListFunctionsResponse :: Int -> ListFunctionsResponse
- data ListFunctionsByCodeSigningConfig = ListFunctionsByCodeSigningConfig' (Maybe Text) (Maybe Natural) Text
- newListFunctionsByCodeSigningConfig :: Text -> ListFunctionsByCodeSigningConfig
- data ListFunctionsByCodeSigningConfigResponse = ListFunctionsByCodeSigningConfigResponse' (Maybe [Text]) (Maybe Text) Int
- newListFunctionsByCodeSigningConfigResponse :: Int -> ListFunctionsByCodeSigningConfigResponse
- data ListLayerVersions = ListLayerVersions' (Maybe Architecture) (Maybe Runtime) (Maybe Text) (Maybe Natural) Text
- newListLayerVersions :: Text -> ListLayerVersions
- data ListLayerVersionsResponse = ListLayerVersionsResponse' (Maybe [LayerVersionsListItem]) (Maybe Text) Int
- newListLayerVersionsResponse :: Int -> ListLayerVersionsResponse
- data ListLayers = ListLayers' (Maybe Architecture) (Maybe Runtime) (Maybe Text) (Maybe Natural)
- newListLayers :: ListLayers
- data ListLayersResponse = ListLayersResponse' (Maybe [LayersListItem]) (Maybe Text) Int
- newListLayersResponse :: Int -> ListLayersResponse
- data ListProvisionedConcurrencyConfigs = ListProvisionedConcurrencyConfigs' (Maybe Text) (Maybe Natural) Text
- newListProvisionedConcurrencyConfigs :: Text -> ListProvisionedConcurrencyConfigs
- data ListProvisionedConcurrencyConfigsResponse = ListProvisionedConcurrencyConfigsResponse' (Maybe Text) (Maybe [ProvisionedConcurrencyConfigListItem]) Int
- newListProvisionedConcurrencyConfigsResponse :: Int -> ListProvisionedConcurrencyConfigsResponse
- data ListTags = ListTags' Text
- newListTags :: Text -> ListTags
- data ListTagsResponse = ListTagsResponse' (Maybe (HashMap Text Text)) Int
- newListTagsResponse :: Int -> ListTagsResponse
- data ListVersionsByFunction = ListVersionsByFunction' (Maybe Text) (Maybe Natural) Text
- newListVersionsByFunction :: Text -> ListVersionsByFunction
- data ListVersionsByFunctionResponse = ListVersionsByFunctionResponse' (Maybe Text) (Maybe [FunctionConfiguration]) Int
- newListVersionsByFunctionResponse :: Int -> ListVersionsByFunctionResponse
- data PublishLayerVersion = PublishLayerVersion' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe Text) (Maybe Text) Text LayerVersionContentInput
- newPublishLayerVersion :: Text -> LayerVersionContentInput -> PublishLayerVersion
- data PublishLayerVersionResponse = PublishLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) Int
- newPublishLayerVersionResponse :: Int -> PublishLayerVersionResponse
- data PublishVersion = PublishVersion' (Maybe Text) (Maybe Text) (Maybe Text) Text
- newPublishVersion :: Text -> PublishVersion
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data PutFunctionCodeSigningConfig = PutFunctionCodeSigningConfig' Text Text
- newPutFunctionCodeSigningConfig :: Text -> Text -> PutFunctionCodeSigningConfig
- data PutFunctionCodeSigningConfigResponse = PutFunctionCodeSigningConfigResponse' Int Text Text
- newPutFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse
- data PutFunctionConcurrency = PutFunctionConcurrency' Text Natural
- newPutFunctionConcurrency :: Text -> Natural -> PutFunctionConcurrency
- data Concurrency = Concurrency' (Maybe Natural)
- newConcurrency :: Concurrency
- data PutFunctionEventInvokeConfig = PutFunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Natural) (Maybe Natural) (Maybe Text) Text
- newPutFunctionEventInvokeConfig :: Text -> PutFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data PutProvisionedConcurrencyConfig = PutProvisionedConcurrencyConfig' Text Text Natural
- newPutProvisionedConcurrencyConfig :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig
- data PutProvisionedConcurrencyConfigResponse = PutProvisionedConcurrencyConfigResponse' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) Int
- newPutProvisionedConcurrencyConfigResponse :: Int -> PutProvisionedConcurrencyConfigResponse
- data RemoveLayerVersionPermission = RemoveLayerVersionPermission' (Maybe Text) Text Integer Text
- newRemoveLayerVersionPermission :: Text -> Integer -> Text -> RemoveLayerVersionPermission
- data RemoveLayerVersionPermissionResponse = RemoveLayerVersionPermissionResponse' {
- newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse
- data RemovePermission = RemovePermission' (Maybe Text) (Maybe Text) Text Text
- newRemovePermission :: Text -> Text -> RemovePermission
- data RemovePermissionResponse = RemovePermissionResponse' {
- newRemovePermissionResponse :: RemovePermissionResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' {
- newTagResourceResponse :: TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' {
- newUntagResourceResponse :: UntagResourceResponse
- data UpdateAlias = UpdateAlias' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) Text Text
- newUpdateAlias :: Text -> Text -> UpdateAlias
- data AliasConfiguration = AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration)
- newAliasConfiguration :: AliasConfiguration
- data UpdateCodeSigningConfig = UpdateCodeSigningConfig' (Maybe AllowedPublishers) (Maybe CodeSigningPolicies) (Maybe Text) Text
- newUpdateCodeSigningConfig :: Text -> UpdateCodeSigningConfig
- data UpdateCodeSigningConfigResponse = UpdateCodeSigningConfigResponse' Int CodeSigningConfig
- newUpdateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse
- data UpdateEventSourceMapping = UpdateEventSourceMapping' (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Bool) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Natural) Text
- newUpdateEventSourceMapping :: Text -> UpdateEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data UpdateFunctionCode = UpdateFunctionCode' (Maybe (NonEmpty Architecture)) (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) Text
- newUpdateFunctionCode :: Text -> UpdateFunctionCode
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data UpdateFunctionConfiguration = UpdateFunctionConfiguration' (Maybe DeadLetterConfig) (Maybe Text) (Maybe Environment) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe ImageConfig) (Maybe Text) (Maybe [Text]) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe SnapStart) (Maybe Natural) (Maybe TracingConfig) (Maybe VpcConfig) Text
- newUpdateFunctionConfiguration :: Text -> UpdateFunctionConfiguration
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data UpdateFunctionEventInvokeConfig = UpdateFunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Natural) (Maybe Natural) (Maybe Text) Text
- newUpdateFunctionEventInvokeConfig :: Text -> UpdateFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data UpdateFunctionUrlConfig = UpdateFunctionUrlConfig' (Maybe FunctionUrlAuthType) (Maybe Cors) (Maybe Text) Text
- newUpdateFunctionUrlConfig :: Text -> UpdateFunctionUrlConfig
- data UpdateFunctionUrlConfigResponse = UpdateFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text Text
- newUpdateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> UpdateFunctionUrlConfigResponse
- newtype Architecture where
- Architecture' { }
- pattern Architecture_Arm64 :: Architecture
- pattern Architecture_X86_64 :: Architecture
- newtype CodeSigningPolicy where
- CodeSigningPolicy' { }
- pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy
- pattern CodeSigningPolicy_Warn :: CodeSigningPolicy
- newtype EndPointType where
- EndPointType' { }
- pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType
- newtype EventSourcePosition where
- newtype FunctionResponseType where
- newtype FunctionUrlAuthType where
- newtype FunctionVersion where
- FunctionVersion' { }
- pattern FunctionVersion_ALL :: FunctionVersion
- newtype InvocationType where
- InvocationType' { }
- pattern InvocationType_DryRun :: InvocationType
- pattern InvocationType_Event :: InvocationType
- pattern InvocationType_RequestResponse :: InvocationType
- newtype LastUpdateStatus where
- LastUpdateStatus' { }
- pattern LastUpdateStatus_Failed :: LastUpdateStatus
- pattern LastUpdateStatus_InProgress :: LastUpdateStatus
- pattern LastUpdateStatus_Successful :: LastUpdateStatus
- newtype LastUpdateStatusReasonCode where
- LastUpdateStatusReasonCode' { }
- pattern LastUpdateStatusReasonCode_DisabledKMSKey :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSIOError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountConnectivityError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountFailure :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountTimeout :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_FunctionError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidRuntime :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidStateKMSKey :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidZipFileException :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_KMSKeyAccessDenied :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_KMSKeyNotFound :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode
- newtype LogType where
- LogType' {
- fromLogType :: Text
- pattern LogType_None :: LogType
- pattern LogType_Tail :: LogType
- LogType' {
- newtype PackageType where
- PackageType' { }
- pattern PackageType_Image :: PackageType
- pattern PackageType_Zip :: PackageType
- newtype ProvisionedConcurrencyStatusEnum where
- newtype Runtime where
- Runtime' {
- fromRuntime :: Text
- pattern Runtime_Dotnet6 :: Runtime
- pattern Runtime_Dotnetcore1_0 :: Runtime
- pattern Runtime_Dotnetcore2_0 :: Runtime
- pattern Runtime_Dotnetcore2_1 :: Runtime
- pattern Runtime_Dotnetcore3_1 :: Runtime
- pattern Runtime_Go1_x :: Runtime
- pattern Runtime_Java11 :: Runtime
- pattern Runtime_Java8 :: Runtime
- pattern Runtime_Java8_al2 :: Runtime
- pattern Runtime_Nodejs :: Runtime
- pattern Runtime_Nodejs10_x :: Runtime
- pattern Runtime_Nodejs12_x :: Runtime
- pattern Runtime_Nodejs14_x :: Runtime
- pattern Runtime_Nodejs16_x :: Runtime
- pattern Runtime_Nodejs18_x :: Runtime
- pattern Runtime_Nodejs4_3 :: Runtime
- pattern Runtime_Nodejs4_3_edge :: Runtime
- pattern Runtime_Nodejs6_10 :: Runtime
- pattern Runtime_Nodejs8_10 :: Runtime
- pattern Runtime_Provided :: Runtime
- pattern Runtime_Provided_al2 :: Runtime
- pattern Runtime_Python2_7 :: Runtime
- pattern Runtime_Python3_6 :: Runtime
- pattern Runtime_Python3_7 :: Runtime
- pattern Runtime_Python3_8 :: Runtime
- pattern Runtime_Python3_9 :: Runtime
- pattern Runtime_Ruby2_5 :: Runtime
- pattern Runtime_Ruby2_7 :: Runtime
- Runtime' {
- newtype SnapStartApplyOn where
- SnapStartApplyOn' { }
- pattern SnapStartApplyOn_None :: SnapStartApplyOn
- pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn
- newtype SnapStartOptimizationStatus where
- newtype SourceAccessType where
- SourceAccessType' { }
- pattern SourceAccessType_BASIC_AUTH :: SourceAccessType
- pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType
- pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType
- pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType
- pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType
- pattern SourceAccessType_VPC_SUBNET :: SourceAccessType
- newtype State where
- State' { }
- pattern State_Active :: State
- pattern State_Failed :: State
- pattern State_Inactive :: State
- pattern State_Pending :: State
- newtype StateReasonCode where
- StateReasonCode' { }
- pattern StateReasonCode_Creating :: StateReasonCode
- pattern StateReasonCode_DisabledKMSKey :: StateReasonCode
- pattern StateReasonCode_EFSIOError :: StateReasonCode
- pattern StateReasonCode_EFSMountConnectivityError :: StateReasonCode
- pattern StateReasonCode_EFSMountFailure :: StateReasonCode
- pattern StateReasonCode_EFSMountTimeout :: StateReasonCode
- pattern StateReasonCode_EniLimitExceeded :: StateReasonCode
- pattern StateReasonCode_FunctionError :: StateReasonCode
- pattern StateReasonCode_Idle :: StateReasonCode
- pattern StateReasonCode_ImageAccessDenied :: StateReasonCode
- pattern StateReasonCode_ImageDeleted :: StateReasonCode
- pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode
- pattern StateReasonCode_InternalError :: StateReasonCode
- pattern StateReasonCode_InvalidConfiguration :: StateReasonCode
- pattern StateReasonCode_InvalidImage :: StateReasonCode
- pattern StateReasonCode_InvalidRuntime :: StateReasonCode
- pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode
- pattern StateReasonCode_InvalidStateKMSKey :: StateReasonCode
- pattern StateReasonCode_InvalidSubnet :: StateReasonCode
- pattern StateReasonCode_InvalidZipFileException :: StateReasonCode
- pattern StateReasonCode_KMSKeyAccessDenied :: StateReasonCode
- pattern StateReasonCode_KMSKeyNotFound :: StateReasonCode
- pattern StateReasonCode_Restoring :: StateReasonCode
- pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode
- newtype TracingMode where
- TracingMode' { }
- pattern TracingMode_Active :: TracingMode
- pattern TracingMode_PassThrough :: TracingMode
- data AccountLimit = AccountLimit' (Maybe Integer) (Maybe Integer) (Maybe Int) (Maybe Integer) (Maybe Natural)
- newAccountLimit :: AccountLimit
- data AccountUsage = AccountUsage' (Maybe Integer) (Maybe Integer)
- newAccountUsage :: AccountUsage
- data AliasConfiguration = AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration)
- newAliasConfiguration :: AliasConfiguration
- data AliasRoutingConfiguration = AliasRoutingConfiguration' (Maybe (HashMap Text Double))
- newAliasRoutingConfiguration :: AliasRoutingConfiguration
- data AllowedPublishers = AllowedPublishers' (NonEmpty Text)
- newAllowedPublishers :: NonEmpty Text -> AllowedPublishers
- data AmazonManagedKafkaEventSourceConfig = AmazonManagedKafkaEventSourceConfig' (Maybe Text)
- newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig
- data CodeSigningConfig = CodeSigningConfig' (Maybe Text) Text Text AllowedPublishers CodeSigningPolicies Text
- newCodeSigningConfig :: Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig
- data CodeSigningPolicies = CodeSigningPolicies' (Maybe CodeSigningPolicy)
- newCodeSigningPolicies :: CodeSigningPolicies
- data Concurrency = Concurrency' (Maybe Natural)
- newConcurrency :: Concurrency
- data Cors = Cors' (Maybe Bool) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Natural)
- newCors :: Cors
- data DeadLetterConfig = DeadLetterConfig' (Maybe Text)
- newDeadLetterConfig :: DeadLetterConfig
- data DestinationConfig = DestinationConfig' (Maybe OnFailure) (Maybe OnSuccess)
- newDestinationConfig :: DestinationConfig
- data Environment = Environment' (Maybe (Sensitive (HashMap Text (Sensitive Text))))
- newEnvironment :: Environment
- data EnvironmentError = EnvironmentError' (Maybe Text) (Maybe (Sensitive Text))
- newEnvironmentError :: EnvironmentError
- data EnvironmentResponse = EnvironmentResponse' (Maybe EnvironmentError) (Maybe (Sensitive (HashMap Text (Sensitive Text))))
- newEnvironmentResponse :: EnvironmentResponse
- data EphemeralStorage = EphemeralStorage' Natural
- newEphemeralStorage :: Natural -> EphemeralStorage
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data FileSystemConfig = FileSystemConfig' Text Text
- newFileSystemConfig :: Text -> Text -> FileSystemConfig
- data Filter = Filter' (Maybe Text)
- newFilter :: Filter
- data FilterCriteria = FilterCriteria' (Maybe [Filter])
- newFilterCriteria :: FilterCriteria
- data FunctionCode = FunctionCode' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64))
- newFunctionCode :: FunctionCode
- data FunctionCodeLocation = FunctionCodeLocation' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newFunctionCodeLocation :: FunctionCodeLocation
- data FunctionConfiguration = FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse)
- newFunctionConfiguration :: FunctionConfiguration
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data FunctionUrlConfig = FunctionUrlConfig' (Maybe Cors) Text Text Text Text FunctionUrlAuthType
- newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer)
- newGetLayerVersionResponse :: GetLayerVersionResponse
- data ImageConfig = ImageConfig' (Maybe [Text]) (Maybe [Text]) (Maybe Text)
- newImageConfig :: ImageConfig
- data ImageConfigError = ImageConfigError' (Maybe Text) (Maybe (Sensitive Text))
- newImageConfigError :: ImageConfigError
- data ImageConfigResponse = ImageConfigResponse' (Maybe ImageConfigError) (Maybe ImageConfig)
- newImageConfigResponse :: ImageConfigResponse
- data Layer = Layer' (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe Text)
- newLayer :: Layer
- data LayerVersionContentInput = LayerVersionContentInput' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64))
- newLayerVersionContentInput :: LayerVersionContentInput
- data LayerVersionContentOutput = LayerVersionContentOutput' (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe Text) (Maybe Text)
- newLayerVersionContentOutput :: LayerVersionContentOutput
- data LayerVersionsListItem = LayerVersionsListItem' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer)
- newLayerVersionsListItem :: LayerVersionsListItem
- data LayersListItem = LayersListItem' (Maybe LayerVersionsListItem) (Maybe Text) (Maybe Text)
- newLayersListItem :: LayersListItem
- data OnFailure = OnFailure' (Maybe Text)
- newOnFailure :: OnFailure
- data OnSuccess = OnSuccess' (Maybe Text)
- newOnSuccess :: OnSuccess
- data ProvisionedConcurrencyConfigListItem = ProvisionedConcurrencyConfigListItem' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text)
- newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem
- data SelfManagedEventSource = SelfManagedEventSource' (Maybe (HashMap EndPointType (NonEmpty Text)))
- newSelfManagedEventSource :: SelfManagedEventSource
- data SelfManagedKafkaEventSourceConfig = SelfManagedKafkaEventSourceConfig' (Maybe Text)
- newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig
- data SnapStart = SnapStart' (Maybe SnapStartApplyOn)
- newSnapStart :: SnapStart
- data SnapStartResponse = SnapStartResponse' (Maybe SnapStartApplyOn) (Maybe SnapStartOptimizationStatus)
- newSnapStartResponse :: SnapStartResponse
- data SourceAccessConfiguration = SourceAccessConfiguration' (Maybe SourceAccessType) (Maybe Text)
- newSourceAccessConfiguration :: SourceAccessConfiguration
- data TracingConfig = TracingConfig' (Maybe TracingMode)
- newTracingConfig :: TracingConfig
- data TracingConfigResponse = TracingConfigResponse' (Maybe TracingMode)
- newTracingConfigResponse :: TracingConfigResponse
- data VpcConfig = VpcConfig' (Maybe [Text]) (Maybe [Text])
- newVpcConfig :: VpcConfig
- data VpcConfigResponse = VpcConfigResponse' (Maybe [Text]) (Maybe [Text]) (Maybe Text)
- newVpcConfigResponse :: VpcConfigResponse
Service Configuration
defaultService :: Service Source #
API version 2015-03-31
of the Amazon Lambda SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Lambda
.
CodeSigningConfigNotFoundException
_CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError Source #
The specified code signing configuration does not exist.
CodeStorageExceededException
_CodeStorageExceededException :: AsError a => Fold a ServiceError Source #
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
CodeVerificationFailedException
_CodeVerificationFailedException :: AsError a => Fold a ServiceError Source #
The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
EC2AccessDeniedException
_EC2AccessDeniedException :: AsError a => Fold a ServiceError Source #
Need additional permissions to configure VPC settings.
EC2ThrottledException
_EC2ThrottledException :: AsError a => Fold a ServiceError Source #
Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
EC2UnexpectedException
_EC2UnexpectedException :: AsError a => Fold a ServiceError Source #
Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
EFSIOException
_EFSIOException :: AsError a => Fold a ServiceError Source #
An error occurred when reading from or writing to a connected file system.
EFSMountConnectivityException
_EFSMountConnectivityException :: AsError a => Fold a ServiceError Source #
The Lambda function couldn't make a network connection to the configured file system.
EFSMountFailureException
_EFSMountFailureException :: AsError a => Fold a ServiceError Source #
The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
EFSMountTimeoutException
_EFSMountTimeoutException :: AsError a => Fold a ServiceError Source #
The Lambda function made a network connection to the configured file system, but the mount operation timed out.
ENILimitReachedException
_ENILimitReachedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.
InvalidCodeSignatureException
_InvalidCodeSignatureException :: AsError a => Fold a ServiceError Source #
The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.
InvalidParameterValueException
_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #
One of the parameters in the request is not valid.
InvalidRequestContentException
_InvalidRequestContentException :: AsError a => Fold a ServiceError Source #
The request body could not be parsed as JSON.
InvalidRuntimeException
_InvalidRuntimeException :: AsError a => Fold a ServiceError Source #
The runtime or runtime version specified is not supported.
InvalidSecurityGroupIDException
_InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError Source #
The security group ID provided in the Lambda function VPC configuration is not valid.
InvalidSubnetIDException
_InvalidSubnetIDException :: AsError a => Fold a ServiceError Source #
The subnet ID provided in the Lambda function VPC configuration is not valid.
InvalidZipFileException
_InvalidZipFileException :: AsError a => Fold a ServiceError Source #
Lambda could not unzip the deployment package.
KMSAccessDeniedException
_KMSAccessDeniedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
KMSDisabledException
_KMSDisabledException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
KMSInvalidStateException
_KMSInvalidStateException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.
KMSNotFoundException
_KMSNotFoundException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
PolicyLengthExceededException
_PolicyLengthExceededException :: AsError a => Fold a ServiceError Source #
The permissions policy for the resource is too large. For more information, see Lambda quotas.
PreconditionFailedException
_PreconditionFailedException :: AsError a => Fold a ServiceError Source #
The RevisionId provided does not match the latest RevisionId for the
Lambda function or alias. Call the GetFunction
or the GetAlias
API
operation to retrieve the latest RevisionId for your resource.
ProvisionedConcurrencyConfigNotFoundException
_ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError Source #
The specified configuration does not exist.
RequestTooLargeException
_RequestTooLargeException :: AsError a => Fold a ServiceError Source #
The request payload exceeded the Invoke
request body JSON input quota.
For more information, see
Lambda quotas.
ResourceConflictException
_ResourceConflictException :: AsError a => Fold a ServiceError Source #
The resource already exists, or another operation is in progress.
ResourceInUseException
_ResourceInUseException :: AsError a => Fold a ServiceError Source #
The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The resource specified in the request does not exist.
ResourceNotReadyException
_ResourceNotReadyException :: AsError a => Fold a ServiceError Source #
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
ServiceException
_ServiceException :: AsError a => Fold a ServiceError Source #
The Lambda service encountered an internal error.
SnapStartException
_SnapStartException :: AsError a => Fold a ServiceError Source #
The runtime restore hook encountered an error. For more information, check the Amazon CloudWatch logs.
SnapStartNotReadyException
_SnapStartNotReadyException :: AsError a => Fold a ServiceError Source #
Lambda is initializing your function. You can invoke the function when
the
function state
becomes Active
.
SnapStartTimeoutException
_SnapStartTimeoutException :: AsError a => Fold a ServiceError Source #
The runtime restore hook failed to complete within the timeout limit (2 seconds).
SubnetIPAddressLimitReachedException
_SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
TooManyRequestsException
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
The request throughput limit was exceeded. For more information, see Lambda quotas.
UnsupportedMediaTypeException
_UnsupportedMediaTypeException :: AsError a => Fold a ServiceError Source #
The content type of the Invoke
request body is not JSON.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
FunctionActive
newFunctionActive :: Wait GetFunctionConfiguration Source #
Polls GetFunctionConfiguration
every 5 seconds until a successful state is reached. An error is returned after 60 failed checks.
FunctionActiveV2
newFunctionActiveV2 :: Wait GetFunction Source #
Polls GetFunction
every 1 seconds until a successful state is reached. An error is returned after 300 failed checks.
FunctionExists
newFunctionExists :: Wait GetFunction Source #
Polls GetFunction
every 1 seconds until a successful state is reached. An error is returned after 20 failed checks.
FunctionUpdated
newFunctionUpdated :: Wait GetFunctionConfiguration Source #
Polls GetFunctionConfiguration
every 5 seconds until a successful state is reached. An error is returned after 60 failed checks.
FunctionUpdatedV2
newFunctionUpdatedV2 :: Wait GetFunction Source #
Polls GetFunction
every 1 seconds until a successful state is reached. An error is returned after 300 failed checks.
PublishedVersionActive
newPublishedVersionActive :: Wait GetFunctionConfiguration Source #
Polls GetFunctionConfiguration
every 5 seconds until a successful state is reached. An error is returned after 312 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AddLayerVersionPermission
data AddLayerVersionPermission Source #
See: newAddLayerVersionPermission
smart constructor.
Instances
newAddLayerVersionPermission Source #
Create a value of AddLayerVersionPermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:organizationId:AddLayerVersionPermission'
, addLayerVersionPermission_organizationId
- With the principal set to *
, grant permission to all accounts in the
specified organization.
AddLayerVersionPermission
, addLayerVersionPermission_revisionId
- Only update the policy if the revision ID matches the ID specified. Use
this option to avoid modifying a policy that has changed since you last
read it.
AddLayerVersionPermission
, addLayerVersionPermission_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:AddLayerVersionPermission'
, addLayerVersionPermission_versionNumber
- The version number.
$sel:statementId:AddLayerVersionPermission'
, addLayerVersionPermission_statementId
- An identifier that distinguishes the policy from others on the same
layer version.
$sel:action:AddLayerVersionPermission'
, addLayerVersionPermission_action
- The API action that grants access to the layer. For example,
lambda:GetLayerVersion
.
$sel:principal:AddLayerVersionPermission'
, addLayerVersionPermission_principal
- An account ID, or *
to grant layer usage permission to all accounts in
an organization, or all Amazon Web Services accounts (if
organizationId
is not specified). For the last case, make sure that
you really do want all Amazon Web Services accounts to have usage
permission to this layer.
data AddLayerVersionPermissionResponse Source #
See: newAddLayerVersionPermissionResponse
smart constructor.
Instances
newAddLayerVersionPermissionResponse Source #
Arguments
:: Int | |
-> AddLayerVersionPermissionResponse |
Create a value of AddLayerVersionPermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
AddLayerVersionPermission
, addLayerVersionPermissionResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:statement:AddLayerVersionPermissionResponse'
, addLayerVersionPermissionResponse_statement
- The permission statement.
$sel:httpStatus:AddLayerVersionPermissionResponse'
, addLayerVersionPermissionResponse_httpStatus
- The response's http status code.
AddPermission
data AddPermission Source #
See: newAddPermission
smart constructor.
Constructors
AddPermission' (Maybe Text) (Maybe FunctionUrlAuthType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> AddPermission |
Create a value of AddPermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSourceToken:AddPermission'
, addPermission_eventSourceToken
- For Alexa Smart Home functions, a token that the invoker must supply.
$sel:functionUrlAuthType:AddPermission'
, addPermission_functionUrlAuthType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
$sel:principalOrgID:AddPermission'
, addPermission_principalOrgID
- The identifier for your organization in Organizations. Use this to grant
permissions to all the Amazon Web Services accounts under this
organization.
$sel:qualifier:AddPermission'
, addPermission_qualifier
- Specify a version or alias to add permissions to a published version of
the function.
AddPermission
, addPermission_revisionId
- Update the policy only if the revision ID matches the ID that's
specified. Use this option to avoid modifying a policy that has changed
since you last read it.
$sel:sourceAccount:AddPermission'
, addPermission_sourceAccount
- For Amazon Web Service, the ID of the Amazon Web Services account that
owns the resource. Use this together with SourceArn
to ensure that the
specified account owns the resource. It is possible for an Amazon S3
bucket to be deleted by its owner and recreated by another account.
$sel:sourceArn:AddPermission'
, addPermission_sourceArn
- For Amazon Web Services, the ARN of the Amazon Web Services resource
that invokes the function. For example, an Amazon S3 bucket or Amazon
SNS topic.
Note that Lambda configures the comparison using the StringLike
operator.
AddPermission
, addPermission_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:statementId:AddPermission'
, addPermission_statementId
- A statement identifier that differentiates the statement from others in
the same policy.
$sel:action:AddPermission'
, addPermission_action
- The action that the principal can use on the function. For example,
lambda:InvokeFunction
or lambda:GetFunction
.
$sel:principal:AddPermission'
, addPermission_principal
- The Amazon Web Service or Amazon Web Services account that invokes the
function. If you specify a service, use SourceArn
or SourceAccount
to limit who can invoke the function through that service.
data AddPermissionResponse Source #
See: newAddPermissionResponse
smart constructor.
Constructors
AddPermissionResponse' (Maybe Text) Int |
Instances
newAddPermissionResponse Source #
Create a value of AddPermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:statement:AddPermissionResponse'
, addPermissionResponse_statement
- The permission statement that's added to the function policy.
$sel:httpStatus:AddPermissionResponse'
, addPermissionResponse_httpStatus
- The response's http status code.
CreateAlias
data CreateAlias Source #
See: newCreateAlias
smart constructor.
Constructors
CreateAlias' (Maybe Text) (Maybe AliasRoutingConfiguration) Text Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> CreateAlias |
Create a value of CreateAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateAlias
, createAlias_description
- A description of the alias.
CreateAlias
, createAlias_routingConfig
- The
routing configuration
of the alias.
CreateAlias
, createAlias_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
CreateAlias
, createAlias_name
- The name of the alias.
CreateAlias
, createAlias_functionVersion
- The function version that the alias invokes.
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
Constructors
AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) |
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
CreateCodeSigningConfig
data CreateCodeSigningConfig Source #
See: newCreateCodeSigningConfig
smart constructor.
Constructors
CreateCodeSigningConfig' (Maybe CodeSigningPolicies) (Maybe Text) AllowedPublishers |
Instances
newCreateCodeSigningConfig Source #
Create a value of CreateCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateCodeSigningConfig
, createCodeSigningConfig_codeSigningPolicies
- The code signing policies define the actions to take if the validation
checks fail.
CreateCodeSigningConfig
, createCodeSigningConfig_description
- Descriptive name for this code signing configuration.
CreateCodeSigningConfig
, createCodeSigningConfig_allowedPublishers
- Signing profiles for this code signing configuration.
data CreateCodeSigningConfigResponse Source #
See: newCreateCodeSigningConfigResponse
smart constructor.
Constructors
CreateCodeSigningConfigResponse' Int CodeSigningConfig |
Instances
newCreateCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> CodeSigningConfig | |
-> CreateCodeSigningConfigResponse |
Create a value of CreateCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateCodeSigningConfigResponse'
, createCodeSigningConfigResponse_httpStatus
- The response's http status code.
$sel:codeSigningConfig:CreateCodeSigningConfigResponse'
, createCodeSigningConfigResponse_codeSigningConfig
- The code signing configuration.
CreateEventSourceMapping
data CreateEventSourceMapping Source #
See: newCreateEventSourceMapping
smart constructor.
Constructors
Instances
newCreateEventSourceMapping Source #
Arguments
:: Text | |
-> CreateEventSourceMapping |
Create a value of CreateEventSourceMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateEventSourceMapping
, createEventSourceMapping_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
CreateEventSourceMapping
, createEventSourceMapping_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
- Amazon Kinesis - Default 100. Max 10,000.
- Amazon DynamoDB Streams - Default 100. Max 10,000.
- Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
- Self-managed Apache Kafka - Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) - Default 100. Max 10,000.
CreateEventSourceMapping
, createEventSourceMapping_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry.
CreateEventSourceMapping
, createEventSourceMapping_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:enabled:CreateEventSourceMapping'
, createEventSourceMapping_enabled
- When true, the event source mapping is active. When false, Lambda pauses
polling and invocation.
Default: True
CreateEventSourceMapping
, createEventSourceMapping_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
- Amazon Kinesis - The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams - The ARN of the stream.
- Amazon Simple Queue Service - The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
- Amazon MQ - The ARN of the broker.
CreateEventSourceMapping
, createEventSourceMapping_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
CreateEventSourceMapping
, createEventSourceMapping_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
CreateEventSourceMapping
, createEventSourceMapping_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
CreateEventSourceMapping
, createEventSourceMapping_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is infinite (-1).
CreateEventSourceMapping
, createEventSourceMapping_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is infinite (-1). When set to infinite (-1), failed
records are retried until the record expires.
CreateEventSourceMapping
, createEventSourceMapping_parallelizationFactor
- (Streams only) The number of batches to process from each shard
concurrently.
CreateEventSourceMapping
, createEventSourceMapping_queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.
CreateEventSourceMapping
, createEventSourceMapping_selfManagedEventSource
- The self-managed Apache Kafka cluster to receive records from.
CreateEventSourceMapping
, createEventSourceMapping_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
CreateEventSourceMapping
, createEventSourceMapping_sourceAccessConfigurations
- An array of authentication protocols or VPC components required to
secure your event source.
CreateEventSourceMapping
, createEventSourceMapping_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
CreateEventSourceMapping
, createEventSourceMapping_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
CreateEventSourceMapping
, createEventSourceMapping_topics
- The name of the Kafka topic.
CreateEventSourceMapping
, createEventSourceMapping_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is between 1 second and 900 seconds.
CreateEventSourceMapping
, createEventSourceMapping_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text) |
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
CreateFunction
data CreateFunction Source #
See: newCreateFunction
smart constructor.
Constructors
CreateFunction' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe DeadLetterConfig) (Maybe Text) (Maybe Environment) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe ImageConfig) (Maybe Text) (Maybe [Text]) (Maybe Natural) (Maybe PackageType) (Maybe Bool) (Maybe Runtime) (Maybe SnapStart) (Maybe (HashMap Text Text)) (Maybe Natural) (Maybe TracingConfig) (Maybe VpcConfig) Text Text FunctionCode |
Instances
Arguments
:: Text | |
-> Text | |
-> FunctionCode | |
-> CreateFunction |
Create a value of CreateFunction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateFunction
, createFunction_architectures
- The instruction set architecture that the function supports. Enter a
string array with one of the valid values (arm64 or x86_64). The default
value is x86_64
.
CreateFunction
, createFunction_codeSigningConfigArn
- To enable code signing for this function, specify the ARN of a
code-signing configuration. A code-signing configuration includes a set
of signing profiles, which define the trusted publishers for this
function.
CreateFunction
, createFunction_deadLetterConfig
- A dead-letter queue configuration that specifies the queue or topic
where Lambda sends asynchronous events when they fail processing. For
more information, see
Dead-letter queues.
CreateFunction
, createFunction_description
- A description of the function.
CreateFunction
, createFunction_environment
- Environment variables that are accessible from function code during
execution.
CreateFunction
, createFunction_ephemeralStorage
- The size of the function's /tmp
directory in MB. The default value
is 512, but can be any whole number between 512 and 10,240 MB.
CreateFunction
, createFunction_fileSystemConfigs
- Connection settings for an Amazon EFS file system.
CreateFunction
, createFunction_handler
- The name of the method within your code that Lambda calls to run your
function. Handler is required if the deployment package is a .zip file
archive. The format includes the file name. It can also include
namespaces and other qualifiers, depending on the runtime. For more
information, see
Lambda programming model.
CreateFunction
, createFunction_imageConfig
- Container image
configuration values
that override the values in the container image Dockerfile.
CreateFunction
, createFunction_kmsKeyArn
- The ARN of the Key Management Service (KMS) key that's used to encrypt
your function's environment variables. If it's not provided, Lambda
uses a default service key.
CreateFunction
, createFunction_layers
- A list of
function layers
to add to the function's execution environment. Specify each layer by
its ARN, including the version.
CreateFunction
, createFunction_memorySize
- The amount of
memory available to the function
at runtime. Increasing the function memory also increases its CPU
allocation. The default value is 128 MB. The value can be any multiple
of 1 MB.
CreateFunction
, createFunction_packageType
- The type of deployment package. Set to Image
for container image and
set to Zip
for .zip file archive.
$sel:publish:CreateFunction'
, createFunction_publish
- Set to true to publish the first version of the function during
creation.
CreateFunction
, createFunction_runtime
- The identifier of the function's
runtime.
Runtime is required if the deployment package is a .zip file archive.
CreateFunction
, createFunction_snapStart
- The function's
SnapStart
setting.
$sel:tags:CreateFunction'
, createFunction_tags
- A list of
tags to
apply to the function.
CreateFunction
, createFunction_timeout
- The amount of time (in seconds) that Lambda allows a function to run
before stopping it. The default is 3 seconds. The maximum allowed value
is 900 seconds. For more information, see
Lambda execution environment.
CreateFunction
, createFunction_tracingConfig
- Set Mode
to Active
to sample and trace a subset of incoming requests
with
X-Ray.
CreateFunction
, createFunction_vpcConfig
- For network connectivity to Amazon Web Services resources in a VPC,
specify a list of security groups and subnets in the VPC. When you
connect a function to a VPC, it can access resources and the internet
only through that VPC. For more information, see
Configuring a Lambda function to access resources in a VPC.
CreateFunction
, createFunction_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
CreateFunction
, createFunction_role
- The Amazon Resource Name (ARN) of the function's execution role.
$sel:code:CreateFunction'
, createFunction_code
- The code for the function.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
CreateFunctionUrlConfig
data CreateFunctionUrlConfig Source #
See: newCreateFunctionUrlConfig
smart constructor.
Constructors
CreateFunctionUrlConfig' (Maybe Cors) (Maybe Text) Text FunctionUrlAuthType |
Instances
newCreateFunctionUrlConfig Source #
Arguments
:: Text | |
-> FunctionUrlAuthType | |
-> CreateFunctionUrlConfig |
Create a value of CreateFunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateFunctionUrlConfig
, createFunctionUrlConfig_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:qualifier:CreateFunctionUrlConfig'
, createFunctionUrlConfig_qualifier
- The alias name.
CreateFunctionUrlConfig
, createFunctionUrlConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
CreateFunctionUrlConfig
, createFunctionUrlConfig_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
data CreateFunctionUrlConfigResponse Source #
See: newCreateFunctionUrlConfigResponse
smart constructor.
Constructors
CreateFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text |
Instances
newCreateFunctionUrlConfigResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> Text | |
-> CreateFunctionUrlConfigResponse |
Create a value of CreateFunctionUrlConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateFunctionUrlConfig
, createFunctionUrlConfigResponse_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:httpStatus:CreateFunctionUrlConfigResponse'
, createFunctionUrlConfigResponse_httpStatus
- The response's http status code.
CreateFunctionUrlConfigResponse
, createFunctionUrlConfigResponse_functionUrl
- The HTTP URL endpoint for your function.
CreateFunctionUrlConfigResponse
, createFunctionUrlConfigResponse_functionArn
- The Amazon Resource Name (ARN) of your function.
CreateFunctionUrlConfig
, createFunctionUrlConfigResponse_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
CreateFunctionUrlConfigResponse
, createFunctionUrlConfigResponse_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
DeleteAlias
data DeleteAlias Source #
See: newDeleteAlias
smart constructor.
Constructors
DeleteAlias' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteAlias |
Create a value of DeleteAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteAlias
, deleteAlias_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
DeleteAlias
, deleteAlias_name
- The name of the alias.
data DeleteAliasResponse Source #
See: newDeleteAliasResponse
smart constructor.
Constructors
DeleteAliasResponse' | |
Instances
Generic DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Associated Types type Rep DeleteAliasResponse :: Type -> Type # Methods from :: DeleteAliasResponse -> Rep DeleteAliasResponse x # to :: Rep DeleteAliasResponse x -> DeleteAliasResponse # | |
Read DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods readsPrec :: Int -> ReadS DeleteAliasResponse # readList :: ReadS [DeleteAliasResponse] # | |
Show DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods showsPrec :: Int -> DeleteAliasResponse -> ShowS # show :: DeleteAliasResponse -> String # showList :: [DeleteAliasResponse] -> ShowS # | |
NFData DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods rnf :: DeleteAliasResponse -> () # | |
Eq DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias Methods (==) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # (/=) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # | |
type Rep DeleteAliasResponse Source # | |
newDeleteAliasResponse :: DeleteAliasResponse Source #
Create a value of DeleteAliasResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteCodeSigningConfig
data DeleteCodeSigningConfig Source #
See: newDeleteCodeSigningConfig
smart constructor.
Constructors
DeleteCodeSigningConfig' Text |
Instances
newDeleteCodeSigningConfig Source #
Arguments
:: Text | |
-> DeleteCodeSigningConfig |
Create a value of DeleteCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteCodeSigningConfig
, deleteCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data DeleteCodeSigningConfigResponse Source #
See: newDeleteCodeSigningConfigResponse
smart constructor.
Constructors
DeleteCodeSigningConfigResponse' Int |
Instances
newDeleteCodeSigningConfigResponse Source #
Create a value of DeleteCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteCodeSigningConfigResponse'
, deleteCodeSigningConfigResponse_httpStatus
- The response's http status code.
DeleteEventSourceMapping
data DeleteEventSourceMapping Source #
See: newDeleteEventSourceMapping
smart constructor.
Constructors
DeleteEventSourceMapping' Text |
Instances
newDeleteEventSourceMapping Source #
Arguments
:: Text | |
-> DeleteEventSourceMapping |
Create a value of DeleteEventSourceMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteEventSourceMapping
, deleteEventSourceMapping_uuid
- The identifier of the event source mapping.
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text) |
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
DeleteFunction
data DeleteFunction Source #
See: newDeleteFunction
smart constructor.
Constructors
DeleteFunction' (Maybe Text) Text |
Instances
Arguments
:: Text | |
-> DeleteFunction |
Create a value of DeleteFunction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:DeleteFunction'
, deleteFunction_qualifier
- Specify a version to delete. You can't delete a version that an alias
references.
DeleteFunction
, deleteFunction_functionName
- The name of the Lambda function or version.
Name formats
- Function name –
my-function
(name-only),my-function:1
(with version). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data DeleteFunctionResponse Source #
See: newDeleteFunctionResponse
smart constructor.
Constructors
DeleteFunctionResponse' | |
Instances
Generic DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction Associated Types type Rep DeleteFunctionResponse :: Type -> Type # Methods from :: DeleteFunctionResponse -> Rep DeleteFunctionResponse x # to :: Rep DeleteFunctionResponse x -> DeleteFunctionResponse # | |
Read DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction | |
Show DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction Methods showsPrec :: Int -> DeleteFunctionResponse -> ShowS # show :: DeleteFunctionResponse -> String # showList :: [DeleteFunctionResponse] -> ShowS # | |
NFData DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction Methods rnf :: DeleteFunctionResponse -> () # | |
Eq DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction Methods (==) :: DeleteFunctionResponse -> DeleteFunctionResponse -> Bool # (/=) :: DeleteFunctionResponse -> DeleteFunctionResponse -> Bool # | |
type Rep DeleteFunctionResponse Source # | |
newDeleteFunctionResponse :: DeleteFunctionResponse Source #
Create a value of DeleteFunctionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteFunctionCodeSigningConfig
data DeleteFunctionCodeSigningConfig Source #
See: newDeleteFunctionCodeSigningConfig
smart constructor.
Constructors
DeleteFunctionCodeSigningConfig' Text |
Instances
newDeleteFunctionCodeSigningConfig Source #
Create a value of DeleteFunctionCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteFunctionCodeSigningConfig
, deleteFunctionCodeSigningConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data DeleteFunctionCodeSigningConfigResponse Source #
See: newDeleteFunctionCodeSigningConfigResponse
smart constructor.
Constructors
DeleteFunctionCodeSigningConfigResponse' | |
Instances
newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse Source #
Create a value of DeleteFunctionCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteFunctionConcurrency
data DeleteFunctionConcurrency Source #
See: newDeleteFunctionConcurrency
smart constructor.
Constructors
DeleteFunctionConcurrency' Text |
Instances
newDeleteFunctionConcurrency Source #
Arguments
:: Text | |
-> DeleteFunctionConcurrency |
Create a value of DeleteFunctionConcurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteFunctionConcurrency
, deleteFunctionConcurrency_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data DeleteFunctionConcurrencyResponse Source #
See: newDeleteFunctionConcurrencyResponse
smart constructor.
Constructors
DeleteFunctionConcurrencyResponse' | |
Instances
Generic DeleteFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionConcurrency Associated Types type Rep DeleteFunctionConcurrencyResponse :: Type -> Type # | |
Read DeleteFunctionConcurrencyResponse Source # | |
Show DeleteFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionConcurrency Methods showsPrec :: Int -> DeleteFunctionConcurrencyResponse -> ShowS # | |
NFData DeleteFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionConcurrency Methods rnf :: DeleteFunctionConcurrencyResponse -> () # | |
Eq DeleteFunctionConcurrencyResponse Source # | |
type Rep DeleteFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionConcurrency |
newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse Source #
Create a value of DeleteFunctionConcurrencyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteFunctionEventInvokeConfig
data DeleteFunctionEventInvokeConfig Source #
See: newDeleteFunctionEventInvokeConfig
smart constructor.
Constructors
DeleteFunctionEventInvokeConfig' (Maybe Text) Text |
Instances
newDeleteFunctionEventInvokeConfig Source #
Create a value of DeleteFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:DeleteFunctionEventInvokeConfig'
, deleteFunctionEventInvokeConfig_qualifier
- A version number or alias name.
DeleteFunctionEventInvokeConfig
, deleteFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data DeleteFunctionEventInvokeConfigResponse Source #
See: newDeleteFunctionEventInvokeConfigResponse
smart constructor.
Constructors
DeleteFunctionEventInvokeConfigResponse' | |
Instances
newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse Source #
Create a value of DeleteFunctionEventInvokeConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteFunctionUrlConfig
data DeleteFunctionUrlConfig Source #
See: newDeleteFunctionUrlConfig
smart constructor.
Constructors
DeleteFunctionUrlConfig' (Maybe Text) Text |
Instances
newDeleteFunctionUrlConfig Source #
Arguments
:: Text | |
-> DeleteFunctionUrlConfig |
Create a value of DeleteFunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:DeleteFunctionUrlConfig'
, deleteFunctionUrlConfig_qualifier
- The alias name.
DeleteFunctionUrlConfig
, deleteFunctionUrlConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data DeleteFunctionUrlConfigResponse Source #
See: newDeleteFunctionUrlConfigResponse
smart constructor.
Constructors
DeleteFunctionUrlConfigResponse' | |
Instances
Generic DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Associated Types type Rep DeleteFunctionUrlConfigResponse :: Type -> Type # | |
Read DeleteFunctionUrlConfigResponse Source # | |
Show DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Methods showsPrec :: Int -> DeleteFunctionUrlConfigResponse -> ShowS # | |
NFData DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig Methods rnf :: DeleteFunctionUrlConfigResponse -> () # | |
Eq DeleteFunctionUrlConfigResponse Source # | |
type Rep DeleteFunctionUrlConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionUrlConfig |
newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse Source #
Create a value of DeleteFunctionUrlConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteLayerVersion
data DeleteLayerVersion Source #
See: newDeleteLayerVersion
smart constructor.
Constructors
DeleteLayerVersion' Text Integer |
Instances
newDeleteLayerVersion Source #
Arguments
:: Text | |
-> Integer | |
-> DeleteLayerVersion |
Create a value of DeleteLayerVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteLayerVersion
, deleteLayerVersion_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:DeleteLayerVersion'
, deleteLayerVersion_versionNumber
- The version number.
data DeleteLayerVersionResponse Source #
See: newDeleteLayerVersionResponse
smart constructor.
Constructors
DeleteLayerVersionResponse' | |
Instances
newDeleteLayerVersionResponse :: DeleteLayerVersionResponse Source #
Create a value of DeleteLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteProvisionedConcurrencyConfig
data DeleteProvisionedConcurrencyConfig Source #
See: newDeleteProvisionedConcurrencyConfig
smart constructor.
Constructors
DeleteProvisionedConcurrencyConfig' Text Text |
Instances
newDeleteProvisionedConcurrencyConfig Source #
Arguments
:: Text | |
-> Text | |
-> DeleteProvisionedConcurrencyConfig |
Create a value of DeleteProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteProvisionedConcurrencyConfig
, deleteProvisionedConcurrencyConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:qualifier:DeleteProvisionedConcurrencyConfig'
, deleteProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
data DeleteProvisionedConcurrencyConfigResponse Source #
See: newDeleteProvisionedConcurrencyConfigResponse
smart constructor.
Constructors
DeleteProvisionedConcurrencyConfigResponse' | |
Instances
Generic DeleteProvisionedConcurrencyConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteProvisionedConcurrencyConfig Associated Types type Rep DeleteProvisionedConcurrencyConfigResponse :: Type -> Type # | |
Read DeleteProvisionedConcurrencyConfigResponse Source # | |
Show DeleteProvisionedConcurrencyConfigResponse Source # | |
NFData DeleteProvisionedConcurrencyConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteProvisionedConcurrencyConfig Methods | |
Eq DeleteProvisionedConcurrencyConfigResponse Source # | |
type Rep DeleteProvisionedConcurrencyConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteProvisionedConcurrencyConfig type Rep DeleteProvisionedConcurrencyConfigResponse = D1 ('MetaData "DeleteProvisionedConcurrencyConfigResponse" "Amazonka.Lambda.DeleteProvisionedConcurrencyConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "DeleteProvisionedConcurrencyConfigResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteProvisionedConcurrencyConfigResponse :: DeleteProvisionedConcurrencyConfigResponse Source #
Create a value of DeleteProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetAccountSettings
data GetAccountSettings Source #
See: newGetAccountSettings
smart constructor.
Constructors
GetAccountSettings' | |
Instances
newGetAccountSettings :: GetAccountSettings Source #
Create a value of GetAccountSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data GetAccountSettingsResponse Source #
See: newGetAccountSettingsResponse
smart constructor.
Constructors
GetAccountSettingsResponse' (Maybe AccountLimit) (Maybe AccountUsage) Int |
Instances
newGetAccountSettingsResponse Source #
Create a value of GetAccountSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountLimit:GetAccountSettingsResponse'
, getAccountSettingsResponse_accountLimit
- Limits that are related to concurrency and code storage.
$sel:accountUsage:GetAccountSettingsResponse'
, getAccountSettingsResponse_accountUsage
- The number of functions and amount of storage in use.
$sel:httpStatus:GetAccountSettingsResponse'
, getAccountSettingsResponse_httpStatus
- The response's http status code.
GetAlias
See: newGetAlias
smart constructor.
Instances
Create a value of GetAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetAlias
, getAlias_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
GetAlias
, getAlias_name
- The name of the alias.
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
Constructors
AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) |
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
GetCodeSigningConfig
data GetCodeSigningConfig Source #
See: newGetCodeSigningConfig
smart constructor.
Constructors
GetCodeSigningConfig' Text |
Instances
newGetCodeSigningConfig Source #
Arguments
:: Text | |
-> GetCodeSigningConfig |
Create a value of GetCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetCodeSigningConfig
, getCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data GetCodeSigningConfigResponse Source #
See: newGetCodeSigningConfigResponse
smart constructor.
Constructors
GetCodeSigningConfigResponse' Int CodeSigningConfig |
Instances
newGetCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> CodeSigningConfig | |
-> GetCodeSigningConfigResponse |
Create a value of GetCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetCodeSigningConfigResponse'
, getCodeSigningConfigResponse_httpStatus
- The response's http status code.
$sel:codeSigningConfig:GetCodeSigningConfigResponse'
, getCodeSigningConfigResponse_codeSigningConfig
- The code signing configuration
GetEventSourceMapping
data GetEventSourceMapping Source #
See: newGetEventSourceMapping
smart constructor.
Constructors
GetEventSourceMapping' Text |
Instances
newGetEventSourceMapping Source #
Arguments
:: Text | |
-> GetEventSourceMapping |
Create a value of GetEventSourceMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetEventSourceMapping
, getEventSourceMapping_uuid
- The identifier of the event source mapping.
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text) |
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
GetFunction
data GetFunction Source #
See: newGetFunction
smart constructor.
Constructors
GetFunction' (Maybe Text) Text |
Instances
Arguments
:: Text | |
-> GetFunction |
Create a value of GetFunction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetFunction'
, getFunction_qualifier
- Specify a version or alias to get details about a published version of
the function.
GetFunction
, getFunction_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetFunctionResponse Source #
See: newGetFunctionResponse
smart constructor.
Constructors
GetFunctionResponse' (Maybe FunctionCodeLocation) (Maybe Concurrency) (Maybe FunctionConfiguration) (Maybe (HashMap Text Text)) Int |
Instances
newGetFunctionResponse Source #
Arguments
:: Int | |
-> GetFunctionResponse |
Create a value of GetFunctionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:GetFunctionResponse'
, getFunctionResponse_code
- The deployment package of the function or version.
$sel:concurrency:GetFunctionResponse'
, getFunctionResponse_concurrency
- The function's
reserved concurrency.
$sel:configuration:GetFunctionResponse'
, getFunctionResponse_configuration
- The configuration of the function or version.
$sel:tags:GetFunctionResponse'
, getFunctionResponse_tags
- The function's
tags.
$sel:httpStatus:GetFunctionResponse'
, getFunctionResponse_httpStatus
- The response's http status code.
GetFunctionCodeSigningConfig
data GetFunctionCodeSigningConfig Source #
See: newGetFunctionCodeSigningConfig
smart constructor.
Constructors
GetFunctionCodeSigningConfig' Text |
Instances
newGetFunctionCodeSigningConfig Source #
Arguments
:: Text | |
-> GetFunctionCodeSigningConfig |
Create a value of GetFunctionCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetFunctionCodeSigningConfig
, getFunctionCodeSigningConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetFunctionCodeSigningConfigResponse Source #
See: newGetFunctionCodeSigningConfigResponse
smart constructor.
Constructors
GetFunctionCodeSigningConfigResponse' Int Text Text |
Instances
newGetFunctionCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> GetFunctionCodeSigningConfigResponse |
Create a value of GetFunctionCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetFunctionCodeSigningConfigResponse'
, getFunctionCodeSigningConfigResponse_httpStatus
- The response's http status code.
GetFunctionCodeSigningConfigResponse
, getFunctionCodeSigningConfigResponse_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
GetFunctionCodeSigningConfig
, getFunctionCodeSigningConfigResponse_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
GetFunctionConcurrency
data GetFunctionConcurrency Source #
See: newGetFunctionConcurrency
smart constructor.
Constructors
GetFunctionConcurrency' Text |
Instances
newGetFunctionConcurrency Source #
Arguments
:: Text | |
-> GetFunctionConcurrency |
Create a value of GetFunctionConcurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetFunctionConcurrency
, getFunctionConcurrency_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetFunctionConcurrencyResponse Source #
See: newGetFunctionConcurrencyResponse
smart constructor.
Constructors
GetFunctionConcurrencyResponse' (Maybe Natural) Int |
Instances
newGetFunctionConcurrencyResponse Source #
Create a value of GetFunctionConcurrencyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetFunctionConcurrencyResponse
, getFunctionConcurrencyResponse_reservedConcurrentExecutions
- The number of simultaneous executions that are reserved for the
function.
$sel:httpStatus:GetFunctionConcurrencyResponse'
, getFunctionConcurrencyResponse_httpStatus
- The response's http status code.
GetFunctionConfiguration
data GetFunctionConfiguration Source #
See: newGetFunctionConfiguration
smart constructor.
Constructors
GetFunctionConfiguration' (Maybe Text) Text |
Instances
newGetFunctionConfiguration Source #
Arguments
:: Text | |
-> GetFunctionConfiguration |
Create a value of GetFunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetFunctionConfiguration'
, getFunctionConfiguration_qualifier
- Specify a version or alias to get details about a published version of
the function.
GetFunctionConfiguration
, getFunctionConfiguration_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
GetFunctionEventInvokeConfig
data GetFunctionEventInvokeConfig Source #
See: newGetFunctionEventInvokeConfig
smart constructor.
Constructors
GetFunctionEventInvokeConfig' (Maybe Text) Text |
Instances
newGetFunctionEventInvokeConfig Source #
Arguments
:: Text | |
-> GetFunctionEventInvokeConfig |
Create a value of GetFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetFunctionEventInvokeConfig'
, getFunctionEventInvokeConfig_qualifier
- A version number or alias name.
GetFunctionEventInvokeConfig
, getFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
Constructors
FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural) |
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
GetFunctionUrlConfig
data GetFunctionUrlConfig Source #
See: newGetFunctionUrlConfig
smart constructor.
Constructors
GetFunctionUrlConfig' (Maybe Text) Text |
Instances
newGetFunctionUrlConfig Source #
Arguments
:: Text | |
-> GetFunctionUrlConfig |
Create a value of GetFunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetFunctionUrlConfig'
, getFunctionUrlConfig_qualifier
- The alias name.
GetFunctionUrlConfig
, getFunctionUrlConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetFunctionUrlConfigResponse Source #
See: newGetFunctionUrlConfigResponse
smart constructor.
Constructors
GetFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text Text |
Instances
newGetFunctionUrlConfigResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> Text | |
-> Text | |
-> GetFunctionUrlConfigResponse |
Create a value of GetFunctionUrlConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:httpStatus:GetFunctionUrlConfigResponse'
, getFunctionUrlConfigResponse_httpStatus
- The response's http status code.
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_functionUrl
- The HTTP URL endpoint for your function.
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_functionArn
- The Amazon Resource Name (ARN) of your function.
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
GetFunctionUrlConfigResponse
, getFunctionUrlConfigResponse_lastModifiedTime
- When the function URL configuration was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
GetLayerVersion
data GetLayerVersion Source #
See: newGetLayerVersion
smart constructor.
Constructors
GetLayerVersion' Text Integer |
Instances
Create a value of GetLayerVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetLayerVersion
, getLayerVersion_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:GetLayerVersion'
, getLayerVersion_versionNumber
- The version number.
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
Constructors
GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) |
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
GetLayerVersionByArn
data GetLayerVersionByArn Source #
See: newGetLayerVersionByArn
smart constructor.
Constructors
GetLayerVersionByArn' Text |
Instances
newGetLayerVersionByArn Source #
Arguments
:: Text | |
-> GetLayerVersionByArn |
Create a value of GetLayerVersionByArn
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetLayerVersionByArn
, getLayerVersionByArn_arn
- The ARN of the layer version.
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
Constructors
GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) |
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
GetLayerVersionPolicy
data GetLayerVersionPolicy Source #
See: newGetLayerVersionPolicy
smart constructor.
Constructors
GetLayerVersionPolicy' Text Integer |
Instances
newGetLayerVersionPolicy Source #
Arguments
:: Text | |
-> Integer | |
-> GetLayerVersionPolicy |
Create a value of GetLayerVersionPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetLayerVersionPolicy
, getLayerVersionPolicy_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:GetLayerVersionPolicy'
, getLayerVersionPolicy_versionNumber
- The version number.
data GetLayerVersionPolicyResponse Source #
See: newGetLayerVersionPolicyResponse
smart constructor.
Instances
newGetLayerVersionPolicyResponse Source #
Create a value of GetLayerVersionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GetLayerVersionPolicyResponse'
, getLayerVersionPolicyResponse_policy
- The policy document.
GetLayerVersionPolicyResponse
, getLayerVersionPolicyResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:httpStatus:GetLayerVersionPolicyResponse'
, getLayerVersionPolicyResponse_httpStatus
- The response's http status code.
GetPolicy
See: newGetPolicy
smart constructor.
Constructors
GetPolicy' (Maybe Text) Text |
Instances
Create a value of GetPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetPolicy'
, getPolicy_qualifier
- Specify a version or alias to get the policy for that resource.
GetPolicy
, getPolicy_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetPolicyResponse Source #
See: newGetPolicyResponse
smart constructor.
Instances
Arguments
:: Int | |
-> GetPolicyResponse |
Create a value of GetPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GetPolicyResponse'
, getPolicyResponse_policy
- The resource-based policy.
GetPolicyResponse
, getPolicyResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:httpStatus:GetPolicyResponse'
, getPolicyResponse_httpStatus
- The response's http status code.
GetProvisionedConcurrencyConfig
data GetProvisionedConcurrencyConfig Source #
See: newGetProvisionedConcurrencyConfig
smart constructor.
Constructors
GetProvisionedConcurrencyConfig' Text Text |
Instances
newGetProvisionedConcurrencyConfig Source #
Arguments
:: Text | |
-> Text | |
-> GetProvisionedConcurrencyConfig |
Create a value of GetProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetProvisionedConcurrencyConfig
, getProvisionedConcurrencyConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:qualifier:GetProvisionedConcurrencyConfig'
, getProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
data GetProvisionedConcurrencyConfigResponse Source #
See: newGetProvisionedConcurrencyConfigResponse
smart constructor.
Constructors
GetProvisionedConcurrencyConfigResponse' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) Int |
Instances
newGetProvisionedConcurrencyConfigResponse Source #
Arguments
:: Int | |
-> GetProvisionedConcurrencyConfigResponse |
Create a value of GetProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated. When a weighted alias
is used during linear and canary deployments, this value fluctuates
depending on the amount of concurrency that is provisioned for the
function versions.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:httpStatus:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
Invoke
See: newInvoke
smart constructor.
Constructors
Invoke' (Maybe Text) (Maybe InvocationType) (Maybe LogType) (Maybe Text) Text ByteString |
Instances
Arguments
:: Text | |
-> ByteString | |
-> Invoke |
Create a value of Invoke
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientContext:Invoke'
, invoke_clientContext
- Up to 3,583 bytes of base64-encoded data about the invoking client to
pass to the function in the context object.
$sel:invocationType:Invoke'
, invoke_invocationType
- Choose from the following options.
RequestResponse
(default) – Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.Event
– Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if one is configured). The API response only includes a status code.DryRun
– Validate parameter values and verify that the user or role has permission to invoke the function.
$sel:logType:Invoke'
, invoke_logType
- Set to Tail
to include the execution log in the response. Applies to
synchronously invoked functions only.
$sel:qualifier:Invoke'
, invoke_qualifier
- Specify a version or alias to invoke a published version of the
function.
Invoke
, invoke_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Invoke
, invoke_payload
- The JSON that you want to provide to your Lambda function as input.
You can enter the JSON directly. For example,
--payload '{ "key": "value" }'
. You can also specify a file
path. For example, --payload file://payload.json
.
data InvokeResponse Source #
See: newInvokeResponse
smart constructor.
Constructors
InvokeResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ByteString) Int |
Instances
Arguments
:: Int | |
-> InvokeResponse |
Create a value of InvokeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executedVersion:InvokeResponse'
, invokeResponse_executedVersion
- The version of the function that executed. When you invoke a function
with an alias, this indicates which version the alias resolved to.
$sel:functionError:InvokeResponse'
, invokeResponse_functionError
- If present, indicates that an error occurred during function execution.
Details about the error are included in the response payload.
$sel:logResult:InvokeResponse'
, invokeResponse_logResult
- The last 4 KB of the execution log, which is base64-encoded.
Invoke
, invokeResponse_payload
- The response from the function, or an error object.
$sel:statusCode:InvokeResponse'
, invokeResponse_statusCode
- The HTTP status code is in the 200 range for a successful request. For
the RequestResponse
invocation type, this status code is 200. For the
Event
invocation type, this status code is 202. For the DryRun
invocation type, the status code is 204.
ListAliases (Paginated)
data ListAliases Source #
See: newListAliases
smart constructor.
Instances
Arguments
:: Text | |
-> ListAliases |
Create a value of ListAliases
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListAliases
, listAliases_functionVersion
- Specify a function version to only list aliases that invoke that
version.
$sel:marker:ListAliases'
, listAliases_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListAliases'
, listAliases_maxItems
- Limit the number of aliases returned.
ListAliases
, listAliases_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListAliasesResponse Source #
See: newListAliasesResponse
smart constructor.
Constructors
ListAliasesResponse' (Maybe [AliasConfiguration]) (Maybe Text) Int |
Instances
newListAliasesResponse Source #
Arguments
:: Int | |
-> ListAliasesResponse |
Create a value of ListAliasesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliases:ListAliasesResponse'
, listAliasesResponse_aliases
- A list of aliases.
$sel:nextMarker:ListAliasesResponse'
, listAliasesResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListAliasesResponse'
, listAliasesResponse_httpStatus
- The response's http status code.
ListCodeSigningConfigs (Paginated)
data ListCodeSigningConfigs Source #
See: newListCodeSigningConfigs
smart constructor.
Constructors
ListCodeSigningConfigs' (Maybe Text) (Maybe Natural) |
Instances
newListCodeSigningConfigs :: ListCodeSigningConfigs Source #
Create a value of ListCodeSigningConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListCodeSigningConfigs'
, listCodeSigningConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListCodeSigningConfigs'
, listCodeSigningConfigs_maxItems
- Maximum number of items to return.
data ListCodeSigningConfigsResponse Source #
See: newListCodeSigningConfigsResponse
smart constructor.
Constructors
ListCodeSigningConfigsResponse' (Maybe [CodeSigningConfig]) (Maybe Text) Int |
Instances
newListCodeSigningConfigsResponse Source #
Create a value of ListCodeSigningConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSigningConfigs:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_codeSigningConfigs
- The code signing configurations
$sel:nextMarker:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_httpStatus
- The response's http status code.
ListEventSourceMappings (Paginated)
data ListEventSourceMappings Source #
See: newListEventSourceMappings
smart constructor.
Instances
newListEventSourceMappings :: ListEventSourceMappings Source #
Create a value of ListEventSourceMappings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListEventSourceMappings
, listEventSourceMappings_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
- Amazon Kinesis - The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams - The ARN of the stream.
- Amazon Simple Queue Service - The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
- Amazon MQ - The ARN of the broker.
ListEventSourceMappings
, listEventSourceMappings_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
$sel:marker:ListEventSourceMappings'
, listEventSourceMappings_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListEventSourceMappings'
, listEventSourceMappings_maxItems
- The maximum number of event source mappings to return. Note that
ListEventSourceMappings returns a maximum of 100 items in each response,
even if you set the number higher.
data ListEventSourceMappingsResponse Source #
See: newListEventSourceMappingsResponse
smart constructor.
Constructors
ListEventSourceMappingsResponse' (Maybe [EventSourceMappingConfiguration]) (Maybe Text) Int |
Instances
newListEventSourceMappingsResponse Source #
Create a value of ListEventSourceMappingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSourceMappings:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_eventSourceMappings
- A list of event source mappings.
$sel:nextMarker:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_nextMarker
- A pagination token that's returned when the response doesn't contain
all event source mappings.
$sel:httpStatus:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_httpStatus
- The response's http status code.
ListFunctionEventInvokeConfigs (Paginated)
data ListFunctionEventInvokeConfigs Source #
See: newListFunctionEventInvokeConfigs
smart constructor.
Instances
newListFunctionEventInvokeConfigs Source #
Create a value of ListFunctionEventInvokeConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListFunctionEventInvokeConfigs'
, listFunctionEventInvokeConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctionEventInvokeConfigs'
, listFunctionEventInvokeConfigs_maxItems
- The maximum number of configurations to return.
ListFunctionEventInvokeConfigs
, listFunctionEventInvokeConfigs_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListFunctionEventInvokeConfigsResponse Source #
See: newListFunctionEventInvokeConfigsResponse
smart constructor.
Constructors
ListFunctionEventInvokeConfigsResponse' (Maybe [FunctionEventInvokeConfig]) (Maybe Text) Int |
Instances
newListFunctionEventInvokeConfigsResponse Source #
Arguments
:: Int | |
-> ListFunctionEventInvokeConfigsResponse |
Create a value of ListFunctionEventInvokeConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionEventInvokeConfigs:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs
- A list of configurations.
$sel:nextMarker:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_httpStatus
- The response's http status code.
ListFunctionUrlConfigs (Paginated)
data ListFunctionUrlConfigs Source #
See: newListFunctionUrlConfigs
smart constructor.
Instances
newListFunctionUrlConfigs Source #
Arguments
:: Text | |
-> ListFunctionUrlConfigs |
Create a value of ListFunctionUrlConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListFunctionUrlConfigs'
, listFunctionUrlConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctionUrlConfigs'
, listFunctionUrlConfigs_maxItems
- The maximum number of function URLs to return in the response. Note that
ListFunctionUrlConfigs
returns a maximum of 50 items in each response,
even if you set the number higher.
ListFunctionUrlConfigs
, listFunctionUrlConfigs_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListFunctionUrlConfigsResponse Source #
See: newListFunctionUrlConfigsResponse
smart constructor.
Constructors
ListFunctionUrlConfigsResponse' (Maybe Text) Int [FunctionUrlConfig] |
Instances
newListFunctionUrlConfigsResponse Source #
Create a value of ListFunctionUrlConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListFunctionUrlConfigsResponse'
, listFunctionUrlConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionUrlConfigsResponse'
, listFunctionUrlConfigsResponse_httpStatus
- The response's http status code.
$sel:functionUrlConfigs:ListFunctionUrlConfigsResponse'
, listFunctionUrlConfigsResponse_functionUrlConfigs
- A list of function URL configurations.
ListFunctions (Paginated)
data ListFunctions Source #
See: newListFunctions
smart constructor.
Constructors
ListFunctions' (Maybe FunctionVersion) (Maybe Text) (Maybe Text) (Maybe Natural) |
Instances
newListFunctions :: ListFunctions Source #
Create a value of ListFunctions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListFunctions
, listFunctions_functionVersion
- Set to ALL
to include entries for all published versions of each
function.
$sel:marker:ListFunctions'
, listFunctions_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:masterRegion:ListFunctions'
, listFunctions_masterRegion
- For Lambda@Edge functions, the Amazon Web Services Region of the master
function. For example, us-east-1
filters the list of functions to
include only Lambda@Edge functions replicated from a master function in
US East (N. Virginia). If specified, you must set FunctionVersion
to
ALL
.
$sel:maxItems:ListFunctions'
, listFunctions_maxItems
- The maximum number of functions to return in the response. Note that
ListFunctions
returns a maximum of 50 items in each response, even if
you set the number higher.
data ListFunctionsResponse Source #
A list of Lambda functions.
See: newListFunctionsResponse
smart constructor.
Constructors
ListFunctionsResponse' (Maybe [FunctionConfiguration]) (Maybe Text) Int |
Instances
newListFunctionsResponse Source #
Create a value of ListFunctionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functions:ListFunctionsResponse'
, listFunctionsResponse_functions
- A list of Lambda functions.
$sel:nextMarker:ListFunctionsResponse'
, listFunctionsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionsResponse'
, listFunctionsResponse_httpStatus
- The response's http status code.
ListFunctionsByCodeSigningConfig (Paginated)
data ListFunctionsByCodeSigningConfig Source #
See: newListFunctionsByCodeSigningConfig
smart constructor.
Instances
newListFunctionsByCodeSigningConfig Source #
Create a value of ListFunctionsByCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListFunctionsByCodeSigningConfig'
, listFunctionsByCodeSigningConfig_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctionsByCodeSigningConfig'
, listFunctionsByCodeSigningConfig_maxItems
- Maximum number of items to return.
ListFunctionsByCodeSigningConfig
, listFunctionsByCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data ListFunctionsByCodeSigningConfigResponse Source #
See: newListFunctionsByCodeSigningConfigResponse
smart constructor.
Instances
newListFunctionsByCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> ListFunctionsByCodeSigningConfigResponse |
Create a value of ListFunctionsByCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionArns:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_functionArns
- The function ARNs.
$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_httpStatus
- The response's http status code.
ListLayerVersions (Paginated)
data ListLayerVersions Source #
See: newListLayerVersions
smart constructor.
Constructors
ListLayerVersions' (Maybe Architecture) (Maybe Runtime) (Maybe Text) (Maybe Natural) Text |
Instances
Arguments
:: Text | |
-> ListLayerVersions |
Create a value of ListLayerVersions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitecture:ListLayerVersions'
, listLayerVersions_compatibleArchitecture
- The compatible
instruction set architecture.
$sel:compatibleRuntime:ListLayerVersions'
, listLayerVersions_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayerVersions'
, listLayerVersions_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayerVersions'
, listLayerVersions_maxItems
- The maximum number of versions to return.
ListLayerVersions
, listLayerVersions_layerName
- The name or Amazon Resource Name (ARN) of the layer.
data ListLayerVersionsResponse Source #
See: newListLayerVersionsResponse
smart constructor.
Constructors
ListLayerVersionsResponse' (Maybe [LayerVersionsListItem]) (Maybe Text) Int |
Instances
newListLayerVersionsResponse Source #
Create a value of ListLayerVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersions:ListLayerVersionsResponse'
, listLayerVersionsResponse_layerVersions
- A list of versions.
$sel:nextMarker:ListLayerVersionsResponse'
, listLayerVersionsResponse_nextMarker
- A pagination token returned when the response doesn't contain all
versions.
$sel:httpStatus:ListLayerVersionsResponse'
, listLayerVersionsResponse_httpStatus
- The response's http status code.
ListLayers (Paginated)
data ListLayers Source #
See: newListLayers
smart constructor.
Constructors
ListLayers' (Maybe Architecture) (Maybe Runtime) (Maybe Text) (Maybe Natural) |
Instances
newListLayers :: ListLayers Source #
Create a value of ListLayers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitecture:ListLayers'
, listLayers_compatibleArchitecture
- The compatible
instruction set architecture.
$sel:compatibleRuntime:ListLayers'
, listLayers_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayers'
, listLayers_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayers'
, listLayers_maxItems
- The maximum number of layers to return.
data ListLayersResponse Source #
See: newListLayersResponse
smart constructor.
Constructors
ListLayersResponse' (Maybe [LayersListItem]) (Maybe Text) Int |
Instances
newListLayersResponse Source #
Arguments
:: Int | |
-> ListLayersResponse |
Create a value of ListLayersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListLayersResponse
, listLayersResponse_layers
- A list of function layers.
$sel:nextMarker:ListLayersResponse'
, listLayersResponse_nextMarker
- A pagination token returned when the response doesn't contain all
layers.
$sel:httpStatus:ListLayersResponse'
, listLayersResponse_httpStatus
- The response's http status code.
ListProvisionedConcurrencyConfigs (Paginated)
data ListProvisionedConcurrencyConfigs Source #
See: newListProvisionedConcurrencyConfigs
smart constructor.
Instances
newListProvisionedConcurrencyConfigs Source #
Create a value of ListProvisionedConcurrencyConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListProvisionedConcurrencyConfigs'
, listProvisionedConcurrencyConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListProvisionedConcurrencyConfigs'
, listProvisionedConcurrencyConfigs_maxItems
- Specify a number to limit the number of configurations returned.
ListProvisionedConcurrencyConfigs
, listProvisionedConcurrencyConfigs_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListProvisionedConcurrencyConfigsResponse Source #
See: newListProvisionedConcurrencyConfigsResponse
smart constructor.
Constructors
ListProvisionedConcurrencyConfigsResponse' (Maybe Text) (Maybe [ProvisionedConcurrencyConfigListItem]) Int |
Instances
newListProvisionedConcurrencyConfigsResponse Source #
Arguments
:: Int | |
-> ListProvisionedConcurrencyConfigsResponse |
Create a value of ListProvisionedConcurrencyConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:provisionedConcurrencyConfigs:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs
- A list of provisioned concurrency configurations.
$sel:httpStatus:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_httpStatus
- The response's http status code.
ListTags
See: newListTags
smart constructor.
Instances
ToHeaders ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
ToPath ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Methods toPath :: ListTags -> ByteString # | |
ToQuery ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Methods toQuery :: ListTags -> QueryString # | |
AWSRequest ListTags Source # | |
Defined in Amazonka.Lambda.ListTags Associated Types type AWSResponse ListTags # Methods request :: (Service -> Service) -> ListTags -> Request ListTags # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
Generic ListTags Source # | |
Read ListTags Source # | |
Show ListTags Source # | |
NFData ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
Eq ListTags Source # | |
Hashable ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
type AWSResponse ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
type Rep ListTags Source # | |
Defined in Amazonka.Lambda.ListTags |
Create a value of ListTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:ListTags'
, listTags_resource
- The function's Amazon Resource Name (ARN). Note: Lambda does not
support adding tags to aliases or versions.
data ListTagsResponse Source #
See: newListTagsResponse
smart constructor.
Instances
Arguments
:: Int | |
-> ListTagsResponse |
Create a value of ListTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsResponse'
, listTagsResponse_tags
- The function's tags.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
ListVersionsByFunction (Paginated)
data ListVersionsByFunction Source #
See: newListVersionsByFunction
smart constructor.
Instances
newListVersionsByFunction Source #
Arguments
:: Text | |
-> ListVersionsByFunction |
Create a value of ListVersionsByFunction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListVersionsByFunction'
, listVersionsByFunction_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListVersionsByFunction'
, listVersionsByFunction_maxItems
- The maximum number of versions to return. Note that
ListVersionsByFunction
returns a maximum of 50 items in each response,
even if you set the number higher.
ListVersionsByFunction
, listVersionsByFunction_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListVersionsByFunctionResponse Source #
See: newListVersionsByFunctionResponse
smart constructor.
Constructors
ListVersionsByFunctionResponse' (Maybe Text) (Maybe [FunctionConfiguration]) Int |
Instances
newListVersionsByFunctionResponse Source #
Create a value of ListVersionsByFunctionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:versions:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_versions
- A list of Lambda function versions.
$sel:httpStatus:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_httpStatus
- The response's http status code.
PublishLayerVersion
data PublishLayerVersion Source #
See: newPublishLayerVersion
smart constructor.
Constructors
PublishLayerVersion' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe Text) (Maybe Text) Text LayerVersionContentInput |
Instances
newPublishLayerVersion Source #
Arguments
:: Text | |
-> LayerVersionContentInput | |
-> PublishLayerVersion |
Create a value of PublishLayerVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PublishLayerVersion
, publishLayerVersion_compatibleArchitectures
- A list of compatible
instruction set architectures.
PublishLayerVersion
, publishLayerVersion_compatibleRuntimes
- A list of compatible
function runtimes.
Used for filtering with ListLayers and ListLayerVersions.
PublishLayerVersion
, publishLayerVersion_description
- The description of the version.
PublishLayerVersion
, publishLayerVersion_licenseInfo
- The layer's software license. It can be any of the following:
- An SPDX license identifier. For
example,
MIT
. - The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT
. - The full text of the license.
PublishLayerVersion
, publishLayerVersion_layerName
- The name or Amazon Resource Name (ARN) of the layer.
PublishLayerVersion
, publishLayerVersion_content
- The function layer archive.
data PublishLayerVersionResponse Source #
See: newPublishLayerVersionResponse
smart constructor.
Constructors
PublishLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) Int |
Instances
newPublishLayerVersionResponse Source #
Create a value of PublishLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PublishLayerVersion
, publishLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
PublishLayerVersion
, publishLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
PublishLayerVersion
, publishLayerVersionResponse_content
- Details about the layer version.
PublishLayerVersionResponse
, publishLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
PublishLayerVersion
, publishLayerVersionResponse_description
- The description of the version.
PublishLayerVersionResponse
, publishLayerVersionResponse_layerArn
- The ARN of the layer.
PublishLayerVersionResponse
, publishLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
PublishLayerVersion
, publishLayerVersionResponse_licenseInfo
- The layer's software license.
PublishLayerVersionResponse
, publishLayerVersionResponse_version
- The version number.
$sel:httpStatus:PublishLayerVersionResponse'
, publishLayerVersionResponse_httpStatus
- The response's http status code.
PublishVersion
data PublishVersion Source #
See: newPublishVersion
smart constructor.
Instances
Arguments
:: Text | |
-> PublishVersion |
Create a value of PublishVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PublishVersion
, publishVersion_codeSha256
- Only publish a version if the hash value matches the value that's
specified. Use this option to avoid publishing a version if the function
code has changed since you last updated it. You can get the hash for the
version that you uploaded from the output of UpdateFunctionCode.
PublishVersion
, publishVersion_description
- A description for the version to override the description in the
function configuration.
PublishVersion
, publishVersion_revisionId
- Only update the function if the revision ID matches the ID that's
specified. Use this option to avoid publishing a version if the function
configuration has changed since you last updated it.
PublishVersion
, publishVersion_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
PutFunctionCodeSigningConfig
data PutFunctionCodeSigningConfig Source #
See: newPutFunctionCodeSigningConfig
smart constructor.
Constructors
PutFunctionCodeSigningConfig' Text Text |
Instances
newPutFunctionCodeSigningConfig Source #
Arguments
:: Text | |
-> Text | |
-> PutFunctionCodeSigningConfig |
Create a value of PutFunctionCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutFunctionCodeSigningConfig
, putFunctionCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
PutFunctionCodeSigningConfig
, putFunctionCodeSigningConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data PutFunctionCodeSigningConfigResponse Source #
See: newPutFunctionCodeSigningConfigResponse
smart constructor.
Constructors
PutFunctionCodeSigningConfigResponse' Int Text Text |
Instances
newPutFunctionCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> PutFunctionCodeSigningConfigResponse |
Create a value of PutFunctionCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutFunctionCodeSigningConfigResponse'
, putFunctionCodeSigningConfigResponse_httpStatus
- The response's http status code.
PutFunctionCodeSigningConfig
, putFunctionCodeSigningConfigResponse_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
PutFunctionCodeSigningConfig
, putFunctionCodeSigningConfigResponse_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
PutFunctionConcurrency
data PutFunctionConcurrency Source #
See: newPutFunctionConcurrency
smart constructor.
Constructors
PutFunctionConcurrency' Text Natural |
Instances
newPutFunctionConcurrency Source #
Create a value of PutFunctionConcurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutFunctionConcurrency
, putFunctionConcurrency_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
PutFunctionConcurrency
, putFunctionConcurrency_reservedConcurrentExecutions
- The number of simultaneous executions to reserve for the function.
data Concurrency Source #
See: newConcurrency
smart constructor.
Constructors
Concurrency' (Maybe Natural) |
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Lambda reserved concurrency.
PutFunctionEventInvokeConfig
data PutFunctionEventInvokeConfig Source #
See: newPutFunctionEventInvokeConfig
smart constructor.
Constructors
PutFunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Natural) (Maybe Natural) (Maybe Text) Text |
Instances
newPutFunctionEventInvokeConfig Source #
Arguments
:: Text | |
-> PutFunctionEventInvokeConfig |
Create a value of PutFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutFunctionEventInvokeConfig
, putFunctionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
PutFunctionEventInvokeConfig
, putFunctionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
PutFunctionEventInvokeConfig
, putFunctionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:qualifier:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_qualifier
- A version number or alias name.
PutFunctionEventInvokeConfig
, putFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
Constructors
FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural) |
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
PutProvisionedConcurrencyConfig
data PutProvisionedConcurrencyConfig Source #
See: newPutProvisionedConcurrencyConfig
smart constructor.
Constructors
PutProvisionedConcurrencyConfig' Text Text Natural |
Instances
newPutProvisionedConcurrencyConfig Source #
Arguments
:: Text | |
-> Text | |
-> Natural |
|
-> PutProvisionedConcurrencyConfig |
Create a value of PutProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutProvisionedConcurrencyConfig
, putProvisionedConcurrencyConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:qualifier:PutProvisionedConcurrencyConfig'
, putProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
$sel:provisionedConcurrentExecutions:PutProvisionedConcurrencyConfig'
, putProvisionedConcurrencyConfig_provisionedConcurrentExecutions
- The amount of provisioned concurrency to allocate for the version or
alias.
data PutProvisionedConcurrencyConfigResponse Source #
See: newPutProvisionedConcurrencyConfigResponse
smart constructor.
Constructors
PutProvisionedConcurrencyConfigResponse' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) Int |
Instances
newPutProvisionedConcurrencyConfigResponse Source #
Arguments
:: Int | |
-> PutProvisionedConcurrencyConfigResponse |
Create a value of PutProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated. When a weighted alias
is used during linear and canary deployments, this value fluctuates
depending on the amount of concurrency that is provisioned for the
function versions.
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
PutProvisionedConcurrencyConfigResponse
, putProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:httpStatus:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
RemoveLayerVersionPermission
data RemoveLayerVersionPermission Source #
See: newRemoveLayerVersionPermission
smart constructor.
Instances
newRemoveLayerVersionPermission Source #
Arguments
:: Text | |
-> Integer | |
-> Text | |
-> RemoveLayerVersionPermission |
Create a value of RemoveLayerVersionPermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RemoveLayerVersionPermission
, removeLayerVersionPermission_revisionId
- Only update the policy if the revision ID matches the ID specified. Use
this option to avoid modifying a policy that has changed since you last
read it.
RemoveLayerVersionPermission
, removeLayerVersionPermission_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:RemoveLayerVersionPermission'
, removeLayerVersionPermission_versionNumber
- The version number.
$sel:statementId:RemoveLayerVersionPermission'
, removeLayerVersionPermission_statementId
- The identifier that was specified when the statement was added.
data RemoveLayerVersionPermissionResponse Source #
See: newRemoveLayerVersionPermissionResponse
smart constructor.
Constructors
RemoveLayerVersionPermissionResponse' | |
Instances
newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse Source #
Create a value of RemoveLayerVersionPermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
RemovePermission
data RemovePermission Source #
See: newRemovePermission
smart constructor.
Instances
Create a value of RemovePermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:RemovePermission'
, removePermission_qualifier
- Specify a version or alias to remove permissions from a published
version of the function.
RemovePermission
, removePermission_revisionId
- Update the policy only if the revision ID matches the ID that's
specified. Use this option to avoid modifying a policy that has changed
since you last read it.
RemovePermission
, removePermission_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name –
my-function
(name-only),my-function:v1
(with alias). - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:statementId:RemovePermission'
, removePermission_statementId
- Statement ID of the permission to remove.
data RemovePermissionResponse Source #
See: newRemovePermissionResponse
smart constructor.
Constructors
RemovePermissionResponse' | |
Instances
newRemovePermissionResponse :: RemovePermissionResponse Source #
Create a value of RemovePermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Constructors
TagResource' Text (HashMap Text Text) |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:TagResource'
, tagResource_resource
- The function's Amazon Resource Name (ARN).
$sel:tags:TagResource'
, tagResource_tags
- A list of tags to apply to the function.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' | |
Instances
Generic TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource Associated Types type Rep TagResourceResponse :: Type -> Type # Methods from :: TagResourceResponse -> Rep TagResourceResponse x # to :: Rep TagResourceResponse x -> TagResourceResponse # | |
Read TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource Methods readsPrec :: Int -> ReadS TagResourceResponse # readList :: ReadS [TagResourceResponse] # | |
Show TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource Methods showsPrec :: Int -> TagResourceResponse -> ShowS # show :: TagResourceResponse -> String # showList :: [TagResourceResponse] -> ShowS # | |
NFData TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource Methods rnf :: TagResourceResponse -> () # | |
Eq TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource Methods (==) :: TagResourceResponse -> TagResourceResponse -> Bool # (/=) :: TagResourceResponse -> TagResourceResponse -> Bool # | |
type Rep TagResourceResponse Source # | |
newTagResourceResponse :: TagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text [Text] |
Instances
Arguments
:: Text | |
-> UntagResource |
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:UntagResource'
, untagResource_resource
- The function's Amazon Resource Name (ARN).
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- A list of tag keys to remove from the function.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' | |
Instances
newUntagResourceResponse :: UntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateAlias
data UpdateAlias Source #
See: newUpdateAlias
smart constructor.
Constructors
UpdateAlias' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> UpdateAlias |
Create a value of UpdateAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateAlias
, updateAlias_description
- A description of the alias.
UpdateAlias
, updateAlias_functionVersion
- The function version that the alias invokes.
UpdateAlias
, updateAlias_revisionId
- Only update the alias if the revision ID matches the ID that's
specified. Use this option to avoid modifying an alias that has changed
since you last read it.
UpdateAlias
, updateAlias_routingConfig
- The
routing configuration
of the alias.
UpdateAlias
, updateAlias_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
UpdateAlias
, updateAlias_name
- The name of the alias.
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
Constructors
AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) |
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
UpdateCodeSigningConfig
data UpdateCodeSigningConfig Source #
See: newUpdateCodeSigningConfig
smart constructor.
Constructors
UpdateCodeSigningConfig' (Maybe AllowedPublishers) (Maybe CodeSigningPolicies) (Maybe Text) Text |
Instances
newUpdateCodeSigningConfig Source #
Arguments
:: Text | |
-> UpdateCodeSigningConfig |
Create a value of UpdateCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateCodeSigningConfig
, updateCodeSigningConfig_allowedPublishers
- Signing profiles for this code signing configuration.
UpdateCodeSigningConfig
, updateCodeSigningConfig_codeSigningPolicies
- The code signing policy.
UpdateCodeSigningConfig
, updateCodeSigningConfig_description
- Descriptive name for this code signing configuration.
UpdateCodeSigningConfig
, updateCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data UpdateCodeSigningConfigResponse Source #
See: newUpdateCodeSigningConfigResponse
smart constructor.
Constructors
UpdateCodeSigningConfigResponse' Int CodeSigningConfig |
Instances
newUpdateCodeSigningConfigResponse Source #
Arguments
:: Int | |
-> CodeSigningConfig | |
-> UpdateCodeSigningConfigResponse |
Create a value of UpdateCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateCodeSigningConfigResponse'
, updateCodeSigningConfigResponse_httpStatus
- The response's http status code.
$sel:codeSigningConfig:UpdateCodeSigningConfigResponse'
, updateCodeSigningConfigResponse_codeSigningConfig
- The code signing configuration
UpdateEventSourceMapping
data UpdateEventSourceMapping Source #
See: newUpdateEventSourceMapping
smart constructor.
Constructors
UpdateEventSourceMapping' (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Bool) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Natural) Text |
Instances
newUpdateEventSourceMapping Source #
Arguments
:: Text | |
-> UpdateEventSourceMapping |
Create a value of UpdateEventSourceMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateEventSourceMapping
, updateEventSourceMapping_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
- Amazon Kinesis - Default 100. Max 10,000.
- Amazon DynamoDB Streams - Default 100. Max 10,000.
- Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
- Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
- Self-managed Apache Kafka - Default 100. Max 10,000.
- Amazon MQ (ActiveMQ and RabbitMQ) - Default 100. Max 10,000.
UpdateEventSourceMapping
, updateEventSourceMapping_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry.
UpdateEventSourceMapping
, updateEventSourceMapping_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:enabled:UpdateEventSourceMapping'
, updateEventSourceMapping_enabled
- When true, the event source mapping is active. When false, Lambda pauses
polling and invocation.
Default: True
UpdateEventSourceMapping
, updateEventSourceMapping_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
UpdateEventSourceMapping
, updateEventSourceMapping_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
UpdateEventSourceMapping
, updateEventSourceMapping_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
UpdateEventSourceMapping
, updateEventSourceMapping_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
UpdateEventSourceMapping
, updateEventSourceMapping_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is infinite (-1).
UpdateEventSourceMapping
, updateEventSourceMapping_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is infinite (-1). When set to infinite (-1), failed
records are retried until the record expires.
UpdateEventSourceMapping
, updateEventSourceMapping_parallelizationFactor
- (Streams only) The number of batches to process from each shard
concurrently.
UpdateEventSourceMapping
, updateEventSourceMapping_sourceAccessConfigurations
- An array of authentication protocols or VPC components required to
secure your event source.
UpdateEventSourceMapping
, updateEventSourceMapping_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is between 1 second and 900 seconds.
UpdateEventSourceMapping
, updateEventSourceMapping_uuid
- The identifier of the event source mapping.
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text) |
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
UpdateFunctionCode
data UpdateFunctionCode Source #
See: newUpdateFunctionCode
smart constructor.
Constructors
UpdateFunctionCode' (Maybe (NonEmpty Architecture)) (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) Text |
Instances
newUpdateFunctionCode Source #
Arguments
:: Text | |
-> UpdateFunctionCode |
Create a value of UpdateFunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFunctionCode
, updateFunctionCode_architectures
- The instruction set architecture that the function supports. Enter a
string array with one of the valid values (arm64 or x86_64). The default
value is x86_64
.
$sel:dryRun:UpdateFunctionCode'
, updateFunctionCode_dryRun
- Set to true to validate the request parameters and access permissions
without modifying the function code.
UpdateFunctionCode
, updateFunctionCode_imageUri
- URI of a container image in the Amazon ECR registry. Do not use for a
function defined with a .zip file archive.
$sel:publish:UpdateFunctionCode'
, updateFunctionCode_publish
- Set to true to publish a new version of the function after updating the
code. This has the same effect as calling PublishVersion separately.
UpdateFunctionCode
, updateFunctionCode_revisionId
- Update the function only if the revision ID matches the ID that's
specified. Use this option to avoid modifying a function that has
changed since you last read it.
UpdateFunctionCode
, updateFunctionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
Use only with a function defined with a .zip file archive deployment
package.
UpdateFunctionCode
, updateFunctionCode_s3Key
- The Amazon S3 key of the deployment package. Use only with a function
defined with a .zip file archive deployment package.
UpdateFunctionCode
, updateFunctionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
UpdateFunctionCode
, updateFunctionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and CLI clients handle the encoding for you. Use only with
a function defined with a .zip file archive deployment package.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
UpdateFunctionCode
, updateFunctionCode_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
UpdateFunctionConfiguration
data UpdateFunctionConfiguration Source #
See: newUpdateFunctionConfiguration
smart constructor.
Constructors
UpdateFunctionConfiguration' (Maybe DeadLetterConfig) (Maybe Text) (Maybe Environment) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe ImageConfig) (Maybe Text) (Maybe [Text]) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe SnapStart) (Maybe Natural) (Maybe TracingConfig) (Maybe VpcConfig) Text |
Instances
newUpdateFunctionConfiguration Source #
Arguments
:: Text | |
-> UpdateFunctionConfiguration |
Create a value of UpdateFunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFunctionConfiguration
, updateFunctionConfiguration_deadLetterConfig
- A dead-letter queue configuration that specifies the queue or topic
where Lambda sends asynchronous events when they fail processing. For
more information, see
Dead-letter queues.
UpdateFunctionConfiguration
, updateFunctionConfiguration_description
- A description of the function.
UpdateFunctionConfiguration
, updateFunctionConfiguration_environment
- Environment variables that are accessible from function code during
execution.
UpdateFunctionConfiguration
, updateFunctionConfiguration_ephemeralStorage
- The size of the function's /tmp
directory in MB. The default value
is 512, but can be any whole number between 512 and 10,240 MB.
UpdateFunctionConfiguration
, updateFunctionConfiguration_fileSystemConfigs
- Connection settings for an Amazon EFS file system.
UpdateFunctionConfiguration
, updateFunctionConfiguration_handler
- The name of the method within your code that Lambda calls to run your
function. Handler is required if the deployment package is a .zip file
archive. The format includes the file name. It can also include
namespaces and other qualifiers, depending on the runtime. For more
information, see
Lambda programming model.
UpdateFunctionConfiguration
, updateFunctionConfiguration_imageConfig
- Container image configuration values
that override the values in the container image Docker file.
UpdateFunctionConfiguration
, updateFunctionConfiguration_kmsKeyArn
- The ARN of the Key Management Service (KMS) key that's used to encrypt
your function's environment variables. If it's not provided, Lambda
uses a default service key.
UpdateFunctionConfiguration
, updateFunctionConfiguration_layers
- A list of
function layers
to add to the function's execution environment. Specify each layer by
its ARN, including the version.
UpdateFunctionConfiguration
, updateFunctionConfiguration_memorySize
- The amount of
memory available to the function
at runtime. Increasing the function memory also increases its CPU
allocation. The default value is 128 MB. The value can be any multiple
of 1 MB.
UpdateFunctionConfiguration
, updateFunctionConfiguration_revisionId
- Update the function only if the revision ID matches the ID that's
specified. Use this option to avoid modifying a function that has
changed since you last read it.
UpdateFunctionConfiguration
, updateFunctionConfiguration_role
- The Amazon Resource Name (ARN) of the function's execution role.
UpdateFunctionConfiguration
, updateFunctionConfiguration_runtime
- The identifier of the function's
runtime.
Runtime is required if the deployment package is a .zip file archive.
UpdateFunctionConfiguration
, updateFunctionConfiguration_snapStart
- The function's
SnapStart
setting.
UpdateFunctionConfiguration
, updateFunctionConfiguration_timeout
- The amount of time (in seconds) that Lambda allows a function to run
before stopping it. The default is 3 seconds. The maximum allowed value
is 900 seconds. For more information, see
Lambda execution environment.
UpdateFunctionConfiguration
, updateFunctionConfiguration_tracingConfig
- Set Mode
to Active
to sample and trace a subset of incoming requests
with
X-Ray.
UpdateFunctionConfiguration
, updateFunctionConfiguration_vpcConfig
- For network connectivity to Amazon Web Services resources in a VPC,
specify a list of security groups and subnets in the VPC. When you
connect a function to a VPC, it can access resources and the internet
only through that VPC. For more information, see
Configuring a Lambda function to access resources in a VPC.
UpdateFunctionConfiguration
, updateFunctionConfiguration_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
UpdateFunctionEventInvokeConfig
data UpdateFunctionEventInvokeConfig Source #
See: newUpdateFunctionEventInvokeConfig
smart constructor.
Constructors
UpdateFunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Natural) (Maybe Natural) (Maybe Text) Text |
Instances
newUpdateFunctionEventInvokeConfig Source #
Create a value of UpdateFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:qualifier:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_qualifier
- A version number or alias name.
UpdateFunctionEventInvokeConfig
, updateFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
Constructors
FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural) |
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
UpdateFunctionUrlConfig
data UpdateFunctionUrlConfig Source #
See: newUpdateFunctionUrlConfig
smart constructor.
Constructors
UpdateFunctionUrlConfig' (Maybe FunctionUrlAuthType) (Maybe Cors) (Maybe Text) Text |
Instances
newUpdateFunctionUrlConfig Source #
Arguments
:: Text | |
-> UpdateFunctionUrlConfig |
Create a value of UpdateFunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFunctionUrlConfig
, updateFunctionUrlConfig_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
UpdateFunctionUrlConfig
, updateFunctionUrlConfig_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:qualifier:UpdateFunctionUrlConfig'
, updateFunctionUrlConfig_qualifier
- The alias name.
UpdateFunctionUrlConfig
, updateFunctionUrlConfig_functionName
- The name of the Lambda function.
Name formats
- Function name –
my-function
. - Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data UpdateFunctionUrlConfigResponse Source #
See: newUpdateFunctionUrlConfigResponse
smart constructor.
Constructors
UpdateFunctionUrlConfigResponse' (Maybe Cors) Int Text Text FunctionUrlAuthType Text Text |
Instances
newUpdateFunctionUrlConfigResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> Text | |
-> Text | |
-> UpdateFunctionUrlConfigResponse |
Create a value of UpdateFunctionUrlConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFunctionUrlConfig
, updateFunctionUrlConfigResponse_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:httpStatus:UpdateFunctionUrlConfigResponse'
, updateFunctionUrlConfigResponse_httpStatus
- The response's http status code.
UpdateFunctionUrlConfigResponse
, updateFunctionUrlConfigResponse_functionUrl
- The HTTP URL endpoint for your function.
UpdateFunctionUrlConfigResponse
, updateFunctionUrlConfigResponse_functionArn
- The Amazon Resource Name (ARN) of your function.
UpdateFunctionUrlConfig
, updateFunctionUrlConfigResponse_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
UpdateFunctionUrlConfigResponse
, updateFunctionUrlConfigResponse_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
UpdateFunctionUrlConfigResponse
, updateFunctionUrlConfigResponse_lastModifiedTime
- When the function URL configuration was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
Types
Architecture
newtype Architecture Source #
Constructors
Architecture' | |
Fields |
Bundled Patterns
pattern Architecture_Arm64 :: Architecture | |
pattern Architecture_X86_64 :: Architecture |
Instances
CodeSigningPolicy
newtype CodeSigningPolicy Source #
Constructors
CodeSigningPolicy' | |
Fields |
Bundled Patterns
pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy | |
pattern CodeSigningPolicy_Warn :: CodeSigningPolicy |
Instances
EndPointType
newtype EndPointType Source #
Constructors
EndPointType' | |
Fields |
Bundled Patterns
pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType |
Instances
EventSourcePosition
newtype EventSourcePosition Source #
Constructors
EventSourcePosition' | |
Fields |
Bundled Patterns
pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition | |
pattern EventSourcePosition_LATEST :: EventSourcePosition | |
pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition |
Instances
FunctionResponseType
newtype FunctionResponseType Source #
Constructors
FunctionResponseType' | |
Fields |
Bundled Patterns
pattern FunctionResponseType_ReportBatchItemFailures :: FunctionResponseType |
Instances
FunctionUrlAuthType
newtype FunctionUrlAuthType Source #
Constructors
FunctionUrlAuthType' | |
Fields |
Bundled Patterns
pattern FunctionUrlAuthType_AWS_IAM :: FunctionUrlAuthType | |
pattern FunctionUrlAuthType_NONE :: FunctionUrlAuthType |
Instances
FunctionVersion
newtype FunctionVersion Source #
Constructors
FunctionVersion' | |
Fields |
Bundled Patterns
pattern FunctionVersion_ALL :: FunctionVersion |
Instances
InvocationType
newtype InvocationType Source #
Constructors
InvocationType' | |
Fields |
Bundled Patterns
pattern InvocationType_DryRun :: InvocationType | |
pattern InvocationType_Event :: InvocationType | |
pattern InvocationType_RequestResponse :: InvocationType |
Instances
LastUpdateStatus
newtype LastUpdateStatus Source #
Constructors
LastUpdateStatus' | |
Fields |
Bundled Patterns
pattern LastUpdateStatus_Failed :: LastUpdateStatus | |
pattern LastUpdateStatus_InProgress :: LastUpdateStatus | |
pattern LastUpdateStatus_Successful :: LastUpdateStatus |
Instances
LastUpdateStatusReasonCode
newtype LastUpdateStatusReasonCode Source #
Constructors
LastUpdateStatusReasonCode' | |
Fields |
Bundled Patterns
Instances
LogType
Constructors
LogType' | |
Fields
|
Bundled Patterns
pattern LogType_None :: LogType | |
pattern LogType_Tail :: LogType |
Instances
PackageType
newtype PackageType Source #
Constructors
PackageType' | |
Fields |
Bundled Patterns
pattern PackageType_Image :: PackageType | |
pattern PackageType_Zip :: PackageType |
Instances
ProvisionedConcurrencyStatusEnum
newtype ProvisionedConcurrencyStatusEnum Source #
Constructors
ProvisionedConcurrencyStatusEnum' | |
Fields |
Bundled Patterns
Instances
Runtime
Constructors
Runtime' | |
Fields
|
Bundled Patterns
Instances
SnapStartApplyOn
newtype SnapStartApplyOn Source #
Constructors
SnapStartApplyOn' | |
Fields |
Bundled Patterns
pattern SnapStartApplyOn_None :: SnapStartApplyOn | |
pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn |
Instances
SnapStartOptimizationStatus
newtype SnapStartOptimizationStatus Source #
Constructors
SnapStartOptimizationStatus' | |
Fields |
Bundled Patterns
pattern SnapStartOptimizationStatus_Off :: SnapStartOptimizationStatus | |
pattern SnapStartOptimizationStatus_On :: SnapStartOptimizationStatus |
Instances
SourceAccessType
newtype SourceAccessType Source #
Constructors
SourceAccessType' | |
Fields |
Bundled Patterns
pattern SourceAccessType_BASIC_AUTH :: SourceAccessType | |
pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType | |
pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType | |
pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType | |
pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType | |
pattern SourceAccessType_VPC_SUBNET :: SourceAccessType |
Instances
State
Bundled Patterns
pattern State_Active :: State | |
pattern State_Failed :: State | |
pattern State_Inactive :: State | |
pattern State_Pending :: State |
Instances
StateReasonCode
newtype StateReasonCode Source #
Constructors
StateReasonCode' | |
Fields |
Bundled Patterns
Instances
TracingMode
newtype TracingMode Source #
Constructors
TracingMode' | |
Fields |
Bundled Patterns
pattern TracingMode_Active :: TracingMode | |
pattern TracingMode_PassThrough :: TracingMode |
Instances
AccountLimit
data AccountLimit Source #
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
See: newAccountLimit
smart constructor.
Constructors
AccountLimit' (Maybe Integer) (Maybe Integer) (Maybe Int) (Maybe Integer) (Maybe Natural) |
Instances
newAccountLimit :: AccountLimit Source #
Create a value of AccountLimit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSizeUnzipped:AccountLimit'
, accountLimit_codeSizeUnzipped
- The maximum size of a function's deployment package and layers when
they're extracted.
$sel:codeSizeZipped:AccountLimit'
, accountLimit_codeSizeZipped
- The maximum size of a deployment package when it's uploaded directly to
Lambda. Use Amazon S3 for larger files.
$sel:concurrentExecutions:AccountLimit'
, accountLimit_concurrentExecutions
- The maximum number of simultaneous function executions.
$sel:totalCodeSize:AccountLimit'
, accountLimit_totalCodeSize
- The amount of storage space that you can use for all deployment packages
and layer archives.
$sel:unreservedConcurrentExecutions:AccountLimit'
, accountLimit_unreservedConcurrentExecutions
- The maximum number of simultaneous function executions, minus the
capacity that's reserved for individual functions with
PutFunctionConcurrency.
AccountUsage
data AccountUsage Source #
The number of functions and amount of storage in use.
See: newAccountUsage
smart constructor.
Constructors
AccountUsage' (Maybe Integer) (Maybe Integer) |
Instances
newAccountUsage :: AccountUsage Source #
Create a value of AccountUsage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionCount:AccountUsage'
, accountUsage_functionCount
- The number of Lambda functions.
$sel:totalCodeSize:AccountUsage'
, accountUsage_totalCodeSize
- The amount of storage space, in bytes, that's being used by deployment
packages and layer archives.
AliasConfiguration
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
Constructors
AliasConfiguration' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AliasRoutingConfiguration) |
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
AliasRoutingConfiguration
data AliasRoutingConfiguration Source #
The traffic-shifting configuration of a Lambda function alias.
See: newAliasRoutingConfiguration
smart constructor.
Constructors
AliasRoutingConfiguration' (Maybe (HashMap Text Double)) |
Instances
newAliasRoutingConfiguration :: AliasRoutingConfiguration Source #
Create a value of AliasRoutingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:additionalVersionWeights:AliasRoutingConfiguration'
, aliasRoutingConfiguration_additionalVersionWeights
- The second version, and the percentage of traffic that's routed to it.
AllowedPublishers
data AllowedPublishers Source #
List of signing profiles that can sign a code package.
See: newAllowedPublishers
smart constructor.
Constructors
AllowedPublishers' (NonEmpty Text) |
Instances
Create a value of AllowedPublishers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArns:AllowedPublishers'
, allowedPublishers_signingProfileVersionArns
- The Amazon Resource Name (ARN) for each of the signing profiles. A
signing profile defines a trusted user who can sign a code package.
AmazonManagedKafkaEventSourceConfig
data AmazonManagedKafkaEventSourceConfig Source #
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
See: newAmazonManagedKafkaEventSourceConfig
smart constructor.
Constructors
AmazonManagedKafkaEventSourceConfig' (Maybe Text) |
Instances
newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig Source #
Create a value of AmazonManagedKafkaEventSourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig'
, amazonManagedKafkaEventSourceConfig_consumerGroupId
- The identifier for the Kafka consumer group to join. The consumer group
ID must be unique among all your Kafka event sources. After creating a
Kafka event source mapping with the consumer group ID specified, you
cannot update this value. For more information, see
Customizable consumer group ID.
CodeSigningConfig
data CodeSigningConfig Source #
Details about a Code signing configuration.
See: newCodeSigningConfig
smart constructor.
Constructors
CodeSigningConfig' (Maybe Text) Text Text AllowedPublishers CodeSigningPolicies Text |
Instances
Arguments
:: Text | |
-> Text | |
-> AllowedPublishers | |
-> CodeSigningPolicies | |
-> Text | |
-> CodeSigningConfig |
Create a value of CodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:CodeSigningConfig'
, codeSigningConfig_description
- Code signing configuration description.
$sel:codeSigningConfigId:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigId
- Unique identifer for the Code signing configuration.
$sel:codeSigningConfigArn:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigArn
- The Amazon Resource Name (ARN) of the Code signing configuration.
$sel:allowedPublishers:CodeSigningConfig'
, codeSigningConfig_allowedPublishers
- List of allowed publishers.
$sel:codeSigningPolicies:CodeSigningConfig'
, codeSigningConfig_codeSigningPolicies
- The code signing policy controls the validation failure action for
signature mismatch or expiry.
$sel:lastModified:CodeSigningConfig'
, codeSigningConfig_lastModified
- The date and time that the Code signing configuration was last modified,
in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
CodeSigningPolicies
data CodeSigningPolicies Source #
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
See: newCodeSigningPolicies
smart constructor.
Constructors
CodeSigningPolicies' (Maybe CodeSigningPolicy) |
Instances
newCodeSigningPolicies :: CodeSigningPolicies Source #
Create a value of CodeSigningPolicies
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:untrustedArtifactOnDeployment:CodeSigningPolicies'
, codeSigningPolicies_untrustedArtifactOnDeployment
- Code signing configuration policy for deployment validation failure. If
you set the policy to Enforce
, Lambda blocks the deployment request if
signature validation checks fail. If you set the policy to Warn
,
Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
Concurrency
data Concurrency Source #
See: newConcurrency
smart constructor.
Constructors
Concurrency' (Maybe Natural) |
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Lambda reserved concurrency.
Cors
The cross-origin resource sharing (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.
See: newCors
smart constructor.
Constructors
Cors' (Maybe Bool) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Natural) |
Instances
Create a value of Cors
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowCredentials:Cors'
, cors_allowCredentials
- Whether to allow cookies or other credentials in requests to your
function URL. The default is false
.
$sel:allowHeaders:Cors'
, cors_allowHeaders
- The HTTP headers that origins can include in requests to your function
URL. For example: Date
, Keep-Alive
, X-Custom-Header
.
$sel:allowMethods:Cors'
, cors_allowMethods
- The HTTP methods that are allowed when calling your function URL. For
example: GET
, POST
, DELETE
, or the wildcard character (*
).
$sel:allowOrigins:Cors'
, cors_allowOrigins
- The origins that can access your function URL. You can list any number
of specific origins, separated by a comma. For example:
https://www.example.com
, http://localhost:60905
.
Alternatively, you can grant access to all origins using the wildcard
character (*
).
$sel:exposeHeaders:Cors'
, cors_exposeHeaders
- The HTTP headers in your function response that you want to expose to
origins that call your function URL. For example: Date
, Keep-Alive
,
X-Custom-Header
.
$sel:maxAge:Cors'
, cors_maxAge
- The maximum amount of time, in seconds, that web browsers can cache
results of a preflight request. By default, this is set to 0
, which
means that the browser doesn't cache results.
DeadLetterConfig
data DeadLetterConfig Source #
The dead-letter queue for failed asynchronous invocations.
See: newDeadLetterConfig
smart constructor.
Constructors
DeadLetterConfig' (Maybe Text) |
Instances
newDeadLetterConfig :: DeadLetterConfig Source #
Create a value of DeadLetterConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:DeadLetterConfig'
, deadLetterConfig_targetArn
- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
topic.
DestinationConfig
data DestinationConfig Source #
A configuration object that specifies the destination of an event after Lambda processes it.
See: newDestinationConfig
smart constructor.
Constructors
DestinationConfig' (Maybe OnFailure) (Maybe OnSuccess) |
Instances
newDestinationConfig :: DestinationConfig Source #
Create a value of DestinationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onFailure:DestinationConfig'
, destinationConfig_onFailure
- The destination configuration for failed invocations.
$sel:onSuccess:DestinationConfig'
, destinationConfig_onSuccess
- The destination configuration for successful invocations.
Environment
data Environment Source #
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
See: newEnvironment
smart constructor.
Instances
newEnvironment :: Environment Source #
Create a value of Environment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:Environment'
, environment_variables
- Environment variable key-value pairs. For more information, see
Using Lambda environment variables.
EnvironmentError
data EnvironmentError Source #
Error messages for environment variables that couldn't be applied.
See: newEnvironmentError
smart constructor.
Instances
newEnvironmentError :: EnvironmentError Source #
Create a value of EnvironmentError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:EnvironmentError'
, environmentError_errorCode
- The error code.
$sel:message:EnvironmentError'
, environmentError_message
- The error message.
EnvironmentResponse
data EnvironmentResponse Source #
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
See: newEnvironmentResponse
smart constructor.
Constructors
EnvironmentResponse' (Maybe EnvironmentError) (Maybe (Sensitive (HashMap Text (Sensitive Text)))) |
Instances
newEnvironmentResponse :: EnvironmentResponse Source #
Create a value of EnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:EnvironmentResponse'
, environmentResponse_error
- Error messages for environment variables that couldn't be applied.
$sel:variables:EnvironmentResponse'
, environmentResponse_variables
- Environment variable key-value pairs. Omitted from CloudTrail logs.
EphemeralStorage
data EphemeralStorage Source #
The size of the function's /tmp
directory in MB. The default value
is 512, but it can be any whole number between 512 and 10,240 MB.
See: newEphemeralStorage
smart constructor.
Constructors
EphemeralStorage' Natural |
Instances
Arguments
:: Natural | |
-> EphemeralStorage |
Create a value of EphemeralStorage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:size:EphemeralStorage'
, ephemeralStorage_size
- The size of the function's /tmp
directory.
EventSourceMappingConfiguration
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' (Maybe AmazonManagedKafkaEventSourceConfig) (Maybe Natural) (Maybe Bool) (Maybe DestinationConfig) (Maybe Text) (Maybe FilterCriteria) (Maybe Text) (Maybe [FunctionResponseType]) (Maybe POSIX) (Maybe Text) (Maybe Natural) (Maybe Int) (Maybe Int) (Maybe Natural) (Maybe (NonEmpty Text)) (Maybe SelfManagedEventSource) (Maybe SelfManagedKafkaEventSourceConfig) (Maybe [SourceAccessConfiguration]) (Maybe EventSourcePosition) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe Natural) (Maybe Text) |
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
FileSystemConfig
data FileSystemConfig Source #
Details about the connection between a Lambda function and an Amazon EFS file system.
See: newFileSystemConfig
smart constructor.
Constructors
FileSystemConfig' Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> FileSystemConfig |
Create a value of FileSystemConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:FileSystemConfig'
, fileSystemConfig_arn
- The Amazon Resource Name (ARN) of the Amazon EFS access point that
provides access to the file system.
$sel:localMountPath:FileSystemConfig'
, fileSystemConfig_localMountPath
- The path where the function can access the file system, starting with
/mnt/
.
Filter
A structure within a FilterCriteria
object that defines an event
filtering pattern.
See: newFilter
smart constructor.
Instances
FromJSON Filter Source # | |
ToJSON Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
Generic Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
Eq Filter Source # | |
Hashable Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter |
Create a value of Filter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pattern':Filter'
, filter_pattern
- A filter pattern. For more information on the syntax of a filter
pattern, see
Filter rule syntax.
FilterCriteria
data FilterCriteria Source #
An object that contains the filters for an event source.
See: newFilterCriteria
smart constructor.
Constructors
FilterCriteria' (Maybe [Filter]) |
Instances
newFilterCriteria :: FilterCriteria Source #
Create a value of FilterCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:FilterCriteria'
, filterCriteria_filters
- A list of filters.
FunctionCode
data FunctionCode Source #
The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
See: newFunctionCode
smart constructor.
Constructors
FunctionCode' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) |
Instances
newFunctionCode :: FunctionCode Source #
Create a value of FunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageUri:FunctionCode'
, functionCode_imageUri
- URI of a
container image
in the Amazon ECR registry.
$sel:s3Bucket:FunctionCode'
, functionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
$sel:s3Key:FunctionCode'
, functionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:s3ObjectVersion:FunctionCode'
, functionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:zipFile:FunctionCode'
, functionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
FunctionCodeLocation
data FunctionCodeLocation Source #
Details about a function's deployment package.
See: newFunctionCodeLocation
smart constructor.
Instances
newFunctionCodeLocation :: FunctionCodeLocation Source #
Create a value of FunctionCodeLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageUri:FunctionCodeLocation'
, functionCodeLocation_imageUri
- URI of a container image in the Amazon ECR registry.
$sel:location:FunctionCodeLocation'
, functionCodeLocation_location
- A presigned URL that you can use to download the deployment package.
$sel:repositoryType:FunctionCodeLocation'
, functionCodeLocation_repositoryType
- The service that's hosting the file.
$sel:resolvedImageUri:FunctionCodeLocation'
, functionCodeLocation_resolvedImageUri
- The resolved URI for the image.
FunctionConfiguration
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Integer) (Maybe DeadLetterConfig) (Maybe Text) (Maybe EnvironmentResponse) (Maybe EphemeralStorage) (Maybe [FileSystemConfig]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ImageConfigResponse) (Maybe Text) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe [Layer]) (Maybe Text) (Maybe Natural) (Maybe PackageType) (Maybe Text) (Maybe Text) (Maybe Runtime) (Maybe Text) (Maybe Text) (Maybe SnapStartResponse) (Maybe State) (Maybe Text) (Maybe StateReasonCode) (Maybe Natural) (Maybe TracingConfigResponse) (Maybe Text) (Maybe VpcConfigResponse) |
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
FunctionEventInvokeConfig
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
Constructors
FunctionEventInvokeConfig' (Maybe DestinationConfig) (Maybe Text) (Maybe POSIX) (Maybe Natural) (Maybe Natural) |
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
FunctionUrlConfig
data FunctionUrlConfig Source #
Details about a Lambda function URL.
See: newFunctionUrlConfig
smart constructor.
Constructors
FunctionUrlConfig' (Maybe Cors) Text Text Text Text FunctionUrlAuthType |
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> FunctionUrlConfig |
Create a value of FunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cors:FunctionUrlConfig'
, functionUrlConfig_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:functionUrl:FunctionUrlConfig'
, functionUrlConfig_functionUrl
- The HTTP URL endpoint for your function.
$sel:functionArn:FunctionUrlConfig'
, functionUrlConfig_functionArn
- The Amazon Resource Name (ARN) of your function.
$sel:creationTime:FunctionUrlConfig'
, functionUrlConfig_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastModifiedTime:FunctionUrlConfig'
, functionUrlConfig_lastModifiedTime
- When the function URL configuration was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:authType:FunctionUrlConfig'
, functionUrlConfig_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
GetLayerVersionResponse
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
Constructors
GetLayerVersionResponse' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) |
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
ImageConfig
data ImageConfig Source #
Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
See: newImageConfig
smart constructor.
Instances
newImageConfig :: ImageConfig Source #
Create a value of ImageConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:command:ImageConfig'
, imageConfig_command
- Specifies parameters that you want to pass in with ENTRYPOINT.
$sel:entryPoint:ImageConfig'
, imageConfig_entryPoint
- Specifies the entry point to their application, which is typically the
location of the runtime executable.
$sel:workingDirectory:ImageConfig'
, imageConfig_workingDirectory
- Specifies the working directory.
ImageConfigError
data ImageConfigError Source #
Error response to GetFunctionConfiguration
.
See: newImageConfigError
smart constructor.
Instances
newImageConfigError :: ImageConfigError Source #
Create a value of ImageConfigError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:ImageConfigError'
, imageConfigError_errorCode
- Error code.
$sel:message:ImageConfigError'
, imageConfigError_message
- Error message.
ImageConfigResponse
data ImageConfigResponse Source #
Response to a GetFunctionConfiguration
request.
See: newImageConfigResponse
smart constructor.
Constructors
ImageConfigResponse' (Maybe ImageConfigError) (Maybe ImageConfig) |
Instances
newImageConfigResponse :: ImageConfigResponse Source #
Create a value of ImageConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:ImageConfigResponse'
, imageConfigResponse_error
- Error response to GetFunctionConfiguration
.
$sel:imageConfig:ImageConfigResponse'
, imageConfigResponse_imageConfig
- Configuration values that override the container image Dockerfile.
Layer
An Lambda layer.
See: newLayer
smart constructor.
Instances
FromJSON Layer Source # | |
Generic Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
Eq Layer Source # | |
Hashable Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
type Rep Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.Lambda.Types.Layer" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "signingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "signingProfileVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Layer'
, layer_arn
- The Amazon Resource Name (ARN) of the function layer.
$sel:codeSize:Layer'
, layer_codeSize
- The size of the layer archive in bytes.
$sel:signingJobArn:Layer'
, layer_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:signingProfileVersionArn:Layer'
, layer_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
LayerVersionContentInput
data LayerVersionContentInput Source #
A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.
See: newLayerVersionContentInput
smart constructor.
Constructors
LayerVersionContentInput' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) |
Instances
newLayerVersionContentInput :: LayerVersionContentInput Source #
Create a value of LayerVersionContentInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Bucket:LayerVersionContentInput'
, layerVersionContentInput_s3Bucket
- The Amazon S3 bucket of the layer archive.
$sel:s3Key:LayerVersionContentInput'
, layerVersionContentInput_s3Key
- The Amazon S3 key of the layer archive.
$sel:s3ObjectVersion:LayerVersionContentInput'
, layerVersionContentInput_s3ObjectVersion
- For versioned objects, the version of the layer archive object to use.
$sel:zipFile:LayerVersionContentInput'
, layerVersionContentInput_zipFile
- The base64-encoded contents of the layer archive. Amazon Web Services
SDK and Amazon Web Services CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
LayerVersionContentOutput
data LayerVersionContentOutput Source #
Details about a version of an Lambda layer.
See: newLayerVersionContentOutput
smart constructor.
Constructors
LayerVersionContentOutput' (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newLayerVersionContentOutput :: LayerVersionContentOutput Source #
Create a value of LayerVersionContentOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSha256:LayerVersionContentOutput'
, layerVersionContentOutput_codeSha256
- The SHA-256 hash of the layer archive.
$sel:codeSize:LayerVersionContentOutput'
, layerVersionContentOutput_codeSize
- The size of the layer archive in bytes.
$sel:location:LayerVersionContentOutput'
, layerVersionContentOutput_location
- A link to the layer archive in Amazon S3 that is valid for 10 minutes.
$sel:signingJobArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:signingProfileVersionArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
LayerVersionsListItem
data LayerVersionsListItem Source #
Details about a version of an Lambda layer.
See: newLayerVersionsListItem
smart constructor.
Constructors
LayerVersionsListItem' (Maybe [Architecture]) (Maybe [Runtime]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) |
Instances
newLayerVersionsListItem :: LayerVersionsListItem Source #
Create a value of LayerVersionsListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:LayerVersionsListItem'
, layerVersionsListItem_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:LayerVersionsListItem'
, layerVersionsListItem_compatibleRuntimes
- The layer's compatible runtimes.
$sel:createdDate:LayerVersionsListItem'
, layerVersionsListItem_createdDate
- The date that the version was created, in ISO 8601 format. For example,
2018-11-27T15:10:45.123+0000
.
$sel:description:LayerVersionsListItem'
, layerVersionsListItem_description
- The description of the version.
$sel:layerVersionArn:LayerVersionsListItem'
, layerVersionsListItem_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:LayerVersionsListItem'
, layerVersionsListItem_licenseInfo
- The layer's open-source license.
$sel:version:LayerVersionsListItem'
, layerVersionsListItem_version
- The version number.
LayersListItem
data LayersListItem Source #
Details about an Lambda layer.
See: newLayersListItem
smart constructor.
Constructors
LayersListItem' (Maybe LayerVersionsListItem) (Maybe Text) (Maybe Text) |
Instances
newLayersListItem :: LayersListItem Source #
Create a value of LayersListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestMatchingVersion:LayersListItem'
, layersListItem_latestMatchingVersion
- The newest version of the layer.
$sel:layerArn:LayersListItem'
, layersListItem_layerArn
- The Amazon Resource Name (ARN) of the function layer.
$sel:layerName:LayersListItem'
, layersListItem_layerName
- The name of the layer.
OnFailure
A destination for events that failed processing.
See: newOnFailure
smart constructor.
Constructors
OnFailure' (Maybe Text) |
Instances
FromJSON OnFailure Source # | |
ToJSON OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Generic OnFailure Source # | |
Read OnFailure Source # | |
Show OnFailure Source # | |
NFData OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Eq OnFailure Source # | |
Hashable OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
type Rep OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure |
newOnFailure :: OnFailure Source #
Create a value of OnFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnFailure'
, onFailure_destination
- The Amazon Resource Name (ARN) of the destination resource.
OnSuccess
A destination for events that were processed successfully.
See: newOnSuccess
smart constructor.
Constructors
OnSuccess' (Maybe Text) |
Instances
FromJSON OnSuccess Source # | |
ToJSON OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Generic OnSuccess Source # | |
Read OnSuccess Source # | |
Show OnSuccess Source # | |
NFData OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Eq OnSuccess Source # | |
Hashable OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
type Rep OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess |
newOnSuccess :: OnSuccess Source #
Create a value of OnSuccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnSuccess'
, onSuccess_destination
- The Amazon Resource Name (ARN) of the destination resource.
ProvisionedConcurrencyConfigListItem
data ProvisionedConcurrencyConfigListItem Source #
Details about the provisioned concurrency configuration for a function alias or version.
See: newProvisionedConcurrencyConfigListItem
smart constructor.
Constructors
ProvisionedConcurrencyConfigListItem' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) |
Instances
newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem Source #
Create a value of ProvisionedConcurrencyConfigListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated. When a weighted alias
is used during linear and canary deployments, this value fluctuates
depending on the amount of concurrency that is provisioned for the
function versions.
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:functionArn:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_functionArn
- The Amazon Resource Name (ARN) of the alias or version.
$sel:lastModified:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:status:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_status
- The status of the allocation process.
$sel:statusReason:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
SelfManagedEventSource
data SelfManagedEventSource Source #
The self-managed Apache Kafka cluster for your event source.
See: newSelfManagedEventSource
smart constructor.
Constructors
SelfManagedEventSource' (Maybe (HashMap EndPointType (NonEmpty Text))) |
Instances
newSelfManagedEventSource :: SelfManagedEventSource Source #
Create a value of SelfManagedEventSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpoints:SelfManagedEventSource'
, selfManagedEventSource_endpoints
- The list of bootstrap servers for your Kafka brokers in the following
format:
"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
SelfManagedKafkaEventSourceConfig
data SelfManagedKafkaEventSourceConfig Source #
Specific configuration settings for a self-managed Apache Kafka event source.
See: newSelfManagedKafkaEventSourceConfig
smart constructor.
Constructors
SelfManagedKafkaEventSourceConfig' (Maybe Text) |
Instances
newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig Source #
Create a value of SelfManagedKafkaEventSourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:consumerGroupId:SelfManagedKafkaEventSourceConfig'
, selfManagedKafkaEventSourceConfig_consumerGroupId
- The identifier for the Kafka consumer group to join. The consumer group
ID must be unique among all your Kafka event sources. After creating a
Kafka event source mapping with the consumer group ID specified, you
cannot update this value. For more information, see
Customizable consumer group ID.
SnapStart
The function's SnapStart setting. Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version. For more information, see
Reducing startup time with Lambda SnapStart.
See: newSnapStart
smart constructor.
Constructors
SnapStart' (Maybe SnapStartApplyOn) |
Instances
ToJSON SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
Generic SnapStart Source # | |
Read SnapStart Source # | |
Show SnapStart Source # | |
NFData SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
Eq SnapStart Source # | |
Hashable SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
type Rep SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart type Rep SnapStart = D1 ('MetaData "SnapStart" "Amazonka.Lambda.Types.SnapStart" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "SnapStart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applyOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapStartApplyOn)))) |
newSnapStart :: SnapStart Source #
Create a value of SnapStart
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applyOn:SnapStart'
, snapStart_applyOn
- Set to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version.
SnapStartResponse
data SnapStartResponse Source #
The function's SnapStart setting.
See: newSnapStartResponse
smart constructor.
Constructors
SnapStartResponse' (Maybe SnapStartApplyOn) (Maybe SnapStartOptimizationStatus) |
Instances
newSnapStartResponse :: SnapStartResponse Source #
Create a value of SnapStartResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applyOn:SnapStartResponse'
, snapStartResponse_applyOn
- When set to PublishedVersions
, Lambda creates a snapshot of the
execution environment when you publish a function version.
$sel:optimizationStatus:SnapStartResponse'
, snapStartResponse_optimizationStatus
- When you provide a
qualified Amazon Resource Name (ARN),
this response element indicates whether SnapStart is activated for the
specified function version.
SourceAccessConfiguration
data SourceAccessConfiguration Source #
To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.
See: newSourceAccessConfiguration
smart constructor.
Constructors
SourceAccessConfiguration' (Maybe SourceAccessType) (Maybe Text) |
Instances
newSourceAccessConfiguration :: SourceAccessConfiguration Source #
Create a value of SourceAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':SourceAccessConfiguration'
, sourceAccessConfiguration_type
- The type of authentication protocol, VPC components, or virtual host for
your event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (Amazon MQ) The Secrets Manager secret that stores your broker credentials.BASIC_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET
- (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.CLIENT_CERTIFICATE_TLS_AUTH
- (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.SERVER_ROOT_CA_CERTIFICATE
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
$sel:uri:SourceAccessConfiguration'
, sourceAccessConfiguration_uri
- The value for your chosen configuration in Type
. For example:
"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
TracingConfig
data TracingConfig Source #
The function's
X-Ray
tracing configuration. To sample and record incoming requests, set
Mode
to Active
.
See: newTracingConfig
smart constructor.
Constructors
TracingConfig' (Maybe TracingMode) |
Instances
newTracingConfig :: TracingConfig Source #
Create a value of TracingConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mode:TracingConfig'
, tracingConfig_mode
- The tracing mode.
TracingConfigResponse
data TracingConfigResponse Source #
The function's X-Ray tracing configuration.
See: newTracingConfigResponse
smart constructor.
Constructors
TracingConfigResponse' (Maybe TracingMode) |
Instances
newTracingConfigResponse :: TracingConfigResponse Source #
Create a value of TracingConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mode:TracingConfigResponse'
, tracingConfigResponse_mode
- The tracing mode.
VpcConfig
The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.
See: newVpcConfig
smart constructor.
Constructors
VpcConfig' (Maybe [Text]) (Maybe [Text]) |
Instances
ToJSON VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Generic VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Eq VpcConfig Source # | |
Hashable VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
type Rep VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Lambda.Types.VpcConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfig'
, vpcConfig_securityGroupIds
- A list of VPC security group IDs.
$sel:subnetIds:VpcConfig'
, vpcConfig_subnetIds
- A list of VPC subnet IDs.
VpcConfigResponse
data VpcConfigResponse Source #
The VPC security groups and subnets that are attached to a Lambda function.
See: newVpcConfigResponse
smart constructor.
Instances
newVpcConfigResponse :: VpcConfigResponse Source #
Create a value of VpcConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfigResponse'
, vpcConfigResponse_securityGroupIds
- A list of VPC security group IDs.
$sel:subnetIds:VpcConfigResponse'
, vpcConfigResponse_subnetIds
- A list of VPC subnet IDs.
$sel:vpcId:VpcConfigResponse'
, vpcConfigResponse_vpcId
- The ID of the VPC.