Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- KMSInvalidStateException
- EC2ThrottledException
- EFSMountConnectivityException
- InvalidRuntimeException
- EFSMountFailureException
- PolicyLengthExceededException
- PreconditionFailedException
- EC2AccessDeniedException
- InvalidSubnetIDException
- CodeVerificationFailedException
- UnsupportedMediaTypeException
- InvalidRequestContentException
- KMSNotFoundException
- ENILimitReachedException
- InvalidParameterValueException
- RequestTooLargeException
- InvalidCodeSignatureException
- TooManyRequestsException
- InvalidSecurityGroupIDException
- KMSDisabledException
- SubnetIPAddressLimitReachedException
- ServiceException
- CodeStorageExceededException
- CodeSigningConfigNotFoundException
- InvalidZipFileException
- ProvisionedConcurrencyConfigNotFoundException
- ResourceConflictException
- ResourceNotReadyException
- EC2UnexpectedException
- ResourceNotFoundException
- EFSIOException
- EFSMountTimeoutException
- KMSAccessDeniedException
- ResourceInUseException
- Waiters
- Operations
- GetFunctionConfiguration
- DeleteEventSourceMapping
- UpdateEventSourceMapping
- GetLayerVersion
- DeleteFunctionCodeSigningConfig
- PutFunctionCodeSigningConfig
- CreateAlias
- ListVersionsByFunction (Paginated)
- ListAliases (Paginated)
- DeleteCodeSigningConfig
- UpdateCodeSigningConfig
- RemovePermission
- DeleteFunctionEventInvokeConfig
- UpdateFunctionEventInvokeConfig
- PutFunctionEventInvokeConfig
- Invoke
- DeleteLayerVersion
- GetAlias
- PublishLayerVersion
- GetEventSourceMapping
- AddLayerVersionPermission
- ListProvisionedConcurrencyConfigs (Paginated)
- PutFunctionConcurrency
- CreateFunction
- DeleteFunctionConcurrency
- GetLayerVersionByArn
- GetFunctionConcurrency
- CreateEventSourceMapping
- GetProvisionedConcurrencyConfig
- RemoveLayerVersionPermission
- ListFunctionsByCodeSigningConfig (Paginated)
- GetFunction
- ListEventSourceMappings (Paginated)
- GetLayerVersionPolicy
- DeleteAlias
- UpdateAlias
- GetAccountSettings
- GetFunctionEventInvokeConfig
- GetCodeSigningConfig
- AddPermission
- ListLayers (Paginated)
- ListFunctionEventInvokeConfigs (Paginated)
- ListCodeSigningConfigs (Paginated)
- GetFunctionCodeSigningConfig
- CreateCodeSigningConfig
- ListLayerVersions (Paginated)
- TagResource
- PublishVersion
- ListTags
- DeleteFunction
- UntagResource
- UpdateFunctionConfiguration
- ListFunctions (Paginated)
- UpdateFunctionCode
- DeleteProvisionedConcurrencyConfig
- GetPolicy
- PutProvisionedConcurrencyConfig
- Types
- Architecture
- CodeSigningPolicy
- EndPointType
- EventSourcePosition
- FunctionResponseType
- FunctionVersion
- InvocationType
- LastUpdateStatus
- LastUpdateStatusReasonCode
- LogType
- PackageType
- ProvisionedConcurrencyStatusEnum
- Runtime
- SourceAccessType
- State
- StateReasonCode
- TracingMode
- AccountLimit
- AccountUsage
- AliasConfiguration
- AliasRoutingConfiguration
- AllowedPublishers
- CodeSigningConfig
- CodeSigningPolicies
- Concurrency
- DeadLetterConfig
- DestinationConfig
- Environment
- EnvironmentError
- EnvironmentResponse
- EventSourceMappingConfiguration
- FileSystemConfig
- FunctionCode
- FunctionCodeLocation
- FunctionConfiguration
- FunctionEventInvokeConfig
- GetLayerVersionResponse
- ImageConfig
- ImageConfigError
- ImageConfigResponse
- Layer
- LayerVersionContentInput
- LayerVersionContentOutput
- LayerVersionsListItem
- LayersListItem
- OnFailure
- OnSuccess
- ProvisionedConcurrencyConfigListItem
- SelfManagedEventSource
- SourceAccessConfiguration
- TracingConfig
- TracingConfigResponse
- VpcConfig
- VpcConfigResponse
Derived from API version 2015-03-31
of the AWS service descriptions, licensed under Apache 2.0.
Lambda
Overview
This is the Lambda API Reference. The Lambda Developer Guide provides additional information. For the service overview, see What is Lambda, and for information about how the service works, see Lambda: How it Works in the Lambda Developer Guide.
Synopsis
- defaultService :: Service
- _KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountConnectivityException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetIDException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeVerificationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCodeSignatureException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupIDException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeSigningConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSIOException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- newFunctionExists :: Wait GetFunction
- newFunctionActive :: Wait GetFunctionConfiguration
- newFunctionUpdated :: Wait GetFunctionConfiguration
- data GetFunctionConfiguration = GetFunctionConfiguration' (Maybe Text) Text
- newGetFunctionConfiguration :: Text -> GetFunctionConfiguration
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data DeleteEventSourceMapping = DeleteEventSourceMapping' Text
- newDeleteEventSourceMapping :: Text -> DeleteEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data UpdateEventSourceMapping = UpdateEventSourceMapping' (Maybe Bool) (Maybe Bool) (Maybe Natural) (Maybe Int) (Maybe Natural) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text
- newUpdateEventSourceMapping :: Text -> UpdateEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data GetLayerVersion = GetLayerVersion' Text Integer
- newGetLayerVersion :: Text -> Integer -> GetLayerVersion
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime])
- newGetLayerVersionResponse :: GetLayerVersionResponse
- data DeleteFunctionCodeSigningConfig = DeleteFunctionCodeSigningConfig' Text
- newDeleteFunctionCodeSigningConfig :: Text -> DeleteFunctionCodeSigningConfig
- data DeleteFunctionCodeSigningConfigResponse = DeleteFunctionCodeSigningConfigResponse' {
- newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse
- data PutFunctionCodeSigningConfig = PutFunctionCodeSigningConfig' Text Text
- newPutFunctionCodeSigningConfig :: Text -> Text -> PutFunctionCodeSigningConfig
- data PutFunctionCodeSigningConfigResponse = PutFunctionCodeSigningConfigResponse' Int Text Text
- newPutFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse
- data CreateAlias = CreateAlias' (Maybe AliasRoutingConfiguration) (Maybe Text) Text Text Text
- newCreateAlias :: Text -> Text -> Text -> CreateAlias
- data AliasConfiguration = AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newAliasConfiguration :: AliasConfiguration
- data ListVersionsByFunction = ListVersionsByFunction' (Maybe Text) (Maybe Natural) Text
- newListVersionsByFunction :: Text -> ListVersionsByFunction
- data ListVersionsByFunctionResponse = ListVersionsByFunctionResponse' (Maybe [FunctionConfiguration]) (Maybe Text) Int
- newListVersionsByFunctionResponse :: Int -> ListVersionsByFunctionResponse
- data ListAliases = ListAliases' (Maybe Text) (Maybe Natural) (Maybe Text) Text
- newListAliases :: Text -> ListAliases
- data ListAliasesResponse = ListAliasesResponse' (Maybe [AliasConfiguration]) (Maybe Text) Int
- newListAliasesResponse :: Int -> ListAliasesResponse
- data DeleteCodeSigningConfig = DeleteCodeSigningConfig' Text
- newDeleteCodeSigningConfig :: Text -> DeleteCodeSigningConfig
- data DeleteCodeSigningConfigResponse = DeleteCodeSigningConfigResponse' Int
- newDeleteCodeSigningConfigResponse :: Int -> DeleteCodeSigningConfigResponse
- data UpdateCodeSigningConfig = UpdateCodeSigningConfig' (Maybe AllowedPublishers) (Maybe CodeSigningPolicies) (Maybe Text) Text
- newUpdateCodeSigningConfig :: Text -> UpdateCodeSigningConfig
- data UpdateCodeSigningConfigResponse = UpdateCodeSigningConfigResponse' Int CodeSigningConfig
- newUpdateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse
- data RemovePermission = RemovePermission' (Maybe Text) (Maybe Text) Text Text
- newRemovePermission :: Text -> Text -> RemovePermission
- data RemovePermissionResponse = RemovePermissionResponse' {
- newRemovePermissionResponse :: RemovePermissionResponse
- data DeleteFunctionEventInvokeConfig = DeleteFunctionEventInvokeConfig' (Maybe Text) Text
- newDeleteFunctionEventInvokeConfig :: Text -> DeleteFunctionEventInvokeConfig
- data DeleteFunctionEventInvokeConfigResponse = DeleteFunctionEventInvokeConfigResponse' {
- newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse
- data UpdateFunctionEventInvokeConfig = UpdateFunctionEventInvokeConfig' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text
- newUpdateFunctionEventInvokeConfig :: Text -> UpdateFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data PutFunctionEventInvokeConfig = PutFunctionEventInvokeConfig' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text
- newPutFunctionEventInvokeConfig :: Text -> PutFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data Invoke = Invoke' (Maybe InvocationType) (Maybe LogType) (Maybe Text) (Maybe Text) Text ByteString
- newInvoke :: Text -> ByteString -> Invoke
- data InvokeResponse = InvokeResponse' (Maybe Text) (Maybe Text) (Maybe ByteString) (Maybe Text) Int
- newInvokeResponse :: Int -> InvokeResponse
- data DeleteLayerVersion = DeleteLayerVersion' Text Integer
- newDeleteLayerVersion :: Text -> Integer -> DeleteLayerVersion
- data DeleteLayerVersionResponse = DeleteLayerVersionResponse' {
- newDeleteLayerVersionResponse :: DeleteLayerVersionResponse
- data GetAlias = GetAlias' Text Text
- newGetAlias :: Text -> Text -> GetAlias
- data AliasConfiguration = AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newAliasConfiguration :: AliasConfiguration
- data PublishLayerVersion = PublishLayerVersion' (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe [Runtime]) Text LayerVersionContentInput
- newPublishLayerVersion :: Text -> LayerVersionContentInput -> PublishLayerVersion
- data PublishLayerVersionResponse = PublishLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime]) Int
- newPublishLayerVersionResponse :: Int -> PublishLayerVersionResponse
- data GetEventSourceMapping = GetEventSourceMapping' Text
- newGetEventSourceMapping :: Text -> GetEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- 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 ListProvisionedConcurrencyConfigs = ListProvisionedConcurrencyConfigs' (Maybe Text) (Maybe Natural) Text
- newListProvisionedConcurrencyConfigs :: Text -> ListProvisionedConcurrencyConfigs
- data ListProvisionedConcurrencyConfigsResponse = ListProvisionedConcurrencyConfigsResponse' (Maybe [ProvisionedConcurrencyConfigListItem]) (Maybe Text) Int
- newListProvisionedConcurrencyConfigsResponse :: Int -> ListProvisionedConcurrencyConfigsResponse
- data PutFunctionConcurrency = PutFunctionConcurrency' Text Natural
- newPutFunctionConcurrency :: Text -> Natural -> PutFunctionConcurrency
- data Concurrency = Concurrency' (Maybe Natural)
- newConcurrency :: Concurrency
- data CreateFunction = CreateFunction' (Maybe Natural) (Maybe Runtime) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe Environment) (Maybe ImageConfig) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe VpcConfig) (Maybe [Text]) (Maybe Text) (Maybe Natural) (Maybe TracingConfig) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Bool) Text Text FunctionCode
- newCreateFunction :: Text -> Text -> FunctionCode -> CreateFunction
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data DeleteFunctionConcurrency = DeleteFunctionConcurrency' Text
- newDeleteFunctionConcurrency :: Text -> DeleteFunctionConcurrency
- data DeleteFunctionConcurrencyResponse = DeleteFunctionConcurrencyResponse' {
- newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse
- data GetLayerVersionByArn = GetLayerVersionByArn' Text
- newGetLayerVersionByArn :: Text -> GetLayerVersionByArn
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime])
- newGetLayerVersionResponse :: GetLayerVersionResponse
- data GetFunctionConcurrency = GetFunctionConcurrency' Text
- newGetFunctionConcurrency :: Text -> GetFunctionConcurrency
- data GetFunctionConcurrencyResponse = GetFunctionConcurrencyResponse' (Maybe Natural) Int
- newGetFunctionConcurrencyResponse :: Int -> GetFunctionConcurrencyResponse
- data CreateEventSourceMapping = CreateEventSourceMapping' (Maybe Text) (Maybe POSIX) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Bool) (Maybe Natural) (Maybe Int) (Maybe Natural) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe DestinationConfig) (Maybe EventSourcePosition) Text
- newCreateEventSourceMapping :: Text -> CreateEventSourceMapping
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data GetProvisionedConcurrencyConfig = GetProvisionedConcurrencyConfig' Text Text
- newGetProvisionedConcurrencyConfig :: Text -> Text -> GetProvisionedConcurrencyConfig
- data GetProvisionedConcurrencyConfigResponse = GetProvisionedConcurrencyConfigResponse' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text) Int
- newGetProvisionedConcurrencyConfigResponse :: Int -> GetProvisionedConcurrencyConfigResponse
- data RemoveLayerVersionPermission = RemoveLayerVersionPermission' (Maybe Text) Text Integer Text
- newRemoveLayerVersionPermission :: Text -> Integer -> Text -> RemoveLayerVersionPermission
- data RemoveLayerVersionPermissionResponse = RemoveLayerVersionPermissionResponse' {
- newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse
- data ListFunctionsByCodeSigningConfig = ListFunctionsByCodeSigningConfig' (Maybe Text) (Maybe Natural) Text
- newListFunctionsByCodeSigningConfig :: Text -> ListFunctionsByCodeSigningConfig
- data ListFunctionsByCodeSigningConfigResponse = ListFunctionsByCodeSigningConfigResponse' (Maybe [Text]) (Maybe Text) Int
- newListFunctionsByCodeSigningConfigResponse :: Int -> ListFunctionsByCodeSigningConfigResponse
- data GetFunction = GetFunction' (Maybe Text) Text
- newGetFunction :: Text -> GetFunction
- data GetFunctionResponse = GetFunctionResponse' (Maybe Concurrency) (Maybe FunctionCodeLocation) (Maybe FunctionConfiguration) (Maybe (HashMap Text Text)) Int
- newGetFunctionResponse :: Int -> GetFunctionResponse
- data ListEventSourceMappings = ListEventSourceMappings' (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe Text)
- newListEventSourceMappings :: ListEventSourceMappings
- data ListEventSourceMappingsResponse = ListEventSourceMappingsResponse' (Maybe [EventSourceMappingConfiguration]) (Maybe Text) Int
- newListEventSourceMappingsResponse :: Int -> ListEventSourceMappingsResponse
- data GetLayerVersionPolicy = GetLayerVersionPolicy' Text Integer
- newGetLayerVersionPolicy :: Text -> Integer -> GetLayerVersionPolicy
- data GetLayerVersionPolicyResponse = GetLayerVersionPolicyResponse' (Maybe Text) (Maybe Text) Int
- newGetLayerVersionPolicyResponse :: Int -> GetLayerVersionPolicyResponse
- data DeleteAlias = DeleteAlias' Text Text
- newDeleteAlias :: Text -> Text -> DeleteAlias
- data DeleteAliasResponse = DeleteAliasResponse' {
- newDeleteAliasResponse :: DeleteAliasResponse
- data UpdateAlias = UpdateAlias' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newUpdateAlias :: Text -> Text -> UpdateAlias
- data AliasConfiguration = AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newAliasConfiguration :: AliasConfiguration
- data GetAccountSettings = GetAccountSettings' {
- newGetAccountSettings :: GetAccountSettings
- data GetAccountSettingsResponse = GetAccountSettingsResponse' (Maybe AccountLimit) (Maybe AccountUsage) Int
- newGetAccountSettingsResponse :: Int -> GetAccountSettingsResponse
- data GetFunctionEventInvokeConfig = GetFunctionEventInvokeConfig' (Maybe Text) Text
- newGetFunctionEventInvokeConfig :: Text -> GetFunctionEventInvokeConfig
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data GetCodeSigningConfig = GetCodeSigningConfig' Text
- newGetCodeSigningConfig :: Text -> GetCodeSigningConfig
- data GetCodeSigningConfigResponse = GetCodeSigningConfigResponse' Int CodeSigningConfig
- newGetCodeSigningConfigResponse :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse
- data AddPermission = AddPermission' (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 ListLayers = ListLayers' (Maybe Runtime) (Maybe Text) (Maybe Natural) (Maybe Architecture)
- newListLayers :: ListLayers
- data ListLayersResponse = ListLayersResponse' (Maybe Text) (Maybe [LayersListItem]) Int
- newListLayersResponse :: Int -> ListLayersResponse
- data ListFunctionEventInvokeConfigs = ListFunctionEventInvokeConfigs' (Maybe Text) (Maybe Natural) Text
- newListFunctionEventInvokeConfigs :: Text -> ListFunctionEventInvokeConfigs
- data ListFunctionEventInvokeConfigsResponse = ListFunctionEventInvokeConfigsResponse' (Maybe [FunctionEventInvokeConfig]) (Maybe Text) Int
- newListFunctionEventInvokeConfigsResponse :: Int -> ListFunctionEventInvokeConfigsResponse
- data ListCodeSigningConfigs = ListCodeSigningConfigs' (Maybe Text) (Maybe Natural)
- newListCodeSigningConfigs :: ListCodeSigningConfigs
- data ListCodeSigningConfigsResponse = ListCodeSigningConfigsResponse' (Maybe [CodeSigningConfig]) (Maybe Text) Int
- newListCodeSigningConfigsResponse :: Int -> ListCodeSigningConfigsResponse
- data GetFunctionCodeSigningConfig = GetFunctionCodeSigningConfig' Text
- newGetFunctionCodeSigningConfig :: Text -> GetFunctionCodeSigningConfig
- data GetFunctionCodeSigningConfigResponse = GetFunctionCodeSigningConfigResponse' Int Text Text
- newGetFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse
- data CreateCodeSigningConfig = CreateCodeSigningConfig' (Maybe CodeSigningPolicies) (Maybe Text) AllowedPublishers
- newCreateCodeSigningConfig :: AllowedPublishers -> CreateCodeSigningConfig
- data CreateCodeSigningConfigResponse = CreateCodeSigningConfigResponse' Int CodeSigningConfig
- newCreateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse
- data ListLayerVersions = ListLayerVersions' (Maybe Runtime) (Maybe Text) (Maybe Natural) (Maybe Architecture) Text
- newListLayerVersions :: Text -> ListLayerVersions
- data ListLayerVersionsResponse = ListLayerVersionsResponse' (Maybe [LayerVersionsListItem]) (Maybe Text) Int
- newListLayerVersionsResponse :: Int -> ListLayerVersionsResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' {
- newTagResourceResponse :: TagResourceResponse
- data PublishVersion = PublishVersion' (Maybe Text) (Maybe Text) (Maybe Text) Text
- newPublishVersion :: Text -> PublishVersion
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data ListTags = ListTags' Text
- newListTags :: Text -> ListTags
- data ListTagsResponse = ListTagsResponse' (Maybe (HashMap Text Text)) Int
- newListTagsResponse :: Int -> ListTagsResponse
- data DeleteFunction = DeleteFunction' (Maybe Text) Text
- newDeleteFunction :: Text -> DeleteFunction
- data DeleteFunctionResponse = DeleteFunctionResponse' {
- newDeleteFunctionResponse :: DeleteFunctionResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' {
- newUntagResourceResponse :: UntagResourceResponse
- data UpdateFunctionConfiguration = UpdateFunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe Text) (Maybe [FileSystemConfig]) (Maybe Environment) (Maybe ImageConfig) (Maybe DeadLetterConfig) (Maybe Text) (Maybe VpcConfig) (Maybe [Text]) (Maybe Text) (Maybe Natural) (Maybe TracingConfig) (Maybe Text) (Maybe Text) Text
- newUpdateFunctionConfiguration :: Text -> UpdateFunctionConfiguration
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data ListFunctions = ListFunctions' (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe FunctionVersion)
- newListFunctions :: ListFunctions
- data ListFunctionsResponse = ListFunctionsResponse' (Maybe Text) (Maybe [FunctionConfiguration]) Int
- newListFunctionsResponse :: Int -> ListFunctionsResponse
- data UpdateFunctionCode = UpdateFunctionCode' (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Bool) Text
- newUpdateFunctionCode :: Text -> UpdateFunctionCode
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data DeleteProvisionedConcurrencyConfig = DeleteProvisionedConcurrencyConfig' Text Text
- newDeleteProvisionedConcurrencyConfig :: Text -> Text -> DeleteProvisionedConcurrencyConfig
- data DeleteProvisionedConcurrencyConfigResponse = DeleteProvisionedConcurrencyConfigResponse' {
- newDeleteProvisionedConcurrencyConfigResponse :: DeleteProvisionedConcurrencyConfigResponse
- data GetPolicy = GetPolicy' (Maybe Text) Text
- newGetPolicy :: Text -> GetPolicy
- data GetPolicyResponse = GetPolicyResponse' (Maybe Text) (Maybe Text) Int
- newGetPolicyResponse :: Int -> GetPolicyResponse
- data PutProvisionedConcurrencyConfig = PutProvisionedConcurrencyConfig' Text Text Natural
- newPutProvisionedConcurrencyConfig :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig
- data PutProvisionedConcurrencyConfigResponse = PutProvisionedConcurrencyConfigResponse' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text) Int
- newPutProvisionedConcurrencyConfigResponse :: Int -> PutProvisionedConcurrencyConfigResponse
- 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 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_EniLimitExceeded :: 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_InvalidSecurityGroup :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSubnet :: 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_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_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 SourceAccessType where
- SourceAccessType' { }
- pattern SourceAccessType_BASIC_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_512_AUTH :: 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_EniLimitExceeded :: 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_InvalidSecurityGroup :: StateReasonCode
- pattern StateReasonCode_InvalidSubnet :: 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 Int) (Maybe Integer) (Maybe Natural) (Maybe Integer) (Maybe Integer)
- newAccountLimit :: AccountLimit
- data AccountUsage = AccountUsage' (Maybe Integer) (Maybe Integer)
- newAccountUsage :: AccountUsage
- data AliasConfiguration = AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newAliasConfiguration :: AliasConfiguration
- data AliasRoutingConfiguration = AliasRoutingConfiguration' (Maybe (HashMap Text Double))
- newAliasRoutingConfiguration :: AliasRoutingConfiguration
- data AllowedPublishers = AllowedPublishers' (NonEmpty Text)
- newAllowedPublishers :: NonEmpty Text -> AllowedPublishers
- 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 DeadLetterConfig = DeadLetterConfig' (Maybe Text)
- newDeadLetterConfig :: DeadLetterConfig
- data DestinationConfig = DestinationConfig' (Maybe OnSuccess) (Maybe OnFailure)
- 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 (Sensitive (HashMap Text (Sensitive Text)))) (Maybe EnvironmentError)
- newEnvironmentResponse :: EnvironmentResponse
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition)
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- data FileSystemConfig = FileSystemConfig' Text Text
- newFileSystemConfig :: Text -> Text -> FileSystemConfig
- data FunctionCode = FunctionCode' (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) (Maybe Text) (Maybe Text)
- newFunctionCode :: FunctionCode
- data FunctionCodeLocation = FunctionCodeLocation' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newFunctionCodeLocation :: FunctionCodeLocation
- data FunctionConfiguration = FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text)
- newFunctionConfiguration :: FunctionConfiguration
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig)
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- data GetLayerVersionResponse = GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime])
- 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 ImageConfig) (Maybe ImageConfigError)
- newImageConfigResponse :: ImageConfigResponse
- data Layer = Layer' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer)
- newLayer :: Layer
- data LayerVersionContentInput = LayerVersionContentInput' (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) (Maybe Text)
- newLayerVersionContentInput :: LayerVersionContentInput
- data LayerVersionContentOutput = LayerVersionContentOutput' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe Text)
- newLayerVersionContentOutput :: LayerVersionContentOutput
- data LayerVersionsListItem = LayerVersionsListItem' (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe [Runtime])
- newLayerVersionsListItem :: LayerVersionsListItem
- data LayersListItem = LayersListItem' (Maybe Text) (Maybe LayerVersionsListItem) (Maybe Text)
- newLayersListItem :: LayersListItem
- data OnFailure = OnFailure' (Maybe Text)
- newOnFailure :: OnFailure
- data OnSuccess = OnSuccess' (Maybe Text)
- newOnSuccess :: OnSuccess
- data ProvisionedConcurrencyConfigListItem = ProvisionedConcurrencyConfigListItem' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text)
- newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem
- data SelfManagedEventSource = SelfManagedEventSource' (Maybe (HashMap EndPointType (NonEmpty Text)))
- newSelfManagedEventSource :: SelfManagedEventSource
- data SourceAccessConfiguration = SourceAccessConfiguration' (Maybe Text) (Maybe SourceAccessType)
- 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
.
KMSInvalidStateException
_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Check the function's KMS key settings.
EC2ThrottledException
_EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
EFSMountConnectivityException
_EFSMountConnectivityException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function couldn't make a network connection to the configured file system.
InvalidRuntimeException
_InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The runtime or runtime version specified is not supported.
EFSMountFailureException
_EFSMountFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function couldn't mount the configured file system due to a permission or configuration issue.
PolicyLengthExceededException
_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The permissions policy for the resource is too large. Learn more
PreconditionFailedException
_PreconditionFailedException :: AsError a => Getting (First ServiceError) 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
to retrieve the latest RevisionId for your resource.
EC2AccessDeniedException
_EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Need additional permissions to configure VPC settings.
InvalidSubnetIDException
_InvalidSubnetIDException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Subnet ID provided in the Lambda function VPC configuration is invalid.
CodeVerificationFailedException
_CodeVerificationFailedException :: AsError a => Getting (First ServiceError) 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.
UnsupportedMediaTypeException
_UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The content type of the Invoke
request body is not JSON.
InvalidRequestContentException
_InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request body could not be parsed as JSON.
KMSNotFoundException
_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
ENILimitReachedException
_ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.
InvalidParameterValueException
_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One of the parameters in the request is invalid.
RequestTooLargeException
_RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request payload exceeded the Invoke
request body JSON input limit.
For more information, see
Limits.
InvalidCodeSignatureException
_InvalidCodeSignatureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The code signature failed the integrity check. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN.
TooManyRequestsException
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request throughput limit was exceeded.
InvalidSecurityGroupIDException
_InvalidSecurityGroupIDException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Security Group ID provided in the Lambda function VPC configuration is invalid.
KMSDisabledException
_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
SubnetIPAddressLimitReachedException
_SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
ServiceException
_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Lambda service encountered an internal error.
CodeStorageExceededException
_CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have exceeded your maximum total code size per account. Learn more
CodeSigningConfigNotFoundException
_CodeSigningConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified code signing configuration does not exist.
InvalidZipFileException
_InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda could not unzip the deployment package.
ProvisionedConcurrencyConfigNotFoundException
_ProvisionedConcurrencyConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration does not exist.
ResourceConflictException
_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource already exists, or another operation is in progress.
ResourceNotReadyException
_ResourceNotReadyException :: AsError a => Getting (First ServiceError) 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.
EC2UnexpectedException
_EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource specified in the request does not exist.
EFSIOException
_EFSIOException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An error occurred when reading from or writing to a connected file system.
EFSMountTimeoutException
_EFSMountTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function was able to make a network connection to the configured file system, but the mount operation timed out.
KMSAccessDeniedException
_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
ResourceInUseException
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation conflicts with the resource's availability. For example, you attempted to update an EventSource Mapping in CREATING, or tried to delete a EventSource mapping currently in the UPDATING state.
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.
FunctionExists
newFunctionExists :: Wait GetFunction Source #
Polls GetFunction
every 1 seconds until a successful state is reached. An error is returned after 20 failed checks.
FunctionActive
newFunctionActive :: Wait GetFunctionConfiguration Source #
Polls GetFunctionConfiguration
every 5 seconds until a successful state is reached. An error is returned after 60 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.
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.
GetFunctionConfiguration
data GetFunctionConfiguration Source #
See: newGetFunctionConfiguration
smart constructor.
Instances
newGetFunctionConfiguration Source #
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.
$sel:functionName: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.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
DeleteEventSourceMapping
data DeleteEventSourceMapping Source #
See: newDeleteEventSourceMapping
smart constructor.
Instances
newDeleteEventSourceMapping Source #
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:
$sel:uuid: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.
EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition) |
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:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$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:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$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:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$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: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:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$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:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$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.
UpdateEventSourceMapping
data UpdateEventSourceMapping Source #
See: newUpdateEventSourceMapping
smart constructor.
UpdateEventSourceMapping' (Maybe Bool) (Maybe Bool) (Maybe Natural) (Maybe Int) (Maybe Natural) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text |
Instances
newUpdateEventSourceMapping Source #
Create a value of UpdateEventSourceMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:UpdateEventSourceMapping'
, updateEventSourceMapping_enabled
- When true, the event source mapping is active. When false, Lambda pauses
polling and invocation.
Default: True
$sel:bisectBatchOnFunctionError:UpdateEventSourceMapping'
, updateEventSourceMapping_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry.
$sel:parallelizationFactor:UpdateEventSourceMapping'
, updateEventSourceMapping_parallelizationFactor
- (Streams only) The number of batches to process from each shard
concurrently.
$sel:maximumRetryAttempts:UpdateEventSourceMapping'
, updateEventSourceMapping_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is infinite (-1). When set to infinite (-1), failed
records will be retried until the record expires.
$sel:batchSize:UpdateEventSourceMapping'
, updateEventSourceMapping_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
- Amazon Kinesis - Default 100. Max 10,000.
- Amazon DynamoDB Streams - Default 100. Max 1,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.
$sel:maximumBatchingWindowInSeconds:UpdateEventSourceMapping'
, updateEventSourceMapping_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:UpdateEventSourceMapping'
, updateEventSourceMapping_sourceAccessConfigurations
- An array of authentication protocols or VPC components required to
secure your event source.
$sel:maximumRecordAgeInSeconds:UpdateEventSourceMapping'
, updateEventSourceMapping_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is infinite (-1).
$sel:functionResponseTypes:UpdateEventSourceMapping'
, updateEventSourceMapping_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:UpdateEventSourceMapping'
, updateEventSourceMapping_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is between 1 second up to 900 seconds.
$sel:functionName:UpdateEventSourceMapping'
, updateEventSourceMapping_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
$sel:destinationConfig:UpdateEventSourceMapping'
, updateEventSourceMapping_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:uuid:UpdateEventSourceMapping'
, updateEventSourceMapping_uuid
- The identifier of the event source mapping.
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition) |
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:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$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:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$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:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$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: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:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$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:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$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.
GetLayerVersion
data GetLayerVersion Source #
See: newGetLayerVersion
smart constructor.
Instances
:: Text | |
-> Integer | |
-> GetLayerVersion |
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:
$sel:layerName: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.
GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime]) |
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:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$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:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
DeleteFunctionCodeSigningConfig
data DeleteFunctionCodeSigningConfig Source #
See: newDeleteFunctionCodeSigningConfig
smart constructor.
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:
$sel:functionName: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.
Instances
Eq DeleteFunctionCodeSigningConfigResponse Source # | |
Read DeleteFunctionCodeSigningConfigResponse Source # | |
Show DeleteFunctionCodeSigningConfigResponse Source # | |
Generic DeleteFunctionCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionCodeSigningConfig type Rep DeleteFunctionCodeSigningConfigResponse :: Type -> Type # | |
NFData DeleteFunctionCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionCodeSigningConfig rnf :: DeleteFunctionCodeSigningConfigResponse -> () # | |
type Rep DeleteFunctionCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionCodeSigningConfig type Rep DeleteFunctionCodeSigningConfigResponse = D1 ('MetaData "DeleteFunctionCodeSigningConfigResponse" "Amazonka.Lambda.DeleteFunctionCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "DeleteFunctionCodeSigningConfigResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse Source #
Create a value of DeleteFunctionCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PutFunctionCodeSigningConfig
data PutFunctionCodeSigningConfig Source #
See: newPutFunctionCodeSigningConfig
smart constructor.
Instances
newPutFunctionCodeSigningConfig Source #
:: Text | |
-> Text | |
-> PutFunctionCodeSigningConfig |
Create a value of PutFunctionCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSigningConfigArn:PutFunctionCodeSigningConfig'
, putFunctionCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
$sel:functionName:PutFunctionCodeSigningConfig'
, putFunctionCodeSigningConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data PutFunctionCodeSigningConfigResponse Source #
See: newPutFunctionCodeSigningConfigResponse
smart constructor.
Instances
newPutFunctionCodeSigningConfigResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> PutFunctionCodeSigningConfigResponse |
Create a value of PutFunctionCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutFunctionCodeSigningConfigResponse'
, putFunctionCodeSigningConfigResponse_httpStatus
- The response's http status code.
$sel:codeSigningConfigArn:PutFunctionCodeSigningConfig'
, putFunctionCodeSigningConfigResponse_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
$sel:functionName:PutFunctionCodeSigningConfig'
, putFunctionCodeSigningConfigResponse_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
CreateAlias
data CreateAlias Source #
See: newCreateAlias
smart constructor.
Instances
:: 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:
$sel:routingConfig:CreateAlias'
, createAlias_routingConfig
- The
routing configuration
of the alias.
$sel:description:CreateAlias'
, createAlias_description
- A description of the alias.
$sel:functionName: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.
$sel:name:CreateAlias'
, createAlias_name
- The name of the alias.
$sel:functionVersion: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.
AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
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:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
ListVersionsByFunction (Paginated)
data ListVersionsByFunction Source #
See: newListVersionsByFunction
smart constructor.
Instances
newListVersionsByFunction Source #
Create a value of ListVersionsByFunction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListVersionsByFunction'
, listVersionsByFunction_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListVersionsByFunction'
, listVersionsByFunction_maxItems
- The maximum number of versions to return. Note that
ListVersionsByFunction
returns a maximum of 50 items in each response,
even if you set the number higher.
$sel:functionName:ListVersionsByFunction'
, listVersionsByFunction_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListVersionsByFunctionResponse Source #
See: newListVersionsByFunctionResponse
smart constructor.
Instances
newListVersionsByFunctionResponse Source #
Create a value of ListVersionsByFunctionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:versions:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_versions
- A list of Lambda function versions.
$sel:nextMarker:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListVersionsByFunctionResponse'
, listVersionsByFunctionResponse_httpStatus
- The response's http status code.
ListAliases (Paginated)
data ListAliases Source #
See: newListAliases
smart constructor.
Instances
Create a value of ListAliases
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListAliases'
, listAliases_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListAliases'
, listAliases_maxItems
- Limit the number of aliases returned.
$sel:functionVersion:ListAliases'
, listAliases_functionVersion
- Specify a function version to only list aliases that invoke that
version.
$sel:functionName:ListAliases'
, listAliases_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListAliasesResponse Source #
See: newListAliasesResponse
smart constructor.
Instances
newListAliasesResponse Source #
Create a value of ListAliasesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliases:ListAliasesResponse'
, listAliasesResponse_aliases
- A list of aliases.
$sel:nextMarker:ListAliasesResponse'
, listAliasesResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListAliasesResponse'
, listAliasesResponse_httpStatus
- The response's http status code.
DeleteCodeSigningConfig
data DeleteCodeSigningConfig Source #
See: newDeleteCodeSigningConfig
smart constructor.
Instances
newDeleteCodeSigningConfig Source #
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:
$sel:codeSigningConfigArn:DeleteCodeSigningConfig'
, deleteCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data DeleteCodeSigningConfigResponse Source #
See: newDeleteCodeSigningConfigResponse
smart constructor.
Instances
Eq DeleteCodeSigningConfigResponse Source # | |
Read DeleteCodeSigningConfigResponse Source # | |
Show DeleteCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteCodeSigningConfig | |
Generic DeleteCodeSigningConfigResponse Source # | |
NFData DeleteCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteCodeSigningConfig rnf :: DeleteCodeSigningConfigResponse -> () # | |
type Rep DeleteCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteCodeSigningConfig type Rep DeleteCodeSigningConfigResponse = D1 ('MetaData "DeleteCodeSigningConfigResponse" "Amazonka.Lambda.DeleteCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "DeleteCodeSigningConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.
UpdateCodeSigningConfig
data UpdateCodeSigningConfig Source #
See: newUpdateCodeSigningConfig
smart constructor.
Instances
newUpdateCodeSigningConfig Source #
Create a value of UpdateCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedPublishers:UpdateCodeSigningConfig'
, updateCodeSigningConfig_allowedPublishers
- Signing profiles for this code signing configuration.
$sel:codeSigningPolicies:UpdateCodeSigningConfig'
, updateCodeSigningConfig_codeSigningPolicies
- The code signing policy.
$sel:description:UpdateCodeSigningConfig'
, updateCodeSigningConfig_description
- Descriptive name for this code signing configuration.
$sel:codeSigningConfigArn:UpdateCodeSigningConfig'
, updateCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data UpdateCodeSigningConfigResponse Source #
See: newUpdateCodeSigningConfigResponse
smart constructor.
Instances
Eq UpdateCodeSigningConfigResponse Source # | |
Read UpdateCodeSigningConfigResponse Source # | |
Show UpdateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.UpdateCodeSigningConfig | |
Generic UpdateCodeSigningConfigResponse Source # | |
NFData UpdateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.UpdateCodeSigningConfig rnf :: UpdateCodeSigningConfigResponse -> () # | |
type Rep UpdateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.UpdateCodeSigningConfig type Rep UpdateCodeSigningConfigResponse = D1 ('MetaData "UpdateCodeSigningConfigResponse" "Amazonka.Lambda.UpdateCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "UpdateCodeSigningConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "codeSigningConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeSigningConfig))) |
newUpdateCodeSigningConfigResponse Source #
Create a value of UpdateCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateCodeSigningConfigResponse'
, updateCodeSigningConfigResponse_httpStatus
- The response's http status code.
$sel:codeSigningConfig:UpdateCodeSigningConfigResponse'
, updateCodeSigningConfigResponse_codeSigningConfig
- The code signing configuration
RemovePermission
data RemovePermission Source #
See: newRemovePermission
smart constructor.
Instances
:: Text | |
-> Text | |
-> RemovePermission |
Create a value of RemovePermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:RemovePermission'
, removePermission_qualifier
- Specify a version or alias to remove permissions from a published
version of the function.
$sel:revisionId:RemovePermission'
, removePermission_revisionId
- Only update the policy 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:functionName:RemovePermission'
, removePermission_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:statementId:RemovePermission'
, removePermission_statementId
- Statement ID of the permission to remove.
data RemovePermissionResponse Source #
See: newRemovePermissionResponse
smart constructor.
Instances
Eq RemovePermissionResponse Source # | |
Defined in Amazonka.Lambda.RemovePermission | |
Read RemovePermissionResponse Source # | |
Show RemovePermissionResponse Source # | |
Defined in Amazonka.Lambda.RemovePermission showsPrec :: Int -> RemovePermissionResponse -> ShowS # show :: RemovePermissionResponse -> String # showList :: [RemovePermissionResponse] -> ShowS # | |
Generic RemovePermissionResponse Source # | |
Defined in Amazonka.Lambda.RemovePermission type Rep RemovePermissionResponse :: Type -> Type # | |
NFData RemovePermissionResponse Source # | |
Defined in Amazonka.Lambda.RemovePermission rnf :: RemovePermissionResponse -> () # | |
type Rep RemovePermissionResponse Source # | |
newRemovePermissionResponse :: RemovePermissionResponse Source #
Create a value of RemovePermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteFunctionEventInvokeConfig
data DeleteFunctionEventInvokeConfig Source #
See: newDeleteFunctionEventInvokeConfig
smart constructor.
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.
$sel:functionName: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.
Instances
Eq DeleteFunctionEventInvokeConfigResponse Source # | |
Read DeleteFunctionEventInvokeConfigResponse Source # | |
Show DeleteFunctionEventInvokeConfigResponse Source # | |
Generic DeleteFunctionEventInvokeConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionEventInvokeConfig type Rep DeleteFunctionEventInvokeConfigResponse :: Type -> Type # | |
NFData DeleteFunctionEventInvokeConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionEventInvokeConfig rnf :: DeleteFunctionEventInvokeConfigResponse -> () # | |
type Rep DeleteFunctionEventInvokeConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunctionEventInvokeConfig type Rep DeleteFunctionEventInvokeConfigResponse = D1 ('MetaData "DeleteFunctionEventInvokeConfigResponse" "Amazonka.Lambda.DeleteFunctionEventInvokeConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "DeleteFunctionEventInvokeConfigResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse Source #
Create a value of DeleteFunctionEventInvokeConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateFunctionEventInvokeConfig
data UpdateFunctionEventInvokeConfig Source #
See: newUpdateFunctionEventInvokeConfig
smart constructor.
UpdateFunctionEventInvokeConfig' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text |
Instances
newUpdateFunctionEventInvokeConfig Source #
Create a value of UpdateFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumEventAgeInSeconds:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:qualifier:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_qualifier
- A version number or alias name.
$sel:destinationConfig:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionName:UpdateFunctionEventInvokeConfig'
, updateFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig) |
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:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$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.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$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.
PutFunctionEventInvokeConfig
data PutFunctionEventInvokeConfig Source #
See: newPutFunctionEventInvokeConfig
smart constructor.
PutFunctionEventInvokeConfig' (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe DestinationConfig) Text |
Instances
newPutFunctionEventInvokeConfig Source #
Create a value of PutFunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumEventAgeInSeconds:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:qualifier:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_qualifier
- A version number or alias name.
$sel:destinationConfig:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionName:PutFunctionEventInvokeConfig'
, putFunctionEventInvokeConfig_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig) |
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:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$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.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$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.
Invoke
See: newInvoke
smart constructor.
Instances
Create a value of Invoke
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:invocationType:Invoke'
, invoke_invocationType
- Choose from the following options.
RequestResponse
(default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.Event
- Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code.DryRun
- Validate parameter values and verify that the user or role has permission to invoke the function.
$sel:logType:Invoke'
, invoke_logType
- Set to Tail
to include the execution log in the response. Applies to
synchronously invoked functions only.
$sel:qualifier:Invoke'
, invoke_qualifier
- Specify a version or alias to invoke a published version of the
function.
$sel:clientContext:Invoke'
, invoke_clientContext
- Up to 3583 bytes of base64-encoded data about the invoking client to
pass to the function in the context object.
$sel:functionName:Invoke'
, invoke_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:payload:Invoke'
, invoke_payload
- The JSON that you want to provide to your Lambda function as input.
data InvokeResponse Source #
See: newInvokeResponse
smart constructor.
InvokeResponse' (Maybe Text) (Maybe Text) (Maybe ByteString) (Maybe Text) Int |
Instances
Create a value of InvokeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionError:InvokeResponse'
, invokeResponse_functionError
- If present, indicates that an error occurred during function execution.
Details about the error are included in the response payload.
$sel:logResult:InvokeResponse'
, invokeResponse_logResult
- The last 4 KB of the execution log, which is base64 encoded.
$sel:payload:Invoke'
, invokeResponse_payload
- The response from the function, or an error object.
$sel:executedVersion:InvokeResponse'
, invokeResponse_executedVersion
- The version of the function that executed. When you invoke a function
with an alias, this indicates which version the alias resolved to.
$sel:statusCode:InvokeResponse'
, invokeResponse_statusCode
- The HTTP status code is in the 200 range for a successful request. For
the RequestResponse
invocation type, this status code is 200. For the
Event
invocation type, this status code is 202. For the DryRun
invocation type, the status code is 204.
DeleteLayerVersion
data DeleteLayerVersion Source #
See: newDeleteLayerVersion
smart constructor.
Instances
newDeleteLayerVersion Source #
:: 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:
$sel:layerName: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.
Instances
Eq DeleteLayerVersionResponse Source # | |
Read DeleteLayerVersionResponse Source # | |
Show DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion showsPrec :: Int -> DeleteLayerVersionResponse -> ShowS # show :: DeleteLayerVersionResponse -> String # showList :: [DeleteLayerVersionResponse] -> ShowS # | |
Generic DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion type Rep DeleteLayerVersionResponse :: Type -> Type # | |
NFData DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion rnf :: DeleteLayerVersionResponse -> () # | |
type Rep DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion |
newDeleteLayerVersionResponse :: DeleteLayerVersionResponse Source #
Create a value of DeleteLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
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:
$sel:functionName: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.
$sel:name:GetAlias'
, getAlias_name
- The name of the alias.
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
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:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
PublishLayerVersion
data PublishLayerVersion Source #
See: newPublishLayerVersion
smart constructor.
PublishLayerVersion' (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe [Runtime]) Text LayerVersionContentInput |
Instances
newPublishLayerVersion Source #
Create a value of PublishLayerVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:licenseInfo:PublishLayerVersion'
, publishLayerVersion_licenseInfo
- The layer's software license. It can be any of the following:
- An SPDX license identifier. For
example,
MIT
. - The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT
. - The full text of the license.
$sel:compatibleArchitectures:PublishLayerVersion'
, publishLayerVersion_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:description:PublishLayerVersion'
, publishLayerVersion_description
- The description of the version.
$sel:compatibleRuntimes:PublishLayerVersion'
, publishLayerVersion_compatibleRuntimes
- A list of compatible
function runtimes.
Used for filtering with ListLayers and ListLayerVersions.
$sel:layerName:PublishLayerVersion'
, publishLayerVersion_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:content:PublishLayerVersion'
, publishLayerVersion_content
- The function layer archive.
data PublishLayerVersionResponse Source #
See: newPublishLayerVersionResponse
smart constructor.
PublishLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime]) Int |
Instances
newPublishLayerVersionResponse Source #
Create a value of PublishLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersionArn:PublishLayerVersionResponse'
, publishLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:content:PublishLayerVersion'
, publishLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:PublishLayerVersionResponse'
, publishLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:version:PublishLayerVersionResponse'
, publishLayerVersionResponse_version
- The version number.
$sel:licenseInfo:PublishLayerVersion'
, publishLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:PublishLayerVersion'
, publishLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:PublishLayerVersionResponse'
, publishLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:PublishLayerVersion'
, publishLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:PublishLayerVersion'
, publishLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
$sel:httpStatus:PublishLayerVersionResponse'
, publishLayerVersionResponse_httpStatus
- The response's http status code.
GetEventSourceMapping
data GetEventSourceMapping Source #
See: newGetEventSourceMapping
smart constructor.
Instances
newGetEventSourceMapping Source #
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:
$sel:uuid: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.
EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition) |
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:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$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:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$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:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$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: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:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$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:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$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.
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:revisionId: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.
$sel:organizationId:AddLayerVersionPermission'
, addLayerVersionPermission_organizationId
- With the principal set to *
, grant permission to all accounts in the
specified organization.
$sel:layerName: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 #
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:
$sel:statement:AddLayerVersionPermissionResponse'
, addLayerVersionPermissionResponse_statement
- The permission statement.
$sel:revisionId:AddLayerVersionPermission'
, addLayerVersionPermissionResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:httpStatus:AddLayerVersionPermissionResponse'
, addLayerVersionPermissionResponse_httpStatus
- The response's http status code.
ListProvisionedConcurrencyConfigs (Paginated)
data ListProvisionedConcurrencyConfigs Source #
See: newListProvisionedConcurrencyConfigs
smart constructor.
Instances
newListProvisionedConcurrencyConfigs Source #
Create a value of ListProvisionedConcurrencyConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListProvisionedConcurrencyConfigs'
, listProvisionedConcurrencyConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListProvisionedConcurrencyConfigs'
, listProvisionedConcurrencyConfigs_maxItems
- Specify a number to limit the number of configurations returned.
$sel:functionName:ListProvisionedConcurrencyConfigs'
, listProvisionedConcurrencyConfigs_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListProvisionedConcurrencyConfigsResponse Source #
See: newListProvisionedConcurrencyConfigsResponse
smart constructor.
ListProvisionedConcurrencyConfigsResponse' (Maybe [ProvisionedConcurrencyConfigListItem]) (Maybe Text) Int |
Instances
newListProvisionedConcurrencyConfigsResponse Source #
Create a value of ListProvisionedConcurrencyConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:provisionedConcurrencyConfigs:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs
- A list of provisioned concurrency configurations.
$sel:nextMarker:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListProvisionedConcurrencyConfigsResponse'
, listProvisionedConcurrencyConfigsResponse_httpStatus
- The response's http status code.
PutFunctionConcurrency
data PutFunctionConcurrency Source #
See: newPutFunctionConcurrency
smart constructor.
Instances
newPutFunctionConcurrency Source #
:: Text | |
-> Natural | |
-> PutFunctionConcurrency |
Create a value of PutFunctionConcurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionName:PutFunctionConcurrency'
, putFunctionConcurrency_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:reservedConcurrentExecutions:PutFunctionConcurrency'
, putFunctionConcurrency_reservedConcurrentExecutions
- The number of simultaneous executions to reserve for the function.
data Concurrency Source #
See: newConcurrency
smart constructor.
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Concurrency.
CreateFunction
data CreateFunction Source #
See: newCreateFunction
smart constructor.
CreateFunction' (Maybe Natural) (Maybe Runtime) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe Environment) (Maybe ImageConfig) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe VpcConfig) (Maybe [Text]) (Maybe Text) (Maybe Natural) (Maybe TracingConfig) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Bool) Text Text FunctionCode |
Instances
:: 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:
$sel:memorySize: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.
$sel:runtime:CreateFunction'
, createFunction_runtime
- The identifier of the function's
runtime.
$sel:kmsKeyArn:CreateFunction'
, createFunction_kmsKeyArn
- The ARN of the Amazon Web Services 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.
$sel:packageType:CreateFunction'
, createFunction_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for ZIP archive.
$sel:fileSystemConfigs:CreateFunction'
, createFunction_fileSystemConfigs
- Connection settings for an Amazon EFS file system.
$sel:environment:CreateFunction'
, createFunction_environment
- Environment variables that are accessible from function code during
execution.
$sel:imageConfig:CreateFunction'
, createFunction_imageConfig
- Container image
configuration values
that override the values in the container image Dockerfile.
$sel:deadLetterConfig: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.
$sel:architectures:CreateFunction'
, createFunction_architectures
- The instruction set architecture that the function supports. Enter a
string array with one of the valid values. The default value is
x86_64
.
$sel:codeSigningConfigArn: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.
$sel:vpcConfig: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 only access resources and the
internet through that VPC. For more information, see
VPC Settings.
$sel:layers: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.
$sel:handler:CreateFunction'
, createFunction_handler
- The name of the method within your code that Lambda calls to execute
your function. The format includes the file name. It can also include
namespaces and other qualifiers, depending on the runtime. For more
information, see
Programming Model.
$sel:timeout:CreateFunction'
, createFunction_timeout
- The amount of time that Lambda allows a function to run before stopping
it. The default is 3 seconds. The maximum allowed value is 900 seconds.
For additional information, see
Lambda execution environment.
$sel:tracingConfig:CreateFunction'
, createFunction_tracingConfig
- Set Mode
to Active
to sample and trace a subset of incoming requests
with
X-Ray.
$sel:description:CreateFunction'
, createFunction_description
- A description of the function.
$sel:tags:CreateFunction'
, createFunction_tags
- A list of
tags to
apply to the function.
$sel:publish:CreateFunction'
, createFunction_publish
- Set to true to publish the first version of the function during
creation.
$sel:functionName: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.
$sel:role':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.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
DeleteFunctionConcurrency
data DeleteFunctionConcurrency Source #
See: newDeleteFunctionConcurrency
smart constructor.
Instances
newDeleteFunctionConcurrency Source #
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:
$sel:functionName: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.
Instances
newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse Source #
Create a value of DeleteFunctionConcurrencyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetLayerVersionByArn
data GetLayerVersionByArn Source #
See: newGetLayerVersionByArn
smart constructor.
Instances
newGetLayerVersionByArn Source #
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:
$sel:arn:GetLayerVersionByArn'
, getLayerVersionByArn_arn
- The ARN of the layer version.
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime]) |
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:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$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:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
GetFunctionConcurrency
data GetFunctionConcurrency Source #
See: newGetFunctionConcurrency
smart constructor.
Instances
newGetFunctionConcurrency Source #
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:
$sel:functionName: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.
Instances
Eq GetFunctionConcurrencyResponse Source # | |
Read GetFunctionConcurrencyResponse Source # | |
Show GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency | |
Generic GetFunctionConcurrencyResponse Source # | |
NFData GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency rnf :: GetFunctionConcurrencyResponse -> () # | |
type Rep GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency type Rep GetFunctionConcurrencyResponse = D1 ('MetaData "GetFunctionConcurrencyResponse" "Amazonka.Lambda.GetFunctionConcurrency" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetFunctionConcurrencyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:reservedConcurrentExecutions: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.
CreateEventSourceMapping
data CreateEventSourceMapping Source #
See: newCreateEventSourceMapping
smart constructor.
CreateEventSourceMapping' (Maybe Text) (Maybe POSIX) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Bool) (Maybe Natural) (Maybe Int) (Maybe Natural) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe DestinationConfig) (Maybe EventSourcePosition) Text |
Instances
newCreateEventSourceMapping Source #
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:
$sel:eventSourceArn: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.
$sel:startingPositionTimestamp:CreateEventSourceMapping'
, createEventSourceMapping_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:topics:CreateEventSourceMapping'
, createEventSourceMapping_topics
- The name of the Kafka topic.
$sel:queues:CreateEventSourceMapping'
, createEventSourceMapping_queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.
$sel:enabled:CreateEventSourceMapping'
, createEventSourceMapping_enabled
- When true, the event source mapping is active. When false, Lambda pauses
polling and invocation.
Default: True
$sel:bisectBatchOnFunctionError:CreateEventSourceMapping'
, createEventSourceMapping_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry.
$sel:parallelizationFactor:CreateEventSourceMapping'
, createEventSourceMapping_parallelizationFactor
- (Streams only) The number of batches to process from each shard
concurrently.
$sel:maximumRetryAttempts: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 will be retried until the record expires.
$sel:batchSize: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 1,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.
$sel:maximumBatchingWindowInSeconds:CreateEventSourceMapping'
, createEventSourceMapping_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:CreateEventSourceMapping'
, createEventSourceMapping_sourceAccessConfigurations
- An array of authentication protocols or VPC components required to
secure your event source.
$sel:maximumRecordAgeInSeconds:CreateEventSourceMapping'
, createEventSourceMapping_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is infinite (-1).
$sel:functionResponseTypes:CreateEventSourceMapping'
, createEventSourceMapping_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:CreateEventSourceMapping'
, createEventSourceMapping_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is between 1 second up to 900 seconds.
$sel:selfManagedEventSource:CreateEventSourceMapping'
, createEventSourceMapping_selfManagedEventSource
- The Self-Managed Apache Kafka cluster to send records.
$sel:destinationConfig:CreateEventSourceMapping'
, createEventSourceMapping_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:startingPosition: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 only supported for Amazon Kinesis streams.
$sel:functionName: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.
EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition) |
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:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$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:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$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:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$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: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:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$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:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$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.
GetProvisionedConcurrencyConfig
data GetProvisionedConcurrencyConfig Source #
See: newGetProvisionedConcurrencyConfig
smart constructor.
Instances
newGetProvisionedConcurrencyConfig Source #
Create a value of GetProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionName:GetProvisionedConcurrencyConfig'
, getProvisionedConcurrencyConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:qualifier:GetProvisionedConcurrencyConfig'
, getProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
data GetProvisionedConcurrencyConfigResponse Source #
See: newGetProvisionedConcurrencyConfigResponse
smart constructor.
GetProvisionedConcurrencyConfigResponse' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text) Int |
Instances
newGetProvisionedConcurrencyConfigResponse Source #
Create a value of GetProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
$sel:requestedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:availableProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:statusReason:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:allocatedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated.
$sel:lastModified:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
$sel:httpStatus:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
RemoveLayerVersionPermission
data RemoveLayerVersionPermission Source #
See: newRemoveLayerVersionPermission
smart constructor.
Instances
newRemoveLayerVersionPermission Source #
:: Text | |
-> Integer | |
-> Text | |
-> RemoveLayerVersionPermission |
Create a value of RemoveLayerVersionPermission
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:revisionId:RemoveLayerVersionPermission'
, removeLayerVersionPermission_revisionId
- Only update the policy if the revision ID matches the ID specified. Use
this option to avoid modifying a policy that has changed since you last
read it.
$sel:layerName:RemoveLayerVersionPermission'
, removeLayerVersionPermission_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:RemoveLayerVersionPermission'
, removeLayerVersionPermission_versionNumber
- The version number.
$sel:statementId:RemoveLayerVersionPermission'
, removeLayerVersionPermission_statementId
- The identifier that was specified when the statement was added.
data RemoveLayerVersionPermissionResponse Source #
See: newRemoveLayerVersionPermissionResponse
smart constructor.
Instances
newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse Source #
Create a value of RemoveLayerVersionPermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListFunctionsByCodeSigningConfig (Paginated)
data ListFunctionsByCodeSigningConfig Source #
See: newListFunctionsByCodeSigningConfig
smart constructor.
Instances
newListFunctionsByCodeSigningConfig Source #
Create a value of ListFunctionsByCodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListFunctionsByCodeSigningConfig'
, listFunctionsByCodeSigningConfig_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctionsByCodeSigningConfig'
, listFunctionsByCodeSigningConfig_maxItems
- Maximum number of items to return.
$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig'
, listFunctionsByCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data ListFunctionsByCodeSigningConfigResponse Source #
See: newListFunctionsByCodeSigningConfigResponse
smart constructor.
Instances
newListFunctionsByCodeSigningConfigResponse Source #
Create a value of ListFunctionsByCodeSigningConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionArns:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_functionArns
- The function ARNs.
$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse'
, listFunctionsByCodeSigningConfigResponse_httpStatus
- The response's http status code.
GetFunction
data GetFunction Source #
See: newGetFunction
smart constructor.
Instances
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.
$sel:functionName: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.
GetFunctionResponse' (Maybe Concurrency) (Maybe FunctionCodeLocation) (Maybe FunctionConfiguration) (Maybe (HashMap Text Text)) Int |
Instances
newGetFunctionResponse Source #
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:concurrency:GetFunctionResponse'
, getFunctionResponse_concurrency
- The function's
reserved concurrency.
$sel:code:GetFunctionResponse'
, getFunctionResponse_code
- The deployment package of the function or version.
$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.
ListEventSourceMappings (Paginated)
data ListEventSourceMappings Source #
See: newListEventSourceMappings
smart constructor.
Instances
newListEventSourceMappings :: ListEventSourceMappings Source #
Create a value of ListEventSourceMappings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSourceArn:ListEventSourceMappings'
, listEventSourceMappings_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
- Amazon Kinesis - The ARN of the data stream or a stream consumer.
- Amazon DynamoDB Streams - The ARN of the stream.
- Amazon Simple Queue Service - The ARN of the queue.
- Amazon Managed Streaming for Apache Kafka - The ARN of the cluster.
$sel:marker:ListEventSourceMappings'
, listEventSourceMappings_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListEventSourceMappings'
, listEventSourceMappings_maxItems
- The maximum number of event source mappings to return. Note that
ListEventSourceMappings returns a maximum of 100 items in each response,
even if you set the number higher.
$sel:functionName:ListEventSourceMappings'
, listEventSourceMappings_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Version or Alias ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
data ListEventSourceMappingsResponse Source #
See: newListEventSourceMappingsResponse
smart constructor.
Instances
newListEventSourceMappingsResponse Source #
Create a value of ListEventSourceMappingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSourceMappings:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_eventSourceMappings
- A list of event source mappings.
$sel:nextMarker:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_nextMarker
- A pagination token that's returned when the response doesn't contain
all event source mappings.
$sel:httpStatus:ListEventSourceMappingsResponse'
, listEventSourceMappingsResponse_httpStatus
- The response's http status code.
GetLayerVersionPolicy
data GetLayerVersionPolicy Source #
See: newGetLayerVersionPolicy
smart constructor.
Instances
newGetLayerVersionPolicy Source #
:: Text | |
-> Integer | |
-> GetLayerVersionPolicy |
Create a value of GetLayerVersionPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerName:GetLayerVersionPolicy'
, getLayerVersionPolicy_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:GetLayerVersionPolicy'
, getLayerVersionPolicy_versionNumber
- The version number.
data GetLayerVersionPolicyResponse Source #
See: newGetLayerVersionPolicyResponse
smart constructor.
Instances
newGetLayerVersionPolicyResponse Source #
Create a value of GetLayerVersionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GetLayerVersionPolicyResponse'
, getLayerVersionPolicyResponse_policy
- The policy document.
$sel:revisionId:GetLayerVersionPolicyResponse'
, getLayerVersionPolicyResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:httpStatus:GetLayerVersionPolicyResponse'
, getLayerVersionPolicyResponse_httpStatus
- The response's http status code.
DeleteAlias
data DeleteAlias Source #
See: newDeleteAlias
smart constructor.
Instances
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:
$sel:functionName: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.
$sel:name:DeleteAlias'
, deleteAlias_name
- The name of the alias.
data DeleteAliasResponse Source #
See: newDeleteAliasResponse
smart constructor.
Instances
Eq DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias (==) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # (/=) :: DeleteAliasResponse -> DeleteAliasResponse -> Bool # | |
Read DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias | |
Show DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias showsPrec :: Int -> DeleteAliasResponse -> ShowS # show :: DeleteAliasResponse -> String # showList :: [DeleteAliasResponse] -> ShowS # | |
Generic DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias type Rep DeleteAliasResponse :: Type -> Type # from :: DeleteAliasResponse -> Rep DeleteAliasResponse x # to :: Rep DeleteAliasResponse x -> DeleteAliasResponse # | |
NFData DeleteAliasResponse Source # | |
Defined in Amazonka.Lambda.DeleteAlias rnf :: DeleteAliasResponse -> () # | |
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.
UpdateAlias
data UpdateAlias Source #
See: newUpdateAlias
smart constructor.
Instances
Create a value of UpdateAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:routingConfig:UpdateAlias'
, updateAlias_routingConfig
- The
routing configuration
of the alias.
$sel:functionVersion:UpdateAlias'
, updateAlias_functionVersion
- The function version that the alias invokes.
$sel:description:UpdateAlias'
, updateAlias_description
- A description of the alias.
$sel:revisionId:UpdateAlias'
, updateAlias_revisionId
- Only update the alias if the revision ID matches the ID that's
specified. Use this option to avoid modifying an alias that has changed
since you last read it.
$sel:functionName:UpdateAlias'
, updateAlias_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:name:UpdateAlias'
, updateAlias_name
- The name of the alias.
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
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:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
GetAccountSettings
data GetAccountSettings Source #
See: newGetAccountSettings
smart constructor.
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.
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.
GetFunctionEventInvokeConfig
data GetFunctionEventInvokeConfig Source #
See: newGetFunctionEventInvokeConfig
smart constructor.
Instances
newGetFunctionEventInvokeConfig Source #
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.
$sel:functionName: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.
FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig) |
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:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$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.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$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.
GetCodeSigningConfig
data GetCodeSigningConfig Source #
See: newGetCodeSigningConfig
smart constructor.
Instances
newGetCodeSigningConfig Source #
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:
$sel:codeSigningConfigArn:GetCodeSigningConfig'
, getCodeSigningConfig_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
data GetCodeSigningConfigResponse Source #
See: newGetCodeSigningConfigResponse
smart constructor.
Instances
newGetCodeSigningConfigResponse Source #
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
AddPermission
data AddPermission Source #
See: newAddPermission
smart constructor.
Instances
:: 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:sourceAccount:AddPermission'
, addPermission_sourceAccount
- For Amazon S3, the ID of the account that owns the resource. Use this
together with SourceArn
to ensure that the resource is owned by the
specified account. It is possible for an Amazon S3 bucket to be deleted
by its owner and recreated by another account.
$sel:eventSourceToken:AddPermission'
, addPermission_eventSourceToken
- For Alexa Smart Home functions, a token that must be supplied by the
invoker.
$sel:sourceArn:AddPermission'
, addPermission_sourceArn
- For Amazon Web Services 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.
$sel:qualifier:AddPermission'
, addPermission_qualifier
- Specify a version or alias to add permissions to a published version of
the function.
$sel:revisionId:AddPermission'
, addPermission_revisionId
- Only update the policy 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:functionName: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 Services service or 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.
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.
ListLayers (Paginated)
data ListLayers Source #
See: newListLayers
smart constructor.
ListLayers' (Maybe Runtime) (Maybe Text) (Maybe Natural) (Maybe Architecture) |
Instances
newListLayers :: ListLayers Source #
Create a value of ListLayers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleRuntime:ListLayers'
, listLayers_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayers'
, listLayers_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayers'
, listLayers_maxItems
- The maximum number of layers to return.
$sel:compatibleArchitecture:ListLayers'
, listLayers_compatibleArchitecture
- The compatible
instruction set architecture.
data ListLayersResponse Source #
See: newListLayersResponse
smart constructor.
Instances
newListLayersResponse Source #
Create a value of ListLayersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListLayersResponse'
, listLayersResponse_nextMarker
- A pagination token returned when the response doesn't contain all
layers.
$sel:layers:ListLayersResponse'
, listLayersResponse_layers
- A list of function layers.
$sel:httpStatus:ListLayersResponse'
, listLayersResponse_httpStatus
- The response's http status code.
ListFunctionEventInvokeConfigs (Paginated)
data ListFunctionEventInvokeConfigs Source #
See: newListFunctionEventInvokeConfigs
smart constructor.
Instances
newListFunctionEventInvokeConfigs Source #
Create a value of ListFunctionEventInvokeConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListFunctionEventInvokeConfigs'
, listFunctionEventInvokeConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctionEventInvokeConfigs'
, listFunctionEventInvokeConfigs_maxItems
- The maximum number of configurations to return.
$sel:functionName:ListFunctionEventInvokeConfigs'
, listFunctionEventInvokeConfigs_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data ListFunctionEventInvokeConfigsResponse Source #
See: newListFunctionEventInvokeConfigsResponse
smart constructor.
Instances
newListFunctionEventInvokeConfigsResponse Source #
Create a value of ListFunctionEventInvokeConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionEventInvokeConfigs:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs
- A list of configurations.
$sel:nextMarker:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListFunctionEventInvokeConfigsResponse'
, listFunctionEventInvokeConfigsResponse_httpStatus
- The response's http status code.
ListCodeSigningConfigs (Paginated)
data ListCodeSigningConfigs Source #
See: newListCodeSigningConfigs
smart constructor.
Instances
newListCodeSigningConfigs :: ListCodeSigningConfigs Source #
Create a value of ListCodeSigningConfigs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:marker:ListCodeSigningConfigs'
, listCodeSigningConfigs_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListCodeSigningConfigs'
, listCodeSigningConfigs_maxItems
- Maximum number of items to return.
data ListCodeSigningConfigsResponse Source #
See: newListCodeSigningConfigsResponse
smart constructor.
Instances
newListCodeSigningConfigsResponse Source #
Create a value of ListCodeSigningConfigsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSigningConfigs:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_codeSigningConfigs
- The code signing configurations
$sel:nextMarker:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:httpStatus:ListCodeSigningConfigsResponse'
, listCodeSigningConfigsResponse_httpStatus
- The response's http status code.
GetFunctionCodeSigningConfig
data GetFunctionCodeSigningConfig Source #
See: newGetFunctionCodeSigningConfig
smart constructor.
Instances
newGetFunctionCodeSigningConfig Source #
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:
$sel:functionName: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.
Instances
newGetFunctionCodeSigningConfigResponse Source #
:: 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.
$sel:codeSigningConfigArn:GetFunctionCodeSigningConfigResponse'
, getFunctionCodeSigningConfigResponse_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
$sel:functionName: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.
CreateCodeSigningConfig
data CreateCodeSigningConfig Source #
See: newCreateCodeSigningConfig
smart constructor.
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:
$sel:codeSigningPolicies:CreateCodeSigningConfig'
, createCodeSigningConfig_codeSigningPolicies
- The code signing policies define the actions to take if the validation
checks fail.
$sel:description:CreateCodeSigningConfig'
, createCodeSigningConfig_description
- Descriptive name for this code signing configuration.
$sel:allowedPublishers:CreateCodeSigningConfig'
, createCodeSigningConfig_allowedPublishers
- Signing profiles for this code signing configuration.
data CreateCodeSigningConfigResponse Source #
See: newCreateCodeSigningConfigResponse
smart constructor.
Instances
Eq CreateCodeSigningConfigResponse Source # | |
Read CreateCodeSigningConfigResponse Source # | |
Show CreateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.CreateCodeSigningConfig | |
Generic CreateCodeSigningConfigResponse Source # | |
NFData CreateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.CreateCodeSigningConfig rnf :: CreateCodeSigningConfigResponse -> () # | |
type Rep CreateCodeSigningConfigResponse Source # | |
Defined in Amazonka.Lambda.CreateCodeSigningConfig type Rep CreateCodeSigningConfigResponse = D1 ('MetaData "CreateCodeSigningConfigResponse" "Amazonka.Lambda.CreateCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "CreateCodeSigningConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "codeSigningConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeSigningConfig))) |
newCreateCodeSigningConfigResponse Source #
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.
ListLayerVersions (Paginated)
data ListLayerVersions Source #
See: newListLayerVersions
smart constructor.
Instances
Create a value of ListLayerVersions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleRuntime:ListLayerVersions'
, listLayerVersions_compatibleRuntime
- A runtime identifier. For example, go1.x
.
$sel:marker:ListLayerVersions'
, listLayerVersions_marker
- A pagination token returned by a previous call.
$sel:maxItems:ListLayerVersions'
, listLayerVersions_maxItems
- The maximum number of versions to return.
$sel:compatibleArchitecture:ListLayerVersions'
, listLayerVersions_compatibleArchitecture
- The compatible
instruction set architecture.
$sel:layerName:ListLayerVersions'
, listLayerVersions_layerName
- The name or Amazon Resource Name (ARN) of the layer.
data ListLayerVersionsResponse Source #
See: newListLayerVersionsResponse
smart constructor.
Instances
newListLayerVersionsResponse Source #
Create a value of ListLayerVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersions:ListLayerVersionsResponse'
, listLayerVersionsResponse_layerVersions
- A list of versions.
$sel:nextMarker:ListLayerVersionsResponse'
, listLayerVersionsResponse_nextMarker
- A pagination token returned when the response doesn't contain all
versions.
$sel:httpStatus:ListLayerVersionsResponse'
, listLayerVersionsResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:TagResource'
, tagResource_resource
- The function's Amazon Resource Name (ARN).
$sel:tags:TagResource'
, tagResource_tags
- A list of tags to apply to the function.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
Eq TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource (==) :: TagResourceResponse -> TagResourceResponse -> Bool # (/=) :: TagResourceResponse -> TagResourceResponse -> Bool # | |
Read TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource | |
Show TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource showsPrec :: Int -> TagResourceResponse -> ShowS # show :: TagResourceResponse -> String # showList :: [TagResourceResponse] -> ShowS # | |
Generic TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource type Rep TagResourceResponse :: Type -> Type # from :: TagResourceResponse -> Rep TagResourceResponse x # to :: Rep TagResourceResponse x -> TagResourceResponse # | |
NFData TagResourceResponse Source # | |
Defined in Amazonka.Lambda.TagResource rnf :: TagResourceResponse -> () # | |
type Rep TagResourceResponse Source # | |
newTagResourceResponse :: TagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PublishVersion
data PublishVersion Source #
See: newPublishVersion
smart constructor.
Instances
Create a value of PublishVersion
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSha256:PublishVersion'
, publishVersion_codeSha256
- Only publish a version if the hash value matches the value that's
specified. Use this option to avoid publishing a version if the function
code has changed since you last updated it. You can get the hash for the
version that you uploaded from the output of UpdateFunctionCode.
$sel:description:PublishVersion'
, publishVersion_description
- A description for the version to override the description in the
function configuration.
$sel:revisionId:PublishVersion'
, publishVersion_revisionId
- Only update the function if the revision ID matches the ID that's
specified. Use this option to avoid publishing a version if the function
configuration has changed since you last updated it.
$sel:functionName:PublishVersion'
, publishVersion_functionName
- The name of the Lambda function.
Name formats
- Function name -
MyFunction
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
ListTags
See: newListTags
smart constructor.
Instances
Eq ListTags Source # | |
Read ListTags Source # | |
Show ListTags Source # | |
Generic ListTags Source # | |
NFData ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
Hashable ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
AWSRequest ListTags Source # | |
Defined in Amazonka.Lambda.ListTags type AWSResponse ListTags # request :: ListTags -> Request ListTags # response :: MonadResource m => Logger -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
ToHeaders ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
ToPath ListTags Source # | |
Defined in Amazonka.Lambda.ListTags toPath :: ListTags -> ByteString # | |
ToQuery ListTags Source # | |
Defined in Amazonka.Lambda.ListTags toQuery :: ListTags -> QueryString # | |
type Rep ListTags Source # | |
Defined in Amazonka.Lambda.ListTags | |
type AWSResponse ListTags Source # | |
Defined in Amazonka.Lambda.ListTags |
Create a value of ListTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:ListTags'
, listTags_resource
- The function's Amazon Resource Name (ARN). Note: Lambda does not
support adding tags to aliases or versions.
data ListTagsResponse Source #
See: newListTagsResponse
smart constructor.
Instances
Create a value of ListTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsResponse'
, listTagsResponse_tags
- The function's tags.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
DeleteFunction
data DeleteFunction Source #
See: newDeleteFunction
smart constructor.
Instances
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's
referenced by an alias.
$sel:functionName: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.
Instances
Eq DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction | |
Read DeleteFunctionResponse Source # | |
Show DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction showsPrec :: Int -> DeleteFunctionResponse -> ShowS # show :: DeleteFunctionResponse -> String # showList :: [DeleteFunctionResponse] -> ShowS # | |
Generic DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction type Rep DeleteFunctionResponse :: Type -> Type # | |
NFData DeleteFunctionResponse Source # | |
Defined in Amazonka.Lambda.DeleteFunction rnf :: DeleteFunctionResponse -> () # | |
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.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resource:UntagResource'
, untagResource_resource
- The function's Amazon Resource Name (ARN).
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- A list of tag keys to remove from the function.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
Eq UntagResourceResponse Source # | |
Defined in Amazonka.Lambda.UntagResource (==) :: UntagResourceResponse -> UntagResourceResponse -> Bool # (/=) :: UntagResourceResponse -> UntagResourceResponse -> Bool # | |
Read UntagResourceResponse Source # | |
Show UntagResourceResponse Source # | |
Defined in Amazonka.Lambda.UntagResource showsPrec :: Int -> UntagResourceResponse -> ShowS # show :: UntagResourceResponse -> String # showList :: [UntagResourceResponse] -> ShowS # | |
Generic UntagResourceResponse Source # | |
Defined in Amazonka.Lambda.UntagResource type Rep UntagResourceResponse :: Type -> Type # | |
NFData UntagResourceResponse Source # | |
Defined in Amazonka.Lambda.UntagResource rnf :: UntagResourceResponse -> () # | |
type Rep UntagResourceResponse Source # | |
newUntagResourceResponse :: UntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateFunctionConfiguration
data UpdateFunctionConfiguration Source #
See: newUpdateFunctionConfiguration
smart constructor.
UpdateFunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe Text) (Maybe [FileSystemConfig]) (Maybe Environment) (Maybe ImageConfig) (Maybe DeadLetterConfig) (Maybe Text) (Maybe VpcConfig) (Maybe [Text]) (Maybe Text) (Maybe Natural) (Maybe TracingConfig) (Maybe Text) (Maybe Text) Text |
Instances
newUpdateFunctionConfiguration Source #
Create a value of UpdateFunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memorySize:UpdateFunctionConfiguration'
, updateFunctionConfiguration_memorySize
- The amount of
memory available to the function
at runtime. Increasing the function memory also increases its CPU
allocation. The default value is 128 MB. The value can be any multiple
of 1 MB.
$sel:runtime:UpdateFunctionConfiguration'
, updateFunctionConfiguration_runtime
- The identifier of the function's
runtime.
$sel:kmsKeyArn:UpdateFunctionConfiguration'
, updateFunctionConfiguration_kmsKeyArn
- The ARN of the Amazon Web Services 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.
$sel:fileSystemConfigs:UpdateFunctionConfiguration'
, updateFunctionConfiguration_fileSystemConfigs
- Connection settings for an Amazon EFS file system.
$sel:environment:UpdateFunctionConfiguration'
, updateFunctionConfiguration_environment
- Environment variables that are accessible from function code during
execution.
$sel:imageConfig:UpdateFunctionConfiguration'
, updateFunctionConfiguration_imageConfig
- Container image configuration values
that override the values in the container image Docker file.
$sel:deadLetterConfig:UpdateFunctionConfiguration'
, updateFunctionConfiguration_deadLetterConfig
- A dead letter queue configuration that specifies the queue or topic
where Lambda sends asynchronous events when they fail processing. For
more information, see
Dead Letter Queues.
$sel:role':UpdateFunctionConfiguration'
, updateFunctionConfiguration_role
- The Amazon Resource Name (ARN) of the function's execution role.
$sel:vpcConfig:UpdateFunctionConfiguration'
, updateFunctionConfiguration_vpcConfig
- For network connectivity to Amazon Web Services resources in a VPC,
specify a list of security groups and subnets in the VPC. When you
connect a function to a VPC, it can only access resources and the
internet through that VPC. For more information, see
VPC Settings.
$sel:layers:UpdateFunctionConfiguration'
, updateFunctionConfiguration_layers
- A list of
function layers
to add to the function's execution environment. Specify each layer by
its ARN, including the version.
$sel:handler:UpdateFunctionConfiguration'
, updateFunctionConfiguration_handler
- The name of the method within your code that Lambda calls to execute
your function. The format includes the file name. It can also include
namespaces and other qualifiers, depending on the runtime. For more
information, see
Programming Model.
$sel:timeout:UpdateFunctionConfiguration'
, updateFunctionConfiguration_timeout
- The amount of time that Lambda allows a function to run before stopping
it. The default is 3 seconds. The maximum allowed value is 900 seconds.
For additional information, see
Lambda execution environment.
$sel:tracingConfig:UpdateFunctionConfiguration'
, updateFunctionConfiguration_tracingConfig
- Set Mode
to Active
to sample and trace a subset of incoming requests
with
X-Ray.
$sel:description:UpdateFunctionConfiguration'
, updateFunctionConfiguration_description
- A description of the function.
$sel:revisionId:UpdateFunctionConfiguration'
, updateFunctionConfiguration_revisionId
- Only update the function if the revision ID matches the ID that's
specified. Use this option to avoid modifying a function that has
changed since you last read it.
$sel:functionName:UpdateFunctionConfiguration'
, updateFunctionConfiguration_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
ListFunctions (Paginated)
data ListFunctions Source #
See: newListFunctions
smart constructor.
ListFunctions' (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe FunctionVersion) |
Instances
newListFunctions :: ListFunctions Source #
Create a value of ListFunctions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:masterRegion:ListFunctions'
, listFunctions_masterRegion
- For Lambda@Edge functions, the Amazon Web Services Region of the master
function. For example, us-east-1
filters the list of functions to only
include Lambda@Edge functions replicated from a master function in US
East (N. Virginia). If specified, you must set FunctionVersion
to
ALL
.
$sel:marker:ListFunctions'
, listFunctions_marker
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxItems:ListFunctions'
, listFunctions_maxItems
- The maximum number of functions to return in the response. Note that
ListFunctions
returns a maximum of 50 items in each response, even if
you set the number higher.
$sel:functionVersion:ListFunctions'
, listFunctions_functionVersion
- Set to ALL
to include entries for all published versions of each
function.
data ListFunctionsResponse Source #
A list of Lambda functions.
See: newListFunctionsResponse
smart constructor.
Instances
newListFunctionsResponse Source #
Create a value of ListFunctionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:ListFunctionsResponse'
, listFunctionsResponse_nextMarker
- The pagination token that's included if more results are available.
$sel:functions:ListFunctionsResponse'
, listFunctionsResponse_functions
- A list of Lambda functions.
$sel:httpStatus:ListFunctionsResponse'
, listFunctionsResponse_httpStatus
- The response's http status code.
UpdateFunctionCode
data UpdateFunctionCode Source #
See: newUpdateFunctionCode
smart constructor.
UpdateFunctionCode' (Maybe Text) (Maybe Text) (Maybe (Sensitive Base64)) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Bool) Text |
Instances
newUpdateFunctionCode Source #
Create a value of UpdateFunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:UpdateFunctionCode'
, updateFunctionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:s3Key:UpdateFunctionCode'
, updateFunctionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:zipFile:UpdateFunctionCode'
, updateFunctionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding for
you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:architectures:UpdateFunctionCode'
, updateFunctionCode_architectures
- The instruction set architecture that the function supports. Enter a
string array with one of the valid values. The default value is
x86_64
.
$sel:imageUri:UpdateFunctionCode'
, updateFunctionCode_imageUri
- URI of a container image in the Amazon ECR registry.
$sel:s3Bucket:UpdateFunctionCode'
, updateFunctionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
$sel:dryRun:UpdateFunctionCode'
, updateFunctionCode_dryRun
- Set to true to validate the request parameters and access permissions
without modifying the function code.
$sel:revisionId:UpdateFunctionCode'
, updateFunctionCode_revisionId
- Only update the function if the revision ID matches the ID that's
specified. Use this option to avoid modifying a function that has
changed since you last read it.
$sel:publish:UpdateFunctionCode'
, updateFunctionCode_publish
- Set to true to publish a new version of the function after updating the
code. This has the same effect as calling PublishVersion separately.
$sel:functionName:UpdateFunctionCode'
, updateFunctionCode_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
DeleteProvisionedConcurrencyConfig
data DeleteProvisionedConcurrencyConfig Source #
See: newDeleteProvisionedConcurrencyConfig
smart constructor.
Instances
newDeleteProvisionedConcurrencyConfig Source #
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:
$sel:functionName: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.
Instances
Eq DeleteProvisionedConcurrencyConfigResponse Source # | |
Read DeleteProvisionedConcurrencyConfigResponse Source # | |
Show DeleteProvisionedConcurrencyConfigResponse Source # | |
Generic DeleteProvisionedConcurrencyConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteProvisionedConcurrencyConfig type Rep DeleteProvisionedConcurrencyConfigResponse :: Type -> Type # | |
NFData DeleteProvisionedConcurrencyConfigResponse Source # | |
type Rep DeleteProvisionedConcurrencyConfigResponse Source # | |
Defined in Amazonka.Lambda.DeleteProvisionedConcurrencyConfig type Rep DeleteProvisionedConcurrencyConfigResponse = D1 ('MetaData "DeleteProvisionedConcurrencyConfigResponse" "Amazonka.Lambda.DeleteProvisionedConcurrencyConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" '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.
GetPolicy
See: newGetPolicy
smart constructor.
Instances
Create a value of GetPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:qualifier:GetPolicy'
, getPolicy_qualifier
- Specify a version or alias to get the policy for that resource.
$sel:functionName:GetPolicy'
, getPolicy_functionName
- The name of the Lambda function, version, or alias.
Name formats
- Function name -
my-function
(name-only),my-function:v1
(with alias). - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
data GetPolicyResponse Source #
See: newGetPolicyResponse
smart constructor.
Instances
Create a value of GetPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policy:GetPolicyResponse'
, getPolicyResponse_policy
- The resource-based policy.
$sel:revisionId:GetPolicyResponse'
, getPolicyResponse_revisionId
- A unique identifier for the current revision of the policy.
$sel:httpStatus:GetPolicyResponse'
, getPolicyResponse_httpStatus
- The response's http status code.
PutProvisionedConcurrencyConfig
data PutProvisionedConcurrencyConfig Source #
See: newPutProvisionedConcurrencyConfig
smart constructor.
Instances
newPutProvisionedConcurrencyConfig Source #
:: Text | |
-> Text | |
-> Natural |
|
-> PutProvisionedConcurrencyConfig |
Create a value of PutProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionName:PutProvisionedConcurrencyConfig'
, putProvisionedConcurrencyConfig_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
$sel:qualifier:PutProvisionedConcurrencyConfig'
, putProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
$sel:provisionedConcurrentExecutions:PutProvisionedConcurrencyConfig'
, putProvisionedConcurrencyConfig_provisionedConcurrentExecutions
- The amount of provisioned concurrency to allocate for the version or
alias.
data PutProvisionedConcurrencyConfigResponse Source #
See: newPutProvisionedConcurrencyConfigResponse
smart constructor.
PutProvisionedConcurrencyConfigResponse' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text) Int |
Instances
newPutProvisionedConcurrencyConfigResponse Source #
Create a value of PutProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
$sel:requestedProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:availableProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:statusReason:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:allocatedProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated.
$sel:lastModified:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
$sel:httpStatus:PutProvisionedConcurrencyConfigResponse'
, putProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
Types
Architecture
newtype Architecture Source #
pattern Architecture_Arm64 :: Architecture | |
pattern Architecture_X86_64 :: Architecture |
Instances
CodeSigningPolicy
newtype CodeSigningPolicy Source #
pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy | |
pattern CodeSigningPolicy_Warn :: CodeSigningPolicy |
Instances
EndPointType
newtype EndPointType Source #
pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType |
Instances
EventSourcePosition
newtype EventSourcePosition Source #
pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition | |
pattern EventSourcePosition_LATEST :: EventSourcePosition | |
pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition |
Instances
FunctionResponseType
newtype FunctionResponseType Source #
Instances
FunctionVersion
newtype FunctionVersion Source #
pattern FunctionVersion_ALL :: FunctionVersion |
Instances
InvocationType
newtype InvocationType Source #
pattern InvocationType_DryRun :: InvocationType | |
pattern InvocationType_Event :: InvocationType | |
pattern InvocationType_RequestResponse :: InvocationType |
Instances
LastUpdateStatus
newtype LastUpdateStatus Source #
pattern LastUpdateStatus_Failed :: LastUpdateStatus | |
pattern LastUpdateStatus_InProgress :: LastUpdateStatus | |
pattern LastUpdateStatus_Successful :: LastUpdateStatus |
Instances
LastUpdateStatusReasonCode
newtype LastUpdateStatusReasonCode Source #
Instances
LogType
pattern LogType_None :: LogType | |
pattern LogType_Tail :: LogType |
Instances
PackageType
newtype PackageType Source #
pattern PackageType_Image :: PackageType | |
pattern PackageType_Zip :: PackageType |
Instances
ProvisionedConcurrencyStatusEnum
newtype ProvisionedConcurrencyStatusEnum Source #
Instances
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_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 |
Instances
SourceAccessType
newtype SourceAccessType Source #
pattern SourceAccessType_BASIC_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType | |
pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType | |
pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType | |
pattern SourceAccessType_VPC_SUBNET :: SourceAccessType |
Instances
State
pattern State_Active :: State | |
pattern State_Failed :: State | |
pattern State_Inactive :: State | |
pattern State_Pending :: State |
Instances
StateReasonCode
newtype StateReasonCode Source #
pattern StateReasonCode_Creating :: StateReasonCode | |
pattern StateReasonCode_EniLimitExceeded :: 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_InvalidSecurityGroup :: StateReasonCode | |
pattern StateReasonCode_InvalidSubnet :: StateReasonCode | |
pattern StateReasonCode_Restoring :: StateReasonCode | |
pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode |
Instances
TracingMode
newtype TracingMode Source #
pattern TracingMode_Active :: TracingMode | |
pattern TracingMode_PassThrough :: TracingMode |
Instances
AccountLimit
data AccountLimit Source #
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
See: newAccountLimit
smart constructor.
Instances
newAccountLimit :: AccountLimit Source #
Create a value of AccountLimit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:concurrentExecutions:AccountLimit'
, accountLimit_concurrentExecutions
- The maximum number of simultaneous function executions.
$sel:totalCodeSize:AccountLimit'
, accountLimit_totalCodeSize
- The amount of storage space that you can use for all deployment packages
and layer archives.
$sel:unreservedConcurrentExecutions:AccountLimit'
, accountLimit_unreservedConcurrentExecutions
- The maximum number of simultaneous function executions, minus the
capacity that's reserved for individual functions with
PutFunctionConcurrency.
$sel:codeSizeUnzipped:AccountLimit'
, accountLimit_codeSizeUnzipped
- The maximum size of a function's deployment package and layers when
they're extracted.
$sel:codeSizeZipped:AccountLimit'
, accountLimit_codeSizeZipped
- The maximum size of a deployment package when it's uploaded directly to
Lambda. Use Amazon S3 for larger files.
AccountUsage
data AccountUsage Source #
The number of functions and amount of storage in use.
See: newAccountUsage
smart constructor.
Instances
newAccountUsage :: AccountUsage Source #
Create a value of AccountUsage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:totalCodeSize:AccountUsage'
, accountUsage_totalCodeSize
- The amount of storage space, in bytes, that's being used by deployment
packages and layer archives.
$sel:functionCount:AccountUsage'
, accountUsage_functionCount
- The number of Lambda functions.
AliasConfiguration
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
AliasConfiguration' (Maybe AliasRoutingConfiguration) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
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:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
AliasRoutingConfiguration
data AliasRoutingConfiguration Source #
The traffic-shifting configuration of a Lambda function alias.
See: newAliasRoutingConfiguration
smart constructor.
Instances
newAliasRoutingConfiguration :: AliasRoutingConfiguration Source #
Create a value of AliasRoutingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:additionalVersionWeights:AliasRoutingConfiguration'
, aliasRoutingConfiguration_additionalVersionWeights
- The second version, and the percentage of traffic that's routed to it.
AllowedPublishers
data AllowedPublishers Source #
List of signing profiles that can sign a code package.
See: newAllowedPublishers
smart constructor.
Instances
Create a value of AllowedPublishers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArns:AllowedPublishers'
, allowedPublishers_signingProfileVersionArns
- The Amazon Resource Name (ARN) for each of the signing profiles. A
signing profile defines a trusted user who can sign a code package.
CodeSigningConfig
data CodeSigningConfig Source #
Details about a Code signing configuration.
See: newCodeSigningConfig
smart constructor.
Instances
:: Text | |
-> Text | |
-> AllowedPublishers | |
-> CodeSigningPolicies | |
-> Text | |
-> CodeSigningConfig |
Create a value of CodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:CodeSigningConfig'
, codeSigningConfig_description
- Code signing configuration description.
$sel:codeSigningConfigId:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigId
- Unique identifer for the Code signing configuration.
$sel:codeSigningConfigArn:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigArn
- The Amazon Resource Name (ARN) of the Code signing configuration.
$sel:allowedPublishers:CodeSigningConfig'
, codeSigningConfig_allowedPublishers
- List of allowed publishers.
$sel:codeSigningPolicies:CodeSigningConfig'
, codeSigningConfig_codeSigningPolicies
- The code signing policy controls the validation failure action for
signature mismatch or expiry.
$sel:lastModified:CodeSigningConfig'
, codeSigningConfig_lastModified
- The date and time that the Code signing configuration was last modified,
in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
CodeSigningPolicies
data CodeSigningPolicies Source #
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
See: newCodeSigningPolicies
smart constructor.
Instances
newCodeSigningPolicies :: CodeSigningPolicies Source #
Create a value of CodeSigningPolicies
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:untrustedArtifactOnDeployment:CodeSigningPolicies'
, codeSigningPolicies_untrustedArtifactOnDeployment
- Code signing configuration policy for deployment validation failure. If
you set the policy to Enforce
, Lambda blocks the deployment request if
signature validation checks fail. If you set the policy to Warn
,
Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
Concurrency
data Concurrency Source #
See: newConcurrency
smart constructor.
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Concurrency.
DeadLetterConfig
data DeadLetterConfig Source #
The dead-letter queue for failed asynchronous invocations.
See: newDeadLetterConfig
smart constructor.
Instances
newDeadLetterConfig :: DeadLetterConfig Source #
Create a value of DeadLetterConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:DeadLetterConfig'
, deadLetterConfig_targetArn
- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
topic.
DestinationConfig
data DestinationConfig Source #
A configuration object that specifies the destination of an event after Lambda processes it.
See: newDestinationConfig
smart constructor.
Instances
newDestinationConfig :: DestinationConfig Source #
Create a value of DestinationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onSuccess:DestinationConfig'
, destinationConfig_onSuccess
- The destination configuration for successful invocations.
$sel:onFailure:DestinationConfig'
, destinationConfig_onFailure
- The destination configuration for failed invocations.
Environment
data Environment Source #
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
See: newEnvironment
smart constructor.
Instances
newEnvironment :: Environment Source #
Create a value of Environment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:Environment'
, environment_variables
- Environment variable key-value pairs. For more information, see
Using Lambda environment variables.
EnvironmentError
data EnvironmentError Source #
Error messages for environment variables that couldn't be applied.
See: newEnvironmentError
smart constructor.
Instances
newEnvironmentError :: EnvironmentError Source #
Create a value of EnvironmentError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:EnvironmentError'
, environmentError_errorCode
- The error code.
$sel:message:EnvironmentError'
, environmentError_message
- The error message.
EnvironmentResponse
data EnvironmentResponse Source #
The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.
See: newEnvironmentResponse
smart constructor.
Instances
newEnvironmentResponse :: EnvironmentResponse Source #
Create a value of EnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:EnvironmentResponse'
, environmentResponse_variables
- Environment variable key-value pairs.
$sel:error:EnvironmentResponse'
, environmentResponse_error
- Error messages for environment variables that couldn't be applied.
EventSourceMappingConfiguration
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
EventSourceMappingConfiguration' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe (NonEmpty Text)) (Maybe (NonEmpty Text)) (Maybe Bool) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Int) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe [SourceAccessConfiguration]) (Maybe Int) (Maybe [FunctionResponseType]) (Maybe Natural) (Maybe SelfManagedEventSource) (Maybe POSIX) (Maybe DestinationConfig) (Maybe EventSourcePosition) |
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:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$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:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$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:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$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: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:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$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:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$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.
FileSystemConfig
data FileSystemConfig Source #
Details about the connection between a Lambda function and an Amazon EFS file system.
See: newFileSystemConfig
smart constructor.
Instances
Create a value of FileSystemConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:FileSystemConfig'
, fileSystemConfig_arn
- The Amazon Resource Name (ARN) of the Amazon EFS access point that
provides access to the file system.
$sel:localMountPath:FileSystemConfig'
, fileSystemConfig_localMountPath
- The path where the function can access the file system, starting with
/mnt/
.
FunctionCode
data FunctionCode Source #
The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
See: newFunctionCode
smart constructor.
Instances
newFunctionCode :: FunctionCode Source #
Create a value of FunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:FunctionCode'
, functionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:s3Key:FunctionCode'
, functionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:zipFile:FunctionCode'
, functionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding for
you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:imageUri:FunctionCode'
, functionCode_imageUri
- URI of a
container image
in the Amazon ECR registry.
$sel:s3Bucket:FunctionCode'
, functionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
FunctionCodeLocation
data FunctionCodeLocation Source #
Details about a function's deployment package.
See: newFunctionCodeLocation
smart constructor.
Instances
newFunctionCodeLocation :: FunctionCodeLocation Source #
Create a value of FunctionCodeLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:location:FunctionCodeLocation'
, functionCodeLocation_location
- A presigned URL that you can use to download the deployment package.
$sel:resolvedImageUri:FunctionCodeLocation'
, functionCodeLocation_resolvedImageUri
- The resolved URI for the image.
$sel:imageUri:FunctionCodeLocation'
, functionCodeLocation_imageUri
- URI of a container image in the Amazon ECR registry.
$sel:repositoryType:FunctionCodeLocation'
, functionCodeLocation_repositoryType
- The service that's hosting the file.
FunctionConfiguration
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' (Maybe Natural) (Maybe Runtime) (Maybe State) (Maybe Text) (Maybe LastUpdateStatus) (Maybe Text) (Maybe Text) (Maybe PackageType) (Maybe [FileSystemConfig]) (Maybe EnvironmentResponse) (Maybe DeadLetterConfig) (Maybe (NonEmpty Architecture)) (Maybe Text) (Maybe Text) (Maybe VpcConfigResponse) (Maybe Text) (Maybe Text) (Maybe [Layer]) (Maybe Integer) (Maybe Text) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe TracingConfigResponse) (Maybe StateReasonCode) (Maybe ImageConfigResponse) (Maybe Text) (Maybe LastUpdateStatusReasonCode) (Maybe Text) (Maybe Text) |
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:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$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:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$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:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$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:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$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:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$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:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
FunctionEventInvokeConfig
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
FunctionEventInvokeConfig' (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe POSIX) (Maybe DestinationConfig) |
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:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$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.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$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.
GetLayerVersionResponse
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
GetLayerVersionResponse' (Maybe Text) (Maybe LayerVersionContentOutput) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe Text) (Maybe [Runtime]) |
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:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$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:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
ImageConfig
data ImageConfig Source #
Configuration values that override the container image Dockerfile settings. See Container settings.
See: newImageConfig
smart constructor.
Instances
newImageConfig :: ImageConfig Source #
Create a value of ImageConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:command:ImageConfig'
, imageConfig_command
- Specifies parameters that you want to pass in with ENTRYPOINT.
$sel:entryPoint:ImageConfig'
, imageConfig_entryPoint
- Specifies the entry point to their application, which is typically the
location of the runtime executable.
$sel:workingDirectory:ImageConfig'
, imageConfig_workingDirectory
- Specifies the working directory.
ImageConfigError
data ImageConfigError Source #
Error response to GetFunctionConfiguration.
See: newImageConfigError
smart constructor.
Instances
newImageConfigError :: ImageConfigError Source #
Create a value of ImageConfigError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:ImageConfigError'
, imageConfigError_errorCode
- Error code.
$sel:message:ImageConfigError'
, imageConfigError_message
- Error message.
ImageConfigResponse
data ImageConfigResponse Source #
Response to GetFunctionConfiguration request.
See: newImageConfigResponse
smart constructor.
Instances
newImageConfigResponse :: ImageConfigResponse Source #
Create a value of ImageConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageConfig:ImageConfigResponse'
, imageConfigResponse_imageConfig
- Configuration values that override the container image Dockerfile.
$sel:error:ImageConfigResponse'
, imageConfigResponse_error
- Error response to GetFunctionConfiguration.
Layer
An Lambda layer.
See: newLayer
smart constructor.
Instances
Eq Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
Generic Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
Hashable Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.Lambda.Types.Layer" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "signingProfileVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "signingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArn:Layer'
, layer_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
$sel:arn:Layer'
, layer_arn
- The Amazon Resource Name (ARN) of the function layer.
$sel:signingJobArn:Layer'
, layer_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:codeSize:Layer'
, layer_codeSize
- The size of the layer archive in bytes.
LayerVersionContentInput
data LayerVersionContentInput Source #
A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.
See: newLayerVersionContentInput
smart constructor.
Instances
newLayerVersionContentInput :: LayerVersionContentInput Source #
Create a value of LayerVersionContentInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:LayerVersionContentInput'
, layerVersionContentInput_s3ObjectVersion
- For versioned objects, the version of the layer archive object to use.
$sel:s3Key:LayerVersionContentInput'
, layerVersionContentInput_s3Key
- The Amazon S3 key of the layer archive.
$sel:zipFile:LayerVersionContentInput'
, layerVersionContentInput_zipFile
- The base64-encoded contents of the layer archive. Amazon Web Services
SDK and Amazon Web Services CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:s3Bucket:LayerVersionContentInput'
, layerVersionContentInput_s3Bucket
- The Amazon S3 bucket of the layer archive.
LayerVersionContentOutput
data LayerVersionContentOutput Source #
Details about a version of an Lambda layer.
See: newLayerVersionContentOutput
smart constructor.
Instances
newLayerVersionContentOutput :: LayerVersionContentOutput Source #
Create a value of LayerVersionContentOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
$sel:location:LayerVersionContentOutput'
, layerVersionContentOutput_location
- A link to the layer archive in Amazon S3 that is valid for 10 minutes.
$sel:signingJobArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:codeSize:LayerVersionContentOutput'
, layerVersionContentOutput_codeSize
- The size of the layer archive in bytes.
$sel:codeSha256:LayerVersionContentOutput'
, layerVersionContentOutput_codeSha256
- The SHA-256 hash of the layer archive.
LayerVersionsListItem
data LayerVersionsListItem Source #
Details about a version of an Lambda layer.
See: newLayerVersionsListItem
smart constructor.
LayerVersionsListItem' (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe [Architecture]) (Maybe Text) (Maybe [Runtime]) |
Instances
newLayerVersionsListItem :: LayerVersionsListItem Source #
Create a value of LayerVersionsListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersionArn:LayerVersionsListItem'
, layerVersionsListItem_layerVersionArn
- The ARN of the layer version.
$sel:createdDate:LayerVersionsListItem'
, layerVersionsListItem_createdDate
- The date that the version was created, in ISO 8601 format. For example,
2018-11-27T15:10:45.123+0000
.
$sel:version:LayerVersionsListItem'
, layerVersionsListItem_version
- The version number.
$sel:licenseInfo:LayerVersionsListItem'
, layerVersionsListItem_licenseInfo
- The layer's open-source license.
$sel:compatibleArchitectures:LayerVersionsListItem'
, layerVersionsListItem_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:description:LayerVersionsListItem'
, layerVersionsListItem_description
- The description of the version.
$sel:compatibleRuntimes:LayerVersionsListItem'
, layerVersionsListItem_compatibleRuntimes
- The layer's compatible runtimes.
LayersListItem
data LayersListItem Source #
Details about an Lambda layer.
See: newLayersListItem
smart constructor.
Instances
newLayersListItem :: LayersListItem Source #
Create a value of LayersListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerName:LayersListItem'
, layersListItem_layerName
- The name of the layer.
$sel:latestMatchingVersion:LayersListItem'
, layersListItem_latestMatchingVersion
- The newest version of the layer.
$sel:layerArn:LayersListItem'
, layersListItem_layerArn
- The Amazon Resource Name (ARN) of the function layer.
OnFailure
A destination for events that failed processing.
See: newOnFailure
smart constructor.
Instances
Eq OnFailure Source # | |
Read OnFailure Source # | |
Show OnFailure Source # | |
Generic OnFailure Source # | |
NFData OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Hashable OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
ToJSON OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
FromJSON OnFailure Source # | |
type Rep OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure |
newOnFailure :: OnFailure Source #
Create a value of OnFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnFailure'
, onFailure_destination
- The Amazon Resource Name (ARN) of the destination resource.
OnSuccess
A destination for events that were processed successfully.
See: newOnSuccess
smart constructor.
Instances
Eq OnSuccess Source # | |
Read OnSuccess Source # | |
Show OnSuccess Source # | |
Generic OnSuccess Source # | |
NFData OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Hashable OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
ToJSON OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
FromJSON OnSuccess Source # | |
type Rep OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess |
newOnSuccess :: OnSuccess Source #
Create a value of OnSuccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnSuccess'
, onSuccess_destination
- The Amazon Resource Name (ARN) of the destination resource.
ProvisionedConcurrencyConfigListItem
data ProvisionedConcurrencyConfigListItem Source #
Details about the provisioned concurrency configuration for a function alias or version.
See: newProvisionedConcurrencyConfigListItem
smart constructor.
ProvisionedConcurrencyConfigListItem' (Maybe ProvisionedConcurrencyStatusEnum) (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe Text) |
Instances
newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem Source #
Create a value of ProvisionedConcurrencyConfigListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_status
- The status of the allocation process.
$sel:functionArn:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_functionArn
- The Amazon Resource Name (ARN) of the alias or version.
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:statusReason:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated.
$sel:lastModified:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
SelfManagedEventSource
data SelfManagedEventSource Source #
The self-managed Apache Kafka cluster for your event source.
See: newSelfManagedEventSource
smart constructor.
Instances
newSelfManagedEventSource :: SelfManagedEventSource Source #
Create a value of SelfManagedEventSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpoints:SelfManagedEventSource'
, selfManagedEventSource_endpoints
- The list of bootstrap servers for your Kafka brokers in the following
format:
"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
SourceAccessConfiguration
data SourceAccessConfiguration Source #
To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.
See: newSourceAccessConfiguration
smart constructor.
Instances
newSourceAccessConfiguration :: SourceAccessConfiguration Source #
Create a value of SourceAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:uri:SourceAccessConfiguration'
, sourceAccessConfiguration_uri
- The value for your chosen configuration in Type
. For example:
"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
$sel:type':SourceAccessConfiguration'
, sourceAccessConfiguration_type
- The type of authentication protocol, VPC components, or virtual host for
your event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (Amazon MQ) The Secrets Manager secret that stores your broker credentials.BASIC_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET
- The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
TracingConfig
data TracingConfig Source #
The function's
X-Ray
tracing configuration. To sample and record incoming requests, set
Mode
to Active
.
See: newTracingConfig
smart constructor.
Instances
newTracingConfig :: TracingConfig Source #
Create a value of TracingConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mode:TracingConfig'
, tracingConfig_mode
- The tracing mode.
TracingConfigResponse
data TracingConfigResponse Source #
The function's X-Ray tracing configuration.
See: newTracingConfigResponse
smart constructor.
Instances
newTracingConfigResponse :: TracingConfigResponse Source #
Create a value of TracingConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mode:TracingConfigResponse'
, tracingConfigResponse_mode
- The tracing mode.
VpcConfig
The VPC security groups and subnets that are attached to a Lambda function. For more information, see VPC Settings.
See: newVpcConfig
smart constructor.
VpcConfig' (Maybe [Text]) (Maybe [Text]) |
Instances
Eq VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
Generic VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Hashable VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
ToJSON VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
type Rep VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Lambda.Types.VpcConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfig'
, vpcConfig_securityGroupIds
- A list of VPC security groups IDs.
$sel:subnetIds:VpcConfig'
, vpcConfig_subnetIds
- A list of VPC subnet IDs.
VpcConfigResponse
data VpcConfigResponse Source #
The VPC security groups and subnets that are attached to a Lambda function.
See: newVpcConfigResponse
smart constructor.
Instances
newVpcConfigResponse :: VpcConfigResponse Source #
Create a value of VpcConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfigResponse'
, vpcConfigResponse_securityGroupIds
- A list of VPC security groups IDs.
$sel:subnetIds:VpcConfigResponse'
, vpcConfigResponse_subnetIds
- A list of VPC subnet IDs.
$sel:vpcId:VpcConfigResponse'
, vpcConfigResponse_vpcId
- The ID of the VPC.