Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Lambda.Types
Contents
- Service Configuration
- Errors
- Architecture
- CodeSigningPolicy
- EndPointType
- EventSourcePosition
- FunctionResponseType
- FunctionUrlAuthType
- FunctionVersion
- InvocationType
- LastUpdateStatus
- LastUpdateStatusReasonCode
- LogType
- PackageType
- ProvisionedConcurrencyStatusEnum
- Runtime
- SnapStartApplyOn
- SnapStartOptimizationStatus
- SourceAccessType
- State
- StateReasonCode
- TracingMode
- AccountLimit
- AccountUsage
- AliasConfiguration
- AliasRoutingConfiguration
- AllowedPublishers
- AmazonManagedKafkaEventSourceConfig
- CodeSigningConfig
- CodeSigningPolicies
- Concurrency
- Cors
- DeadLetterConfig
- DestinationConfig
- Environment
- EnvironmentError
- EnvironmentResponse
- EphemeralStorage
- EventSourceMappingConfiguration
- FileSystemConfig
- Filter
- FilterCriteria
- FunctionCode
- FunctionCodeLocation
- FunctionConfiguration
- FunctionEventInvokeConfig
- FunctionUrlConfig
- GetLayerVersionResponse
- ImageConfig
- ImageConfigError
- ImageConfigResponse
- Layer
- LayerVersionContentInput
- LayerVersionContentOutput
- LayerVersionsListItem
- LayersListItem
- OnFailure
- OnSuccess
- ProvisionedConcurrencyConfigListItem
- SelfManagedEventSource
- SelfManagedKafkaEventSourceConfig
- SnapStart
- SnapStartResponse
- SourceAccessConfiguration
- TracingConfig
- TracingConfigResponse
- VpcConfig
- VpcConfigResponse
Description
Synopsis
- defaultService :: Service
- _CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError
- _CodeStorageExceededException :: AsError a => Fold a ServiceError
- _CodeVerificationFailedException :: AsError a => Fold a ServiceError
- _EC2AccessDeniedException :: AsError a => Fold a ServiceError
- _EC2ThrottledException :: AsError a => Fold a ServiceError
- _EC2UnexpectedException :: AsError a => Fold a ServiceError
- _EFSIOException :: AsError a => Fold a ServiceError
- _EFSMountConnectivityException :: AsError a => Fold a ServiceError
- _EFSMountFailureException :: AsError a => Fold a ServiceError
- _EFSMountTimeoutException :: AsError a => Fold a ServiceError
- _ENILimitReachedException :: AsError a => Fold a ServiceError
- _InvalidCodeSignatureException :: AsError a => Fold a ServiceError
- _InvalidParameterValueException :: AsError a => Fold a ServiceError
- _InvalidRequestContentException :: AsError a => Fold a ServiceError
- _InvalidRuntimeException :: AsError a => Fold a ServiceError
- _InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError
- _InvalidSubnetIDException :: AsError a => Fold a ServiceError
- _InvalidZipFileException :: AsError a => Fold a ServiceError
- _KMSAccessDeniedException :: AsError a => Fold a ServiceError
- _KMSDisabledException :: AsError a => Fold a ServiceError
- _KMSInvalidStateException :: AsError a => Fold a ServiceError
- _KMSNotFoundException :: AsError a => Fold a ServiceError
- _PolicyLengthExceededException :: AsError a => Fold a ServiceError
- _PreconditionFailedException :: AsError a => Fold a ServiceError
- _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError
- _RequestTooLargeException :: AsError a => Fold a ServiceError
- _ResourceConflictException :: AsError a => Fold a ServiceError
- _ResourceInUseException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceNotReadyException :: AsError a => Fold a ServiceError
- _ServiceException :: AsError a => Fold a ServiceError
- _SnapStartException :: AsError a => Fold a ServiceError
- _SnapStartNotReadyException :: AsError a => Fold a ServiceError
- _SnapStartTimeoutException :: AsError a => Fold a ServiceError
- _SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _UnsupportedMediaTypeException :: AsError a => Fold a ServiceError
- newtype Architecture where
- Architecture' { }
- pattern Architecture_Arm64 :: Architecture
- pattern Architecture_X86_64 :: Architecture
- newtype CodeSigningPolicy where
- CodeSigningPolicy' { }
- pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy
- pattern CodeSigningPolicy_Warn :: CodeSigningPolicy
- newtype EndPointType where
- EndPointType' { }
- pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType
- newtype EventSourcePosition where
- newtype FunctionResponseType where
- newtype FunctionUrlAuthType where
- newtype FunctionVersion where
- FunctionVersion' { }
- pattern FunctionVersion_ALL :: FunctionVersion
- newtype InvocationType where
- InvocationType' { }
- pattern InvocationType_DryRun :: InvocationType
- pattern InvocationType_Event :: InvocationType
- pattern InvocationType_RequestResponse :: InvocationType
- newtype LastUpdateStatus where
- LastUpdateStatus' { }
- pattern LastUpdateStatus_Failed :: LastUpdateStatus
- pattern LastUpdateStatus_InProgress :: LastUpdateStatus
- pattern LastUpdateStatus_Successful :: LastUpdateStatus
- newtype LastUpdateStatusReasonCode where
- LastUpdateStatusReasonCode' { }
- pattern LastUpdateStatusReasonCode_DisabledKMSKey :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSIOError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountConnectivityError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountFailure :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EFSMountTimeout :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_FunctionError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidRuntime :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidStateKMSKey :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidZipFileException :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_KMSKeyAccessDenied :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_KMSKeyNotFound :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode
- newtype LogType where
- LogType' {
- fromLogType :: Text
- pattern LogType_None :: LogType
- pattern LogType_Tail :: LogType
- LogType' {
- newtype PackageType where
- PackageType' { }
- pattern PackageType_Image :: PackageType
- pattern PackageType_Zip :: PackageType
- newtype ProvisionedConcurrencyStatusEnum where
- newtype Runtime where
- Runtime' {
- fromRuntime :: Text
- pattern Runtime_Dotnet6 :: Runtime
- pattern Runtime_Dotnetcore1_0 :: Runtime
- pattern Runtime_Dotnetcore2_0 :: Runtime
- pattern Runtime_Dotnetcore2_1 :: Runtime
- pattern Runtime_Dotnetcore3_1 :: Runtime
- pattern Runtime_Go1_x :: Runtime
- pattern Runtime_Java11 :: Runtime
- pattern Runtime_Java8 :: Runtime
- pattern Runtime_Java8_al2 :: Runtime
- pattern Runtime_Nodejs :: Runtime
- pattern Runtime_Nodejs10_x :: Runtime
- pattern Runtime_Nodejs12_x :: Runtime
- pattern Runtime_Nodejs14_x :: Runtime
- pattern Runtime_Nodejs16_x :: Runtime
- pattern Runtime_Nodejs18_x :: Runtime
- pattern Runtime_Nodejs4_3 :: Runtime
- pattern Runtime_Nodejs4_3_edge :: Runtime
- pattern Runtime_Nodejs6_10 :: Runtime
- pattern Runtime_Nodejs8_10 :: Runtime
- pattern Runtime_Provided :: Runtime
- pattern Runtime_Provided_al2 :: Runtime
- pattern Runtime_Python2_7 :: Runtime
- pattern Runtime_Python3_6 :: Runtime
- pattern Runtime_Python3_7 :: Runtime
- pattern Runtime_Python3_8 :: Runtime
- pattern Runtime_Python3_9 :: Runtime
- pattern Runtime_Ruby2_5 :: Runtime
- pattern Runtime_Ruby2_7 :: Runtime
- Runtime' {
- newtype SnapStartApplyOn where
- SnapStartApplyOn' { }
- pattern SnapStartApplyOn_None :: SnapStartApplyOn
- pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn
- newtype SnapStartOptimizationStatus where
- newtype SourceAccessType where
- SourceAccessType' { }
- pattern SourceAccessType_BASIC_AUTH :: SourceAccessType
- pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType
- pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType
- pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType
- pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType
- pattern SourceAccessType_VPC_SUBNET :: SourceAccessType
- newtype State where
- State' { }
- pattern State_Active :: State
- pattern State_Failed :: State
- pattern State_Inactive :: State
- pattern State_Pending :: State
- newtype StateReasonCode where
- StateReasonCode' { }
- pattern StateReasonCode_Creating :: StateReasonCode
- pattern StateReasonCode_DisabledKMSKey :: StateReasonCode
- pattern StateReasonCode_EFSIOError :: StateReasonCode
- pattern StateReasonCode_EFSMountConnectivityError :: StateReasonCode
- pattern StateReasonCode_EFSMountFailure :: StateReasonCode
- pattern StateReasonCode_EFSMountTimeout :: StateReasonCode
- pattern StateReasonCode_EniLimitExceeded :: StateReasonCode
- pattern StateReasonCode_FunctionError :: StateReasonCode
- pattern StateReasonCode_Idle :: StateReasonCode
- pattern StateReasonCode_ImageAccessDenied :: StateReasonCode
- pattern StateReasonCode_ImageDeleted :: StateReasonCode
- pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode
- pattern StateReasonCode_InternalError :: StateReasonCode
- pattern StateReasonCode_InvalidConfiguration :: StateReasonCode
- pattern StateReasonCode_InvalidImage :: StateReasonCode
- pattern StateReasonCode_InvalidRuntime :: StateReasonCode
- pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode
- pattern StateReasonCode_InvalidStateKMSKey :: StateReasonCode
- pattern StateReasonCode_InvalidSubnet :: StateReasonCode
- pattern StateReasonCode_InvalidZipFileException :: StateReasonCode
- pattern StateReasonCode_KMSKeyAccessDenied :: StateReasonCode
- pattern StateReasonCode_KMSKeyNotFound :: StateReasonCode
- pattern StateReasonCode_Restoring :: StateReasonCode
- pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode
- newtype TracingMode where
- TracingMode' { }
- pattern TracingMode_Active :: TracingMode
- pattern TracingMode_PassThrough :: TracingMode
- data AccountLimit = AccountLimit' {}
- newAccountLimit :: AccountLimit
- accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer)
- accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer)
- accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int)
- accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer)
- accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural)
- data AccountUsage = AccountUsage' {}
- newAccountUsage :: AccountUsage
- accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer)
- accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer)
- data AliasConfiguration = AliasConfiguration' {}
- newAliasConfiguration :: AliasConfiguration
- aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration)
- data AliasRoutingConfiguration = AliasRoutingConfiguration' {}
- newAliasRoutingConfiguration :: AliasRoutingConfiguration
- aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double))
- data AllowedPublishers = AllowedPublishers' {}
- newAllowedPublishers :: NonEmpty Text -> AllowedPublishers
- allowedPublishers_signingProfileVersionArns :: Lens' AllowedPublishers (NonEmpty Text)
- data AmazonManagedKafkaEventSourceConfig = AmazonManagedKafkaEventSourceConfig' {}
- newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig
- amazonManagedKafkaEventSourceConfig_consumerGroupId :: Lens' AmazonManagedKafkaEventSourceConfig (Maybe Text)
- data CodeSigningConfig = CodeSigningConfig' {}
- newCodeSigningConfig :: Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig
- codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text)
- codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text
- codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text
- codeSigningConfig_allowedPublishers :: Lens' CodeSigningConfig AllowedPublishers
- codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies
- codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text
- data CodeSigningPolicies = CodeSigningPolicies' {}
- newCodeSigningPolicies :: CodeSigningPolicies
- codeSigningPolicies_untrustedArtifactOnDeployment :: Lens' CodeSigningPolicies (Maybe CodeSigningPolicy)
- data Concurrency = Concurrency' {}
- newConcurrency :: Concurrency
- concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural)
- data Cors = Cors' {
- allowCredentials :: Maybe Bool
- allowHeaders :: Maybe [Text]
- allowMethods :: Maybe [Text]
- allowOrigins :: Maybe [Text]
- exposeHeaders :: Maybe [Text]
- maxAge :: Maybe Natural
- newCors :: Cors
- cors_allowCredentials :: Lens' Cors (Maybe Bool)
- cors_allowHeaders :: Lens' Cors (Maybe [Text])
- cors_allowMethods :: Lens' Cors (Maybe [Text])
- cors_allowOrigins :: Lens' Cors (Maybe [Text])
- cors_exposeHeaders :: Lens' Cors (Maybe [Text])
- cors_maxAge :: Lens' Cors (Maybe Natural)
- data DeadLetterConfig = DeadLetterConfig' {}
- newDeadLetterConfig :: DeadLetterConfig
- deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text)
- data DestinationConfig = DestinationConfig' {}
- newDestinationConfig :: DestinationConfig
- destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure)
- destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess)
- data Environment = Environment' {}
- newEnvironment :: Environment
- environment_variables :: Lens' Environment (Maybe (HashMap Text Text))
- data EnvironmentError = EnvironmentError' {}
- newEnvironmentError :: EnvironmentError
- environmentError_errorCode :: Lens' EnvironmentError (Maybe Text)
- environmentError_message :: Lens' EnvironmentError (Maybe Text)
- data EnvironmentResponse = EnvironmentResponse' {}
- newEnvironmentResponse :: EnvironmentResponse
- environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError)
- environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text))
- data EphemeralStorage = EphemeralStorage' {}
- newEphemeralStorage :: Natural -> EphemeralStorage
- ephemeralStorage_size :: Lens' EphemeralStorage Natural
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' {
- amazonManagedKafkaEventSourceConfig :: Maybe AmazonManagedKafkaEventSourceConfig
- batchSize :: Maybe Natural
- bisectBatchOnFunctionError :: Maybe Bool
- destinationConfig :: Maybe DestinationConfig
- eventSourceArn :: Maybe Text
- filterCriteria :: Maybe FilterCriteria
- functionArn :: Maybe Text
- functionResponseTypes :: Maybe [FunctionResponseType]
- lastModified :: Maybe POSIX
- lastProcessingResult :: Maybe Text
- maximumBatchingWindowInSeconds :: Maybe Natural
- maximumRecordAgeInSeconds :: Maybe Int
- maximumRetryAttempts :: Maybe Int
- parallelizationFactor :: Maybe Natural
- queues :: Maybe (NonEmpty Text)
- selfManagedEventSource :: Maybe SelfManagedEventSource
- selfManagedKafkaEventSourceConfig :: Maybe SelfManagedKafkaEventSourceConfig
- sourceAccessConfigurations :: Maybe [SourceAccessConfiguration]
- startingPosition :: Maybe EventSourcePosition
- startingPositionTimestamp :: Maybe POSIX
- state :: Maybe Text
- stateTransitionReason :: Maybe Text
- topics :: Maybe (NonEmpty Text)
- tumblingWindowInSeconds :: Maybe Natural
- uuid :: Maybe Text
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig)
- eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool)
- eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig)
- eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria)
- eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType])
- eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int)
- eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int)
- eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text))
- eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource)
- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig)
- eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration])
- eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition)
- eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text))
- eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text)
- data FileSystemConfig = FileSystemConfig' {
- arn :: Text
- localMountPath :: Text
- newFileSystemConfig :: Text -> Text -> FileSystemConfig
- fileSystemConfig_arn :: Lens' FileSystemConfig Text
- fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text
- data Filter = Filter' {}
- newFilter :: Filter
- filter_pattern :: Lens' Filter (Maybe Text)
- data FilterCriteria = FilterCriteria' {}
- newFilterCriteria :: FilterCriteria
- filterCriteria_filters :: Lens' FilterCriteria (Maybe [Filter])
- data FunctionCode = FunctionCode' {}
- newFunctionCode :: FunctionCode
- functionCode_imageUri :: Lens' FunctionCode (Maybe Text)
- functionCode_s3Bucket :: Lens' FunctionCode (Maybe Text)
- functionCode_s3Key :: Lens' FunctionCode (Maybe Text)
- functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text)
- functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString)
- data FunctionCodeLocation = FunctionCodeLocation' {}
- newFunctionCodeLocation :: FunctionCodeLocation
- functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text)
- data FunctionConfiguration = FunctionConfiguration' {
- architectures :: Maybe (NonEmpty Architecture)
- codeSha256 :: Maybe Text
- codeSize :: Maybe Integer
- deadLetterConfig :: Maybe DeadLetterConfig
- description :: Maybe Text
- environment :: Maybe EnvironmentResponse
- ephemeralStorage :: Maybe EphemeralStorage
- fileSystemConfigs :: Maybe [FileSystemConfig]
- functionArn :: Maybe Text
- functionName :: Maybe Text
- handler :: Maybe Text
- imageConfigResponse :: Maybe ImageConfigResponse
- kmsKeyArn :: Maybe Text
- lastModified :: Maybe Text
- lastUpdateStatus :: Maybe LastUpdateStatus
- lastUpdateStatusReason :: Maybe Text
- lastUpdateStatusReasonCode :: Maybe LastUpdateStatusReasonCode
- layers :: Maybe [Layer]
- masterArn :: Maybe Text
- memorySize :: Maybe Natural
- packageType :: Maybe PackageType
- revisionId :: Maybe Text
- role' :: Maybe Text
- runtime :: Maybe Runtime
- signingJobArn :: Maybe Text
- signingProfileVersionArn :: Maybe Text
- snapStart :: Maybe SnapStartResponse
- state :: Maybe State
- stateReason :: Maybe Text
- stateReasonCode :: Maybe StateReasonCode
- timeout :: Maybe Natural
- tracingConfig :: Maybe TracingConfigResponse
- version :: Maybe Text
- vpcConfig :: Maybe VpcConfigResponse
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture))
- functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer)
- functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig)
- functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse)
- functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage)
- functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig])
- functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse)
- functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus)
- functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode)
- functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer])
- functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural)
- functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType)
- functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime)
- functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse)
- functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State)
- functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode)
- functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural)
- functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse)
- functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse)
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' {}
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig)
- functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text)
- functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime)
- functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural)
- functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural)
- data FunctionUrlConfig = FunctionUrlConfig' {}
- newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig
- functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors)
- functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text
- functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text
- functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text
- functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text
- functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType
- data GetLayerVersionResponse = GetLayerVersionResponse' {}
- newGetLayerVersionResponse :: GetLayerVersionResponse
- getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture])
- getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime])
- getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput)
- getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer)
- data ImageConfig = ImageConfig' {
- command :: Maybe [Text]
- entryPoint :: Maybe [Text]
- workingDirectory :: Maybe Text
- newImageConfig :: ImageConfig
- imageConfig_command :: Lens' ImageConfig (Maybe [Text])
- imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text])
- imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text)
- data ImageConfigError = ImageConfigError' {}
- newImageConfigError :: ImageConfigError
- imageConfigError_errorCode :: Lens' ImageConfigError (Maybe Text)
- imageConfigError_message :: Lens' ImageConfigError (Maybe Text)
- data ImageConfigResponse = ImageConfigResponse' {}
- newImageConfigResponse :: ImageConfigResponse
- imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError)
- imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig)
- data Layer = Layer' {}
- newLayer :: Layer
- layer_arn :: Lens' Layer (Maybe Text)
- layer_codeSize :: Lens' Layer (Maybe Integer)
- layer_signingJobArn :: Lens' Layer (Maybe Text)
- layer_signingProfileVersionArn :: Lens' Layer (Maybe Text)
- data LayerVersionContentInput = LayerVersionContentInput' {}
- newLayerVersionContentInput :: LayerVersionContentInput
- layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString)
- data LayerVersionContentOutput = LayerVersionContentOutput' {}
- newLayerVersionContentOutput :: LayerVersionContentOutput
- layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer)
- layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text)
- data LayerVersionsListItem = LayerVersionsListItem' {}
- newLayerVersionsListItem :: LayerVersionsListItem
- layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture])
- layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime])
- layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer)
- data LayersListItem = LayersListItem' {}
- newLayersListItem :: LayersListItem
- layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem)
- layersListItem_layerArn :: Lens' LayersListItem (Maybe Text)
- layersListItem_layerName :: Lens' LayersListItem (Maybe Text)
- data OnFailure = OnFailure' {
- destination :: Maybe Text
- newOnFailure :: OnFailure
- onFailure_destination :: Lens' OnFailure (Maybe Text)
- data OnSuccess = OnSuccess' {
- destination :: Maybe Text
- newOnSuccess :: OnSuccess
- onSuccess_destination :: Lens' OnSuccess (Maybe Text)
- data ProvisionedConcurrencyConfigListItem = ProvisionedConcurrencyConfigListItem' {}
- newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem
- provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum)
- provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- data SelfManagedEventSource = SelfManagedEventSource' {}
- newSelfManagedEventSource :: SelfManagedEventSource
- selfManagedEventSource_endpoints :: Lens' SelfManagedEventSource (Maybe (HashMap EndPointType (NonEmpty Text)))
- data SelfManagedKafkaEventSourceConfig = SelfManagedKafkaEventSourceConfig' {}
- newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig
- selfManagedKafkaEventSourceConfig_consumerGroupId :: Lens' SelfManagedKafkaEventSourceConfig (Maybe Text)
- data SnapStart = SnapStart' {}
- newSnapStart :: SnapStart
- snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn)
- data SnapStartResponse = SnapStartResponse' {}
- newSnapStartResponse :: SnapStartResponse
- snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn)
- snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus)
- data SourceAccessConfiguration = SourceAccessConfiguration' {}
- newSourceAccessConfiguration :: SourceAccessConfiguration
- sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType)
- sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text)
- data TracingConfig = TracingConfig' {
- mode :: Maybe TracingMode
- newTracingConfig :: TracingConfig
- tracingConfig_mode :: Lens' TracingConfig (Maybe TracingMode)
- data TracingConfigResponse = TracingConfigResponse' {
- mode :: Maybe TracingMode
- newTracingConfigResponse :: TracingConfigResponse
- tracingConfigResponse_mode :: Lens' TracingConfigResponse (Maybe TracingMode)
- data VpcConfig = VpcConfig' {}
- newVpcConfig :: VpcConfig
- vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
- vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text])
- data VpcConfigResponse = VpcConfigResponse' {}
- newVpcConfigResponse :: VpcConfigResponse
- vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text])
- vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text])
- vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2015-03-31
of the Amazon Lambda SDK configuration.
Errors
_CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError Source #
The specified code signing configuration does not exist.
_CodeStorageExceededException :: AsError a => Fold a ServiceError Source #
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
_CodeVerificationFailedException :: AsError a => Fold a ServiceError Source #
The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
_EC2AccessDeniedException :: AsError a => Fold a ServiceError Source #
Need additional permissions to configure VPC settings.
_EC2ThrottledException :: AsError a => Fold a ServiceError Source #
Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
_EC2UnexpectedException :: AsError a => Fold a ServiceError Source #
Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
_EFSIOException :: AsError a => Fold a ServiceError Source #
An error occurred when reading from or writing to a connected file system.
_EFSMountConnectivityException :: AsError a => Fold a ServiceError Source #
The Lambda function couldn't make a network connection to the configured file system.
_EFSMountFailureException :: AsError a => Fold a ServiceError Source #
The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
_EFSMountTimeoutException :: AsError a => Fold a ServiceError Source #
The Lambda function made a network connection to the configured file system, but the mount operation timed out.
_ENILimitReachedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.
_InvalidCodeSignatureException :: AsError a => Fold a ServiceError Source #
The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.
_InvalidParameterValueException :: AsError a => Fold a ServiceError Source #
One of the parameters in the request is not valid.
_InvalidRequestContentException :: AsError a => Fold a ServiceError Source #
The request body could not be parsed as JSON.
_InvalidRuntimeException :: AsError a => Fold a ServiceError Source #
The runtime or runtime version specified is not supported.
_InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError Source #
The security group ID provided in the Lambda function VPC configuration is not valid.
_InvalidSubnetIDException :: AsError a => Fold a ServiceError Source #
The subnet ID provided in the Lambda function VPC configuration is not valid.
_InvalidZipFileException :: AsError a => Fold a ServiceError Source #
Lambda could not unzip the deployment package.
_KMSAccessDeniedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
_KMSDisabledException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
_KMSInvalidStateException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.
_KMSNotFoundException :: AsError a => Fold a ServiceError Source #
Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
_PolicyLengthExceededException :: AsError a => Fold a ServiceError Source #
The permissions policy for the resource is too large. For more information, see Lambda quotas.
_PreconditionFailedException :: AsError a => Fold a ServiceError Source #
The RevisionId provided does not match the latest RevisionId for the
Lambda function or alias. Call the GetFunction
or the GetAlias
API
operation to retrieve the latest RevisionId for your resource.
_ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError Source #
The specified configuration does not exist.
_RequestTooLargeException :: AsError a => Fold a ServiceError Source #
The request payload exceeded the Invoke
request body JSON input quota.
For more information, see
Lambda quotas.
_ResourceConflictException :: AsError a => Fold a ServiceError Source #
The resource already exists, or another operation is in progress.
_ResourceInUseException :: AsError a => Fold a ServiceError Source #
The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The resource specified in the request does not exist.
_ResourceNotReadyException :: AsError a => Fold a ServiceError Source #
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
_ServiceException :: AsError a => Fold a ServiceError Source #
The Lambda service encountered an internal error.
_SnapStartException :: AsError a => Fold a ServiceError Source #
The runtime restore hook encountered an error. For more information, check the Amazon CloudWatch logs.
_SnapStartNotReadyException :: AsError a => Fold a ServiceError Source #
Lambda is initializing your function. You can invoke the function when
the
function state
becomes Active
.
_SnapStartTimeoutException :: AsError a => Fold a ServiceError Source #
The runtime restore hook failed to complete within the timeout limit (2 seconds).
_SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError Source #
Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
The request throughput limit was exceeded. For more information, see Lambda quotas.
_UnsupportedMediaTypeException :: AsError a => Fold a ServiceError Source #
The content type of the Invoke
request body is not JSON.
Architecture
newtype Architecture Source #
Constructors
Architecture' | |
Fields |
Bundled Patterns
pattern Architecture_Arm64 :: Architecture | |
pattern Architecture_X86_64 :: Architecture |
Instances
CodeSigningPolicy
newtype CodeSigningPolicy Source #
Constructors
CodeSigningPolicy' | |
Fields |
Bundled Patterns
pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy | |
pattern CodeSigningPolicy_Warn :: CodeSigningPolicy |
Instances
EndPointType
newtype EndPointType Source #
Constructors
EndPointType' | |
Fields |
Bundled Patterns
pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType |
Instances
EventSourcePosition
newtype EventSourcePosition Source #
Constructors
EventSourcePosition' | |
Fields |
Bundled Patterns
pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition | |
pattern EventSourcePosition_LATEST :: EventSourcePosition | |
pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition |
Instances
FunctionResponseType
newtype FunctionResponseType Source #
Constructors
FunctionResponseType' | |
Fields |
Bundled Patterns
pattern FunctionResponseType_ReportBatchItemFailures :: FunctionResponseType |
Instances
FunctionUrlAuthType
newtype FunctionUrlAuthType Source #
Constructors
FunctionUrlAuthType' | |
Fields |
Bundled Patterns
pattern FunctionUrlAuthType_AWS_IAM :: FunctionUrlAuthType | |
pattern FunctionUrlAuthType_NONE :: FunctionUrlAuthType |
Instances
FunctionVersion
newtype FunctionVersion Source #
Constructors
FunctionVersion' | |
Fields |
Bundled Patterns
pattern FunctionVersion_ALL :: FunctionVersion |
Instances
InvocationType
newtype InvocationType Source #
Constructors
InvocationType' | |
Fields |
Bundled Patterns
pattern InvocationType_DryRun :: InvocationType | |
pattern InvocationType_Event :: InvocationType | |
pattern InvocationType_RequestResponse :: InvocationType |
Instances
LastUpdateStatus
newtype LastUpdateStatus Source #
Constructors
LastUpdateStatus' | |
Fields |
Bundled Patterns
pattern LastUpdateStatus_Failed :: LastUpdateStatus | |
pattern LastUpdateStatus_InProgress :: LastUpdateStatus | |
pattern LastUpdateStatus_Successful :: LastUpdateStatus |
Instances
LastUpdateStatusReasonCode
newtype LastUpdateStatusReasonCode Source #
Constructors
LastUpdateStatusReasonCode' | |
Fields |
Bundled Patterns
Instances
LogType
Constructors
LogType' | |
Fields
|
Bundled Patterns
pattern LogType_None :: LogType | |
pattern LogType_Tail :: LogType |
Instances
PackageType
newtype PackageType Source #
Constructors
PackageType' | |
Fields |
Bundled Patterns
pattern PackageType_Image :: PackageType | |
pattern PackageType_Zip :: PackageType |
Instances
ProvisionedConcurrencyStatusEnum
newtype ProvisionedConcurrencyStatusEnum Source #
Constructors
ProvisionedConcurrencyStatusEnum' | |
Fields |
Bundled Patterns
Instances
Runtime
Constructors
Runtime' | |
Fields
|
Bundled Patterns
Instances
SnapStartApplyOn
newtype SnapStartApplyOn Source #
Constructors
SnapStartApplyOn' | |
Fields |
Bundled Patterns
pattern SnapStartApplyOn_None :: SnapStartApplyOn | |
pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn |
Instances
SnapStartOptimizationStatus
newtype SnapStartOptimizationStatus Source #
Constructors
SnapStartOptimizationStatus' | |
Fields |
Bundled Patterns
pattern SnapStartOptimizationStatus_Off :: SnapStartOptimizationStatus | |
pattern SnapStartOptimizationStatus_On :: SnapStartOptimizationStatus |
Instances
SourceAccessType
newtype SourceAccessType Source #
Constructors
SourceAccessType' | |
Fields |
Bundled Patterns
pattern SourceAccessType_BASIC_AUTH :: SourceAccessType | |
pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType | |
pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType | |
pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType | |
pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType | |
pattern SourceAccessType_VPC_SUBNET :: SourceAccessType |
Instances
State
Bundled Patterns
pattern State_Active :: State | |
pattern State_Failed :: State | |
pattern State_Inactive :: State | |
pattern State_Pending :: State |
Instances
StateReasonCode
newtype StateReasonCode Source #
Constructors
StateReasonCode' | |
Fields |
Bundled Patterns
Instances
TracingMode
newtype TracingMode Source #
Constructors
TracingMode' | |
Fields |
Bundled Patterns
pattern TracingMode_Active :: TracingMode | |
pattern TracingMode_PassThrough :: TracingMode |
Instances
AccountLimit
data AccountLimit Source #
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
See: newAccountLimit
smart constructor.
Constructors
AccountLimit' | |
Fields
|
Instances
newAccountLimit :: AccountLimit Source #
Create a value of AccountLimit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSizeUnzipped:AccountLimit'
, accountLimit_codeSizeUnzipped
- The maximum size of a function's deployment package and layers when
they're extracted.
$sel:codeSizeZipped:AccountLimit'
, accountLimit_codeSizeZipped
- The maximum size of a deployment package when it's uploaded directly to
Lambda. Use Amazon S3 for larger files.
$sel:concurrentExecutions:AccountLimit'
, accountLimit_concurrentExecutions
- The maximum number of simultaneous function executions.
$sel:totalCodeSize:AccountLimit'
, accountLimit_totalCodeSize
- The amount of storage space that you can use for all deployment packages
and layer archives.
$sel:unreservedConcurrentExecutions:AccountLimit'
, accountLimit_unreservedConcurrentExecutions
- The maximum number of simultaneous function executions, minus the
capacity that's reserved for individual functions with
PutFunctionConcurrency.
accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) Source #
The maximum size of a function's deployment package and layers when they're extracted.
accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer) Source #
The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files.
accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int) Source #
The maximum number of simultaneous function executions.
accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer) Source #
The amount of storage space that you can use for all deployment packages and layer archives.
accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) Source #
The maximum number of simultaneous function executions, minus the capacity that's reserved for individual functions with PutFunctionConcurrency.
AccountUsage
data AccountUsage Source #
The number of functions and amount of storage in use.
See: newAccountUsage
smart constructor.
Constructors
AccountUsage' | |
Fields
|
Instances
newAccountUsage :: AccountUsage Source #
Create a value of AccountUsage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionCount:AccountUsage'
, accountUsage_functionCount
- The number of Lambda functions.
$sel:totalCodeSize:AccountUsage'
, accountUsage_totalCodeSize
- The amount of storage space, in bytes, that's being used by deployment
packages and layer archives.
accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer) Source #
The number of Lambda functions.
accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) Source #
The amount of storage space, in bytes, that's being used by deployment packages and layer archives.
AliasConfiguration
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
Constructors
AliasConfiguration' | |
Fields
|
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the alias.
aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) Source #
A description of the alias.
aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #
The function version that the alias invokes.
aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) Source #
The name of the alias.
aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #
A unique identifier that changes when you update the alias.
aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) Source #
The routing configuration of the alias.
AliasRoutingConfiguration
data AliasRoutingConfiguration Source #
The traffic-shifting configuration of a Lambda function alias.
See: newAliasRoutingConfiguration
smart constructor.
Constructors
AliasRoutingConfiguration' | |
Fields
|
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.
aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double)) Source #
The second version, and the percentage of traffic that's routed to it.
AllowedPublishers
data AllowedPublishers Source #
List of signing profiles that can sign a code package.
See: newAllowedPublishers
smart constructor.
Constructors
AllowedPublishers' | |
Fields
|
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.
allowedPublishers_signingProfileVersionArns :: Lens' AllowedPublishers (NonEmpty Text) Source #
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
AmazonManagedKafkaEventSourceConfig
data AmazonManagedKafkaEventSourceConfig Source #
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
See: newAmazonManagedKafkaEventSourceConfig
smart constructor.
Constructors
AmazonManagedKafkaEventSourceConfig' | |
Fields
|
Instances
newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig Source #
Create a value of AmazonManagedKafkaEventSourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig'
, amazonManagedKafkaEventSourceConfig_consumerGroupId
- The identifier for the Kafka consumer group to join. The consumer group
ID must be unique among all your Kafka event sources. After creating a
Kafka event source mapping with the consumer group ID specified, you
cannot update this value. For more information, see
Customizable consumer group ID.
amazonManagedKafkaEventSourceConfig_consumerGroupId :: Lens' AmazonManagedKafkaEventSourceConfig (Maybe Text) Source #
The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.
CodeSigningConfig
data CodeSigningConfig Source #
Details about a Code signing configuration.
See: newCodeSigningConfig
smart constructor.
Constructors
CodeSigningConfig' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> AllowedPublishers | |
-> CodeSigningPolicies | |
-> Text | |
-> CodeSigningConfig |
Create a value of CodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:CodeSigningConfig'
, codeSigningConfig_description
- Code signing configuration description.
$sel:codeSigningConfigId:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigId
- Unique identifer for the Code signing configuration.
$sel:codeSigningConfigArn:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigArn
- The Amazon Resource Name (ARN) of the Code signing configuration.
$sel:allowedPublishers:CodeSigningConfig'
, codeSigningConfig_allowedPublishers
- List of allowed publishers.
$sel:codeSigningPolicies:CodeSigningConfig'
, codeSigningConfig_codeSigningPolicies
- The code signing policy controls the validation failure action for
signature mismatch or expiry.
$sel:lastModified:CodeSigningConfig'
, codeSigningConfig_lastModified
- The date and time that the Code signing configuration was last modified,
in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text) Source #
Code signing configuration description.
codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text Source #
Unique identifer for the Code signing configuration.
codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text Source #
The Amazon Resource Name (ARN) of the Code signing configuration.
codeSigningConfig_allowedPublishers :: Lens' CodeSigningConfig AllowedPublishers Source #
List of allowed publishers.
codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies Source #
The code signing policy controls the validation failure action for signature mismatch or expiry.
codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text Source #
The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
CodeSigningPolicies
data CodeSigningPolicies Source #
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
See: newCodeSigningPolicies
smart constructor.
Constructors
CodeSigningPolicies' | |
Fields
|
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
codeSigningPolicies_untrustedArtifactOnDeployment :: Lens' CodeSigningPolicies (Maybe CodeSigningPolicy) Source #
Code signing configuration policy for deployment validation failure. If
you set the policy to Enforce
, Lambda blocks the deployment request if
signature validation checks fail. If you set the policy to Warn
,
Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
Concurrency
data Concurrency Source #
See: newConcurrency
smart constructor.
Constructors
Concurrency' | |
Fields
|
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Lambda reserved concurrency.
concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #
The number of concurrent executions that are reserved for this function. For more information, see Managing Lambda reserved concurrency.
Cors
The cross-origin resource sharing (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.
See: newCors
smart constructor.
Constructors
Cors' | |
Fields
|
Instances
Create a value of Cors
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowCredentials:Cors'
, cors_allowCredentials
- Whether to allow cookies or other credentials in requests to your
function URL. The default is false
.
$sel:allowHeaders:Cors'
, cors_allowHeaders
- The HTTP headers that origins can include in requests to your function
URL. For example: Date
, Keep-Alive
, X-Custom-Header
.
$sel:allowMethods:Cors'
, cors_allowMethods
- The HTTP methods that are allowed when calling your function URL. For
example: GET
, POST
, DELETE
, or the wildcard character (*
).
$sel:allowOrigins:Cors'
, cors_allowOrigins
- The origins that can access your function URL. You can list any number
of specific origins, separated by a comma. For example:
https://www.example.com
, http://localhost:60905
.
Alternatively, you can grant access to all origins using the wildcard
character (*
).
$sel:exposeHeaders:Cors'
, cors_exposeHeaders
- The HTTP headers in your function response that you want to expose to
origins that call your function URL. For example: Date
, Keep-Alive
,
X-Custom-Header
.
$sel:maxAge:Cors'
, cors_maxAge
- The maximum amount of time, in seconds, that web browsers can cache
results of a preflight request. By default, this is set to 0
, which
means that the browser doesn't cache results.
cors_allowCredentials :: Lens' Cors (Maybe Bool) Source #
Whether to allow cookies or other credentials in requests to your
function URL. The default is false
.
cors_allowHeaders :: Lens' Cors (Maybe [Text]) Source #
The HTTP headers that origins can include in requests to your function
URL. For example: Date
, Keep-Alive
, X-Custom-Header
.
cors_allowMethods :: Lens' Cors (Maybe [Text]) Source #
The HTTP methods that are allowed when calling your function URL. For
example: GET
, POST
, DELETE
, or the wildcard character (*
).
cors_allowOrigins :: Lens' Cors (Maybe [Text]) Source #
The origins that can access your function URL. You can list any number
of specific origins, separated by a comma. For example:
https://www.example.com
, http://localhost:60905
.
Alternatively, you can grant access to all origins using the wildcard
character (*
).
cors_exposeHeaders :: Lens' Cors (Maybe [Text]) Source #
The HTTP headers in your function response that you want to expose to
origins that call your function URL. For example: Date
, Keep-Alive
,
X-Custom-Header
.
cors_maxAge :: Lens' Cors (Maybe Natural) Source #
The maximum amount of time, in seconds, that web browsers can cache
results of a preflight request. By default, this is set to 0
, which
means that the browser doesn't cache results.
DeadLetterConfig
data DeadLetterConfig Source #
The dead-letter queue for failed asynchronous invocations.
See: newDeadLetterConfig
smart constructor.
Constructors
DeadLetterConfig' | |
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.
deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
DestinationConfig
data DestinationConfig Source #
A configuration object that specifies the destination of an event after Lambda processes it.
See: newDestinationConfig
smart constructor.
Constructors
DestinationConfig' | |
Instances
newDestinationConfig :: DestinationConfig Source #
Create a value of DestinationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onFailure:DestinationConfig'
, destinationConfig_onFailure
- The destination configuration for failed invocations.
$sel:onSuccess:DestinationConfig'
, destinationConfig_onSuccess
- The destination configuration for successful invocations.
destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) Source #
The destination configuration for failed invocations.
destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) Source #
The destination configuration for successful invocations.
Environment
data Environment Source #
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
See: newEnvironment
smart constructor.
Constructors
Environment' | |
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.
environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) Source #
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.
Constructors
EnvironmentError' | |
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.
environmentError_errorCode :: Lens' EnvironmentError (Maybe Text) Source #
The error code.
environmentError_message :: Lens' EnvironmentError (Maybe Text) Source #
The error message.
EnvironmentResponse
data EnvironmentResponse Source #
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
See: newEnvironmentResponse
smart constructor.
Constructors
EnvironmentResponse' | |
Instances
newEnvironmentResponse :: EnvironmentResponse Source #
Create a value of EnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:EnvironmentResponse'
, environmentResponse_error
- Error messages for environment variables that couldn't be applied.
$sel:variables:EnvironmentResponse'
, environmentResponse_variables
- Environment variable key-value pairs. Omitted from CloudTrail logs.
environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) Source #
Error messages for environment variables that couldn't be applied.
environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) Source #
Environment variable key-value pairs. Omitted from CloudTrail logs.
EphemeralStorage
data EphemeralStorage Source #
The size of the function's /tmp
directory in MB. The default value
is 512, but it can be any whole number between 512 and 10,240 MB.
See: newEphemeralStorage
smart constructor.
Constructors
EphemeralStorage' | |
Instances
Arguments
:: Natural | |
-> EphemeralStorage |
Create a value of EphemeralStorage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:size:EphemeralStorage'
, ephemeralStorage_size
- The size of the function's /tmp
directory.
ephemeralStorage_size :: Lens' EphemeralStorage Natural Source #
The size of the function's /tmp
directory.
EventSourceMappingConfiguration
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
Constructors
EventSourceMappingConfiguration' | |
Fields
|
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for
Apache Kafka (Amazon MSK) event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:filterCriteria:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_filterCriteria
- An object that defines the filter criteria that determine whether Lambda
should process an event. For more information, see
Lambda event filtering.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied
to the event source mapping.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event
source.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) Source #
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
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.
eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) Source #
(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the event source.
eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) Source #
An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The ARN of the Lambda function.
eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #
The date that the event source mapping was last updated or that its state changed.
eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The result of the last Lambda invocation of your function.
eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function. You can configure
MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300
seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ
event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window
after you have changed it. To restore the default batching window, you
must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set
BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #
(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.
eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) Source #
(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.
eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) Source #
The self-managed Apache Kafka cluster for your event source.
eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) Source #
Specific configuration settings for a self-managed Apache Kafka event source.
eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) Source #
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) Source #
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.
eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #
With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
Indicates whether a user or Lambda made the last change to the event source mapping.
eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #
The name of the Kafka topic.
eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.
eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The identifier of the event source mapping.
FileSystemConfig
data FileSystemConfig Source #
Details about the connection between a Lambda function and an Amazon EFS file system.
See: newFileSystemConfig
smart constructor.
Constructors
FileSystemConfig' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> FileSystemConfig |
Create a value of FileSystemConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:FileSystemConfig'
, fileSystemConfig_arn
- The Amazon Resource Name (ARN) of the Amazon EFS access point that
provides access to the file system.
$sel:localMountPath:FileSystemConfig'
, fileSystemConfig_localMountPath
- The path where the function can access the file system, starting with
/mnt/
.
fileSystemConfig_arn :: Lens' FileSystemConfig Text Source #
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text Source #
The path where the function can access the file system, starting with
/mnt/
.
Filter
A structure within a FilterCriteria
object that defines an event
filtering pattern.
See: newFilter
smart constructor.
Constructors
Filter' | |
Fields
|
Instances
FromJSON Filter Source # | |
ToJSON Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
Generic Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
Eq Filter Source # | |
Hashable Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.Lambda.Types.Filter |
Create a value of Filter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:pattern':Filter'
, filter_pattern
- A filter pattern. For more information on the syntax of a filter
pattern, see
Filter rule syntax.
filter_pattern :: Lens' Filter (Maybe Text) Source #
A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax.
FilterCriteria
data FilterCriteria Source #
An object that contains the filters for an event source.
See: newFilterCriteria
smart constructor.
Constructors
FilterCriteria' | |
Instances
newFilterCriteria :: FilterCriteria Source #
Create a value of FilterCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filters:FilterCriteria'
, filterCriteria_filters
- A list of filters.
filterCriteria_filters :: Lens' FilterCriteria (Maybe [Filter]) Source #
A list of filters.
FunctionCode
data FunctionCode Source #
The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
See: newFunctionCode
smart constructor.
Constructors
FunctionCode' | |
Fields
|
Instances
newFunctionCode :: FunctionCode Source #
Create a value of FunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageUri:FunctionCode'
, functionCode_imageUri
- URI of a
container image
in the Amazon ECR registry.
$sel:s3Bucket:FunctionCode'
, functionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
$sel:s3Key:FunctionCode'
, functionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:s3ObjectVersion:FunctionCode'
, functionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:zipFile:FunctionCode'
, functionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
functionCode_imageUri :: Lens' FunctionCode (Maybe Text) Source #
URI of a container image in the Amazon ECR registry.
functionCode_s3Bucket :: Lens' FunctionCode (Maybe Text) Source #
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.
functionCode_s3Key :: Lens' FunctionCode (Maybe Text) Source #
The Amazon S3 key of the deployment package.
functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) Source #
For versioned objects, the version of the deployment package object to use.
functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) Source #
The base64-encoded contents of the deployment package. Amazon Web
Services SDK and CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
FunctionCodeLocation
data FunctionCodeLocation Source #
Details about a function's deployment package.
See: newFunctionCodeLocation
smart constructor.
Constructors
FunctionCodeLocation' | |
Instances
newFunctionCodeLocation :: FunctionCodeLocation Source #
Create a value of FunctionCodeLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageUri:FunctionCodeLocation'
, functionCodeLocation_imageUri
- URI of a container image in the Amazon ECR registry.
$sel:location:FunctionCodeLocation'
, functionCodeLocation_location
- A presigned URL that you can use to download the deployment package.
$sel:repositoryType:FunctionCodeLocation'
, functionCodeLocation_repositoryType
- The service that's hosting the file.
$sel:resolvedImageUri:FunctionCodeLocation'
, functionCodeLocation_resolvedImageUri
- The resolved URI for the image.
functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) Source #
URI of a container image in the Amazon ECR registry.
functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) Source #
A presigned URL that you can use to download the deployment package.
functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text) Source #
The service that's hosting the file.
functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text) Source #
The resolved URI for the image.
FunctionConfiguration
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
Constructors
FunctionConfiguration' | |
Fields
|
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
FunctionConfiguration
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
Omitted from CloudTrail logs.
$sel:ephemeralStorage:FunctionConfiguration'
, functionConfiguration_ephemeralStorage
- The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin running your function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is returned only if you've configured a customer
managed key.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the main function.
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
FunctionConfiguration
, functionConfiguration_signingJobArn
- The ARN of the signing job.
FunctionConfiguration
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:snapStart:FunctionConfiguration'
, functionConfiguration_snapStart
- Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) Source #
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
.
functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #
The SHA256 hash of the function's deployment package.
functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #
The size of the function's deployment package, in bytes.
functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) Source #
The function's dead letter queue.
functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's description.
functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) Source #
The function's environment variables. Omitted from CloudTrail logs.
functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) Source #
The size of the function’s /tmp
directory in MB. The default value is
512, but it can be any whole number between 512 and 10,240 MB.
functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) Source #
Connection settings for an Amazon EFS file system.
functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's Amazon Resource Name (ARN).
functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function.
functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #
The function that Lambda calls to begin running your function.
functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) Source #
The function's image configuration values.
functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The KMS key that's used to encrypt the function's environment variables. This key is returned only if you've configured a customer managed key.
functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) Source #
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) Source #
The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #
The reason for the last update that was performed on the function.
functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #
The reason code for the last update that was performed on the function.
functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) Source #
The function's layers.
functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #
For Lambda@Edge functions, the ARN of the main function.
functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #
The amount of memory available to the function at runtime.
functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) Source #
The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #
The latest updated revision of the function or alias.
functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's execution role.
functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #
The runtime environment for the Lambda function.
functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The ARN of the signing job.
functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The ARN of the signing profile version.
functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) Source #
Set ApplyOn
to PublishedVersions
to create a snapshot of the
initialized execution environment when you publish a function version.
For more information, see
Reducing startup time with Lambda SnapStart.
functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) Source #
The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #
The reason for the function's current state.
functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) Source #
The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) Source #
The amount of time in seconds that Lambda allows a function to run before stopping it.
functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) Source #
The function's X-Ray tracing configuration.
functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) Source #
The version of the Lambda function.
functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) Source #
The function's networking configuration.
FunctionEventInvokeConfig
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
Constructors
FunctionEventInvokeConfig' | |
Fields
|
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) Source #
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.
functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the function.
functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #
The date and time that the configuration was last updated.
functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #
The maximum age of a request that Lambda sends to a function for processing.
functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) Source #
The maximum number of times to retry when the function returns an error.
FunctionUrlConfig
data FunctionUrlConfig Source #
Details about a Lambda function URL.
See: newFunctionUrlConfig
smart constructor.
Constructors
FunctionUrlConfig' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> FunctionUrlConfig |
Create a value of FunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cors:FunctionUrlConfig'
, functionUrlConfig_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:functionUrl:FunctionUrlConfig'
, functionUrlConfig_functionUrl
- The HTTP URL endpoint for your function.
$sel:functionArn:FunctionUrlConfig'
, functionUrlConfig_functionArn
- The Amazon Resource Name (ARN) of your function.
$sel:creationTime:FunctionUrlConfig'
, functionUrlConfig_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastModifiedTime:FunctionUrlConfig'
, functionUrlConfig_lastModifiedTime
- When the function URL configuration was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:authType:FunctionUrlConfig'
, functionUrlConfig_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors) Source #
The cross-origin resource sharing (CORS) settings for your function URL.
functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text Source #
The HTTP URL endpoint for your function.
functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text Source #
The Amazon Resource Name (ARN) of your function.
functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text Source #
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text Source #
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType Source #
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM users only. Set to
NONE
if you want to bypass IAM authentication to create a public
endpoint. For more information, see
Security and auth model for Lambda function URLs.
GetLayerVersionResponse
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
Constructors
GetLayerVersionResponse' | |
Fields
|
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) Source #
A list of compatible instruction set architectures.
getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) Source #
The layer's compatible runtimes.
getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) Source #
Details about the layer version.
getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The description of the version.
getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer.
getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer version.
getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The layer's software license.
getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) Source #
The version number.
ImageConfig
data ImageConfig Source #
Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
See: newImageConfig
smart constructor.
Constructors
ImageConfig' | |
Fields
|
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.
imageConfig_command :: Lens' ImageConfig (Maybe [Text]) Source #
Specifies parameters that you want to pass in with ENTRYPOINT.
imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text]) Source #
Specifies the entry point to their application, which is typically the location of the runtime executable.
imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text) Source #
Specifies the working directory.
ImageConfigError
data ImageConfigError Source #
Error response to GetFunctionConfiguration
.
See: newImageConfigError
smart constructor.
Constructors
ImageConfigError' | |
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.
imageConfigError_errorCode :: Lens' ImageConfigError (Maybe Text) Source #
Error code.
imageConfigError_message :: Lens' ImageConfigError (Maybe Text) Source #
Error message.
ImageConfigResponse
data ImageConfigResponse Source #
Response to a GetFunctionConfiguration
request.
See: newImageConfigResponse
smart constructor.
Constructors
ImageConfigResponse' | |
Fields
|
Instances
newImageConfigResponse :: ImageConfigResponse Source #
Create a value of ImageConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:error:ImageConfigResponse'
, imageConfigResponse_error
- Error response to GetFunctionConfiguration
.
$sel:imageConfig:ImageConfigResponse'
, imageConfigResponse_imageConfig
- Configuration values that override the container image Dockerfile.
imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) Source #
Error response to GetFunctionConfiguration
.
imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) Source #
Configuration values that override the container image Dockerfile.
Layer
An Lambda layer.
See: newLayer
smart constructor.
Constructors
Layer' | |
Fields
|
Instances
FromJSON Layer Source # | |
Generic Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
Eq Layer Source # | |
Hashable Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
type Rep Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.Lambda.Types.Layer" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "signingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "signingProfileVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:Layer'
, layer_arn
- The Amazon Resource Name (ARN) of the function layer.
$sel:codeSize:Layer'
, layer_codeSize
- The size of the layer archive in bytes.
$sel:signingJobArn:Layer'
, layer_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:signingProfileVersionArn:Layer'
, layer_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
layer_signingJobArn :: Lens' Layer (Maybe Text) Source #
The Amazon Resource Name (ARN) of a signing job.
layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) Source #
The Amazon Resource Name (ARN) for a signing profile version.
LayerVersionContentInput
data LayerVersionContentInput Source #
A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.
See: newLayerVersionContentInput
smart constructor.
Constructors
LayerVersionContentInput' | |
Fields
|
Instances
newLayerVersionContentInput :: LayerVersionContentInput Source #
Create a value of LayerVersionContentInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3Bucket:LayerVersionContentInput'
, layerVersionContentInput_s3Bucket
- The Amazon S3 bucket of the layer archive.
$sel:s3Key:LayerVersionContentInput'
, layerVersionContentInput_s3Key
- The Amazon S3 key of the layer archive.
$sel:s3ObjectVersion:LayerVersionContentInput'
, layerVersionContentInput_s3ObjectVersion
- For versioned objects, the version of the layer archive object to use.
$sel:zipFile:LayerVersionContentInput'
, layerVersionContentInput_zipFile
- The base64-encoded contents of the layer archive. Amazon Web Services
SDK and Amazon Web Services CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) Source #
The Amazon S3 bucket of the layer archive.
layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) Source #
The Amazon S3 key of the layer archive.
layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) Source #
For versioned objects, the version of the layer archive object to use.
layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) Source #
The base64-encoded contents of the layer archive. Amazon Web Services
SDK and Amazon Web Services CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
LayerVersionContentOutput
data LayerVersionContentOutput Source #
Details about a version of an Lambda layer.
See: newLayerVersionContentOutput
smart constructor.
Constructors
LayerVersionContentOutput' | |
Fields
|
Instances
newLayerVersionContentOutput :: LayerVersionContentOutput Source #
Create a value of LayerVersionContentOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeSha256:LayerVersionContentOutput'
, layerVersionContentOutput_codeSha256
- The SHA-256 hash of the layer archive.
$sel:codeSize:LayerVersionContentOutput'
, layerVersionContentOutput_codeSize
- The size of the layer archive in bytes.
$sel:location:LayerVersionContentOutput'
, layerVersionContentOutput_location
- A link to the layer archive in Amazon S3 that is valid for 10 minutes.
$sel:signingJobArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:signingProfileVersionArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text) Source #
The SHA-256 hash of the layer archive.
layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer) Source #
The size of the layer archive in bytes.
layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text) Source #
A link to the layer archive in Amazon S3 that is valid for 10 minutes.
layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text) Source #
The Amazon Resource Name (ARN) of a signing job.
layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) Source #
The Amazon Resource Name (ARN) for a signing profile version.
LayerVersionsListItem
data LayerVersionsListItem Source #
Details about a version of an Lambda layer.
See: newLayerVersionsListItem
smart constructor.
Constructors
LayerVersionsListItem' | |
Fields
|
Instances
newLayerVersionsListItem :: LayerVersionsListItem Source #
Create a value of LayerVersionsListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compatibleArchitectures:LayerVersionsListItem'
, layerVersionsListItem_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:compatibleRuntimes:LayerVersionsListItem'
, layerVersionsListItem_compatibleRuntimes
- The layer's compatible runtimes.
$sel:createdDate:LayerVersionsListItem'
, layerVersionsListItem_createdDate
- The date that the version was created, in ISO 8601 format. For example,
2018-11-27T15:10:45.123+0000
.
$sel:description:LayerVersionsListItem'
, layerVersionsListItem_description
- The description of the version.
$sel:layerVersionArn:LayerVersionsListItem'
, layerVersionsListItem_layerVersionArn
- The ARN of the layer version.
$sel:licenseInfo:LayerVersionsListItem'
, layerVersionsListItem_licenseInfo
- The layer's open-source license.
$sel:version:LayerVersionsListItem'
, layerVersionsListItem_version
- The version number.
layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture]) Source #
A list of compatible instruction set architectures.
layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime]) Source #
The layer's compatible runtimes.
layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text) Source #
The date that the version was created, in ISO 8601 format. For example,
2018-11-27T15:10:45.123+0000
.
layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text) Source #
The description of the version.
layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text) Source #
The ARN of the layer version.
layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text) Source #
The layer's open-source license.
layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer) Source #
The version number.
LayersListItem
data LayersListItem Source #
Details about an Lambda layer.
See: newLayersListItem
smart constructor.
Constructors
LayersListItem' | |
Fields
|
Instances
newLayersListItem :: LayersListItem Source #
Create a value of LayersListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestMatchingVersion:LayersListItem'
, layersListItem_latestMatchingVersion
- The newest version of the layer.
$sel:layerArn:LayersListItem'
, layersListItem_layerArn
- The Amazon Resource Name (ARN) of the function layer.
$sel:layerName:LayersListItem'
, layersListItem_layerName
- The name of the layer.
layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem) Source #
The newest version of the layer.
layersListItem_layerArn :: Lens' LayersListItem (Maybe Text) Source #
The Amazon Resource Name (ARN) of the function layer.
layersListItem_layerName :: Lens' LayersListItem (Maybe Text) Source #
The name of the layer.
OnFailure
A destination for events that failed processing.
See: newOnFailure
smart constructor.
Constructors
OnFailure' | |
Fields
|
Instances
FromJSON OnFailure Source # | |
ToJSON OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Generic OnFailure Source # | |
Read OnFailure Source # | |
Show OnFailure Source # | |
NFData OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Eq OnFailure Source # | |
Hashable OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
type Rep OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure |
newOnFailure :: OnFailure Source #
Create a value of OnFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnFailure'
, onFailure_destination
- The Amazon Resource Name (ARN) of the destination resource.
onFailure_destination :: Lens' OnFailure (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination resource.
OnSuccess
A destination for events that were processed successfully.
See: newOnSuccess
smart constructor.
Constructors
OnSuccess' | |
Fields
|
Instances
FromJSON OnSuccess Source # | |
ToJSON OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Generic OnSuccess Source # | |
Read OnSuccess Source # | |
Show OnSuccess Source # | |
NFData OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Eq OnSuccess Source # | |
Hashable OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
type Rep OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess |
newOnSuccess :: OnSuccess Source #
Create a value of OnSuccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnSuccess'
, onSuccess_destination
- The Amazon Resource Name (ARN) of the destination resource.
onSuccess_destination :: Lens' OnSuccess (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination resource.
ProvisionedConcurrencyConfigListItem
data ProvisionedConcurrencyConfigListItem Source #
Details about the provisioned concurrency configuration for a function alias or version.
See: newProvisionedConcurrencyConfigListItem
smart constructor.
Constructors
ProvisionedConcurrencyConfigListItem' | |
Fields
|
Instances
newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem Source #
Create a value of ProvisionedConcurrencyConfigListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated. When a weighted alias
is used during linear and canary deployments, this value fluctuates
depending on the amount of concurrency that is provisioned for the
function versions.
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:functionArn:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_functionArn
- The Amazon Resource Name (ARN) of the alias or version.
$sel:lastModified:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:status:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_status
- The status of the allocation process.
$sel:statusReason:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) Source #
The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) Source #
The amount of provisioned concurrency available.
provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
The Amazon Resource Name (ARN) of the alias or version.
provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
The date and time that a user last updated the configuration, in ISO 8601 format.
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) Source #
The amount of provisioned concurrency requested.
provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum) Source #
The status of the allocation process.
provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
For failed allocations, the reason that provisioned concurrency could not be allocated.
SelfManagedEventSource
data SelfManagedEventSource Source #
The self-managed Apache Kafka cluster for your event source.
See: newSelfManagedEventSource
smart constructor.
Constructors
SelfManagedEventSource' | |
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"]
.
selfManagedEventSource_endpoints :: Lens' SelfManagedEventSource (Maybe (HashMap EndPointType (NonEmpty Text))) Source #
The list of bootstrap servers for your Kafka brokers in the following
format:
"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
SelfManagedKafkaEventSourceConfig
data SelfManagedKafkaEventSourceConfig Source #
Specific configuration settings for a self-managed Apache Kafka event source.
See: newSelfManagedKafkaEventSourceConfig
smart constructor.
Constructors
SelfManagedKafkaEventSourceConfig' | |
Fields
|
Instances
newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig Source #
Create a value of SelfManagedKafkaEventSourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:consumerGroupId:SelfManagedKafkaEventSourceConfig'
, selfManagedKafkaEventSourceConfig_consumerGroupId
- The identifier for the Kafka consumer group to join. The consumer group
ID must be unique among all your Kafka event sources. After creating a
Kafka event source mapping with the consumer group ID specified, you
cannot update this value. For more information, see
Customizable consumer group ID.
selfManagedKafkaEventSourceConfig_consumerGroupId :: Lens' SelfManagedKafkaEventSourceConfig (Maybe Text) Source #
The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID.
SnapStart
The function's SnapStart setting. Set ApplyOn
to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version. For more information, see
Reducing startup time with Lambda SnapStart.
See: newSnapStart
smart constructor.
Constructors
SnapStart' | |
Fields
|
Instances
ToJSON SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
Generic SnapStart Source # | |
Read SnapStart Source # | |
Show SnapStart Source # | |
NFData SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
Eq SnapStart Source # | |
Hashable SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
type Rep SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart type Rep SnapStart = D1 ('MetaData "SnapStart" "Amazonka.Lambda.Types.SnapStart" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "SnapStart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applyOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapStartApplyOn)))) |
newSnapStart :: SnapStart Source #
Create a value of SnapStart
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applyOn:SnapStart'
, snapStart_applyOn
- Set to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version.
snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn) Source #
Set to PublishedVersions
to create a snapshot of the initialized
execution environment when you publish a function version.
SnapStartResponse
data SnapStartResponse Source #
The function's SnapStart setting.
See: newSnapStartResponse
smart constructor.
Constructors
SnapStartResponse' | |
Fields
|
Instances
newSnapStartResponse :: SnapStartResponse Source #
Create a value of SnapStartResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applyOn:SnapStartResponse'
, snapStartResponse_applyOn
- When set to PublishedVersions
, Lambda creates a snapshot of the
execution environment when you publish a function version.
$sel:optimizationStatus:SnapStartResponse'
, snapStartResponse_optimizationStatus
- When you provide a
qualified Amazon Resource Name (ARN),
this response element indicates whether SnapStart is activated for the
specified function version.
snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn) Source #
When set to PublishedVersions
, Lambda creates a snapshot of the
execution environment when you publish a function version.
snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus) Source #
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
SourceAccessConfiguration
data SourceAccessConfiguration Source #
To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.
See: newSourceAccessConfiguration
smart constructor.
Constructors
SourceAccessConfiguration' | |
Fields
|
Instances
newSourceAccessConfiguration :: SourceAccessConfiguration Source #
Create a value of SourceAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':SourceAccessConfiguration'
, sourceAccessConfiguration_type
- The type of authentication protocol, VPC components, or virtual host for
your event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (Amazon MQ) The Secrets Manager secret that stores your broker credentials.BASIC_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET
- (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.CLIENT_CERTIFICATE_TLS_AUTH
- (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.SERVER_ROOT_CA_CERTIFICATE
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
$sel:uri:SourceAccessConfiguration'
, sourceAccessConfiguration_uri
- The value for your chosen configuration in Type
. For example:
"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType) Source #
The type of authentication protocol, VPC components, or virtual host for
your event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (Amazon MQ) The Secrets Manager secret that stores your broker credentials.BASIC_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET
- (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.CLIENT_CERTIFICATE_TLS_AUTH
- (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.SERVER_ROOT_CA_CERTIFICATE
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text) Source #
The value for your chosen configuration in Type
. For example:
"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
TracingConfig
data TracingConfig Source #
The function's
X-Ray
tracing configuration. To sample and record incoming requests, set
Mode
to Active
.
See: newTracingConfig
smart constructor.
Constructors
TracingConfig' | |
Fields
|
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.
tracingConfig_mode :: Lens' TracingConfig (Maybe TracingMode) Source #
The tracing mode.
TracingConfigResponse
data TracingConfigResponse Source #
The function's X-Ray tracing configuration.
See: newTracingConfigResponse
smart constructor.
Constructors
TracingConfigResponse' | |
Fields
|
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.
tracingConfigResponse_mode :: Lens' TracingConfigResponse (Maybe TracingMode) Source #
The tracing mode.
VpcConfig
The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.
See: newVpcConfig
smart constructor.
Constructors
VpcConfig' | |
Instances
ToJSON VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Generic VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Eq VpcConfig Source # | |
Hashable VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
type Rep VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Lambda.Types.VpcConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfig'
, vpcConfig_securityGroupIds
- A list of VPC security group IDs.
$sel:subnetIds:VpcConfig'
, vpcConfig_subnetIds
- A list of VPC subnet IDs.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) Source #
A list of VPC security group IDs.
VpcConfigResponse
data VpcConfigResponse Source #
The VPC security groups and subnets that are attached to a Lambda function.
See: newVpcConfigResponse
smart constructor.
Constructors
VpcConfigResponse' | |
Instances
newVpcConfigResponse :: VpcConfigResponse Source #
Create a value of VpcConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfigResponse'
, vpcConfigResponse_securityGroupIds
- A list of VPC security group IDs.
$sel:subnetIds:VpcConfigResponse'
, vpcConfigResponse_subnetIds
- A list of VPC subnet IDs.
$sel:vpcId:VpcConfigResponse'
, vpcConfigResponse_vpcId
- The ID of the VPC.
vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text]) Source #
A list of VPC security group IDs.
vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text]) Source #
A list of VPC subnet IDs.
vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text) Source #
The ID of the VPC.