Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Architecture
- CodeSigningPolicy
- EndPointType
- EventSourcePosition
- FunctionResponseType
- FunctionVersion
- InvocationType
- LastUpdateStatus
- LastUpdateStatusReasonCode
- LogType
- PackageType
- ProvisionedConcurrencyStatusEnum
- Runtime
- SourceAccessType
- State
- StateReasonCode
- TracingMode
- AccountLimit
- AccountUsage
- AliasConfiguration
- AliasRoutingConfiguration
- AllowedPublishers
- CodeSigningConfig
- CodeSigningPolicies
- Concurrency
- DeadLetterConfig
- DestinationConfig
- Environment
- EnvironmentError
- EnvironmentResponse
- EventSourceMappingConfiguration
- FileSystemConfig
- FunctionCode
- FunctionCodeLocation
- FunctionConfiguration
- FunctionEventInvokeConfig
- GetLayerVersionResponse
- ImageConfig
- ImageConfigError
- ImageConfigResponse
- Layer
- LayerVersionContentInput
- LayerVersionContentOutput
- LayerVersionsListItem
- LayersListItem
- OnFailure
- OnSuccess
- ProvisionedConcurrencyConfigListItem
- SelfManagedEventSource
- SourceAccessConfiguration
- TracingConfig
- TracingConfigResponse
- VpcConfig
- VpcConfigResponse
Synopsis
- defaultService :: Service
- _KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountConnectivityException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetIDException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeVerificationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCodeSignatureException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupIDException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeSigningConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSIOException :: AsError a => Getting (First ServiceError) a ServiceError
- _EFSMountTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype Architecture where
- Architecture' { }
- pattern Architecture_Arm64 :: Architecture
- pattern Architecture_X86_64 :: Architecture
- newtype CodeSigningPolicy where
- CodeSigningPolicy' { }
- pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy
- pattern CodeSigningPolicy_Warn :: CodeSigningPolicy
- newtype EndPointType where
- EndPointType' { }
- pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType
- newtype EventSourcePosition where
- newtype FunctionResponseType where
- newtype FunctionVersion where
- FunctionVersion' { }
- pattern FunctionVersion_ALL :: FunctionVersion
- newtype InvocationType where
- InvocationType' { }
- pattern InvocationType_DryRun :: InvocationType
- pattern InvocationType_Event :: InvocationType
- pattern InvocationType_RequestResponse :: InvocationType
- newtype LastUpdateStatus where
- LastUpdateStatus' { }
- pattern LastUpdateStatus_Failed :: LastUpdateStatus
- pattern LastUpdateStatus_InProgress :: LastUpdateStatus
- pattern LastUpdateStatus_Successful :: LastUpdateStatus
- newtype LastUpdateStatusReasonCode where
- LastUpdateStatusReasonCode' { }
- pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode
- pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode
- newtype LogType where
- LogType' {
- fromLogType :: Text
- pattern LogType_None :: LogType
- pattern LogType_Tail :: LogType
- LogType' {
- newtype PackageType where
- PackageType' { }
- pattern PackageType_Image :: PackageType
- pattern PackageType_Zip :: PackageType
- newtype ProvisionedConcurrencyStatusEnum where
- newtype Runtime where
- Runtime' {
- fromRuntime :: Text
- pattern Runtime_Dotnetcore1_0 :: Runtime
- pattern Runtime_Dotnetcore2_0 :: Runtime
- pattern Runtime_Dotnetcore2_1 :: Runtime
- pattern Runtime_Dotnetcore3_1 :: Runtime
- pattern Runtime_Go1_x :: Runtime
- pattern Runtime_Java11 :: Runtime
- pattern Runtime_Java8 :: Runtime
- pattern Runtime_Java8_al2 :: Runtime
- pattern Runtime_Nodejs :: Runtime
- pattern Runtime_Nodejs10_x :: Runtime
- pattern Runtime_Nodejs12_x :: Runtime
- pattern Runtime_Nodejs14_x :: Runtime
- pattern Runtime_Nodejs4_3 :: Runtime
- pattern Runtime_Nodejs4_3_edge :: Runtime
- pattern Runtime_Nodejs6_10 :: Runtime
- pattern Runtime_Nodejs8_10 :: Runtime
- pattern Runtime_Provided :: Runtime
- pattern Runtime_Provided_al2 :: Runtime
- pattern Runtime_Python2_7 :: Runtime
- pattern Runtime_Python3_6 :: Runtime
- pattern Runtime_Python3_7 :: Runtime
- pattern Runtime_Python3_8 :: Runtime
- pattern Runtime_Python3_9 :: Runtime
- pattern Runtime_Ruby2_5 :: Runtime
- pattern Runtime_Ruby2_7 :: Runtime
- Runtime' {
- newtype SourceAccessType where
- SourceAccessType' { }
- pattern SourceAccessType_BASIC_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType
- pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType
- pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType
- pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType
- pattern SourceAccessType_VPC_SUBNET :: SourceAccessType
- newtype State where
- State' { }
- pattern State_Active :: State
- pattern State_Failed :: State
- pattern State_Inactive :: State
- pattern State_Pending :: State
- newtype StateReasonCode where
- StateReasonCode' { }
- pattern StateReasonCode_Creating :: StateReasonCode
- pattern StateReasonCode_EniLimitExceeded :: StateReasonCode
- pattern StateReasonCode_Idle :: StateReasonCode
- pattern StateReasonCode_ImageAccessDenied :: StateReasonCode
- pattern StateReasonCode_ImageDeleted :: StateReasonCode
- pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode
- pattern StateReasonCode_InternalError :: StateReasonCode
- pattern StateReasonCode_InvalidConfiguration :: StateReasonCode
- pattern StateReasonCode_InvalidImage :: StateReasonCode
- pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode
- pattern StateReasonCode_InvalidSubnet :: StateReasonCode
- pattern StateReasonCode_Restoring :: StateReasonCode
- pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode
- newtype TracingMode where
- TracingMode' { }
- pattern TracingMode_Active :: TracingMode
- pattern TracingMode_PassThrough :: TracingMode
- data AccountLimit = AccountLimit' {}
- newAccountLimit :: AccountLimit
- accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int)
- accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer)
- accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural)
- accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer)
- accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer)
- data AccountUsage = AccountUsage' {}
- newAccountUsage :: AccountUsage
- accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer)
- accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer)
- data AliasConfiguration = AliasConfiguration' {}
- newAliasConfiguration :: AliasConfiguration
- aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration)
- aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text)
- aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text)
- 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 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 DeadLetterConfig = DeadLetterConfig' {}
- newDeadLetterConfig :: DeadLetterConfig
- deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text)
- data DestinationConfig = DestinationConfig' {}
- newDestinationConfig :: DestinationConfig
- destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess)
- destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure)
- 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_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text))
- environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError)
- data EventSourceMappingConfiguration = EventSourceMappingConfiguration' {
- eventSourceArn :: Maybe Text
- state :: Maybe Text
- startingPositionTimestamp :: Maybe POSIX
- functionArn :: Maybe Text
- topics :: Maybe (NonEmpty Text)
- queues :: Maybe (NonEmpty Text)
- bisectBatchOnFunctionError :: Maybe Bool
- uuid :: Maybe Text
- parallelizationFactor :: Maybe Natural
- lastProcessingResult :: Maybe Text
- maximumRetryAttempts :: Maybe Int
- batchSize :: Maybe Natural
- stateTransitionReason :: Maybe Text
- maximumBatchingWindowInSeconds :: Maybe Natural
- sourceAccessConfigurations :: Maybe [SourceAccessConfiguration]
- maximumRecordAgeInSeconds :: Maybe Int
- functionResponseTypes :: Maybe [FunctionResponseType]
- tumblingWindowInSeconds :: Maybe Natural
- selfManagedEventSource :: Maybe SelfManagedEventSource
- lastModified :: Maybe POSIX
- destinationConfig :: Maybe DestinationConfig
- startingPosition :: Maybe EventSourcePosition
- newEventSourceMappingConfiguration :: EventSourceMappingConfiguration
- eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text))
- eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text))
- eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool)
- eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int)
- eventSourceMappingConfiguration_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text)
- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration])
- eventSourceMappingConfiguration_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int)
- eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType])
- eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource)
- eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig)
- eventSourceMappingConfiguration_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition)
- data FileSystemConfig = FileSystemConfig' {
- arn :: Text
- localMountPath :: Text
- newFileSystemConfig :: Text -> Text -> FileSystemConfig
- fileSystemConfig_arn :: Lens' FileSystemConfig Text
- fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text
- data FunctionCode = FunctionCode' {}
- newFunctionCode :: FunctionCode
- functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text)
- functionCode_s3Key :: Lens' FunctionCode (Maybe Text)
- functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString)
- functionCode_imageUri :: Lens' FunctionCode (Maybe Text)
- functionCode_s3Bucket :: Lens' FunctionCode (Maybe Text)
- data FunctionCodeLocation = FunctionCodeLocation' {}
- newFunctionCodeLocation :: FunctionCodeLocation
- functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text)
- functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text)
- data FunctionConfiguration = FunctionConfiguration' {
- memorySize :: Maybe Natural
- runtime :: Maybe Runtime
- state :: Maybe State
- signingProfileVersionArn :: Maybe Text
- lastUpdateStatus :: Maybe LastUpdateStatus
- functionArn :: Maybe Text
- kmsKeyArn :: Maybe Text
- packageType :: Maybe PackageType
- fileSystemConfigs :: Maybe [FileSystemConfig]
- environment :: Maybe EnvironmentResponse
- deadLetterConfig :: Maybe DeadLetterConfig
- architectures :: Maybe (NonEmpty Architecture)
- signingJobArn :: Maybe Text
- role' :: Maybe Text
- vpcConfig :: Maybe VpcConfigResponse
- version :: Maybe Text
- functionName :: Maybe Text
- layers :: Maybe [Layer]
- codeSize :: Maybe Integer
- handler :: Maybe Text
- timeout :: Maybe Natural
- lastUpdateStatusReason :: Maybe Text
- stateReason :: Maybe Text
- lastModified :: Maybe Text
- codeSha256 :: Maybe Text
- tracingConfig :: Maybe TracingConfigResponse
- stateReasonCode :: Maybe StateReasonCode
- imageConfigResponse :: Maybe ImageConfigResponse
- description :: Maybe Text
- lastUpdateStatusReasonCode :: Maybe LastUpdateStatusReasonCode
- revisionId :: Maybe Text
- masterArn :: Maybe Text
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural)
- functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime)
- functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State)
- functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus)
- functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType)
- functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig])
- functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse)
- functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig)
- functionConfiguration_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture))
- functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse)
- functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer])
- functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer)
- functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural)
- functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse)
- functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode)
- functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse)
- functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode)
- functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text)
- data FunctionEventInvokeConfig = FunctionEventInvokeConfig' {}
- newFunctionEventInvokeConfig :: FunctionEventInvokeConfig
- functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text)
- functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural)
- functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural)
- functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime)
- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig)
- data GetLayerVersionResponse = GetLayerVersionResponse' {}
- newGetLayerVersionResponse :: GetLayerVersionResponse
- getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput)
- getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer)
- getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture])
- getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text)
- getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime])
- 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_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig)
- imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError)
- data Layer = Layer' {}
- newLayer :: Layer
- layer_signingProfileVersionArn :: Lens' Layer (Maybe Text)
- layer_arn :: Lens' Layer (Maybe Text)
- layer_signingJobArn :: Lens' Layer (Maybe Text)
- layer_codeSize :: Lens' Layer (Maybe Integer)
- data LayerVersionContentInput = LayerVersionContentInput' {}
- newLayerVersionContentInput :: LayerVersionContentInput
- layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text)
- layerVersionContentInput_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString)
- layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text)
- data LayerVersionContentOutput = LayerVersionContentOutput' {}
- newLayerVersionContentOutput :: LayerVersionContentOutput
- layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text)
- layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer)
- layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text)
- data LayerVersionsListItem = LayerVersionsListItem' {}
- newLayerVersionsListItem :: LayerVersionsListItem
- layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer)
- layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture])
- layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text)
- layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime])
- data LayersListItem = LayersListItem' {}
- newLayersListItem :: LayersListItem
- layersListItem_layerName :: Lens' LayersListItem (Maybe Text)
- layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem)
- layersListItem_layerArn :: 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_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum)
- provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural)
- provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text)
- data SelfManagedEventSource = SelfManagedEventSource' {}
- newSelfManagedEventSource :: SelfManagedEventSource
- selfManagedEventSource_endpoints :: Lens' SelfManagedEventSource (Maybe (HashMap EndPointType (NonEmpty Text)))
- data SourceAccessConfiguration = SourceAccessConfiguration' {}
- newSourceAccessConfiguration :: SourceAccessConfiguration
- sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text)
- sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType)
- 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
_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Check the function's KMS key settings.
_EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
_EFSMountConnectivityException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function couldn't make a network connection to the configured file system.
_InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The runtime or runtime version specified is not supported.
_EFSMountFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function couldn't mount the configured file system due to a permission or configuration issue.
_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The permissions policy for the resource is too large. Learn more
_PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The RevisionId provided does not match the latest RevisionId for the
Lambda function or alias. Call the GetFunction
or the GetAlias
API
to retrieve the latest RevisionId for your resource.
_EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Need additional permissions to configure VPC settings.
_InvalidSubnetIDException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Subnet ID provided in the Lambda function VPC configuration is invalid.
_CodeVerificationFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
_UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The content type of the Invoke
request body is not JSON.
_InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request body could not be parsed as JSON.
_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
_ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.
_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One of the parameters in the request is invalid.
_RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request payload exceeded the Invoke
request body JSON input limit.
For more information, see
Limits.
_InvalidCodeSignatureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The code signature failed the integrity check. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request throughput limit was exceeded.
_InvalidSecurityGroupIDException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Security Group ID provided in the Lambda function VPC configuration is invalid.
_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
_SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Lambda service encountered an internal error.
_CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have exceeded your maximum total code size per account. Learn more
_CodeSigningConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified code signing configuration does not exist.
_InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda could not unzip the deployment package.
_ProvisionedConcurrencyConfigNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified configuration does not exist.
_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource already exists, or another operation is in progress.
_ResourceNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
_EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource specified in the request does not exist.
_EFSIOException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An error occurred when reading from or writing to a connected file system.
_EFSMountTimeoutException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The function was able to make a network connection to the configured file system, but the mount operation timed out.
_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation conflicts with the resource's availability. For example, you attempted to update an EventSource Mapping in CREATING, or tried to delete a EventSource mapping currently in the UPDATING state.
Architecture
newtype Architecture Source #
pattern Architecture_Arm64 :: Architecture | |
pattern Architecture_X86_64 :: Architecture |
Instances
CodeSigningPolicy
newtype CodeSigningPolicy Source #
pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy | |
pattern CodeSigningPolicy_Warn :: CodeSigningPolicy |
Instances
EndPointType
newtype EndPointType Source #
pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType |
Instances
EventSourcePosition
newtype EventSourcePosition Source #
pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition | |
pattern EventSourcePosition_LATEST :: EventSourcePosition | |
pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition |
Instances
FunctionResponseType
newtype FunctionResponseType Source #
Instances
FunctionVersion
newtype FunctionVersion Source #
pattern FunctionVersion_ALL :: FunctionVersion |
Instances
InvocationType
newtype InvocationType Source #
pattern InvocationType_DryRun :: InvocationType | |
pattern InvocationType_Event :: InvocationType | |
pattern InvocationType_RequestResponse :: InvocationType |
Instances
LastUpdateStatus
newtype LastUpdateStatus Source #
pattern LastUpdateStatus_Failed :: LastUpdateStatus | |
pattern LastUpdateStatus_InProgress :: LastUpdateStatus | |
pattern LastUpdateStatus_Successful :: LastUpdateStatus |
Instances
LastUpdateStatusReasonCode
newtype LastUpdateStatusReasonCode Source #
Instances
LogType
pattern LogType_None :: LogType | |
pattern LogType_Tail :: LogType |
Instances
PackageType
newtype PackageType Source #
pattern PackageType_Image :: PackageType | |
pattern PackageType_Zip :: PackageType |
Instances
ProvisionedConcurrencyStatusEnum
newtype ProvisionedConcurrencyStatusEnum Source #
Instances
Runtime
pattern Runtime_Dotnetcore1_0 :: Runtime | |
pattern Runtime_Dotnetcore2_0 :: Runtime | |
pattern Runtime_Dotnetcore2_1 :: Runtime | |
pattern Runtime_Dotnetcore3_1 :: Runtime | |
pattern Runtime_Go1_x :: Runtime | |
pattern Runtime_Java11 :: Runtime | |
pattern Runtime_Java8 :: Runtime | |
pattern Runtime_Java8_al2 :: Runtime | |
pattern Runtime_Nodejs :: Runtime | |
pattern Runtime_Nodejs10_x :: Runtime | |
pattern Runtime_Nodejs12_x :: Runtime | |
pattern Runtime_Nodejs14_x :: Runtime | |
pattern Runtime_Nodejs4_3 :: Runtime | |
pattern Runtime_Nodejs4_3_edge :: Runtime | |
pattern Runtime_Nodejs6_10 :: Runtime | |
pattern Runtime_Nodejs8_10 :: Runtime | |
pattern Runtime_Provided :: Runtime | |
pattern Runtime_Provided_al2 :: Runtime | |
pattern Runtime_Python2_7 :: Runtime | |
pattern Runtime_Python3_6 :: Runtime | |
pattern Runtime_Python3_7 :: Runtime | |
pattern Runtime_Python3_8 :: Runtime | |
pattern Runtime_Python3_9 :: Runtime | |
pattern Runtime_Ruby2_5 :: Runtime | |
pattern Runtime_Ruby2_7 :: Runtime |
Instances
SourceAccessType
newtype SourceAccessType Source #
pattern SourceAccessType_BASIC_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType | |
pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType | |
pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType | |
pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType | |
pattern SourceAccessType_VPC_SUBNET :: SourceAccessType |
Instances
State
pattern State_Active :: State | |
pattern State_Failed :: State | |
pattern State_Inactive :: State | |
pattern State_Pending :: State |
Instances
StateReasonCode
newtype StateReasonCode Source #
pattern StateReasonCode_Creating :: StateReasonCode | |
pattern StateReasonCode_EniLimitExceeded :: StateReasonCode | |
pattern StateReasonCode_Idle :: StateReasonCode | |
pattern StateReasonCode_ImageAccessDenied :: StateReasonCode | |
pattern StateReasonCode_ImageDeleted :: StateReasonCode | |
pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode | |
pattern StateReasonCode_InternalError :: StateReasonCode | |
pattern StateReasonCode_InvalidConfiguration :: StateReasonCode | |
pattern StateReasonCode_InvalidImage :: StateReasonCode | |
pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode | |
pattern StateReasonCode_InvalidSubnet :: StateReasonCode | |
pattern StateReasonCode_Restoring :: StateReasonCode | |
pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode |
Instances
TracingMode
newtype TracingMode Source #
pattern TracingMode_Active :: TracingMode | |
pattern TracingMode_PassThrough :: TracingMode |
Instances
AccountLimit
data AccountLimit Source #
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
See: newAccountLimit
smart constructor.
AccountLimit' | |
|
Instances
newAccountLimit :: AccountLimit Source #
Create a value of AccountLimit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:concurrentExecutions:AccountLimit'
, accountLimit_concurrentExecutions
- The maximum number of simultaneous function executions.
$sel:totalCodeSize:AccountLimit'
, accountLimit_totalCodeSize
- The amount of storage space that you can use for all deployment packages
and layer archives.
$sel:unreservedConcurrentExecutions:AccountLimit'
, accountLimit_unreservedConcurrentExecutions
- The maximum number of simultaneous function executions, minus the
capacity that's reserved for individual functions with
PutFunctionConcurrency.
$sel:codeSizeUnzipped:AccountLimit'
, accountLimit_codeSizeUnzipped
- The maximum size of a function's deployment package and layers when
they're extracted.
$sel:codeSizeZipped:AccountLimit'
, accountLimit_codeSizeZipped
- The maximum size of a deployment package when it's uploaded directly to
Lambda. Use Amazon S3 for larger files.
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.
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.
AccountUsage
data AccountUsage Source #
The number of functions and amount of storage in use.
See: newAccountUsage
smart constructor.
AccountUsage' | |
|
Instances
newAccountUsage :: AccountUsage Source #
Create a value of AccountUsage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:totalCodeSize:AccountUsage'
, accountUsage_totalCodeSize
- The amount of storage space, in bytes, that's being used by deployment
packages and layer archives.
$sel:functionCount:AccountUsage'
, accountUsage_functionCount
- The number of Lambda functions.
accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) Source #
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.
AliasConfiguration
data AliasConfiguration Source #
Provides configuration information about a Lambda function alias.
See: newAliasConfiguration
smart constructor.
AliasConfiguration' | |
|
Instances
newAliasConfiguration :: AliasConfiguration Source #
Create a value of AliasConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:routingConfig:AliasConfiguration'
, aliasConfiguration_routingConfig
- The
routing configuration
of the alias.
$sel:name:AliasConfiguration'
, aliasConfiguration_name
- The name of the alias.
$sel:functionVersion:AliasConfiguration'
, aliasConfiguration_functionVersion
- The function version that the alias invokes.
$sel:aliasArn:AliasConfiguration'
, aliasConfiguration_aliasArn
- The Amazon Resource Name (ARN) of the alias.
$sel:description:AliasConfiguration'
, aliasConfiguration_description
- A description of the alias.
$sel:revisionId:AliasConfiguration'
, aliasConfiguration_revisionId
- A unique identifier that changes when you update the alias.
aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) Source #
The routing configuration of the alias.
aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) Source #
The name of the alias.
aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) Source #
The function version that the alias invokes.
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_revisionId :: Lens' AliasConfiguration (Maybe Text) Source #
A unique identifier that changes when you update the alias.
AliasRoutingConfiguration
data AliasRoutingConfiguration Source #
The traffic-shifting configuration of a Lambda function alias.
See: newAliasRoutingConfiguration
smart constructor.
AliasRoutingConfiguration' | |
|
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.
AllowedPublishers' | |
|
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.
CodeSigningConfig
data CodeSigningConfig Source #
Details about a Code signing configuration.
See: newCodeSigningConfig
smart constructor.
CodeSigningConfig' | |
|
Instances
:: Text | |
-> Text | |
-> AllowedPublishers | |
-> CodeSigningPolicies | |
-> Text | |
-> CodeSigningConfig |
Create a value of CodeSigningConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:CodeSigningConfig'
, codeSigningConfig_description
- Code signing configuration description.
$sel:codeSigningConfigId:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigId
- Unique identifer for the Code signing configuration.
$sel:codeSigningConfigArn:CodeSigningConfig'
, codeSigningConfig_codeSigningConfigArn
- The Amazon Resource Name (ARN) of the Code signing configuration.
$sel:allowedPublishers:CodeSigningConfig'
, codeSigningConfig_allowedPublishers
- List of allowed publishers.
$sel:codeSigningPolicies:CodeSigningConfig'
, codeSigningConfig_codeSigningPolicies
- The code signing policy controls the validation failure action for
signature mismatch or expiry.
$sel:lastModified:CodeSigningConfig'
, codeSigningConfig_lastModified
- The date and time that the Code signing configuration was last modified,
in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
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.
CodeSigningPolicies' | |
|
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.
Concurrency' | |
|
Instances
newConcurrency :: Concurrency Source #
Create a value of Concurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:Concurrency'
, concurrency_reservedConcurrentExecutions
- The number of concurrent executions that are reserved for this function.
For more information, see
Managing Concurrency.
concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #
The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.
DeadLetterConfig
data DeadLetterConfig Source #
The dead-letter queue for failed asynchronous invocations.
See: newDeadLetterConfig
smart constructor.
Instances
newDeadLetterConfig :: DeadLetterConfig Source #
Create a value of DeadLetterConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:DeadLetterConfig'
, deadLetterConfig_targetArn
- The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS
topic.
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.
Instances
newDestinationConfig :: DestinationConfig Source #
Create a value of DestinationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onSuccess:DestinationConfig'
, destinationConfig_onSuccess
- The destination configuration for successful invocations.
$sel:onFailure:DestinationConfig'
, destinationConfig_onFailure
- The destination configuration for failed invocations.
destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) Source #
The destination configuration for successful invocations.
destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) Source #
The destination configuration for failed invocations.
Environment
data Environment Source #
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
See: newEnvironment
smart constructor.
Instances
newEnvironment :: Environment Source #
Create a value of Environment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:Environment'
, environment_variables
- Environment variable key-value pairs. For more information, see
Using Lambda environment variables.
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.
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 is successful, the response contains the environment variables. If it failed, the response contains details about the error.
See: newEnvironmentResponse
smart constructor.
Instances
newEnvironmentResponse :: EnvironmentResponse Source #
Create a value of EnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:variables:EnvironmentResponse'
, environmentResponse_variables
- Environment variable key-value pairs.
$sel:error:EnvironmentResponse'
, environmentResponse_error
- Error messages for environment variables that couldn't be applied.
environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) Source #
Environment variable key-value pairs.
environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) Source #
Error messages for environment variables that couldn't be applied.
EventSourceMappingConfiguration
data EventSourceMappingConfiguration Source #
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
See: newEventSourceMappingConfiguration
smart constructor.
EventSourceMappingConfiguration' | |
|
Instances
newEventSourceMappingConfiguration :: EventSourceMappingConfiguration Source #
Create a value of EventSourceMappingConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSourceArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_eventSourceArn
- The Amazon Resource Name (ARN) of the event source.
$sel:state:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_state
- The state of the event source mapping. It can be one of the following:
Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
,
or Deleting
.
$sel:startingPositionTimestamp:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
$sel:functionArn:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionArn
- The ARN of the Lambda function.
$sel:topics:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_topics
- The name of the Kafka topic.
$sel:queues:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two
and retry. The default value is false.
$sel:uuid:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_uuid
- The identifier of the event source mapping.
$sel:parallelizationFactor:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_parallelizationFactor
- (Streams only) The number of batches to process concurrently from each
shard. The default value is 1.
$sel:lastProcessingResult:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastProcessingResult
- The result of the last Lambda invocation of your function.
$sel:maximumRetryAttempts:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRetryAttempts
- (Streams only) Discard records after the specified number of retries.
The default value is -1, which sets the maximum number of retries to
infinite. When MaximumRetryAttempts is infinite, Lambda retries failed
records until the record expires in the event source.
$sel:batchSize:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_batchSize
- The maximum number of records in each batch that Lambda pulls from your
stream or queue and sends to your function. Lambda passes all of the
records in the batch to the function in a single call, up to the payload
limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:stateTransitionReason:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event
source mapping.
$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in
seconds, that Lambda spends gathering records before invoking the
function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host
to secure and define your event source.
$sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_maximumRecordAgeInSeconds
- (Streams only) Discard records older than the specified age. The default
value is -1, which sets the maximum age to infinite. When the value is
set to infinite, Lambda never discards old records.
$sel:functionResponseTypes:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_functionResponseTypes
- (Streams only) A list of current response type enums applied to the
event source mapping.
$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range
is 1–900 seconds.
$sel:selfManagedEventSource:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.
$sel:lastModified:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_lastModified
- The date that the event source mapping was last updated or that its
state changed.
$sel:destinationConfig:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for
discarded records.
$sel:startingPosition:EventSourceMappingConfiguration'
, eventSourceMappingConfiguration_startingPosition
- The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the event source.
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_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #
With StartingPosition
set to AT_TIMESTAMP
, the time from which to
start reading.
eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The ARN of the Lambda function.
eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #
The name of the Kafka topic.
eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) Source #
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
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_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The identifier of the event source mapping.
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_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
The result of the last Lambda invocation of your function.
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_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_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #
Indicates whether a user or Lambda made the last change to the event source mapping.
eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10,
you must set MaximumBatchingWindowInSeconds
to at least 1.
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_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_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) Source #
(Streams only) A list of current response type enums applied to the event source mapping.
eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source #
(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.
eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) Source #
The self-managed Apache Kafka cluster for your event source.
eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #
The date that the event source mapping was last updated or that its state changed.
eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) Source #
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
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.
FileSystemConfig
data FileSystemConfig Source #
Details about the connection between a Lambda function and an Amazon EFS file system.
See: newFileSystemConfig
smart constructor.
FileSystemConfig' | |
|
Instances
Create a value of FileSystemConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:FileSystemConfig'
, fileSystemConfig_arn
- The Amazon Resource Name (ARN) of the Amazon EFS access point that
provides access to the file system.
$sel:localMountPath:FileSystemConfig'
, fileSystemConfig_localMountPath
- The path where the function can access the file system, starting with
/mnt/
.
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/
.
FunctionCode
data FunctionCode Source #
The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
See: newFunctionCode
smart constructor.
FunctionCode' | |
|
Instances
newFunctionCode :: FunctionCode Source #
Create a value of FunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:FunctionCode'
, functionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:s3Key:FunctionCode'
, functionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:zipFile:FunctionCode'
, functionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding for
you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:imageUri:FunctionCode'
, functionCode_imageUri
- URI of a
container image
in the Amazon ECR registry.
$sel:s3Bucket:FunctionCode'
, functionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) Source #
For versioned objects, the version of the deployment package object to use.
functionCode_s3Key :: Lens' FunctionCode (Maybe Text) Source #
The Amazon S3 key of the deployment package.
functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) Source #
The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding for
you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
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.
FunctionCodeLocation
data FunctionCodeLocation Source #
Details about a function's deployment package.
See: newFunctionCodeLocation
smart constructor.
Instances
newFunctionCodeLocation :: FunctionCodeLocation Source #
Create a value of FunctionCodeLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:location:FunctionCodeLocation'
, functionCodeLocation_location
- A presigned URL that you can use to download the deployment package.
$sel:resolvedImageUri:FunctionCodeLocation'
, functionCodeLocation_resolvedImageUri
- The resolved URI for the image.
$sel:imageUri:FunctionCodeLocation'
, functionCodeLocation_imageUri
- URI of a container image in the Amazon ECR registry.
$sel:repositoryType:FunctionCodeLocation'
, functionCodeLocation_repositoryType
- The service that's hosting the file.
functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) Source #
A presigned URL that you can use to download the deployment package.
functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text) Source #
The resolved URI for the image.
functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) Source #
URI of a container image in the Amazon ECR registry.
functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text) Source #
The service that's hosting the file.
FunctionConfiguration
data FunctionConfiguration Source #
Details about a function's configuration.
See: newFunctionConfiguration
smart constructor.
FunctionConfiguration' | |
|
Instances
newFunctionConfiguration :: FunctionConfiguration Source #
Create a value of FunctionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memorySize:FunctionConfiguration'
, functionConfiguration_memorySize
- The amount of memory available to the function at runtime.
$sel:runtime:FunctionConfiguration'
, functionConfiguration_runtime
- The runtime environment for the Lambda function.
$sel:state:FunctionConfiguration'
, functionConfiguration_state
- The current state of the function. When the state is Inactive
, you can
reactivate the function by invoking it.
$sel:signingProfileVersionArn:FunctionConfiguration'
, functionConfiguration_signingProfileVersionArn
- The ARN of the signing profile version.
$sel:lastUpdateStatus:FunctionConfiguration'
, functionConfiguration_lastUpdateStatus
- The status of the last update that was performed on the function. This
is first set to Successful
after function creation completes.
$sel:functionArn:FunctionConfiguration'
, functionConfiguration_functionArn
- The function's Amazon Resource Name (ARN).
$sel:kmsKeyArn:FunctionConfiguration'
, functionConfiguration_kmsKeyArn
- The KMS key that's used to encrypt the function's environment
variables. This key is only returned if you've configured a customer
managed CMK.
$sel:packageType:FunctionConfiguration'
, functionConfiguration_packageType
- The type of deployment package. Set to Image
for container image and
set Zip
for .zip file archive.
$sel:fileSystemConfigs:FunctionConfiguration'
, functionConfiguration_fileSystemConfigs
- Connection settings for an
Amazon EFS file system.
$sel:environment:FunctionConfiguration'
, functionConfiguration_environment
- The function's
environment variables.
$sel:deadLetterConfig:FunctionConfiguration'
, functionConfiguration_deadLetterConfig
- The function's dead letter queue.
$sel:architectures:FunctionConfiguration'
, functionConfiguration_architectures
- The instruction set architecture that the function supports.
Architecture is a string array with one of the valid values. The default
architecture value is x86_64
.
$sel:signingJobArn:FunctionConfiguration'
, functionConfiguration_signingJobArn
- The ARN of the signing job.
$sel:role':FunctionConfiguration'
, functionConfiguration_role
- The function's execution role.
$sel:vpcConfig:FunctionConfiguration'
, functionConfiguration_vpcConfig
- The function's networking configuration.
$sel:version:FunctionConfiguration'
, functionConfiguration_version
- The version of the Lambda function.
$sel:functionName:FunctionConfiguration'
, functionConfiguration_functionName
- The name of the function.
$sel:layers:FunctionConfiguration'
, functionConfiguration_layers
- The function's
layers.
$sel:codeSize:FunctionConfiguration'
, functionConfiguration_codeSize
- The size of the function's deployment package, in bytes.
$sel:handler:FunctionConfiguration'
, functionConfiguration_handler
- The function that Lambda calls to begin executing your function.
$sel:timeout:FunctionConfiguration'
, functionConfiguration_timeout
- The amount of time in seconds that Lambda allows a function to run
before stopping it.
$sel:lastUpdateStatusReason:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReason
- The reason for the last update that was performed on the function.
$sel:stateReason:FunctionConfiguration'
, functionConfiguration_stateReason
- The reason for the function's current state.
$sel:lastModified:FunctionConfiguration'
, functionConfiguration_lastModified
- The date and time that the function was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:codeSha256:FunctionConfiguration'
, functionConfiguration_codeSha256
- The SHA256 hash of the function's deployment package.
$sel:tracingConfig:FunctionConfiguration'
, functionConfiguration_tracingConfig
- The function's X-Ray tracing configuration.
$sel:stateReasonCode:FunctionConfiguration'
, functionConfiguration_stateReasonCode
- The reason code for the function's current state. When the code is
Creating
, you can't invoke or modify the function.
$sel:imageConfigResponse:FunctionConfiguration'
, functionConfiguration_imageConfigResponse
- The function's image configuration values.
$sel:description:FunctionConfiguration'
, functionConfiguration_description
- The function's description.
$sel:lastUpdateStatusReasonCode:FunctionConfiguration'
, functionConfiguration_lastUpdateStatusReasonCode
- The reason code for the last update that was performed on the function.
$sel:revisionId:FunctionConfiguration'
, functionConfiguration_revisionId
- The latest updated revision of the function or alias.
$sel:masterArn:FunctionConfiguration'
, functionConfiguration_masterArn
- For Lambda@Edge functions, the ARN of the master function.
functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #
The amount of memory available to the function at runtime.
functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) Source #
The runtime environment for the Lambda function.
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_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The ARN of the signing profile version.
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_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's Amazon Resource Name (ARN).
functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.
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_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) Source #
Connection settings for an Amazon EFS file system.
functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) Source #
The function's environment variables.
functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) Source #
The function's dead letter queue.
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_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The ARN of the signing job.
functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's execution role.
functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) Source #
The function's networking configuration.
functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) Source #
The version of the Lambda function.
functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function.
functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) Source #
The function's layers.
functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #
The size of the function's deployment package, in bytes.
functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) Source #
The function that Lambda calls to begin executing your 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_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) Source #
The reason for the last update that was performed on the function.
functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) Source #
The reason for the function's current state.
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_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #
The SHA256 hash of the function's deployment package.
functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) Source #
The function's X-Ray tracing configuration.
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_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) Source #
The function's image configuration values.
functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) Source #
The function's description.
functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) Source #
The reason code for the last update that was performed on the function.
functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) Source #
The latest updated revision of the function or alias.
functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) Source #
For Lambda@Edge functions, the ARN of the master function.
FunctionEventInvokeConfig
data FunctionEventInvokeConfig Source #
See: newFunctionEventInvokeConfig
smart constructor.
FunctionEventInvokeConfig' | |
|
Instances
newFunctionEventInvokeConfig :: FunctionEventInvokeConfig Source #
Create a value of FunctionEventInvokeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionArn:FunctionEventInvokeConfig'
, functionEventInvokeConfig_functionArn
- The Amazon Resource Name (ARN) of the function.
$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for
processing.
$sel:maximumRetryAttempts:FunctionEventInvokeConfig'
, functionEventInvokeConfig_maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.
$sel:lastModified:FunctionEventInvokeConfig'
, functionEventInvokeConfig_lastModified
- The date and time that the configuration was last updated.
$sel:destinationConfig:FunctionEventInvokeConfig'
, functionEventInvokeConfig_destinationConfig
- A destination for events after they have been sent to a function for
processing.
Destinations
- Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of an SQS queue.
- Topic - The ARN of an SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the function.
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.
functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) Source #
The date and time that the configuration was last updated.
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.
GetLayerVersionResponse
data GetLayerVersionResponse Source #
See: newGetLayerVersionResponse
smart constructor.
GetLayerVersionResponse' | |
|
Instances
newGetLayerVersionResponse :: GetLayerVersionResponse Source #
Create a value of GetLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersionArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerVersionArn
- The ARN of the layer version.
$sel:content:GetLayerVersionResponse'
, getLayerVersionResponse_content
- Details about the layer version.
$sel:createdDate:GetLayerVersionResponse'
, getLayerVersionResponse_createdDate
- The date that the layer version was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:version:GetLayerVersionResponse'
, getLayerVersionResponse_version
- The version number.
$sel:licenseInfo:GetLayerVersionResponse'
, getLayerVersionResponse_licenseInfo
- The layer's software license.
$sel:compatibleArchitectures:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:layerArn:GetLayerVersionResponse'
, getLayerVersionResponse_layerArn
- The ARN of the layer.
$sel:description:GetLayerVersionResponse'
, getLayerVersionResponse_description
- The description of the version.
$sel:compatibleRuntimes:GetLayerVersionResponse'
, getLayerVersionResponse_compatibleRuntimes
- The layer's compatible runtimes.
getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer version.
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_version :: Lens' GetLayerVersionResponse (Maybe Integer) Source #
The version number.
getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The layer's software license.
getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) Source #
A list of compatible instruction set architectures.
getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The ARN of the layer.
getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) Source #
The description of the version.
getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) Source #
The layer's compatible runtimes.
ImageConfig
data ImageConfig Source #
Configuration values that override the container image Dockerfile settings. See Container settings.
See: newImageConfig
smart constructor.
ImageConfig' | |
|
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.
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 GetFunctionConfiguration request.
See: newImageConfigResponse
smart constructor.
ImageConfigResponse' | |
|
Instances
newImageConfigResponse :: ImageConfigResponse Source #
Create a value of ImageConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageConfig:ImageConfigResponse'
, imageConfigResponse_imageConfig
- Configuration values that override the container image Dockerfile.
$sel:error:ImageConfigResponse'
, imageConfigResponse_error
- Error response to GetFunctionConfiguration.
imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) Source #
Configuration values that override the container image Dockerfile.
imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) Source #
Error response to GetFunctionConfiguration.
Layer
An Lambda layer.
See: newLayer
smart constructor.
Layer' | |
|
Instances
Eq Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
Generic Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
Hashable Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer | |
FromJSON Layer Source # | |
type Rep Layer Source # | |
Defined in Amazonka.Lambda.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.Lambda.Types.Layer" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "signingProfileVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "signingJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArn:Layer'
, layer_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
$sel:arn:Layer'
, layer_arn
- The Amazon Resource Name (ARN) of the function layer.
$sel:signingJobArn:Layer'
, layer_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:codeSize:Layer'
, layer_codeSize
- The size of the layer archive in bytes.
layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) Source #
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.
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.
LayerVersionContentInput' | |
|
Instances
newLayerVersionContentInput :: LayerVersionContentInput Source #
Create a value of LayerVersionContentInput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:LayerVersionContentInput'
, layerVersionContentInput_s3ObjectVersion
- For versioned objects, the version of the layer archive object to use.
$sel:s3Key:LayerVersionContentInput'
, layerVersionContentInput_s3Key
- The Amazon S3 key of the layer archive.
$sel:zipFile:LayerVersionContentInput'
, layerVersionContentInput_zipFile
- The base64-encoded contents of the layer archive. Amazon Web Services
SDK and Amazon Web Services CLI clients handle the encoding for you.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:s3Bucket:LayerVersionContentInput'
, layerVersionContentInput_s3Bucket
- The Amazon S3 bucket of the layer archive.
layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) Source #
For versioned objects, the version of the layer archive object to use.
layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) Source #
The Amazon S3 key of the layer archive.
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.
layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) Source #
The Amazon S3 bucket of the layer archive.
LayerVersionContentOutput
data LayerVersionContentOutput Source #
Details about a version of an Lambda layer.
See: newLayerVersionContentOutput
smart constructor.
LayerVersionContentOutput' | |
|
Instances
newLayerVersionContentOutput :: LayerVersionContentOutput Source #
Create a value of LayerVersionContentOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:signingProfileVersionArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingProfileVersionArn
- The Amazon Resource Name (ARN) for a signing profile version.
$sel:location:LayerVersionContentOutput'
, layerVersionContentOutput_location
- A link to the layer archive in Amazon S3 that is valid for 10 minutes.
$sel:signingJobArn:LayerVersionContentOutput'
, layerVersionContentOutput_signingJobArn
- The Amazon Resource Name (ARN) of a signing job.
$sel:codeSize:LayerVersionContentOutput'
, layerVersionContentOutput_codeSize
- The size of the layer archive in bytes.
$sel:codeSha256:LayerVersionContentOutput'
, layerVersionContentOutput_codeSha256
- The SHA-256 hash of the layer archive.
layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) Source #
The Amazon Resource Name (ARN) for a signing profile version.
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_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer) Source #
The size of the layer archive in bytes.
layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text) Source #
The SHA-256 hash of the layer archive.
LayerVersionsListItem
data LayerVersionsListItem Source #
Details about a version of an Lambda layer.
See: newLayerVersionsListItem
smart constructor.
LayerVersionsListItem' | |
|
Instances
newLayerVersionsListItem :: LayerVersionsListItem Source #
Create a value of LayerVersionsListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerVersionArn:LayerVersionsListItem'
, layerVersionsListItem_layerVersionArn
- The ARN of the layer version.
$sel:createdDate:LayerVersionsListItem'
, layerVersionsListItem_createdDate
- The date that the version was created, in ISO 8601 format. For example,
2018-11-27T15:10:45.123+0000
.
$sel:version:LayerVersionsListItem'
, layerVersionsListItem_version
- The version number.
$sel:licenseInfo:LayerVersionsListItem'
, layerVersionsListItem_licenseInfo
- The layer's open-source license.
$sel:compatibleArchitectures:LayerVersionsListItem'
, layerVersionsListItem_compatibleArchitectures
- A list of compatible
instruction set architectures.
$sel:description:LayerVersionsListItem'
, layerVersionsListItem_description
- The description of the version.
$sel:compatibleRuntimes:LayerVersionsListItem'
, layerVersionsListItem_compatibleRuntimes
- The layer's compatible runtimes.
layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text) Source #
The ARN of the layer version.
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_version :: Lens' LayerVersionsListItem (Maybe Integer) Source #
The version number.
layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text) Source #
The layer's open-source license.
layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture]) Source #
A list of compatible instruction set architectures.
layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text) Source #
The description of the version.
layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime]) Source #
The layer's compatible runtimes.
LayersListItem
data LayersListItem Source #
Details about an Lambda layer.
See: newLayersListItem
smart constructor.
LayersListItem' | |
|
Instances
newLayersListItem :: LayersListItem Source #
Create a value of LayersListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerName:LayersListItem'
, layersListItem_layerName
- The name of the layer.
$sel:latestMatchingVersion:LayersListItem'
, layersListItem_latestMatchingVersion
- The newest version of the layer.
$sel:layerArn:LayersListItem'
, layersListItem_layerArn
- The Amazon Resource Name (ARN) of the function layer.
layersListItem_layerName :: Lens' LayersListItem (Maybe Text) Source #
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.
OnFailure
A destination for events that failed processing.
See: newOnFailure
smart constructor.
OnFailure' | |
|
Instances
Eq OnFailure Source # | |
Read OnFailure Source # | |
Show OnFailure Source # | |
Generic OnFailure Source # | |
NFData OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
Hashable OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
ToJSON OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure | |
FromJSON OnFailure Source # | |
type Rep OnFailure Source # | |
Defined in Amazonka.Lambda.Types.OnFailure |
newOnFailure :: OnFailure Source #
Create a value of OnFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnFailure'
, onFailure_destination
- The Amazon Resource Name (ARN) of the destination resource.
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.
OnSuccess' | |
|
Instances
Eq OnSuccess Source # | |
Read OnSuccess Source # | |
Show OnSuccess Source # | |
Generic OnSuccess Source # | |
NFData OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
Hashable OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
ToJSON OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess | |
FromJSON OnSuccess Source # | |
type Rep OnSuccess Source # | |
Defined in Amazonka.Lambda.Types.OnSuccess |
newOnSuccess :: OnSuccess Source #
Create a value of OnSuccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:OnSuccess'
, onSuccess_destination
- The Amazon Resource Name (ARN) of the destination resource.
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.
ProvisionedConcurrencyConfigListItem' | |
|
Instances
newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem Source #
Create a value of ProvisionedConcurrencyConfigListItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_status
- The status of the allocation process.
$sel:functionArn:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_functionArn
- The Amazon Resource Name (ARN) of the alias or version.
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:statusReason:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated.
$sel:lastModified:ProvisionedConcurrencyConfigListItem'
, provisionedConcurrencyConfigListItem_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum) Source #
The status of the allocation process.
provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
The Amazon Resource Name (ARN) of the alias or version.
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) Source #
The amount of provisioned concurrency requested.
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) Source #
The amount of provisioned concurrency available.
provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
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.
provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) Source #
The date and time that a user last updated the configuration, in ISO 8601 format.
SelfManagedEventSource
data SelfManagedEventSource Source #
The self-managed Apache Kafka cluster for your event source.
See: newSelfManagedEventSource
smart constructor.
Instances
newSelfManagedEventSource :: SelfManagedEventSource Source #
Create a value of SelfManagedEventSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpoints:SelfManagedEventSource'
, selfManagedEventSource_endpoints
- The list of bootstrap servers for your Kafka brokers in the following
format:
"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]
.
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"]
.
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.
SourceAccessConfiguration' | |
|
Instances
newSourceAccessConfiguration :: SourceAccessConfiguration Source #
Create a value of SourceAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:uri:SourceAccessConfiguration'
, sourceAccessConfiguration_uri
- The value for your chosen configuration in Type
. For example:
"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"
.
$sel:type':SourceAccessConfiguration'
, sourceAccessConfiguration_type
- The type of authentication protocol, VPC components, or virtual host for
your event source. For example: "Type":"SASL_SCRAM_512_AUTH"
.
BASIC_AUTH
- (Amazon MQ) The Secrets Manager secret that stores your broker credentials.BASIC_AUTH
- (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET
- The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
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"
.
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
- The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP
- The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.SASL_SCRAM_512_AUTH
- The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST
- (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
TracingConfig
data TracingConfig Source #
The function's
X-Ray
tracing configuration. To sample and record incoming requests, set
Mode
to Active
.
See: newTracingConfig
smart constructor.
TracingConfig' | |
|
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.
TracingConfigResponse' | |
|
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 VPC Settings.
See: newVpcConfig
smart constructor.
Instances
Eq VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
Generic VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
Hashable VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
ToJSON VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
type Rep VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Lambda.Types.VpcConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfig'
, vpcConfig_securityGroupIds
- A list of VPC security groups IDs.
$sel:subnetIds:VpcConfig'
, vpcConfig_subnetIds
- A list of VPC subnet IDs.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) Source #
A list of VPC security groups IDs.
VpcConfigResponse
data VpcConfigResponse Source #
The VPC security groups and subnets that are attached to a Lambda function.
See: newVpcConfigResponse
smart constructor.
Instances
newVpcConfigResponse :: VpcConfigResponse Source #
Create a value of VpcConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfigResponse'
, vpcConfigResponse_securityGroupIds
- A list of VPC security groups IDs.
$sel:subnetIds:VpcConfigResponse'
, vpcConfigResponse_subnetIds
- A list of VPC subnet IDs.
$sel:vpcId:VpcConfigResponse'
, vpcConfigResponse_vpcId
- The ID of the VPC.
vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text]) Source #
A list of VPC security groups 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.