| 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
| FromJSON GetLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.Types.GetLayerVersionResponse Methods parseJSON :: Value -> Parser GetLayerVersionResponse # parseJSONList :: Value -> Parser [GetLayerVersionResponse] # | |
| Generic GetLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.Types.GetLayerVersionResponse Associated Types type Rep GetLayerVersionResponse :: Type -> Type # Methods from :: GetLayerVersionResponse -> Rep GetLayerVersionResponse x # to :: Rep GetLayerVersionResponse x -> GetLayerVersionResponse # | |
| Read GetLayerVersionResponse Source # | |
| Show GetLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.Types.GetLayerVersionResponse Methods showsPrec :: Int -> GetLayerVersionResponse -> ShowS # show :: GetLayerVersionResponse -> String # showList :: [GetLayerVersionResponse] -> ShowS # | |
| NFData GetLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.Types.GetLayerVersionResponse Methods rnf :: GetLayerVersionResponse -> () # | |
| Eq GetLayerVersionResponse Source | |