-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Lambda SDK. -- -- Derived from API version 2015-03-31 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in Amazonka.Lambda.Lens and are -- suitable for use with a lens package such as lens or -- lens-family-core. -- -- See Amazonka.Lambda and the AWS documentation to get -- started. @package amazonka-lambda @version 2.0 module Amazonka.Lambda.Types.AccountLimit -- | Limits that are related to concurrency and storage. All file and -- storage sizes are in bytes. -- -- See: newAccountLimit smart constructor. data AccountLimit AccountLimit' :: Maybe Integer -> Maybe Integer -> Maybe Int -> Maybe Integer -> Maybe Natural -> AccountLimit -- | The maximum size of a function's deployment package and layers when -- they're extracted. [$sel:codeSizeUnzipped:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum size of a deployment package when it's uploaded directly -- to Lambda. Use Amazon S3 for larger files. [$sel:codeSizeZipped:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum number of simultaneous function executions. [$sel:concurrentExecutions:AccountLimit'] :: AccountLimit -> Maybe Int -- | The amount of storage space that you can use for all deployment -- packages and layer archives. [$sel:totalCodeSize:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum number of simultaneous function executions, minus the -- capacity that's reserved for individual functions with -- PutFunctionConcurrency. [$sel:unreservedConcurrentExecutions:AccountLimit'] :: AccountLimit -> Maybe Natural -- | Create a value of AccountLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSizeUnzipped:AccountLimit', -- accountLimit_codeSizeUnzipped - The maximum size of a -- function's deployment package and layers when they're extracted. -- -- $sel:codeSizeZipped:AccountLimit', -- accountLimit_codeSizeZipped - The maximum size of a deployment -- package when it's uploaded directly to Lambda. Use Amazon S3 for -- larger files. -- -- $sel:concurrentExecutions:AccountLimit', -- accountLimit_concurrentExecutions - The maximum number of -- simultaneous function executions. -- -- $sel:totalCodeSize:AccountLimit', -- accountLimit_totalCodeSize - The amount of storage space that -- you can use for all deployment packages and layer archives. -- -- $sel:unreservedConcurrentExecutions:AccountLimit', -- accountLimit_unreservedConcurrentExecutions - The maximum -- number of simultaneous function executions, minus the capacity that's -- reserved for individual functions with PutFunctionConcurrency. newAccountLimit :: AccountLimit -- | The maximum size of a function's deployment package and layers when -- they're extracted. accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum size of a deployment package when it's uploaded directly -- to Lambda. Use Amazon S3 for larger files. accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions. accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int) -- | The amount of storage space that you can use for all deployment -- packages and layer archives. accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions, minus the -- capacity that's reserved for individual functions with -- PutFunctionConcurrency. accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.Types.AccountLimit.AccountLimit instance GHC.Show.Show Amazonka.Lambda.Types.AccountLimit.AccountLimit instance GHC.Read.Read Amazonka.Lambda.Types.AccountLimit.AccountLimit instance GHC.Classes.Eq Amazonka.Lambda.Types.AccountLimit.AccountLimit instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AccountLimit.AccountLimit instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AccountLimit.AccountLimit instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AccountLimit.AccountLimit module Amazonka.Lambda.Types.AccountUsage -- | The number of functions and amount of storage in use. -- -- See: newAccountUsage smart constructor. data AccountUsage AccountUsage' :: Maybe Integer -> Maybe Integer -> AccountUsage -- | The number of Lambda functions. [$sel:functionCount:AccountUsage'] :: AccountUsage -> Maybe Integer -- | The amount of storage space, in bytes, that's being used by deployment -- packages and layer archives. [$sel:totalCodeSize:AccountUsage'] :: AccountUsage -> Maybe Integer -- | Create a value of AccountUsage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functionCount:AccountUsage', -- accountUsage_functionCount - The number of Lambda functions. -- -- $sel:totalCodeSize:AccountUsage', -- accountUsage_totalCodeSize - The amount of storage space, in -- bytes, that's being used by deployment packages and layer archives. newAccountUsage :: AccountUsage -- | The number of Lambda functions. accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer) -- | The amount of storage space, in bytes, that's being used by deployment -- packages and layer archives. accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) instance GHC.Generics.Generic Amazonka.Lambda.Types.AccountUsage.AccountUsage instance GHC.Show.Show Amazonka.Lambda.Types.AccountUsage.AccountUsage instance GHC.Read.Read Amazonka.Lambda.Types.AccountUsage.AccountUsage instance GHC.Classes.Eq Amazonka.Lambda.Types.AccountUsage.AccountUsage instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AccountUsage.AccountUsage instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AccountUsage.AccountUsage instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AccountUsage.AccountUsage module Amazonka.Lambda.Types.AliasRoutingConfiguration -- | The traffic-shifting configuration of a Lambda function alias. -- -- See: newAliasRoutingConfiguration smart constructor. data AliasRoutingConfiguration AliasRoutingConfiguration' :: Maybe (HashMap Text Double) -> AliasRoutingConfiguration -- | The second version, and the percentage of traffic that's routed to it. [$sel:additionalVersionWeights:AliasRoutingConfiguration'] :: AliasRoutingConfiguration -> Maybe (HashMap Text Double) -- | 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. newAliasRoutingConfiguration :: AliasRoutingConfiguration -- | The second version, and the percentage of traffic that's routed to it. aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double)) instance GHC.Generics.Generic Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance GHC.Show.Show Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance GHC.Read.Read Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance GHC.Classes.Eq Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.AliasRoutingConfiguration.AliasRoutingConfiguration module Amazonka.Lambda.Types.AliasConfiguration -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. [$sel:aliasArn:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A description of the alias. [$sel:description:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The name of the alias. [$sel:name:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A unique identifier that changes when you update the alias. [$sel:revisionId:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:AliasConfiguration'] :: AliasConfiguration -> Maybe AliasRoutingConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) instance GHC.Generics.Generic Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance GHC.Show.Show Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance GHC.Read.Read Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance GHC.Classes.Eq Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AliasConfiguration.AliasConfiguration module Amazonka.Lambda.Types.AllowedPublishers -- | List of signing profiles that can sign a code package. -- -- See: newAllowedPublishers smart constructor. data AllowedPublishers AllowedPublishers' :: NonEmpty Text -> AllowedPublishers -- | The Amazon Resource Name (ARN) for each of the signing profiles. A -- signing profile defines a trusted user who can sign a code package. [$sel:signingProfileVersionArns:AllowedPublishers'] :: AllowedPublishers -> NonEmpty Text -- | 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. newAllowedPublishers :: NonEmpty Text -> AllowedPublishers -- | 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) instance GHC.Generics.Generic Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance GHC.Show.Show Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance GHC.Read.Read Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance GHC.Classes.Eq Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.AllowedPublishers.AllowedPublishers module Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- See: newAmazonManagedKafkaEventSourceConfig smart -- constructor. data AmazonManagedKafkaEventSourceConfig AmazonManagedKafkaEventSourceConfig' :: Maybe Text -> AmazonManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. [$sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig'] :: AmazonManagedKafkaEventSourceConfig -> Maybe Text -- | Create a value of AmazonManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig', -- amazonManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. amazonManagedKafkaEventSourceConfig_consumerGroupId :: Lens' AmazonManagedKafkaEventSourceConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance GHC.Show.Show Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance GHC.Read.Read Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.AmazonManagedKafkaEventSourceConfig.AmazonManagedKafkaEventSourceConfig module Amazonka.Lambda.Types.Architecture newtype Architecture Architecture' :: Text -> Architecture [fromArchitecture] :: Architecture -> Text pattern Architecture_Arm64 :: Architecture pattern Architecture_X86_64 :: Architecture instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.Architecture.Architecture instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.Architecture.Architecture instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.Architecture.Architecture instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.Architecture.Architecture instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.Architecture.Architecture instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.Architecture.Architecture instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Architecture.Architecture instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Architecture.Architecture instance GHC.Generics.Generic Amazonka.Lambda.Types.Architecture.Architecture instance GHC.Classes.Ord Amazonka.Lambda.Types.Architecture.Architecture instance GHC.Classes.Eq Amazonka.Lambda.Types.Architecture.Architecture instance GHC.Read.Read Amazonka.Lambda.Types.Architecture.Architecture instance GHC.Show.Show Amazonka.Lambda.Types.Architecture.Architecture module Amazonka.Lambda.Types.CodeSigningPolicy newtype CodeSigningPolicy CodeSigningPolicy' :: Text -> CodeSigningPolicy [fromCodeSigningPolicy] :: CodeSigningPolicy -> Text pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy pattern CodeSigningPolicy_Warn :: CodeSigningPolicy instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Control.DeepSeq.NFData Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance GHC.Generics.Generic Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance GHC.Classes.Ord Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance GHC.Classes.Eq Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance GHC.Read.Read Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy instance GHC.Show.Show Amazonka.Lambda.Types.CodeSigningPolicy.CodeSigningPolicy module Amazonka.Lambda.Types.CodeSigningPolicies -- | Code signing configuration policies specify the validation -- failure action for signature mismatch or expiry. -- -- See: newCodeSigningPolicies smart constructor. data CodeSigningPolicies CodeSigningPolicies' :: Maybe CodeSigningPolicy -> CodeSigningPolicies -- | 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 [$sel:untrustedArtifactOnDeployment:CodeSigningPolicies'] :: CodeSigningPolicies -> Maybe CodeSigningPolicy -- | 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 newCodeSigningPolicies :: CodeSigningPolicies -- | 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) instance GHC.Generics.Generic Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance GHC.Show.Show Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance GHC.Read.Read Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance GHC.Classes.Eq Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance Control.DeepSeq.NFData Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.CodeSigningPolicies.CodeSigningPolicies module Amazonka.Lambda.Types.CodeSigningConfig -- | Details about a Code signing configuration. -- -- See: newCodeSigningConfig smart constructor. data CodeSigningConfig CodeSigningConfig' :: Maybe Text -> Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig -- | Code signing configuration description. [$sel:description:CodeSigningConfig'] :: CodeSigningConfig -> Maybe Text -- | Unique identifer for the Code signing configuration. [$sel:codeSigningConfigId:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | The Amazon Resource Name (ARN) of the Code signing configuration. [$sel:codeSigningConfigArn:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | List of allowed publishers. [$sel:allowedPublishers:CodeSigningConfig'] :: CodeSigningConfig -> AllowedPublishers -- | The code signing policy controls the validation failure action for -- signature mismatch or expiry. [$sel:codeSigningPolicies:CodeSigningConfig'] :: CodeSigningConfig -> CodeSigningPolicies -- | The date and time that the Code signing configuration was last -- modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | 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). newCodeSigningConfig :: Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig -- | Code signing configuration description. codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text) -- | Unique identifer for the Code signing configuration. codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text -- | The Amazon Resource Name (ARN) of the Code signing configuration. codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text -- | List of allowed publishers. codeSigningConfig_allowedPublishers :: Lens' CodeSigningConfig AllowedPublishers -- | The code signing policy controls the validation failure action for -- signature mismatch or expiry. codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies -- | The date and time that the Code signing configuration was last -- modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text instance GHC.Generics.Generic Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.CodeSigningConfig.CodeSigningConfig module Amazonka.Lambda.Types.Concurrency -- | See: newConcurrency smart constructor. data Concurrency Concurrency' :: Maybe Natural -> Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. [$sel:reservedConcurrentExecutions:Concurrency'] :: Concurrency -> Maybe Natural -- | Create a value of Concurrency with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:reservedConcurrentExecutions:Concurrency', -- concurrency_reservedConcurrentExecutions - The number of -- concurrent executions that are reserved for this function. For more -- information, see Managing Lambda reserved concurrency. newConcurrency :: Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.Types.Concurrency.Concurrency instance GHC.Show.Show Amazonka.Lambda.Types.Concurrency.Concurrency instance GHC.Read.Read Amazonka.Lambda.Types.Concurrency.Concurrency instance GHC.Classes.Eq Amazonka.Lambda.Types.Concurrency.Concurrency instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Concurrency.Concurrency instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Concurrency.Concurrency instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Concurrency.Concurrency module Amazonka.Lambda.Types.Cors -- | The cross-origin resource sharing (CORS) settings for your -- Lambda function URL. Use CORS to grant access to your function URL -- from any origin. You can also use CORS to control access for specific -- HTTP headers and methods in requests to your function URL. -- -- See: newCors smart constructor. data Cors Cors' :: Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Natural -> Cors -- | Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. [$sel:allowCredentials:Cors'] :: Cors -> Maybe Bool -- | The HTTP headers that origins can include in requests to your function -- URL. For example: Date, Keep-Alive, -- X-Custom-Header. [$sel:allowHeaders:Cors'] :: Cors -> Maybe [Text] -- | The HTTP methods that are allowed when calling your function URL. For -- example: GET, POST, DELETE, or the wildcard -- character (*). [$sel:allowMethods:Cors'] :: Cors -> Maybe [Text] -- | The origins that can access your function URL. You can list any number -- of specific origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). [$sel:allowOrigins:Cors'] :: Cors -> Maybe [Text] -- | The HTTP headers in your function response that you want to expose to -- origins that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. [$sel:exposeHeaders:Cors'] :: Cors -> Maybe [Text] -- | The maximum amount of time, in seconds, that web browsers can cache -- results of a preflight request. By default, this is set to 0, -- which means that the browser doesn't cache results. [$sel:maxAge:Cors'] :: Cors -> Maybe Natural -- | Create a value of Cors with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:allowCredentials:Cors', cors_allowCredentials - -- Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. -- -- $sel:allowHeaders:Cors', cors_allowHeaders - The HTTP -- headers that origins can include in requests to your function URL. For -- example: Date, Keep-Alive, X-Custom-Header. -- -- $sel:allowMethods:Cors', cors_allowMethods - The HTTP -- methods that are allowed when calling your function URL. For example: -- GET, POST, DELETE, or the wildcard -- character (*). -- -- $sel:allowOrigins:Cors', cors_allowOrigins - The origins -- that can access your function URL. You can list any number of specific -- origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). -- -- $sel:exposeHeaders:Cors', cors_exposeHeaders - The HTTP -- headers in your function response that you want to expose to origins -- that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. -- -- $sel:maxAge:Cors', cors_maxAge - The maximum amount of -- time, in seconds, that web browsers can cache results of a preflight -- request. By default, this is set to 0, which means that the -- browser doesn't cache results. newCors :: Cors -- | Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. cors_allowCredentials :: Lens' Cors (Maybe Bool) -- | The HTTP headers that origins can include in requests to your function -- URL. For example: Date, Keep-Alive, -- X-Custom-Header. cors_allowHeaders :: Lens' Cors (Maybe [Text]) -- | The HTTP methods that are allowed when calling your function URL. For -- example: GET, POST, DELETE, or the wildcard -- character (*). cors_allowMethods :: Lens' Cors (Maybe [Text]) -- | The origins that can access your function URL. You can list any number -- of specific origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). cors_allowOrigins :: Lens' Cors (Maybe [Text]) -- | The HTTP headers in your function response that you want to expose to -- origins that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. cors_exposeHeaders :: Lens' Cors (Maybe [Text]) -- | The maximum amount of time, in seconds, that web browsers can cache -- results of a preflight request. By default, this is set to 0, -- which means that the browser doesn't cache results. cors_maxAge :: Lens' Cors (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.Types.Cors.Cors instance GHC.Show.Show Amazonka.Lambda.Types.Cors.Cors instance GHC.Read.Read Amazonka.Lambda.Types.Cors.Cors instance GHC.Classes.Eq Amazonka.Lambda.Types.Cors.Cors instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Cors.Cors instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Cors.Cors instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Cors.Cors instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.Cors.Cors module Amazonka.Lambda.Types.DeadLetterConfig -- | The dead-letter queue for failed asynchronous invocations. -- -- See: newDeadLetterConfig smart constructor. data DeadLetterConfig DeadLetterConfig' :: Maybe Text -> DeadLetterConfig -- | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS -- topic. [$sel:targetArn:DeadLetterConfig'] :: DeadLetterConfig -> Maybe Text -- | 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. newDeadLetterConfig :: DeadLetterConfig -- | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS -- topic. deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance GHC.Show.Show Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance GHC.Read.Read Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.DeadLetterConfig.DeadLetterConfig module Amazonka.Lambda.Types.EndPointType newtype EndPointType EndPointType' :: Text -> EndPointType [fromEndPointType] :: EndPointType -> Text pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.EndPointType.EndPointType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.EndPointType.EndPointType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.EndPointType.EndPointType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.EndPointType.EndPointType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.EndPointType.EndPointType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.EndPointType.EndPointType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EndPointType.EndPointType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EndPointType.EndPointType instance GHC.Generics.Generic Amazonka.Lambda.Types.EndPointType.EndPointType instance GHC.Classes.Ord Amazonka.Lambda.Types.EndPointType.EndPointType instance GHC.Classes.Eq Amazonka.Lambda.Types.EndPointType.EndPointType instance GHC.Read.Read Amazonka.Lambda.Types.EndPointType.EndPointType instance GHC.Show.Show Amazonka.Lambda.Types.EndPointType.EndPointType module Amazonka.Lambda.Types.Environment -- | 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. data Environment Environment' :: Maybe (Sensitive (HashMap Text (Sensitive Text))) -> Environment -- | Environment variable key-value pairs. For more information, see -- Using Lambda environment variables. [$sel:variables:Environment'] :: Environment -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -- | 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. newEnvironment :: Environment -- | Environment variable key-value pairs. For more information, see -- Using Lambda environment variables. environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) instance GHC.Generics.Generic Amazonka.Lambda.Types.Environment.Environment instance GHC.Show.Show Amazonka.Lambda.Types.Environment.Environment instance GHC.Classes.Eq Amazonka.Lambda.Types.Environment.Environment instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Environment.Environment instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Environment.Environment instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.Environment.Environment module Amazonka.Lambda.Types.EnvironmentError -- | Error messages for environment variables that couldn't be applied. -- -- See: newEnvironmentError smart constructor. data EnvironmentError EnvironmentError' :: Maybe Text -> Maybe (Sensitive Text) -> EnvironmentError -- | The error code. [$sel:errorCode:EnvironmentError'] :: EnvironmentError -> Maybe Text -- | The error message. [$sel:message:EnvironmentError'] :: EnvironmentError -> Maybe (Sensitive Text) -- | 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. newEnvironmentError :: EnvironmentError -- | The error code. environmentError_errorCode :: Lens' EnvironmentError (Maybe Text) -- | The error message. environmentError_message :: Lens' EnvironmentError (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.EnvironmentError.EnvironmentError instance GHC.Show.Show Amazonka.Lambda.Types.EnvironmentError.EnvironmentError instance GHC.Classes.Eq Amazonka.Lambda.Types.EnvironmentError.EnvironmentError instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EnvironmentError.EnvironmentError instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EnvironmentError.EnvironmentError instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EnvironmentError.EnvironmentError module Amazonka.Lambda.Types.EnvironmentResponse -- | The results of an operation to update or read environment variables. -- If the operation succeeds, the response contains the environment -- variables. If it fails, the response contains details about the error. -- -- See: newEnvironmentResponse smart constructor. data EnvironmentResponse EnvironmentResponse' :: Maybe EnvironmentError -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -> EnvironmentResponse -- | Error messages for environment variables that couldn't be applied. [$sel:error:EnvironmentResponse'] :: EnvironmentResponse -> Maybe EnvironmentError -- | Environment variable key-value pairs. Omitted from CloudTrail logs. [$sel:variables:EnvironmentResponse'] :: EnvironmentResponse -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -- | Create a value of EnvironmentResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:EnvironmentResponse', -- environmentResponse_error - Error messages for environment -- variables that couldn't be applied. -- -- $sel:variables:EnvironmentResponse', -- environmentResponse_variables - Environment variable key-value -- pairs. Omitted from CloudTrail logs. newEnvironmentResponse :: EnvironmentResponse -- | Error messages for environment variables that couldn't be applied. environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) -- | Environment variable key-value pairs. Omitted from CloudTrail logs. environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) instance GHC.Generics.Generic Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse instance GHC.Show.Show Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EnvironmentResponse.EnvironmentResponse module Amazonka.Lambda.Types.EphemeralStorage -- | The size of the function's /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. -- -- See: newEphemeralStorage smart constructor. data EphemeralStorage EphemeralStorage' :: Natural -> EphemeralStorage -- | The size of the function's /tmp directory. [$sel:size:EphemeralStorage'] :: EphemeralStorage -> Natural -- | Create a value of EphemeralStorage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:size:EphemeralStorage', ephemeralStorage_size - The -- size of the function's /tmp directory. newEphemeralStorage :: Natural -> EphemeralStorage -- | The size of the function's /tmp directory. ephemeralStorage_size :: Lens' EphemeralStorage Natural instance GHC.Generics.Generic Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance GHC.Show.Show Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance GHC.Read.Read Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance GHC.Classes.Eq Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.EphemeralStorage.EphemeralStorage module Amazonka.Lambda.Types.EventSourcePosition newtype EventSourcePosition EventSourcePosition' :: Text -> EventSourcePosition [fromEventSourcePosition] :: EventSourcePosition -> Text pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition pattern EventSourcePosition_LATEST :: EventSourcePosition pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance GHC.Generics.Generic Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance GHC.Classes.Ord Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance GHC.Classes.Eq Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance GHC.Read.Read Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition instance GHC.Show.Show Amazonka.Lambda.Types.EventSourcePosition.EventSourcePosition module Amazonka.Lambda.Types.FileSystemConfig -- | Details about the connection between a Lambda function and an -- Amazon EFS file system. -- -- See: newFileSystemConfig smart constructor. data FileSystemConfig FileSystemConfig' :: Text -> Text -> FileSystemConfig -- | The Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. [$sel:arn:FileSystemConfig'] :: FileSystemConfig -> Text -- | The path where the function can access the file system, starting with -- /mnt/. [$sel:localMountPath:FileSystemConfig'] :: FileSystemConfig -> Text -- | 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/. newFileSystemConfig :: Text -> Text -> FileSystemConfig -- | The Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. fileSystemConfig_arn :: Lens' FileSystemConfig Text -- | The path where the function can access the file system, starting with -- /mnt/. fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text instance GHC.Generics.Generic Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance GHC.Show.Show Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance GHC.Read.Read Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FileSystemConfig.FileSystemConfig module Amazonka.Lambda.Types.Filter -- | A structure within a FilterCriteria object that defines an -- event filtering pattern. -- -- See: newFilter smart constructor. data Filter Filter' :: Maybe Text -> Filter -- | A filter pattern. For more information on the syntax of a filter -- pattern, see Filter rule syntax. [$sel:pattern':Filter'] :: Filter -> Maybe Text -- | Create a value of Filter with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pattern':Filter', filter_pattern - A filter -- pattern. For more information on the syntax of a filter pattern, see -- Filter rule syntax. newFilter :: Filter -- | A filter pattern. For more information on the syntax of a filter -- pattern, see Filter rule syntax. filter_pattern :: Lens' Filter (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.Filter.Filter instance GHC.Show.Show Amazonka.Lambda.Types.Filter.Filter instance GHC.Read.Read Amazonka.Lambda.Types.Filter.Filter instance GHC.Classes.Eq Amazonka.Lambda.Types.Filter.Filter instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Filter.Filter instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Filter.Filter instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Filter.Filter instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.Filter.Filter module Amazonka.Lambda.Types.FilterCriteria -- | An object that contains the filters for an event source. -- -- See: newFilterCriteria smart constructor. data FilterCriteria FilterCriteria' :: Maybe [Filter] -> FilterCriteria -- | A list of filters. [$sel:filters:FilterCriteria'] :: FilterCriteria -> Maybe [Filter] -- | Create a value of FilterCriteria with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:filters:FilterCriteria', filterCriteria_filters - A -- list of filters. newFilterCriteria :: FilterCriteria -- | A list of filters. filterCriteria_filters :: Lens' FilterCriteria (Maybe [Filter]) instance GHC.Generics.Generic Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance GHC.Show.Show Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance GHC.Read.Read Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance GHC.Classes.Eq Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FilterCriteria.FilterCriteria instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FilterCriteria.FilterCriteria module Amazonka.Lambda.Types.FunctionCode -- | The code for the Lambda function. You can either specify an object in -- Amazon S3, upload a .zip file archive deployment package directly, or -- specify the URI of a container image. -- -- See: newFunctionCode smart constructor. data FunctionCode FunctionCode' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> FunctionCode -- | URI of a container image in the Amazon ECR registry. [$sel:imageUri:FunctionCode'] :: FunctionCode -> Maybe Text -- | An Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. [$sel:s3Bucket:FunctionCode'] :: FunctionCode -> Maybe Text -- | The Amazon S3 key of the deployment package. [$sel:s3Key:FunctionCode'] :: FunctionCode -> Maybe Text -- | For versioned objects, the version of the deployment package object to -- use. [$sel:s3ObjectVersion:FunctionCode'] :: FunctionCode -> Maybe Text -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you. [$sel:zipFile:FunctionCode'] :: FunctionCode -> Maybe (Sensitive Base64) -- | Create a value of FunctionCode with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCode', functionCode_imageUri - URI -- of a container image in the Amazon ECR registry. -- -- $sel:s3Bucket:FunctionCode', functionCode_s3Bucket - An -- Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. -- -- $sel:s3Key:FunctionCode', functionCode_s3Key - The -- Amazon S3 key of the deployment package. -- -- $sel:s3ObjectVersion:FunctionCode', -- functionCode_s3ObjectVersion - For versioned objects, the -- version of the deployment package object to use. -- -- $sel:zipFile:FunctionCode', functionCode_zipFile - The -- base64-encoded contents of the deployment package. Amazon Web Services -- SDK and CLI clients handle the encoding for you.-- -- Note: -- This Lens automatically encodes and decodes Base64 data. -- -- The underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newFunctionCode :: FunctionCode -- | URI of a container image in the Amazon ECR registry. functionCode_imageUri :: Lens' FunctionCode (Maybe Text) -- | 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_s3Bucket :: Lens' FunctionCode (Maybe Text) -- | The Amazon S3 key of the deployment package. functionCode_s3Key :: Lens' FunctionCode (Maybe Text) -- | For versioned objects, the version of the deployment package object to -- use. functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionCode.FunctionCode instance GHC.Show.Show Amazonka.Lambda.Types.FunctionCode.FunctionCode instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionCode.FunctionCode instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionCode.FunctionCode instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionCode.FunctionCode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FunctionCode.FunctionCode module Amazonka.Lambda.Types.FunctionCodeLocation -- | Details about a function's deployment package. -- -- See: newFunctionCodeLocation smart constructor. data FunctionCodeLocation FunctionCodeLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> FunctionCodeLocation -- | URI of a container image in the Amazon ECR registry. [$sel:imageUri:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | A presigned URL that you can use to download the deployment package. [$sel:location:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | The service that's hosting the file. [$sel:repositoryType:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | The resolved URI for the image. [$sel:resolvedImageUri:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | Create a value of FunctionCodeLocation with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCodeLocation', -- functionCodeLocation_imageUri - URI of a container image in the -- Amazon ECR registry. -- -- $sel:location:FunctionCodeLocation', -- functionCodeLocation_location - A presigned URL that you can -- use to download the deployment package. -- -- $sel:repositoryType:FunctionCodeLocation', -- functionCodeLocation_repositoryType - The service that's -- hosting the file. -- -- $sel:resolvedImageUri:FunctionCodeLocation', -- functionCodeLocation_resolvedImageUri - The resolved URI for -- the image. newFunctionCodeLocation :: FunctionCodeLocation -- | URI of a container image in the Amazon ECR registry. functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) -- | A presigned URL that you can use to download the deployment package. functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) -- | The service that's hosting the file. functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text) -- | The resolved URI for the image. functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance GHC.Show.Show Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance GHC.Read.Read Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionCodeLocation.FunctionCodeLocation module Amazonka.Lambda.Types.FunctionResponseType newtype FunctionResponseType FunctionResponseType' :: Text -> FunctionResponseType [fromFunctionResponseType] :: FunctionResponseType -> Text pattern FunctionResponseType_ReportBatchItemFailures :: FunctionResponseType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance GHC.Classes.Ord Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance GHC.Read.Read Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType instance GHC.Show.Show Amazonka.Lambda.Types.FunctionResponseType.FunctionResponseType module Amazonka.Lambda.Types.FunctionUrlAuthType newtype FunctionUrlAuthType FunctionUrlAuthType' :: Text -> FunctionUrlAuthType [fromFunctionUrlAuthType] :: FunctionUrlAuthType -> Text pattern FunctionUrlAuthType_AWS_IAM :: FunctionUrlAuthType pattern FunctionUrlAuthType_NONE :: FunctionUrlAuthType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance GHC.Classes.Ord Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance GHC.Read.Read Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType instance GHC.Show.Show Amazonka.Lambda.Types.FunctionUrlAuthType.FunctionUrlAuthType module Amazonka.Lambda.Types.FunctionUrlConfig -- | Details about a Lambda function URL. -- -- See: newFunctionUrlConfig smart constructor. data FunctionUrlConfig FunctionUrlConfig' :: Maybe Cors -> Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:FunctionUrlConfig'] :: FunctionUrlConfig -> Maybe Cors -- | The HTTP URL endpoint for your function. [$sel:functionUrl:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | The Amazon Resource Name (ARN) of your function. [$sel:functionArn:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:creationTime:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModifiedTime:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:FunctionUrlConfig'] :: FunctionUrlConfig -> FunctionUrlAuthType -- | Create a value of FunctionUrlConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:cors:FunctionUrlConfig', functionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:functionUrl:FunctionUrlConfig', -- functionUrlConfig_functionUrl - The HTTP URL endpoint for your -- function. -- -- $sel:functionArn:FunctionUrlConfig', -- functionUrlConfig_functionArn - The Amazon Resource Name (ARN) -- of your function. -- -- $sel:creationTime:FunctionUrlConfig', -- functionUrlConfig_creationTime - When the function URL was -- created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastModifiedTime:FunctionUrlConfig', -- functionUrlConfig_lastModifiedTime - When the function URL -- configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:authType:FunctionUrlConfig', -- functionUrlConfig_authType - The type of authentication that -- your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors) -- | The HTTP URL endpoint for your function. functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text -- | The Amazon Resource Name (ARN) of your function. functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance GHC.Show.Show Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance GHC.Read.Read Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionUrlConfig.FunctionUrlConfig module Amazonka.Lambda.Types.FunctionVersion newtype FunctionVersion FunctionVersion' :: Text -> FunctionVersion [fromFunctionVersion] :: FunctionVersion -> Text pattern FunctionVersion_ALL :: FunctionVersion instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance GHC.Classes.Ord Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance GHC.Read.Read Amazonka.Lambda.Types.FunctionVersion.FunctionVersion instance GHC.Show.Show Amazonka.Lambda.Types.FunctionVersion.FunctionVersion module Amazonka.Lambda.Types.ImageConfig -- | Configuration values that override the container image Dockerfile -- settings. For more information, see Container image settings. -- -- See: newImageConfig smart constructor. data ImageConfig ImageConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> ImageConfig -- | Specifies parameters that you want to pass in with ENTRYPOINT. [$sel:command:ImageConfig'] :: ImageConfig -> Maybe [Text] -- | Specifies the entry point to their application, which is typically the -- location of the runtime executable. [$sel:entryPoint:ImageConfig'] :: ImageConfig -> Maybe [Text] -- | Specifies the working directory. [$sel:workingDirectory:ImageConfig'] :: ImageConfig -> Maybe Text -- | 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. newImageConfig :: ImageConfig -- | Specifies parameters that you want to pass in with ENTRYPOINT. imageConfig_command :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the entry point to their application, which is typically the -- location of the runtime executable. imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the working directory. imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.ImageConfig.ImageConfig instance GHC.Show.Show Amazonka.Lambda.Types.ImageConfig.ImageConfig instance GHC.Read.Read Amazonka.Lambda.Types.ImageConfig.ImageConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.ImageConfig.ImageConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.ImageConfig.ImageConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.ImageConfig.ImageConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.ImageConfig.ImageConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.ImageConfig.ImageConfig module Amazonka.Lambda.Types.ImageConfigError -- | Error response to GetFunctionConfiguration. -- -- See: newImageConfigError smart constructor. data ImageConfigError ImageConfigError' :: Maybe Text -> Maybe (Sensitive Text) -> ImageConfigError -- | Error code. [$sel:errorCode:ImageConfigError'] :: ImageConfigError -> Maybe Text -- | Error message. [$sel:message:ImageConfigError'] :: ImageConfigError -> Maybe (Sensitive Text) -- | 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. newImageConfigError :: ImageConfigError -- | Error code. imageConfigError_errorCode :: Lens' ImageConfigError (Maybe Text) -- | Error message. imageConfigError_message :: Lens' ImageConfigError (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.ImageConfigError.ImageConfigError instance GHC.Show.Show Amazonka.Lambda.Types.ImageConfigError.ImageConfigError instance GHC.Classes.Eq Amazonka.Lambda.Types.ImageConfigError.ImageConfigError instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.ImageConfigError.ImageConfigError instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.ImageConfigError.ImageConfigError instance Control.DeepSeq.NFData Amazonka.Lambda.Types.ImageConfigError.ImageConfigError module Amazonka.Lambda.Types.ImageConfigResponse -- | Response to a GetFunctionConfiguration request. -- -- See: newImageConfigResponse smart constructor. data ImageConfigResponse ImageConfigResponse' :: Maybe ImageConfigError -> Maybe ImageConfig -> ImageConfigResponse -- | Error response to GetFunctionConfiguration. [$sel:error:ImageConfigResponse'] :: ImageConfigResponse -> Maybe ImageConfigError -- | Configuration values that override the container image Dockerfile. [$sel:imageConfig:ImageConfigResponse'] :: ImageConfigResponse -> Maybe ImageConfig -- | Create a value of ImageConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:ImageConfigResponse', -- imageConfigResponse_error - Error response to -- GetFunctionConfiguration. -- -- $sel:imageConfig:ImageConfigResponse', -- imageConfigResponse_imageConfig - Configuration values that -- override the container image Dockerfile. newImageConfigResponse :: ImageConfigResponse -- | Error response to GetFunctionConfiguration. imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) -- | Configuration values that override the container image Dockerfile. imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) instance GHC.Generics.Generic Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse instance GHC.Show.Show Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.ImageConfigResponse.ImageConfigResponse module Amazonka.Lambda.Types.InvocationType newtype InvocationType InvocationType' :: Text -> InvocationType [fromInvocationType] :: InvocationType -> Text pattern InvocationType_DryRun :: InvocationType pattern InvocationType_Event :: InvocationType pattern InvocationType_RequestResponse :: InvocationType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.InvocationType.InvocationType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.InvocationType.InvocationType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.InvocationType.InvocationType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.InvocationType.InvocationType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.InvocationType.InvocationType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.InvocationType.InvocationType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.InvocationType.InvocationType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.InvocationType.InvocationType instance GHC.Generics.Generic Amazonka.Lambda.Types.InvocationType.InvocationType instance GHC.Classes.Ord Amazonka.Lambda.Types.InvocationType.InvocationType instance GHC.Classes.Eq Amazonka.Lambda.Types.InvocationType.InvocationType instance GHC.Read.Read Amazonka.Lambda.Types.InvocationType.InvocationType instance GHC.Show.Show Amazonka.Lambda.Types.InvocationType.InvocationType module Amazonka.Lambda.Types.LastUpdateStatus newtype LastUpdateStatus LastUpdateStatus' :: Text -> LastUpdateStatus [fromLastUpdateStatus] :: LastUpdateStatus -> Text pattern LastUpdateStatus_Failed :: LastUpdateStatus pattern LastUpdateStatus_InProgress :: LastUpdateStatus pattern LastUpdateStatus_Successful :: LastUpdateStatus instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance GHC.Generics.Generic Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance GHC.Classes.Ord Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance GHC.Classes.Eq Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance GHC.Read.Read Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus instance GHC.Show.Show Amazonka.Lambda.Types.LastUpdateStatus.LastUpdateStatus module Amazonka.Lambda.Types.LastUpdateStatusReasonCode newtype LastUpdateStatusReasonCode LastUpdateStatusReasonCode' :: Text -> LastUpdateStatusReasonCode [fromLastUpdateStatusReasonCode] :: LastUpdateStatusReasonCode -> Text pattern LastUpdateStatusReasonCode_DisabledKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSIOError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountConnectivityError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountFailure :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountTimeout :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_FunctionError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidRuntime :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidStateKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidZipFileException :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyNotFound :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance GHC.Generics.Generic Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance GHC.Classes.Ord Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance GHC.Classes.Eq Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance GHC.Read.Read Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode instance GHC.Show.Show Amazonka.Lambda.Types.LastUpdateStatusReasonCode.LastUpdateStatusReasonCode module Amazonka.Lambda.Types.Layer -- | An Lambda layer. -- -- See: newLayer smart constructor. data Layer Layer' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Layer -- | The Amazon Resource Name (ARN) of the function layer. [$sel:arn:Layer'] :: Layer -> Maybe Text -- | The size of the layer archive in bytes. [$sel:codeSize:Layer'] :: Layer -> Maybe Integer -- | The Amazon Resource Name (ARN) of a signing job. [$sel:signingJobArn:Layer'] :: Layer -> Maybe Text -- | The Amazon Resource Name (ARN) for a signing profile version. [$sel:signingProfileVersionArn:Layer'] :: Layer -> Maybe Text -- | Create a value of Layer with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Layer', layer_arn - The Amazon Resource Name -- (ARN) of the function layer. -- -- $sel:codeSize:Layer', layer_codeSize - The size of the -- layer archive in bytes. -- -- $sel:signingJobArn:Layer', layer_signingJobArn - The -- Amazon Resource Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:Layer', -- layer_signingProfileVersionArn - The Amazon Resource Name (ARN) -- for a signing profile version. newLayer :: Layer -- | The Amazon Resource Name (ARN) of the function layer. layer_arn :: Lens' Layer (Maybe Text) -- | The size of the layer archive in bytes. layer_codeSize :: Lens' Layer (Maybe Integer) -- | The Amazon Resource Name (ARN) of a signing job. layer_signingJobArn :: Lens' Layer (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.Layer.Layer instance GHC.Show.Show Amazonka.Lambda.Types.Layer.Layer instance GHC.Read.Read Amazonka.Lambda.Types.Layer.Layer instance GHC.Classes.Eq Amazonka.Lambda.Types.Layer.Layer instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Layer.Layer instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Layer.Layer instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Layer.Layer module Amazonka.Lambda.Types.LayerVersionContentInput -- | 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. data LayerVersionContentInput LayerVersionContentInput' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> LayerVersionContentInput -- | The Amazon S3 bucket of the layer archive. [$sel:s3Bucket:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | The Amazon S3 key of the layer archive. [$sel:s3Key:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | For versioned objects, the version of the layer archive object to use. [$sel:s3ObjectVersion:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | The base64-encoded contents of the layer archive. Amazon Web Services -- SDK and Amazon Web Services CLI clients handle the encoding for you. [$sel:zipFile:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe (Sensitive Base64) -- | Create a value of LayerVersionContentInput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:s3Bucket:LayerVersionContentInput', -- layerVersionContentInput_s3Bucket - The Amazon S3 bucket of the -- layer archive. -- -- $sel:s3Key:LayerVersionContentInput', -- layerVersionContentInput_s3Key - The Amazon S3 key of the layer -- archive. -- -- $sel:s3ObjectVersion:LayerVersionContentInput', -- layerVersionContentInput_s3ObjectVersion - For versioned -- objects, the version of the layer archive object to use. -- -- $sel:zipFile:LayerVersionContentInput', -- layerVersionContentInput_zipFile - The base64-encoded contents -- of the layer archive. Amazon Web Services SDK and Amazon Web Services -- CLI clients handle the encoding for you.-- -- Note: This -- Lens automatically encodes and decodes Base64 data. -- The -- underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newLayerVersionContentInput :: LayerVersionContentInput -- | The Amazon S3 bucket of the layer archive. layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) -- | The Amazon S3 key of the layer archive. layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) -- | For versioned objects, the version of the layer archive object to use. layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) -- | 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_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) instance GHC.Generics.Generic Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput instance GHC.Show.Show Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput instance GHC.Classes.Eq Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.LayerVersionContentInput.LayerVersionContentInput module Amazonka.Lambda.Types.LayerVersionContentOutput -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionContentOutput smart constructor. data LayerVersionContentOutput LayerVersionContentOutput' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> LayerVersionContentOutput -- | The SHA-256 hash of the layer archive. [$sel:codeSha256:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The size of the layer archive in bytes. [$sel:codeSize:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Integer -- | A link to the layer archive in Amazon S3 that is valid for 10 minutes. [$sel:location:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The Amazon Resource Name (ARN) of a signing job. [$sel:signingJobArn:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The Amazon Resource Name (ARN) for a signing profile version. [$sel:signingProfileVersionArn:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | Create a value of LayerVersionContentOutput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSha256:LayerVersionContentOutput', -- layerVersionContentOutput_codeSha256 - The SHA-256 hash of the -- layer archive. -- -- $sel:codeSize:LayerVersionContentOutput', -- layerVersionContentOutput_codeSize - The size of the layer -- archive in bytes. -- -- $sel:location:LayerVersionContentOutput', -- layerVersionContentOutput_location - A link to the layer -- archive in Amazon S3 that is valid for 10 minutes. -- -- $sel:signingJobArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingJobArn - The Amazon Resource -- Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingProfileVersionArn - The Amazon -- Resource Name (ARN) for a signing profile version. newLayerVersionContentOutput :: LayerVersionContentOutput -- | The SHA-256 hash of the layer archive. layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text) -- | The size of the layer archive in bytes. layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer) -- | A link to the layer archive in Amazon S3 that is valid for 10 minutes. layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) of a signing job. layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance GHC.Show.Show Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance GHC.Read.Read Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance GHC.Classes.Eq Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LayerVersionContentOutput.LayerVersionContentOutput module Amazonka.Lambda.Types.LogType newtype LogType LogType' :: Text -> LogType [fromLogType] :: LogType -> Text pattern LogType_None :: LogType pattern LogType_Tail :: LogType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.LogType.LogType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.LogType.LogType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.LogType.LogType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.LogType.LogType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.LogType.LogType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.LogType.LogType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LogType.LogType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LogType.LogType instance GHC.Generics.Generic Amazonka.Lambda.Types.LogType.LogType instance GHC.Classes.Ord Amazonka.Lambda.Types.LogType.LogType instance GHC.Classes.Eq Amazonka.Lambda.Types.LogType.LogType instance GHC.Read.Read Amazonka.Lambda.Types.LogType.LogType instance GHC.Show.Show Amazonka.Lambda.Types.LogType.LogType module Amazonka.Lambda.Types.OnFailure -- | A destination for events that failed processing. -- -- See: newOnFailure smart constructor. data OnFailure OnFailure' :: Maybe Text -> OnFailure -- | The Amazon Resource Name (ARN) of the destination resource. [$sel:destination:OnFailure'] :: OnFailure -> Maybe Text -- | 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. newOnFailure :: OnFailure -- | The Amazon Resource Name (ARN) of the destination resource. onFailure_destination :: Lens' OnFailure (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.OnFailure.OnFailure instance GHC.Show.Show Amazonka.Lambda.Types.OnFailure.OnFailure instance GHC.Read.Read Amazonka.Lambda.Types.OnFailure.OnFailure instance GHC.Classes.Eq Amazonka.Lambda.Types.OnFailure.OnFailure instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.OnFailure.OnFailure instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.OnFailure.OnFailure instance Control.DeepSeq.NFData Amazonka.Lambda.Types.OnFailure.OnFailure instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.OnFailure.OnFailure module Amazonka.Lambda.Types.OnSuccess -- | A destination for events that were processed successfully. -- -- See: newOnSuccess smart constructor. data OnSuccess OnSuccess' :: Maybe Text -> OnSuccess -- | The Amazon Resource Name (ARN) of the destination resource. [$sel:destination:OnSuccess'] :: OnSuccess -> Maybe Text -- | 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. newOnSuccess :: OnSuccess -- | The Amazon Resource Name (ARN) of the destination resource. onSuccess_destination :: Lens' OnSuccess (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.OnSuccess.OnSuccess instance GHC.Show.Show Amazonka.Lambda.Types.OnSuccess.OnSuccess instance GHC.Read.Read Amazonka.Lambda.Types.OnSuccess.OnSuccess instance GHC.Classes.Eq Amazonka.Lambda.Types.OnSuccess.OnSuccess instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.OnSuccess.OnSuccess instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.OnSuccess.OnSuccess instance Control.DeepSeq.NFData Amazonka.Lambda.Types.OnSuccess.OnSuccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.OnSuccess.OnSuccess module Amazonka.Lambda.Types.DestinationConfig -- | A configuration object that specifies the destination of an event -- after Lambda processes it. -- -- See: newDestinationConfig smart constructor. data DestinationConfig DestinationConfig' :: Maybe OnFailure -> Maybe OnSuccess -> DestinationConfig -- | The destination configuration for failed invocations. [$sel:onFailure:DestinationConfig'] :: DestinationConfig -> Maybe OnFailure -- | The destination configuration for successful invocations. [$sel:onSuccess:DestinationConfig'] :: DestinationConfig -> Maybe OnSuccess -- | Create a value of DestinationConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:onFailure:DestinationConfig', -- destinationConfig_onFailure - The destination configuration for -- failed invocations. -- -- $sel:onSuccess:DestinationConfig', -- destinationConfig_onSuccess - The destination configuration for -- successful invocations. newDestinationConfig :: DestinationConfig -- | The destination configuration for failed invocations. destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) -- | The destination configuration for successful invocations. destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) instance GHC.Generics.Generic Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance GHC.Show.Show Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance GHC.Read.Read Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.DestinationConfig.DestinationConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.DestinationConfig.DestinationConfig module Amazonka.Lambda.Types.FunctionEventInvokeConfig -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the function. [$sel:functionArn:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Text -- | The date and time that the configuration was last updated. [$sel:lastModified:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe POSIX -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance GHC.Show.Show Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance GHC.Read.Read Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionEventInvokeConfig.FunctionEventInvokeConfig module Amazonka.Lambda.Types.PackageType newtype PackageType PackageType' :: Text -> PackageType [fromPackageType] :: PackageType -> Text pattern PackageType_Image :: PackageType pattern PackageType_Zip :: PackageType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.PackageType.PackageType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.PackageType.PackageType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.PackageType.PackageType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.PackageType.PackageType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.PackageType.PackageType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.PackageType.PackageType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.PackageType.PackageType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.PackageType.PackageType instance GHC.Generics.Generic Amazonka.Lambda.Types.PackageType.PackageType instance GHC.Classes.Ord Amazonka.Lambda.Types.PackageType.PackageType instance GHC.Classes.Eq Amazonka.Lambda.Types.PackageType.PackageType instance GHC.Read.Read Amazonka.Lambda.Types.PackageType.PackageType instance GHC.Show.Show Amazonka.Lambda.Types.PackageType.PackageType module Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum newtype ProvisionedConcurrencyStatusEnum ProvisionedConcurrencyStatusEnum' :: Text -> ProvisionedConcurrencyStatusEnum [fromProvisionedConcurrencyStatusEnum] :: ProvisionedConcurrencyStatusEnum -> Text pattern ProvisionedConcurrencyStatusEnum_FAILED :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_IN_PROGRESS :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_READY :: ProvisionedConcurrencyStatusEnum instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Control.DeepSeq.NFData Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance GHC.Generics.Generic Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance GHC.Classes.Ord Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance GHC.Classes.Eq Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance GHC.Read.Read Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum instance GHC.Show.Show Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum.ProvisionedConcurrencyStatusEnum module Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem -- | Details about the provisioned concurrency configuration for a function -- alias or version. -- -- See: newProvisionedConcurrencyConfigListItem smart -- constructor. data ProvisionedConcurrencyConfigListItem ProvisionedConcurrencyConfigListItem' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> ProvisionedConcurrencyConfigListItem -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. [$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The amount of provisioned concurrency available. [$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The Amazon Resource Name (ARN) of the alias or version. [$sel:functionArn:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. [$sel:lastModified:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | The amount of provisioned concurrency requested. [$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The status of the allocation process. [$sel:status:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe ProvisionedConcurrencyStatusEnum -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. [$sel:statusReason:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | Create a value of ProvisionedConcurrencyConfigListItem with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- -- $sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- $sel:functionArn:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_functionArn - The Amazon -- Resource Name (ARN) of the alias or version. -- -- $sel:lastModified:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- -- $sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- $sel:status:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_status - The status of the -- allocation process. -- -- $sel:statusReason:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_statusReason - For failed -- allocations, the reason that provisioned concurrency could not be -- allocated. newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The amount of provisioned concurrency available. provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The Amazon Resource Name (ARN) of the alias or version. provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The amount of provisioned concurrency requested. provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The status of the allocation process. provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance GHC.Show.Show Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance GHC.Read.Read Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance GHC.Classes.Eq Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem instance Control.DeepSeq.NFData Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem.ProvisionedConcurrencyConfigListItem module Amazonka.Lambda.Types.Runtime newtype Runtime Runtime' :: Text -> Runtime [fromRuntime] :: Runtime -> Text pattern Runtime_Dotnet6 :: Runtime pattern Runtime_Dotnetcore1_0 :: Runtime pattern Runtime_Dotnetcore2_0 :: Runtime pattern Runtime_Dotnetcore2_1 :: Runtime pattern Runtime_Dotnetcore3_1 :: Runtime pattern Runtime_Go1_x :: Runtime pattern Runtime_Java11 :: Runtime pattern Runtime_Java8 :: Runtime pattern Runtime_Java8_al2 :: Runtime pattern Runtime_Nodejs :: Runtime pattern Runtime_Nodejs10_x :: Runtime pattern Runtime_Nodejs12_x :: Runtime pattern Runtime_Nodejs14_x :: Runtime pattern Runtime_Nodejs16_x :: Runtime pattern Runtime_Nodejs18_x :: Runtime pattern Runtime_Nodejs4_3 :: Runtime pattern Runtime_Nodejs4_3_edge :: Runtime pattern Runtime_Nodejs6_10 :: Runtime pattern Runtime_Nodejs8_10 :: Runtime pattern Runtime_Provided :: Runtime pattern Runtime_Provided_al2 :: Runtime pattern Runtime_Python2_7 :: Runtime pattern Runtime_Python3_6 :: Runtime pattern Runtime_Python3_7 :: Runtime pattern Runtime_Python3_8 :: Runtime pattern Runtime_Python3_9 :: Runtime pattern Runtime_Ruby2_5 :: Runtime pattern Runtime_Ruby2_7 :: Runtime instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.Runtime.Runtime instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.Runtime.Runtime instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.Runtime.Runtime instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.Runtime.Runtime instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.Runtime.Runtime instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.Runtime.Runtime instance Control.DeepSeq.NFData Amazonka.Lambda.Types.Runtime.Runtime instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.Runtime.Runtime instance GHC.Generics.Generic Amazonka.Lambda.Types.Runtime.Runtime instance GHC.Classes.Ord Amazonka.Lambda.Types.Runtime.Runtime instance GHC.Classes.Eq Amazonka.Lambda.Types.Runtime.Runtime instance GHC.Read.Read Amazonka.Lambda.Types.Runtime.Runtime instance GHC.Show.Show Amazonka.Lambda.Types.Runtime.Runtime module Amazonka.Lambda.Types.LayerVersionsListItem -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionsListItem smart constructor. data LayerVersionsListItem LayerVersionsListItem' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> LayerVersionsListItem -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe [Runtime] -- | The date that the version was created, in ISO 8601 format. For -- example, 2018-11-27T15:10:45.123+0000. [$sel:createdDate:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The description of the version. [$sel:description:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The layer's open-source license. [$sel:licenseInfo:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The version number. [$sel:version:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Integer -- | Create a value of LayerVersionsListItem with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:LayerVersionsListItem', -- layerVersionsListItem_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:LayerVersionsListItem', -- layerVersionsListItem_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:createdDate:LayerVersionsListItem', -- layerVersionsListItem_createdDate - The date that the version -- was created, in ISO 8601 format. For example, -- 2018-11-27T15:10:45.123+0000. -- -- $sel:description:LayerVersionsListItem', -- layerVersionsListItem_description - The description of the -- version. -- -- $sel:layerVersionArn:LayerVersionsListItem', -- layerVersionsListItem_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:LayerVersionsListItem', -- layerVersionsListItem_licenseInfo - The layer's open-source -- license. -- -- $sel:version:LayerVersionsListItem', -- layerVersionsListItem_version - The version number. newLayerVersionsListItem :: LayerVersionsListItem -- | A list of compatible instruction set architectures. layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture]) -- | The layer's compatible runtimes. layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime]) -- | The date that the version was created, in ISO 8601 format. For -- example, 2018-11-27T15:10:45.123+0000. layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text) -- | The description of the version. layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text) -- | The ARN of the layer version. layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text) -- | The layer's open-source license. layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text) -- | The version number. layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer) instance GHC.Generics.Generic Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance GHC.Show.Show Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance GHC.Read.Read Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance GHC.Classes.Eq Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LayerVersionsListItem.LayerVersionsListItem module Amazonka.Lambda.Types.LayersListItem -- | Details about an Lambda layer. -- -- See: newLayersListItem smart constructor. data LayersListItem LayersListItem' :: Maybe LayerVersionsListItem -> Maybe Text -> Maybe Text -> LayersListItem -- | The newest version of the layer. [$sel:latestMatchingVersion:LayersListItem'] :: LayersListItem -> Maybe LayerVersionsListItem -- | The Amazon Resource Name (ARN) of the function layer. [$sel:layerArn:LayersListItem'] :: LayersListItem -> Maybe Text -- | The name of the layer. [$sel:layerName:LayersListItem'] :: LayersListItem -> Maybe Text -- | Create a value of LayersListItem with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestMatchingVersion:LayersListItem', -- layersListItem_latestMatchingVersion - The newest version of -- the layer. -- -- $sel:layerArn:LayersListItem', layersListItem_layerArn - -- The Amazon Resource Name (ARN) of the function layer. -- -- $sel:layerName:LayersListItem', layersListItem_layerName -- - The name of the layer. newLayersListItem :: LayersListItem -- | The newest version of the layer. layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem) -- | The Amazon Resource Name (ARN) of the function layer. layersListItem_layerArn :: Lens' LayersListItem (Maybe Text) -- | The name of the layer. layersListItem_layerName :: Lens' LayersListItem (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.LayersListItem.LayersListItem instance GHC.Show.Show Amazonka.Lambda.Types.LayersListItem.LayersListItem instance GHC.Read.Read Amazonka.Lambda.Types.LayersListItem.LayersListItem instance GHC.Classes.Eq Amazonka.Lambda.Types.LayersListItem.LayersListItem instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.LayersListItem.LayersListItem instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.LayersListItem.LayersListItem instance Control.DeepSeq.NFData Amazonka.Lambda.Types.LayersListItem.LayersListItem module Amazonka.Lambda.Types.GetLayerVersionResponse -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Runtime] -- | Details about the layer version. [$sel:content:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe LayerVersionContentOutput -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:createdDate:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The description of the version. [$sel:description:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer. [$sel:layerArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The layer's software license. [$sel:licenseInfo:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The version number. [$sel:version:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Integer -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) instance GHC.Generics.Generic Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance GHC.Show.Show Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance GHC.Read.Read Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.GetLayerVersionResponse.GetLayerVersionResponse module Amazonka.Lambda.Types.SelfManagedEventSource -- | The self-managed Apache Kafka cluster for your event source. -- -- See: newSelfManagedEventSource smart constructor. data SelfManagedEventSource SelfManagedEventSource' :: Maybe (HashMap EndPointType (NonEmpty Text)) -> SelfManagedEventSource -- | The list of bootstrap servers for your Kafka brokers in the following -- format: "KAFKA_BOOTSTRAP_SERVERS": -- ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]. [$sel:endpoints:SelfManagedEventSource'] :: SelfManagedEventSource -> Maybe (HashMap EndPointType (NonEmpty Text)) -- | 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"]. newSelfManagedEventSource :: SelfManagedEventSource -- | 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))) instance GHC.Generics.Generic Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance GHC.Show.Show Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance GHC.Read.Read Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance GHC.Classes.Eq Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SelfManagedEventSource.SelfManagedEventSource module Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig -- | Specific configuration settings for a self-managed Apache Kafka event -- source. -- -- See: newSelfManagedKafkaEventSourceConfig smart -- constructor. data SelfManagedKafkaEventSourceConfig SelfManagedKafkaEventSourceConfig' :: Maybe Text -> SelfManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. [$sel:consumerGroupId:SelfManagedKafkaEventSourceConfig'] :: SelfManagedKafkaEventSourceConfig -> Maybe Text -- | Create a value of SelfManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:SelfManagedKafkaEventSourceConfig', -- selfManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. selfManagedKafkaEventSourceConfig_consumerGroupId :: Lens' SelfManagedKafkaEventSourceConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance GHC.Show.Show Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance GHC.Read.Read Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SelfManagedKafkaEventSourceConfig.SelfManagedKafkaEventSourceConfig module Amazonka.Lambda.Types.SnapStartApplyOn newtype SnapStartApplyOn SnapStartApplyOn' :: Text -> SnapStartApplyOn [fromSnapStartApplyOn] :: SnapStartApplyOn -> Text pattern SnapStartApplyOn_None :: SnapStartApplyOn pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance GHC.Generics.Generic Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance GHC.Classes.Ord Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance GHC.Classes.Eq Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance GHC.Read.Read Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn instance GHC.Show.Show Amazonka.Lambda.Types.SnapStartApplyOn.SnapStartApplyOn module Amazonka.Lambda.Types.SnapStart -- | The function's SnapStart setting. Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- See: newSnapStart smart constructor. data SnapStart SnapStart' :: Maybe SnapStartApplyOn -> SnapStart -- | Set to PublishedVersions to create a snapshot of the -- initialized execution environment when you publish a function version. [$sel:applyOn:SnapStart'] :: SnapStart -> Maybe SnapStartApplyOn -- | Create a value of SnapStart with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStart', snapStart_applyOn - Set to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. newSnapStart :: SnapStart -- | Set to PublishedVersions to create a snapshot of the -- initialized execution environment when you publish a function version. snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn) instance GHC.Generics.Generic Amazonka.Lambda.Types.SnapStart.SnapStart instance GHC.Show.Show Amazonka.Lambda.Types.SnapStart.SnapStart instance GHC.Read.Read Amazonka.Lambda.Types.SnapStart.SnapStart instance GHC.Classes.Eq Amazonka.Lambda.Types.SnapStart.SnapStart instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SnapStart.SnapStart instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SnapStart.SnapStart instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SnapStart.SnapStart module Amazonka.Lambda.Types.SnapStartOptimizationStatus newtype SnapStartOptimizationStatus SnapStartOptimizationStatus' :: Text -> SnapStartOptimizationStatus [fromSnapStartOptimizationStatus] :: SnapStartOptimizationStatus -> Text pattern SnapStartOptimizationStatus_Off :: SnapStartOptimizationStatus pattern SnapStartOptimizationStatus_On :: SnapStartOptimizationStatus instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance GHC.Generics.Generic Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance GHC.Classes.Ord Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance GHC.Classes.Eq Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance GHC.Read.Read Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus instance GHC.Show.Show Amazonka.Lambda.Types.SnapStartOptimizationStatus.SnapStartOptimizationStatus module Amazonka.Lambda.Types.SnapStartResponse -- | The function's SnapStart setting. -- -- See: newSnapStartResponse smart constructor. data SnapStartResponse SnapStartResponse' :: Maybe SnapStartApplyOn -> Maybe SnapStartOptimizationStatus -> SnapStartResponse -- | When set to PublishedVersions, Lambda creates a snapshot of -- the execution environment when you publish a function version. [$sel:applyOn:SnapStartResponse'] :: SnapStartResponse -> Maybe SnapStartApplyOn -- | When you provide a qualified Amazon Resource Name (ARN), this -- response element indicates whether SnapStart is activated for the -- specified function version. [$sel:optimizationStatus:SnapStartResponse'] :: SnapStartResponse -> Maybe SnapStartOptimizationStatus -- | Create a value of SnapStartResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStartResponse', -- snapStartResponse_applyOn - When set to -- PublishedVersions, Lambda creates a snapshot of the execution -- environment when you publish a function version. -- -- $sel:optimizationStatus:SnapStartResponse', -- snapStartResponse_optimizationStatus - When you provide a -- qualified Amazon Resource Name (ARN), this response element -- indicates whether SnapStart is activated for the specified function -- version. newSnapStartResponse :: SnapStartResponse -- | When set to PublishedVersions, Lambda creates a snapshot of -- the execution environment when you publish a function version. snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn) -- | When you provide a qualified Amazon Resource Name (ARN), this -- response element indicates whether SnapStart is activated for the -- specified function version. snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus) instance GHC.Generics.Generic Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance GHC.Show.Show Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance GHC.Read.Read Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SnapStartResponse.SnapStartResponse module Amazonka.Lambda.Types.SourceAccessType newtype SourceAccessType SourceAccessType' :: Text -> SourceAccessType [fromSourceAccessType] :: SourceAccessType -> Text pattern SourceAccessType_BASIC_AUTH :: SourceAccessType pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType pattern SourceAccessType_VPC_SUBNET :: SourceAccessType instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance GHC.Generics.Generic Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance GHC.Classes.Ord Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance GHC.Classes.Eq Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance GHC.Read.Read Amazonka.Lambda.Types.SourceAccessType.SourceAccessType instance GHC.Show.Show Amazonka.Lambda.Types.SourceAccessType.SourceAccessType module Amazonka.Lambda.Types.SourceAccessConfiguration -- | To secure and define access to your event source, you can specify the -- authentication protocol, VPC components, or virtual host. -- -- See: newSourceAccessConfiguration smart constructor. data SourceAccessConfiguration SourceAccessConfiguration' :: Maybe SourceAccessType -> Maybe Text -> SourceAccessConfiguration -- | The type of authentication protocol, VPC components, or virtual host -- for your event source. For example: -- "Type":"SASL_SCRAM_512_AUTH". -- -- [$sel:type':SourceAccessConfiguration'] :: SourceAccessConfiguration -> Maybe SourceAccessType -- | The value for your chosen configuration in Type. For example: -- "URI": -- "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". [$sel:uri:SourceAccessConfiguration'] :: SourceAccessConfiguration -> Maybe Text -- | Create a value of SourceAccessConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:type':SourceAccessConfiguration', -- sourceAccessConfiguration_type - The type of authentication -- protocol, VPC components, or virtual host for your event source. For -- example: "Type":"SASL_SCRAM_512_AUTH". -- -- -- -- $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". newSourceAccessConfiguration :: SourceAccessConfiguration -- | The type of authentication protocol, VPC components, or virtual host -- for your event source. For example: -- "Type":"SASL_SCRAM_512_AUTH". -- -- sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType) -- | The value for your chosen configuration in Type. For example: -- "URI": -- "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance GHC.Show.Show Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance GHC.Read.Read Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance GHC.Classes.Eq Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.SourceAccessConfiguration.SourceAccessConfiguration module Amazonka.Lambda.Types.EventSourceMappingConfiguration -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance GHC.Show.Show Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance GHC.Read.Read Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance GHC.Classes.Eq Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.Types.EventSourceMappingConfiguration.EventSourceMappingConfiguration module Amazonka.Lambda.Types.State newtype State State' :: Text -> State [fromState] :: State -> Text pattern State_Active :: State pattern State_Failed :: State pattern State_Inactive :: State pattern State_Pending :: State instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.State.State instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.State.State instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.State.State instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.State.State instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.State.State instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.State.State instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.State.State instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.State.State instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.State.State instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.State.State instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.State.State instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.State.State instance Control.DeepSeq.NFData Amazonka.Lambda.Types.State.State instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.State.State instance GHC.Generics.Generic Amazonka.Lambda.Types.State.State instance GHC.Classes.Ord Amazonka.Lambda.Types.State.State instance GHC.Classes.Eq Amazonka.Lambda.Types.State.State instance GHC.Read.Read Amazonka.Lambda.Types.State.State instance GHC.Show.Show Amazonka.Lambda.Types.State.State module Amazonka.Lambda.Types.StateReasonCode newtype StateReasonCode StateReasonCode' :: Text -> StateReasonCode [fromStateReasonCode] :: StateReasonCode -> Text pattern StateReasonCode_Creating :: StateReasonCode pattern StateReasonCode_DisabledKMSKey :: StateReasonCode pattern StateReasonCode_EFSIOError :: StateReasonCode pattern StateReasonCode_EFSMountConnectivityError :: StateReasonCode pattern StateReasonCode_EFSMountFailure :: StateReasonCode pattern StateReasonCode_EFSMountTimeout :: StateReasonCode pattern StateReasonCode_EniLimitExceeded :: StateReasonCode pattern StateReasonCode_FunctionError :: StateReasonCode pattern StateReasonCode_Idle :: StateReasonCode pattern StateReasonCode_ImageAccessDenied :: StateReasonCode pattern StateReasonCode_ImageDeleted :: StateReasonCode pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode pattern StateReasonCode_InternalError :: StateReasonCode pattern StateReasonCode_InvalidConfiguration :: StateReasonCode pattern StateReasonCode_InvalidImage :: StateReasonCode pattern StateReasonCode_InvalidRuntime :: StateReasonCode pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode pattern StateReasonCode_InvalidStateKMSKey :: StateReasonCode pattern StateReasonCode_InvalidSubnet :: StateReasonCode pattern StateReasonCode_InvalidZipFileException :: StateReasonCode pattern StateReasonCode_KMSKeyAccessDenied :: StateReasonCode pattern StateReasonCode_KMSKeyNotFound :: StateReasonCode pattern StateReasonCode_Restoring :: StateReasonCode pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Control.DeepSeq.NFData Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance GHC.Generics.Generic Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance GHC.Classes.Ord Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance GHC.Classes.Eq Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance GHC.Read.Read Amazonka.Lambda.Types.StateReasonCode.StateReasonCode instance GHC.Show.Show Amazonka.Lambda.Types.StateReasonCode.StateReasonCode module Amazonka.Lambda.Types.TracingMode newtype TracingMode TracingMode' :: Text -> TracingMode [fromTracingMode] :: TracingMode -> Text pattern TracingMode_Active :: TracingMode pattern TracingMode_PassThrough :: TracingMode instance Amazonka.Data.XML.ToXML Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.XML.FromXML Amazonka.Lambda.Types.TracingMode.TracingMode instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Lambda.Types.TracingMode.TracingMode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.TracingMode.TracingMode instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Lambda.Types.TracingMode.TracingMode instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.Headers.ToHeader Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.Log.ToLog Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.ByteString.ToByteString Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.Text.ToText Amazonka.Lambda.Types.TracingMode.TracingMode instance Amazonka.Data.Text.FromText Amazonka.Lambda.Types.TracingMode.TracingMode instance Control.DeepSeq.NFData Amazonka.Lambda.Types.TracingMode.TracingMode instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.TracingMode.TracingMode instance GHC.Generics.Generic Amazonka.Lambda.Types.TracingMode.TracingMode instance GHC.Classes.Ord Amazonka.Lambda.Types.TracingMode.TracingMode instance GHC.Classes.Eq Amazonka.Lambda.Types.TracingMode.TracingMode instance GHC.Read.Read Amazonka.Lambda.Types.TracingMode.TracingMode instance GHC.Show.Show Amazonka.Lambda.Types.TracingMode.TracingMode module Amazonka.Lambda.Types.TracingConfigResponse -- | The function's X-Ray tracing configuration. -- -- See: newTracingConfigResponse smart constructor. data TracingConfigResponse TracingConfigResponse' :: Maybe TracingMode -> TracingConfigResponse -- | The tracing mode. [$sel:mode:TracingConfigResponse'] :: TracingConfigResponse -> Maybe TracingMode -- | 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. newTracingConfigResponse :: TracingConfigResponse -- | The tracing mode. tracingConfigResponse_mode :: Lens' TracingConfigResponse (Maybe TracingMode) instance GHC.Generics.Generic Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance GHC.Show.Show Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance GHC.Read.Read Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.TracingConfigResponse.TracingConfigResponse module Amazonka.Lambda.Types.TracingConfig -- | The function's X-Ray tracing configuration. To sample and -- record incoming requests, set Mode to Active. -- -- See: newTracingConfig smart constructor. data TracingConfig TracingConfig' :: Maybe TracingMode -> TracingConfig -- | The tracing mode. [$sel:mode:TracingConfig'] :: TracingConfig -> Maybe TracingMode -- | 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. newTracingConfig :: TracingConfig -- | The tracing mode. tracingConfig_mode :: Lens' TracingConfig (Maybe TracingMode) instance GHC.Generics.Generic Amazonka.Lambda.Types.TracingConfig.TracingConfig instance GHC.Show.Show Amazonka.Lambda.Types.TracingConfig.TracingConfig instance GHC.Read.Read Amazonka.Lambda.Types.TracingConfig.TracingConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.TracingConfig.TracingConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.TracingConfig.TracingConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.TracingConfig.TracingConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.TracingConfig.TracingConfig module Amazonka.Lambda.Types.VpcConfig -- | The VPC security groups and subnets that are attached to a Lambda -- function. For more information, see Configuring a Lambda function -- to access resources in a VPC. -- -- See: newVpcConfig smart constructor. data VpcConfig VpcConfig' :: Maybe [Text] -> Maybe [Text] -> VpcConfig -- | A list of VPC security group IDs. [$sel:securityGroupIds:VpcConfig'] :: VpcConfig -> Maybe [Text] -- | A list of VPC subnet IDs. [$sel:subnetIds:VpcConfig'] :: VpcConfig -> Maybe [Text] -- | Create a value of VpcConfig with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfig', -- vpcConfig_securityGroupIds - A list of VPC security group IDs. -- -- $sel:subnetIds:VpcConfig', vpcConfig_subnetIds - A list -- of VPC subnet IDs. newVpcConfig :: VpcConfig -- | A list of VPC security group IDs. vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text]) instance GHC.Generics.Generic Amazonka.Lambda.Types.VpcConfig.VpcConfig instance GHC.Show.Show Amazonka.Lambda.Types.VpcConfig.VpcConfig instance GHC.Read.Read Amazonka.Lambda.Types.VpcConfig.VpcConfig instance GHC.Classes.Eq Amazonka.Lambda.Types.VpcConfig.VpcConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.VpcConfig.VpcConfig instance Control.DeepSeq.NFData Amazonka.Lambda.Types.VpcConfig.VpcConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.Types.VpcConfig.VpcConfig module Amazonka.Lambda.Types.VpcConfigResponse -- | The VPC security groups and subnets that are attached to a Lambda -- function. -- -- See: newVpcConfigResponse smart constructor. data VpcConfigResponse VpcConfigResponse' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse -- | A list of VPC security group IDs. [$sel:securityGroupIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text] -- | A list of VPC subnet IDs. [$sel:subnetIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text] -- | The ID of the VPC. [$sel:vpcId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text -- | Create a value of VpcConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfigResponse', -- vpcConfigResponse_securityGroupIds - A list of VPC security -- group IDs. -- -- $sel:subnetIds:VpcConfigResponse', -- vpcConfigResponse_subnetIds - A list of VPC subnet IDs. -- -- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId - -- The ID of the VPC. newVpcConfigResponse :: VpcConfigResponse -- | A list of VPC security group IDs. vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | The ID of the VPC. vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance GHC.Show.Show Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance GHC.Read.Read Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse instance Control.DeepSeq.NFData Amazonka.Lambda.Types.VpcConfigResponse.VpcConfigResponse module Amazonka.Lambda.Types.FunctionConfiguration -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration instance GHC.Show.Show Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration instance GHC.Classes.Eq Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.Types.FunctionConfiguration.FunctionConfiguration module Amazonka.Lambda.Types -- | API version 2015-03-31 of the Amazon Lambda SDK -- configuration. defaultService :: Service -- | The specified code signing configuration does not exist. _CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError -- | Your Amazon Web Services account has exceeded its maximum total code -- size. For more information, see Lambda quotas. _CodeStorageExceededException :: AsError a => Fold a ServiceError -- | 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. _CodeVerificationFailedException :: AsError a => Fold a ServiceError -- | Need additional permissions to configure VPC settings. _EC2AccessDeniedException :: AsError a => Fold a ServiceError -- | Amazon EC2 throttled Lambda during Lambda function initialization -- using the execution role provided for the function. _EC2ThrottledException :: AsError a => Fold a ServiceError -- | Lambda received an unexpected Amazon EC2 client exception while -- setting up for the Lambda function. _EC2UnexpectedException :: AsError a => Fold a ServiceError -- | An error occurred when reading from or writing to a connected file -- system. _EFSIOException :: AsError a => Fold a ServiceError -- | The Lambda function couldn't make a network connection to the -- configured file system. _EFSMountConnectivityException :: AsError a => Fold a ServiceError -- | The Lambda function couldn't mount the configured file system due to a -- permission or configuration issue. _EFSMountFailureException :: AsError a => Fold a ServiceError -- | The Lambda function made a network connection to the configured file -- system, but the mount operation timed out. _EFSMountTimeoutException :: AsError a => Fold a ServiceError -- | Lambda couldn't create an elastic network interface in the VPC, -- specified as part of Lambda function configuration, because the limit -- for network interfaces has been reached. For more information, see -- Lambda quotas. _ENILimitReachedException :: AsError a => Fold a ServiceError -- | The code signature failed the integrity check. If the integrity check -- fails, then Lambda blocks deployment, even if the code signing policy -- is set to WARN. _InvalidCodeSignatureException :: AsError a => Fold a ServiceError -- | One of the parameters in the request is not valid. _InvalidParameterValueException :: AsError a => Fold a ServiceError -- | The request body could not be parsed as JSON. _InvalidRequestContentException :: AsError a => Fold a ServiceError -- | The runtime or runtime version specified is not supported. _InvalidRuntimeException :: AsError a => Fold a ServiceError -- | The security group ID provided in the Lambda function VPC -- configuration is not valid. _InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError -- | The subnet ID provided in the Lambda function VPC configuration is not -- valid. _InvalidSubnetIDException :: AsError a => Fold a ServiceError -- | Lambda could not unzip the deployment package. _InvalidZipFileException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because KMS access -- was denied. Check the Lambda function's KMS permissions. _KMSAccessDeniedException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the KMS key -- used is disabled. Check the Lambda function's KMS key settings. _KMSDisabledException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the state of -- the KMS key used is not valid for Decrypt. Check the function's KMS -- key settings. _KMSInvalidStateException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the KMS key -- was not found. Check the function's KMS key settings. _KMSNotFoundException :: AsError a => Fold a ServiceError -- | The permissions policy for the resource is too large. For more -- information, see Lambda quotas. _PolicyLengthExceededException :: AsError a => Fold a ServiceError -- | The RevisionId provided does not match the latest RevisionId for the -- Lambda function or alias. Call the GetFunction or the -- GetAlias API operation to retrieve the latest RevisionId for -- your resource. _PreconditionFailedException :: AsError a => Fold a ServiceError -- | The specified configuration does not exist. _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError -- | The request payload exceeded the Invoke request body JSON -- input quota. For more information, see Lambda quotas. _RequestTooLargeException :: AsError a => Fold a ServiceError -- | The resource already exists, or another operation is in progress. _ResourceConflictException :: AsError a => Fold a ServiceError -- | The operation conflicts with the resource's availability. For example, -- you tried to update an event source mapping in the CREATING state, or -- you tried to delete an event source mapping currently UPDATING. _ResourceInUseException :: AsError a => Fold a ServiceError -- | The resource specified in the request does not exist. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The function is inactive and its VPC connection is no longer -- available. Wait for the VPC connection to reestablish and try again. _ResourceNotReadyException :: AsError a => Fold a ServiceError -- | The Lambda service encountered an internal error. _ServiceException :: AsError a => Fold a ServiceError -- | The runtime restore hook encountered an error. For more information, -- check the Amazon CloudWatch logs. _SnapStartException :: AsError a => Fold a ServiceError -- | Lambda is initializing your function. You can invoke the function when -- the function state becomes Active. _SnapStartNotReadyException :: AsError a => Fold a ServiceError -- | The runtime restore hook failed to complete within the timeout limit -- (2 seconds). _SnapStartTimeoutException :: AsError a => Fold a ServiceError -- | Lambda couldn't set up VPC access for the Lambda function because one -- or more configured subnets has no available IP addresses. _SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError -- | The request throughput limit was exceeded. For more information, see -- Lambda quotas. _TooManyRequestsException :: AsError a => Fold a ServiceError -- | The content type of the Invoke request body is not JSON. _UnsupportedMediaTypeException :: AsError a => Fold a ServiceError newtype Architecture Architecture' :: Text -> Architecture [fromArchitecture] :: Architecture -> Text pattern Architecture_Arm64 :: Architecture pattern Architecture_X86_64 :: Architecture newtype CodeSigningPolicy CodeSigningPolicy' :: Text -> CodeSigningPolicy [fromCodeSigningPolicy] :: CodeSigningPolicy -> Text pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy pattern CodeSigningPolicy_Warn :: CodeSigningPolicy newtype EndPointType EndPointType' :: Text -> EndPointType [fromEndPointType] :: EndPointType -> Text pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType newtype EventSourcePosition EventSourcePosition' :: Text -> EventSourcePosition [fromEventSourcePosition] :: EventSourcePosition -> Text pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition pattern EventSourcePosition_LATEST :: EventSourcePosition pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition newtype FunctionResponseType FunctionResponseType' :: Text -> FunctionResponseType [fromFunctionResponseType] :: FunctionResponseType -> Text pattern FunctionResponseType_ReportBatchItemFailures :: FunctionResponseType newtype FunctionUrlAuthType FunctionUrlAuthType' :: Text -> FunctionUrlAuthType [fromFunctionUrlAuthType] :: FunctionUrlAuthType -> Text pattern FunctionUrlAuthType_AWS_IAM :: FunctionUrlAuthType pattern FunctionUrlAuthType_NONE :: FunctionUrlAuthType newtype FunctionVersion FunctionVersion' :: Text -> FunctionVersion [fromFunctionVersion] :: FunctionVersion -> Text pattern FunctionVersion_ALL :: FunctionVersion newtype InvocationType InvocationType' :: Text -> InvocationType [fromInvocationType] :: InvocationType -> Text pattern InvocationType_DryRun :: InvocationType pattern InvocationType_Event :: InvocationType pattern InvocationType_RequestResponse :: InvocationType newtype LastUpdateStatus LastUpdateStatus' :: Text -> LastUpdateStatus [fromLastUpdateStatus] :: LastUpdateStatus -> Text pattern LastUpdateStatus_Failed :: LastUpdateStatus pattern LastUpdateStatus_InProgress :: LastUpdateStatus pattern LastUpdateStatus_Successful :: LastUpdateStatus newtype LastUpdateStatusReasonCode LastUpdateStatusReasonCode' :: Text -> LastUpdateStatusReasonCode [fromLastUpdateStatusReasonCode] :: LastUpdateStatusReasonCode -> Text pattern LastUpdateStatusReasonCode_DisabledKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSIOError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountConnectivityError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountFailure :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountTimeout :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_FunctionError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidRuntime :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidStateKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidZipFileException :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyNotFound :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode newtype LogType LogType' :: Text -> LogType [fromLogType] :: LogType -> Text pattern LogType_None :: LogType pattern LogType_Tail :: LogType newtype PackageType PackageType' :: Text -> PackageType [fromPackageType] :: PackageType -> Text pattern PackageType_Image :: PackageType pattern PackageType_Zip :: PackageType newtype ProvisionedConcurrencyStatusEnum ProvisionedConcurrencyStatusEnum' :: Text -> ProvisionedConcurrencyStatusEnum [fromProvisionedConcurrencyStatusEnum] :: ProvisionedConcurrencyStatusEnum -> Text pattern ProvisionedConcurrencyStatusEnum_FAILED :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_IN_PROGRESS :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_READY :: ProvisionedConcurrencyStatusEnum newtype Runtime Runtime' :: Text -> Runtime [fromRuntime] :: Runtime -> Text pattern Runtime_Dotnet6 :: Runtime pattern Runtime_Dotnetcore1_0 :: Runtime pattern Runtime_Dotnetcore2_0 :: Runtime pattern Runtime_Dotnetcore2_1 :: Runtime pattern Runtime_Dotnetcore3_1 :: Runtime pattern Runtime_Go1_x :: Runtime pattern Runtime_Java11 :: Runtime pattern Runtime_Java8 :: Runtime pattern Runtime_Java8_al2 :: Runtime pattern Runtime_Nodejs :: Runtime pattern Runtime_Nodejs10_x :: Runtime pattern Runtime_Nodejs12_x :: Runtime pattern Runtime_Nodejs14_x :: Runtime pattern Runtime_Nodejs16_x :: Runtime pattern Runtime_Nodejs18_x :: Runtime pattern Runtime_Nodejs4_3 :: Runtime pattern Runtime_Nodejs4_3_edge :: Runtime pattern Runtime_Nodejs6_10 :: Runtime pattern Runtime_Nodejs8_10 :: Runtime pattern Runtime_Provided :: Runtime pattern Runtime_Provided_al2 :: Runtime pattern Runtime_Python2_7 :: Runtime pattern Runtime_Python3_6 :: Runtime pattern Runtime_Python3_7 :: Runtime pattern Runtime_Python3_8 :: Runtime pattern Runtime_Python3_9 :: Runtime pattern Runtime_Ruby2_5 :: Runtime pattern Runtime_Ruby2_7 :: Runtime newtype SnapStartApplyOn SnapStartApplyOn' :: Text -> SnapStartApplyOn [fromSnapStartApplyOn] :: SnapStartApplyOn -> Text pattern SnapStartApplyOn_None :: SnapStartApplyOn pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn newtype SnapStartOptimizationStatus SnapStartOptimizationStatus' :: Text -> SnapStartOptimizationStatus [fromSnapStartOptimizationStatus] :: SnapStartOptimizationStatus -> Text pattern SnapStartOptimizationStatus_Off :: SnapStartOptimizationStatus pattern SnapStartOptimizationStatus_On :: SnapStartOptimizationStatus newtype SourceAccessType SourceAccessType' :: Text -> SourceAccessType [fromSourceAccessType] :: SourceAccessType -> Text pattern SourceAccessType_BASIC_AUTH :: SourceAccessType pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType pattern SourceAccessType_VPC_SUBNET :: SourceAccessType newtype State State' :: Text -> State [fromState] :: State -> Text pattern State_Active :: State pattern State_Failed :: State pattern State_Inactive :: State pattern State_Pending :: State newtype StateReasonCode StateReasonCode' :: Text -> StateReasonCode [fromStateReasonCode] :: StateReasonCode -> Text pattern StateReasonCode_Creating :: StateReasonCode pattern StateReasonCode_DisabledKMSKey :: StateReasonCode pattern StateReasonCode_EFSIOError :: StateReasonCode pattern StateReasonCode_EFSMountConnectivityError :: StateReasonCode pattern StateReasonCode_EFSMountFailure :: StateReasonCode pattern StateReasonCode_EFSMountTimeout :: StateReasonCode pattern StateReasonCode_EniLimitExceeded :: StateReasonCode pattern StateReasonCode_FunctionError :: StateReasonCode pattern StateReasonCode_Idle :: StateReasonCode pattern StateReasonCode_ImageAccessDenied :: StateReasonCode pattern StateReasonCode_ImageDeleted :: StateReasonCode pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode pattern StateReasonCode_InternalError :: StateReasonCode pattern StateReasonCode_InvalidConfiguration :: StateReasonCode pattern StateReasonCode_InvalidImage :: StateReasonCode pattern StateReasonCode_InvalidRuntime :: StateReasonCode pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode pattern StateReasonCode_InvalidStateKMSKey :: StateReasonCode pattern StateReasonCode_InvalidSubnet :: StateReasonCode pattern StateReasonCode_InvalidZipFileException :: StateReasonCode pattern StateReasonCode_KMSKeyAccessDenied :: StateReasonCode pattern StateReasonCode_KMSKeyNotFound :: StateReasonCode pattern StateReasonCode_Restoring :: StateReasonCode pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode newtype TracingMode TracingMode' :: Text -> TracingMode [fromTracingMode] :: TracingMode -> Text pattern TracingMode_Active :: TracingMode pattern TracingMode_PassThrough :: TracingMode -- | Limits that are related to concurrency and storage. All file and -- storage sizes are in bytes. -- -- See: newAccountLimit smart constructor. data AccountLimit AccountLimit' :: Maybe Integer -> Maybe Integer -> Maybe Int -> Maybe Integer -> Maybe Natural -> AccountLimit -- | The maximum size of a function's deployment package and layers when -- they're extracted. [$sel:codeSizeUnzipped:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum size of a deployment package when it's uploaded directly -- to Lambda. Use Amazon S3 for larger files. [$sel:codeSizeZipped:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum number of simultaneous function executions. [$sel:concurrentExecutions:AccountLimit'] :: AccountLimit -> Maybe Int -- | The amount of storage space that you can use for all deployment -- packages and layer archives. [$sel:totalCodeSize:AccountLimit'] :: AccountLimit -> Maybe Integer -- | The maximum number of simultaneous function executions, minus the -- capacity that's reserved for individual functions with -- PutFunctionConcurrency. [$sel:unreservedConcurrentExecutions:AccountLimit'] :: AccountLimit -> Maybe Natural -- | Create a value of AccountLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSizeUnzipped:AccountLimit', -- accountLimit_codeSizeUnzipped - The maximum size of a -- function's deployment package and layers when they're extracted. -- -- $sel:codeSizeZipped:AccountLimit', -- accountLimit_codeSizeZipped - The maximum size of a deployment -- package when it's uploaded directly to Lambda. Use Amazon S3 for -- larger files. -- -- $sel:concurrentExecutions:AccountLimit', -- accountLimit_concurrentExecutions - The maximum number of -- simultaneous function executions. -- -- $sel:totalCodeSize:AccountLimit', -- accountLimit_totalCodeSize - The amount of storage space that -- you can use for all deployment packages and layer archives. -- -- $sel:unreservedConcurrentExecutions:AccountLimit', -- accountLimit_unreservedConcurrentExecutions - The maximum -- number of simultaneous function executions, minus the capacity that's -- reserved for individual functions with PutFunctionConcurrency. newAccountLimit :: AccountLimit -- | The maximum size of a function's deployment package and layers when -- they're extracted. accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum size of a deployment package when it's uploaded directly -- to Lambda. Use Amazon S3 for larger files. accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions. accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int) -- | The amount of storage space that you can use for all deployment -- packages and layer archives. accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions, minus the -- capacity that's reserved for individual functions with -- PutFunctionConcurrency. accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) -- | The number of functions and amount of storage in use. -- -- See: newAccountUsage smart constructor. data AccountUsage AccountUsage' :: Maybe Integer -> Maybe Integer -> AccountUsage -- | The number of Lambda functions. [$sel:functionCount:AccountUsage'] :: AccountUsage -> Maybe Integer -- | The amount of storage space, in bytes, that's being used by deployment -- packages and layer archives. [$sel:totalCodeSize:AccountUsage'] :: AccountUsage -> Maybe Integer -- | Create a value of AccountUsage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functionCount:AccountUsage', -- accountUsage_functionCount - The number of Lambda functions. -- -- $sel:totalCodeSize:AccountUsage', -- accountUsage_totalCodeSize - The amount of storage space, in -- bytes, that's being used by deployment packages and layer archives. newAccountUsage :: AccountUsage -- | The number of Lambda functions. accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer) -- | The amount of storage space, in bytes, that's being used by deployment -- packages and layer archives. accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. [$sel:aliasArn:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A description of the alias. [$sel:description:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The name of the alias. [$sel:name:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A unique identifier that changes when you update the alias. [$sel:revisionId:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:AliasConfiguration'] :: AliasConfiguration -> Maybe AliasRoutingConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) -- | The traffic-shifting configuration of a Lambda function alias. -- -- See: newAliasRoutingConfiguration smart constructor. data AliasRoutingConfiguration AliasRoutingConfiguration' :: Maybe (HashMap Text Double) -> AliasRoutingConfiguration -- | The second version, and the percentage of traffic that's routed to it. [$sel:additionalVersionWeights:AliasRoutingConfiguration'] :: AliasRoutingConfiguration -> Maybe (HashMap Text Double) -- | 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. newAliasRoutingConfiguration :: AliasRoutingConfiguration -- | The second version, and the percentage of traffic that's routed to it. aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double)) -- | List of signing profiles that can sign a code package. -- -- See: newAllowedPublishers smart constructor. data AllowedPublishers AllowedPublishers' :: NonEmpty Text -> AllowedPublishers -- | The Amazon Resource Name (ARN) for each of the signing profiles. A -- signing profile defines a trusted user who can sign a code package. [$sel:signingProfileVersionArns:AllowedPublishers'] :: AllowedPublishers -> NonEmpty Text -- | 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. newAllowedPublishers :: NonEmpty Text -> AllowedPublishers -- | 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) -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- See: newAmazonManagedKafkaEventSourceConfig smart -- constructor. data AmazonManagedKafkaEventSourceConfig AmazonManagedKafkaEventSourceConfig' :: Maybe Text -> AmazonManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. [$sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig'] :: AmazonManagedKafkaEventSourceConfig -> Maybe Text -- | Create a value of AmazonManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig', -- amazonManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. amazonManagedKafkaEventSourceConfig_consumerGroupId :: Lens' AmazonManagedKafkaEventSourceConfig (Maybe Text) -- | Details about a Code signing configuration. -- -- See: newCodeSigningConfig smart constructor. data CodeSigningConfig CodeSigningConfig' :: Maybe Text -> Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig -- | Code signing configuration description. [$sel:description:CodeSigningConfig'] :: CodeSigningConfig -> Maybe Text -- | Unique identifer for the Code signing configuration. [$sel:codeSigningConfigId:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | The Amazon Resource Name (ARN) of the Code signing configuration. [$sel:codeSigningConfigArn:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | List of allowed publishers. [$sel:allowedPublishers:CodeSigningConfig'] :: CodeSigningConfig -> AllowedPublishers -- | The code signing policy controls the validation failure action for -- signature mismatch or expiry. [$sel:codeSigningPolicies:CodeSigningConfig'] :: CodeSigningConfig -> CodeSigningPolicies -- | The date and time that the Code signing configuration was last -- modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:CodeSigningConfig'] :: CodeSigningConfig -> Text -- | 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). newCodeSigningConfig :: Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig -- | Code signing configuration description. codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text) -- | Unique identifer for the Code signing configuration. codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text -- | The Amazon Resource Name (ARN) of the Code signing configuration. codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text -- | List of allowed publishers. codeSigningConfig_allowedPublishers :: Lens' CodeSigningConfig AllowedPublishers -- | The code signing policy controls the validation failure action for -- signature mismatch or expiry. codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies -- | The date and time that the Code signing configuration was last -- modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text -- | Code signing configuration policies specify the validation -- failure action for signature mismatch or expiry. -- -- See: newCodeSigningPolicies smart constructor. data CodeSigningPolicies CodeSigningPolicies' :: Maybe CodeSigningPolicy -> CodeSigningPolicies -- | 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 [$sel:untrustedArtifactOnDeployment:CodeSigningPolicies'] :: CodeSigningPolicies -> Maybe CodeSigningPolicy -- | 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 newCodeSigningPolicies :: CodeSigningPolicies -- | 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) -- | See: newConcurrency smart constructor. data Concurrency Concurrency' :: Maybe Natural -> Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. [$sel:reservedConcurrentExecutions:Concurrency'] :: Concurrency -> Maybe Natural -- | Create a value of Concurrency with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:reservedConcurrentExecutions:Concurrency', -- concurrency_reservedConcurrentExecutions - The number of -- concurrent executions that are reserved for this function. For more -- information, see Managing Lambda reserved concurrency. newConcurrency :: Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) -- | The cross-origin resource sharing (CORS) settings for your -- Lambda function URL. Use CORS to grant access to your function URL -- from any origin. You can also use CORS to control access for specific -- HTTP headers and methods in requests to your function URL. -- -- See: newCors smart constructor. data Cors Cors' :: Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Natural -> Cors -- | Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. [$sel:allowCredentials:Cors'] :: Cors -> Maybe Bool -- | The HTTP headers that origins can include in requests to your function -- URL. For example: Date, Keep-Alive, -- X-Custom-Header. [$sel:allowHeaders:Cors'] :: Cors -> Maybe [Text] -- | The HTTP methods that are allowed when calling your function URL. For -- example: GET, POST, DELETE, or the wildcard -- character (*). [$sel:allowMethods:Cors'] :: Cors -> Maybe [Text] -- | The origins that can access your function URL. You can list any number -- of specific origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). [$sel:allowOrigins:Cors'] :: Cors -> Maybe [Text] -- | The HTTP headers in your function response that you want to expose to -- origins that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. [$sel:exposeHeaders:Cors'] :: Cors -> Maybe [Text] -- | The maximum amount of time, in seconds, that web browsers can cache -- results of a preflight request. By default, this is set to 0, -- which means that the browser doesn't cache results. [$sel:maxAge:Cors'] :: Cors -> Maybe Natural -- | Create a value of Cors with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:allowCredentials:Cors', cors_allowCredentials - -- Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. -- -- $sel:allowHeaders:Cors', cors_allowHeaders - The HTTP -- headers that origins can include in requests to your function URL. For -- example: Date, Keep-Alive, X-Custom-Header. -- -- $sel:allowMethods:Cors', cors_allowMethods - The HTTP -- methods that are allowed when calling your function URL. For example: -- GET, POST, DELETE, or the wildcard -- character (*). -- -- $sel:allowOrigins:Cors', cors_allowOrigins - The origins -- that can access your function URL. You can list any number of specific -- origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). -- -- $sel:exposeHeaders:Cors', cors_exposeHeaders - The HTTP -- headers in your function response that you want to expose to origins -- that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. -- -- $sel:maxAge:Cors', cors_maxAge - The maximum amount of -- time, in seconds, that web browsers can cache results of a preflight -- request. By default, this is set to 0, which means that the -- browser doesn't cache results. newCors :: Cors -- | Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. cors_allowCredentials :: Lens' Cors (Maybe Bool) -- | The HTTP headers that origins can include in requests to your function -- URL. For example: Date, Keep-Alive, -- X-Custom-Header. cors_allowHeaders :: Lens' Cors (Maybe [Text]) -- | The HTTP methods that are allowed when calling your function URL. For -- example: GET, POST, DELETE, or the wildcard -- character (*). cors_allowMethods :: Lens' Cors (Maybe [Text]) -- | The origins that can access your function URL. You can list any number -- of specific origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). cors_allowOrigins :: Lens' Cors (Maybe [Text]) -- | The HTTP headers in your function response that you want to expose to -- origins that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. cors_exposeHeaders :: Lens' Cors (Maybe [Text]) -- | The maximum amount of time, in seconds, that web browsers can cache -- results of a preflight request. By default, this is set to 0, -- which means that the browser doesn't cache results. cors_maxAge :: Lens' Cors (Maybe Natural) -- | The dead-letter queue for failed asynchronous invocations. -- -- See: newDeadLetterConfig smart constructor. data DeadLetterConfig DeadLetterConfig' :: Maybe Text -> DeadLetterConfig -- | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS -- topic. [$sel:targetArn:DeadLetterConfig'] :: DeadLetterConfig -> Maybe Text -- | 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. newDeadLetterConfig :: DeadLetterConfig -- | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS -- topic. deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text) -- | A configuration object that specifies the destination of an event -- after Lambda processes it. -- -- See: newDestinationConfig smart constructor. data DestinationConfig DestinationConfig' :: Maybe OnFailure -> Maybe OnSuccess -> DestinationConfig -- | The destination configuration for failed invocations. [$sel:onFailure:DestinationConfig'] :: DestinationConfig -> Maybe OnFailure -- | The destination configuration for successful invocations. [$sel:onSuccess:DestinationConfig'] :: DestinationConfig -> Maybe OnSuccess -- | Create a value of DestinationConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:onFailure:DestinationConfig', -- destinationConfig_onFailure - The destination configuration for -- failed invocations. -- -- $sel:onSuccess:DestinationConfig', -- destinationConfig_onSuccess - The destination configuration for -- successful invocations. newDestinationConfig :: DestinationConfig -- | The destination configuration for failed invocations. destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) -- | The destination configuration for successful invocations. destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) -- | 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. data Environment Environment' :: Maybe (Sensitive (HashMap Text (Sensitive Text))) -> Environment -- | Environment variable key-value pairs. For more information, see -- Using Lambda environment variables. [$sel:variables:Environment'] :: Environment -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -- | 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. newEnvironment :: Environment -- | Environment variable key-value pairs. For more information, see -- Using Lambda environment variables. environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) -- | Error messages for environment variables that couldn't be applied. -- -- See: newEnvironmentError smart constructor. data EnvironmentError EnvironmentError' :: Maybe Text -> Maybe (Sensitive Text) -> EnvironmentError -- | The error code. [$sel:errorCode:EnvironmentError'] :: EnvironmentError -> Maybe Text -- | The error message. [$sel:message:EnvironmentError'] :: EnvironmentError -> Maybe (Sensitive Text) -- | 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. newEnvironmentError :: EnvironmentError -- | The error code. environmentError_errorCode :: Lens' EnvironmentError (Maybe Text) -- | The error message. environmentError_message :: Lens' EnvironmentError (Maybe Text) -- | The results of an operation to update or read environment variables. -- If the operation succeeds, the response contains the environment -- variables. If it fails, the response contains details about the error. -- -- See: newEnvironmentResponse smart constructor. data EnvironmentResponse EnvironmentResponse' :: Maybe EnvironmentError -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -> EnvironmentResponse -- | Error messages for environment variables that couldn't be applied. [$sel:error:EnvironmentResponse'] :: EnvironmentResponse -> Maybe EnvironmentError -- | Environment variable key-value pairs. Omitted from CloudTrail logs. [$sel:variables:EnvironmentResponse'] :: EnvironmentResponse -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -- | Create a value of EnvironmentResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:EnvironmentResponse', -- environmentResponse_error - Error messages for environment -- variables that couldn't be applied. -- -- $sel:variables:EnvironmentResponse', -- environmentResponse_variables - Environment variable key-value -- pairs. Omitted from CloudTrail logs. newEnvironmentResponse :: EnvironmentResponse -- | Error messages for environment variables that couldn't be applied. environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) -- | Environment variable key-value pairs. Omitted from CloudTrail logs. environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) -- | The size of the function's /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. -- -- See: newEphemeralStorage smart constructor. data EphemeralStorage EphemeralStorage' :: Natural -> EphemeralStorage -- | The size of the function's /tmp directory. [$sel:size:EphemeralStorage'] :: EphemeralStorage -> Natural -- | Create a value of EphemeralStorage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:size:EphemeralStorage', ephemeralStorage_size - The -- size of the function's /tmp directory. newEphemeralStorage :: Natural -> EphemeralStorage -- | The size of the function's /tmp directory. ephemeralStorage_size :: Lens' EphemeralStorage Natural -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Details about the connection between a Lambda function and an -- Amazon EFS file system. -- -- See: newFileSystemConfig smart constructor. data FileSystemConfig FileSystemConfig' :: Text -> Text -> FileSystemConfig -- | The Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. [$sel:arn:FileSystemConfig'] :: FileSystemConfig -> Text -- | The path where the function can access the file system, starting with -- /mnt/. [$sel:localMountPath:FileSystemConfig'] :: FileSystemConfig -> Text -- | 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/. newFileSystemConfig :: Text -> Text -> FileSystemConfig -- | The Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. fileSystemConfig_arn :: Lens' FileSystemConfig Text -- | The path where the function can access the file system, starting with -- /mnt/. fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text -- | A structure within a FilterCriteria object that defines an -- event filtering pattern. -- -- See: newFilter smart constructor. data Filter Filter' :: Maybe Text -> Filter -- | A filter pattern. For more information on the syntax of a filter -- pattern, see Filter rule syntax. [$sel:pattern':Filter'] :: Filter -> Maybe Text -- | Create a value of Filter with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pattern':Filter', filter_pattern - A filter -- pattern. For more information on the syntax of a filter pattern, see -- Filter rule syntax. newFilter :: Filter -- | A filter pattern. For more information on the syntax of a filter -- pattern, see Filter rule syntax. filter_pattern :: Lens' Filter (Maybe Text) -- | An object that contains the filters for an event source. -- -- See: newFilterCriteria smart constructor. data FilterCriteria FilterCriteria' :: Maybe [Filter] -> FilterCriteria -- | A list of filters. [$sel:filters:FilterCriteria'] :: FilterCriteria -> Maybe [Filter] -- | Create a value of FilterCriteria with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:filters:FilterCriteria', filterCriteria_filters - A -- list of filters. newFilterCriteria :: FilterCriteria -- | A list of filters. filterCriteria_filters :: Lens' FilterCriteria (Maybe [Filter]) -- | The code for the Lambda function. You can either specify an object in -- Amazon S3, upload a .zip file archive deployment package directly, or -- specify the URI of a container image. -- -- See: newFunctionCode smart constructor. data FunctionCode FunctionCode' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> FunctionCode -- | URI of a container image in the Amazon ECR registry. [$sel:imageUri:FunctionCode'] :: FunctionCode -> Maybe Text -- | An Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. [$sel:s3Bucket:FunctionCode'] :: FunctionCode -> Maybe Text -- | The Amazon S3 key of the deployment package. [$sel:s3Key:FunctionCode'] :: FunctionCode -> Maybe Text -- | For versioned objects, the version of the deployment package object to -- use. [$sel:s3ObjectVersion:FunctionCode'] :: FunctionCode -> Maybe Text -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you. [$sel:zipFile:FunctionCode'] :: FunctionCode -> Maybe (Sensitive Base64) -- | Create a value of FunctionCode with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCode', functionCode_imageUri - URI -- of a container image in the Amazon ECR registry. -- -- $sel:s3Bucket:FunctionCode', functionCode_s3Bucket - An -- Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. -- -- $sel:s3Key:FunctionCode', functionCode_s3Key - The -- Amazon S3 key of the deployment package. -- -- $sel:s3ObjectVersion:FunctionCode', -- functionCode_s3ObjectVersion - For versioned objects, the -- version of the deployment package object to use. -- -- $sel:zipFile:FunctionCode', functionCode_zipFile - The -- base64-encoded contents of the deployment package. Amazon Web Services -- SDK and CLI clients handle the encoding for you.-- -- Note: -- This Lens automatically encodes and decodes Base64 data. -- -- The underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newFunctionCode :: FunctionCode -- | URI of a container image in the Amazon ECR registry. functionCode_imageUri :: Lens' FunctionCode (Maybe Text) -- | 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_s3Bucket :: Lens' FunctionCode (Maybe Text) -- | The Amazon S3 key of the deployment package. functionCode_s3Key :: Lens' FunctionCode (Maybe Text) -- | For versioned objects, the version of the deployment package object to -- use. functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) -- | Details about a function's deployment package. -- -- See: newFunctionCodeLocation smart constructor. data FunctionCodeLocation FunctionCodeLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> FunctionCodeLocation -- | URI of a container image in the Amazon ECR registry. [$sel:imageUri:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | A presigned URL that you can use to download the deployment package. [$sel:location:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | The service that's hosting the file. [$sel:repositoryType:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | The resolved URI for the image. [$sel:resolvedImageUri:FunctionCodeLocation'] :: FunctionCodeLocation -> Maybe Text -- | Create a value of FunctionCodeLocation with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCodeLocation', -- functionCodeLocation_imageUri - URI of a container image in the -- Amazon ECR registry. -- -- $sel:location:FunctionCodeLocation', -- functionCodeLocation_location - A presigned URL that you can -- use to download the deployment package. -- -- $sel:repositoryType:FunctionCodeLocation', -- functionCodeLocation_repositoryType - The service that's -- hosting the file. -- -- $sel:resolvedImageUri:FunctionCodeLocation', -- functionCodeLocation_resolvedImageUri - The resolved URI for -- the image. newFunctionCodeLocation :: FunctionCodeLocation -- | URI of a container image in the Amazon ECR registry. functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) -- | A presigned URL that you can use to download the deployment package. functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) -- | The service that's hosting the file. functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text) -- | The resolved URI for the image. functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text) -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the function. [$sel:functionArn:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Text -- | The date and time that the configuration was last updated. [$sel:lastModified:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe POSIX -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | Details about a Lambda function URL. -- -- See: newFunctionUrlConfig smart constructor. data FunctionUrlConfig FunctionUrlConfig' :: Maybe Cors -> Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:FunctionUrlConfig'] :: FunctionUrlConfig -> Maybe Cors -- | The HTTP URL endpoint for your function. [$sel:functionUrl:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | The Amazon Resource Name (ARN) of your function. [$sel:functionArn:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:creationTime:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModifiedTime:FunctionUrlConfig'] :: FunctionUrlConfig -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:FunctionUrlConfig'] :: FunctionUrlConfig -> FunctionUrlAuthType -- | Create a value of FunctionUrlConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:cors:FunctionUrlConfig', functionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:functionUrl:FunctionUrlConfig', -- functionUrlConfig_functionUrl - The HTTP URL endpoint for your -- function. -- -- $sel:functionArn:FunctionUrlConfig', -- functionUrlConfig_functionArn - The Amazon Resource Name (ARN) -- of your function. -- -- $sel:creationTime:FunctionUrlConfig', -- functionUrlConfig_creationTime - When the function URL was -- created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastModifiedTime:FunctionUrlConfig', -- functionUrlConfig_lastModifiedTime - When the function URL -- configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:authType:FunctionUrlConfig', -- functionUrlConfig_authType - The type of authentication that -- your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors) -- | The HTTP URL endpoint for your function. functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text -- | The Amazon Resource Name (ARN) of your function. functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Runtime] -- | Details about the layer version. [$sel:content:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe LayerVersionContentOutput -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:createdDate:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The description of the version. [$sel:description:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer. [$sel:layerArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The layer's software license. [$sel:licenseInfo:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The version number. [$sel:version:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Integer -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) -- | Configuration values that override the container image Dockerfile -- settings. For more information, see Container image settings. -- -- See: newImageConfig smart constructor. data ImageConfig ImageConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> ImageConfig -- | Specifies parameters that you want to pass in with ENTRYPOINT. [$sel:command:ImageConfig'] :: ImageConfig -> Maybe [Text] -- | Specifies the entry point to their application, which is typically the -- location of the runtime executable. [$sel:entryPoint:ImageConfig'] :: ImageConfig -> Maybe [Text] -- | Specifies the working directory. [$sel:workingDirectory:ImageConfig'] :: ImageConfig -> Maybe Text -- | 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. newImageConfig :: ImageConfig -- | Specifies parameters that you want to pass in with ENTRYPOINT. imageConfig_command :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the entry point to their application, which is typically the -- location of the runtime executable. imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the working directory. imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text) -- | Error response to GetFunctionConfiguration. -- -- See: newImageConfigError smart constructor. data ImageConfigError ImageConfigError' :: Maybe Text -> Maybe (Sensitive Text) -> ImageConfigError -- | Error code. [$sel:errorCode:ImageConfigError'] :: ImageConfigError -> Maybe Text -- | Error message. [$sel:message:ImageConfigError'] :: ImageConfigError -> Maybe (Sensitive Text) -- | 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. newImageConfigError :: ImageConfigError -- | Error code. imageConfigError_errorCode :: Lens' ImageConfigError (Maybe Text) -- | Error message. imageConfigError_message :: Lens' ImageConfigError (Maybe Text) -- | Response to a GetFunctionConfiguration request. -- -- See: newImageConfigResponse smart constructor. data ImageConfigResponse ImageConfigResponse' :: Maybe ImageConfigError -> Maybe ImageConfig -> ImageConfigResponse -- | Error response to GetFunctionConfiguration. [$sel:error:ImageConfigResponse'] :: ImageConfigResponse -> Maybe ImageConfigError -- | Configuration values that override the container image Dockerfile. [$sel:imageConfig:ImageConfigResponse'] :: ImageConfigResponse -> Maybe ImageConfig -- | Create a value of ImageConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:ImageConfigResponse', -- imageConfigResponse_error - Error response to -- GetFunctionConfiguration. -- -- $sel:imageConfig:ImageConfigResponse', -- imageConfigResponse_imageConfig - Configuration values that -- override the container image Dockerfile. newImageConfigResponse :: ImageConfigResponse -- | Error response to GetFunctionConfiguration. imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) -- | Configuration values that override the container image Dockerfile. imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) -- | An Lambda layer. -- -- See: newLayer smart constructor. data Layer Layer' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Layer -- | The Amazon Resource Name (ARN) of the function layer. [$sel:arn:Layer'] :: Layer -> Maybe Text -- | The size of the layer archive in bytes. [$sel:codeSize:Layer'] :: Layer -> Maybe Integer -- | The Amazon Resource Name (ARN) of a signing job. [$sel:signingJobArn:Layer'] :: Layer -> Maybe Text -- | The Amazon Resource Name (ARN) for a signing profile version. [$sel:signingProfileVersionArn:Layer'] :: Layer -> Maybe Text -- | Create a value of Layer with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Layer', layer_arn - The Amazon Resource Name -- (ARN) of the function layer. -- -- $sel:codeSize:Layer', layer_codeSize - The size of the -- layer archive in bytes. -- -- $sel:signingJobArn:Layer', layer_signingJobArn - The -- Amazon Resource Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:Layer', -- layer_signingProfileVersionArn - The Amazon Resource Name (ARN) -- for a signing profile version. newLayer :: Layer -- | The Amazon Resource Name (ARN) of the function layer. layer_arn :: Lens' Layer (Maybe Text) -- | The size of the layer archive in bytes. layer_codeSize :: Lens' Layer (Maybe Integer) -- | The Amazon Resource Name (ARN) of a signing job. layer_signingJobArn :: Lens' Layer (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) -- | 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. data LayerVersionContentInput LayerVersionContentInput' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> LayerVersionContentInput -- | The Amazon S3 bucket of the layer archive. [$sel:s3Bucket:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | The Amazon S3 key of the layer archive. [$sel:s3Key:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | For versioned objects, the version of the layer archive object to use. [$sel:s3ObjectVersion:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe Text -- | The base64-encoded contents of the layer archive. Amazon Web Services -- SDK and Amazon Web Services CLI clients handle the encoding for you. [$sel:zipFile:LayerVersionContentInput'] :: LayerVersionContentInput -> Maybe (Sensitive Base64) -- | Create a value of LayerVersionContentInput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:s3Bucket:LayerVersionContentInput', -- layerVersionContentInput_s3Bucket - The Amazon S3 bucket of the -- layer archive. -- -- $sel:s3Key:LayerVersionContentInput', -- layerVersionContentInput_s3Key - The Amazon S3 key of the layer -- archive. -- -- $sel:s3ObjectVersion:LayerVersionContentInput', -- layerVersionContentInput_s3ObjectVersion - For versioned -- objects, the version of the layer archive object to use. -- -- $sel:zipFile:LayerVersionContentInput', -- layerVersionContentInput_zipFile - The base64-encoded contents -- of the layer archive. Amazon Web Services SDK and Amazon Web Services -- CLI clients handle the encoding for you.-- -- Note: This -- Lens automatically encodes and decodes Base64 data. -- The -- underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newLayerVersionContentInput :: LayerVersionContentInput -- | The Amazon S3 bucket of the layer archive. layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) -- | The Amazon S3 key of the layer archive. layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) -- | For versioned objects, the version of the layer archive object to use. layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) -- | 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_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionContentOutput smart constructor. data LayerVersionContentOutput LayerVersionContentOutput' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> LayerVersionContentOutput -- | The SHA-256 hash of the layer archive. [$sel:codeSha256:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The size of the layer archive in bytes. [$sel:codeSize:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Integer -- | A link to the layer archive in Amazon S3 that is valid for 10 minutes. [$sel:location:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The Amazon Resource Name (ARN) of a signing job. [$sel:signingJobArn:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | The Amazon Resource Name (ARN) for a signing profile version. [$sel:signingProfileVersionArn:LayerVersionContentOutput'] :: LayerVersionContentOutput -> Maybe Text -- | Create a value of LayerVersionContentOutput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSha256:LayerVersionContentOutput', -- layerVersionContentOutput_codeSha256 - The SHA-256 hash of the -- layer archive. -- -- $sel:codeSize:LayerVersionContentOutput', -- layerVersionContentOutput_codeSize - The size of the layer -- archive in bytes. -- -- $sel:location:LayerVersionContentOutput', -- layerVersionContentOutput_location - A link to the layer -- archive in Amazon S3 that is valid for 10 minutes. -- -- $sel:signingJobArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingJobArn - The Amazon Resource -- Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingProfileVersionArn - The Amazon -- Resource Name (ARN) for a signing profile version. newLayerVersionContentOutput :: LayerVersionContentOutput -- | The SHA-256 hash of the layer archive. layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text) -- | The size of the layer archive in bytes. layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer) -- | A link to the layer archive in Amazon S3 that is valid for 10 minutes. layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) of a signing job. layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionsListItem smart constructor. data LayerVersionsListItem LayerVersionsListItem' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> LayerVersionsListItem -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe [Runtime] -- | The date that the version was created, in ISO 8601 format. For -- example, 2018-11-27T15:10:45.123+0000. [$sel:createdDate:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The description of the version. [$sel:description:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The layer's open-source license. [$sel:licenseInfo:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Text -- | The version number. [$sel:version:LayerVersionsListItem'] :: LayerVersionsListItem -> Maybe Integer -- | Create a value of LayerVersionsListItem with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:LayerVersionsListItem', -- layerVersionsListItem_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:LayerVersionsListItem', -- layerVersionsListItem_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:createdDate:LayerVersionsListItem', -- layerVersionsListItem_createdDate - The date that the version -- was created, in ISO 8601 format. For example, -- 2018-11-27T15:10:45.123+0000. -- -- $sel:description:LayerVersionsListItem', -- layerVersionsListItem_description - The description of the -- version. -- -- $sel:layerVersionArn:LayerVersionsListItem', -- layerVersionsListItem_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:LayerVersionsListItem', -- layerVersionsListItem_licenseInfo - The layer's open-source -- license. -- -- $sel:version:LayerVersionsListItem', -- layerVersionsListItem_version - The version number. newLayerVersionsListItem :: LayerVersionsListItem -- | A list of compatible instruction set architectures. layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture]) -- | The layer's compatible runtimes. layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime]) -- | The date that the version was created, in ISO 8601 format. For -- example, 2018-11-27T15:10:45.123+0000. layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text) -- | The description of the version. layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text) -- | The ARN of the layer version. layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text) -- | The layer's open-source license. layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text) -- | The version number. layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer) -- | Details about an Lambda layer. -- -- See: newLayersListItem smart constructor. data LayersListItem LayersListItem' :: Maybe LayerVersionsListItem -> Maybe Text -> Maybe Text -> LayersListItem -- | The newest version of the layer. [$sel:latestMatchingVersion:LayersListItem'] :: LayersListItem -> Maybe LayerVersionsListItem -- | The Amazon Resource Name (ARN) of the function layer. [$sel:layerArn:LayersListItem'] :: LayersListItem -> Maybe Text -- | The name of the layer. [$sel:layerName:LayersListItem'] :: LayersListItem -> Maybe Text -- | Create a value of LayersListItem with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestMatchingVersion:LayersListItem', -- layersListItem_latestMatchingVersion - The newest version of -- the layer. -- -- $sel:layerArn:LayersListItem', layersListItem_layerArn - -- The Amazon Resource Name (ARN) of the function layer. -- -- $sel:layerName:LayersListItem', layersListItem_layerName -- - The name of the layer. newLayersListItem :: LayersListItem -- | The newest version of the layer. layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem) -- | The Amazon Resource Name (ARN) of the function layer. layersListItem_layerArn :: Lens' LayersListItem (Maybe Text) -- | The name of the layer. layersListItem_layerName :: Lens' LayersListItem (Maybe Text) -- | A destination for events that failed processing. -- -- See: newOnFailure smart constructor. data OnFailure OnFailure' :: Maybe Text -> OnFailure -- | The Amazon Resource Name (ARN) of the destination resource. [$sel:destination:OnFailure'] :: OnFailure -> Maybe Text -- | 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. newOnFailure :: OnFailure -- | The Amazon Resource Name (ARN) of the destination resource. onFailure_destination :: Lens' OnFailure (Maybe Text) -- | A destination for events that were processed successfully. -- -- See: newOnSuccess smart constructor. data OnSuccess OnSuccess' :: Maybe Text -> OnSuccess -- | The Amazon Resource Name (ARN) of the destination resource. [$sel:destination:OnSuccess'] :: OnSuccess -> Maybe Text -- | 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. newOnSuccess :: OnSuccess -- | The Amazon Resource Name (ARN) of the destination resource. onSuccess_destination :: Lens' OnSuccess (Maybe Text) -- | Details about the provisioned concurrency configuration for a function -- alias or version. -- -- See: newProvisionedConcurrencyConfigListItem smart -- constructor. data ProvisionedConcurrencyConfigListItem ProvisionedConcurrencyConfigListItem' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> ProvisionedConcurrencyConfigListItem -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. [$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The amount of provisioned concurrency available. [$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The Amazon Resource Name (ARN) of the alias or version. [$sel:functionArn:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. [$sel:lastModified:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | The amount of provisioned concurrency requested. [$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Natural -- | The status of the allocation process. [$sel:status:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe ProvisionedConcurrencyStatusEnum -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. [$sel:statusReason:ProvisionedConcurrencyConfigListItem'] :: ProvisionedConcurrencyConfigListItem -> Maybe Text -- | Create a value of ProvisionedConcurrencyConfigListItem with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- -- $sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- $sel:functionArn:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_functionArn - The Amazon -- Resource Name (ARN) of the alias or version. -- -- $sel:lastModified:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- -- $sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- $sel:status:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_status - The status of the -- allocation process. -- -- $sel:statusReason:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_statusReason - For failed -- allocations, the reason that provisioned concurrency could not be -- allocated. newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The amount of provisioned concurrency available. provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The Amazon Resource Name (ARN) of the alias or version. provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The amount of provisioned concurrency requested. provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The status of the allocation process. provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The self-managed Apache Kafka cluster for your event source. -- -- See: newSelfManagedEventSource smart constructor. data SelfManagedEventSource SelfManagedEventSource' :: Maybe (HashMap EndPointType (NonEmpty Text)) -> SelfManagedEventSource -- | The list of bootstrap servers for your Kafka brokers in the following -- format: "KAFKA_BOOTSTRAP_SERVERS": -- ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]. [$sel:endpoints:SelfManagedEventSource'] :: SelfManagedEventSource -> Maybe (HashMap EndPointType (NonEmpty Text)) -- | 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"]. newSelfManagedEventSource :: SelfManagedEventSource -- | 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))) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. -- -- See: newSelfManagedKafkaEventSourceConfig smart -- constructor. data SelfManagedKafkaEventSourceConfig SelfManagedKafkaEventSourceConfig' :: Maybe Text -> SelfManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. [$sel:consumerGroupId:SelfManagedKafkaEventSourceConfig'] :: SelfManagedKafkaEventSourceConfig -> Maybe Text -- | Create a value of SelfManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:SelfManagedKafkaEventSourceConfig', -- selfManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. selfManagedKafkaEventSourceConfig_consumerGroupId :: Lens' SelfManagedKafkaEventSourceConfig (Maybe Text) -- | The function's SnapStart setting. Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- See: newSnapStart smart constructor. data SnapStart SnapStart' :: Maybe SnapStartApplyOn -> SnapStart -- | Set to PublishedVersions to create a snapshot of the -- initialized execution environment when you publish a function version. [$sel:applyOn:SnapStart'] :: SnapStart -> Maybe SnapStartApplyOn -- | Create a value of SnapStart with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStart', snapStart_applyOn - Set to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. newSnapStart :: SnapStart -- | Set to PublishedVersions to create a snapshot of the -- initialized execution environment when you publish a function version. snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn) -- | The function's SnapStart setting. -- -- See: newSnapStartResponse smart constructor. data SnapStartResponse SnapStartResponse' :: Maybe SnapStartApplyOn -> Maybe SnapStartOptimizationStatus -> SnapStartResponse -- | When set to PublishedVersions, Lambda creates a snapshot of -- the execution environment when you publish a function version. [$sel:applyOn:SnapStartResponse'] :: SnapStartResponse -> Maybe SnapStartApplyOn -- | When you provide a qualified Amazon Resource Name (ARN), this -- response element indicates whether SnapStart is activated for the -- specified function version. [$sel:optimizationStatus:SnapStartResponse'] :: SnapStartResponse -> Maybe SnapStartOptimizationStatus -- | Create a value of SnapStartResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStartResponse', -- snapStartResponse_applyOn - When set to -- PublishedVersions, Lambda creates a snapshot of the execution -- environment when you publish a function version. -- -- $sel:optimizationStatus:SnapStartResponse', -- snapStartResponse_optimizationStatus - When you provide a -- qualified Amazon Resource Name (ARN), this response element -- indicates whether SnapStart is activated for the specified function -- version. newSnapStartResponse :: SnapStartResponse -- | When set to PublishedVersions, Lambda creates a snapshot of -- the execution environment when you publish a function version. snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn) -- | When you provide a qualified Amazon Resource Name (ARN), this -- response element indicates whether SnapStart is activated for the -- specified function version. snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus) -- | To secure and define access to your event source, you can specify the -- authentication protocol, VPC components, or virtual host. -- -- See: newSourceAccessConfiguration smart constructor. data SourceAccessConfiguration SourceAccessConfiguration' :: Maybe SourceAccessType -> Maybe Text -> SourceAccessConfiguration -- | The type of authentication protocol, VPC components, or virtual host -- for your event source. For example: -- "Type":"SASL_SCRAM_512_AUTH". -- -- [$sel:type':SourceAccessConfiguration'] :: SourceAccessConfiguration -> Maybe SourceAccessType -- | The value for your chosen configuration in Type. For example: -- "URI": -- "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". [$sel:uri:SourceAccessConfiguration'] :: SourceAccessConfiguration -> Maybe Text -- | Create a value of SourceAccessConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:type':SourceAccessConfiguration', -- sourceAccessConfiguration_type - The type of authentication -- protocol, VPC components, or virtual host for your event source. For -- example: "Type":"SASL_SCRAM_512_AUTH". -- -- -- -- $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". newSourceAccessConfiguration :: SourceAccessConfiguration -- | The type of authentication protocol, VPC components, or virtual host -- for your event source. For example: -- "Type":"SASL_SCRAM_512_AUTH". -- -- sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType) -- | The value for your chosen configuration in Type. For example: -- "URI": -- "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text) -- | The function's X-Ray tracing configuration. To sample and -- record incoming requests, set Mode to Active. -- -- See: newTracingConfig smart constructor. data TracingConfig TracingConfig' :: Maybe TracingMode -> TracingConfig -- | The tracing mode. [$sel:mode:TracingConfig'] :: TracingConfig -> Maybe TracingMode -- | 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. newTracingConfig :: TracingConfig -- | The tracing mode. tracingConfig_mode :: Lens' TracingConfig (Maybe TracingMode) -- | The function's X-Ray tracing configuration. -- -- See: newTracingConfigResponse smart constructor. data TracingConfigResponse TracingConfigResponse' :: Maybe TracingMode -> TracingConfigResponse -- | The tracing mode. [$sel:mode:TracingConfigResponse'] :: TracingConfigResponse -> Maybe TracingMode -- | 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. newTracingConfigResponse :: TracingConfigResponse -- | The tracing mode. tracingConfigResponse_mode :: Lens' TracingConfigResponse (Maybe TracingMode) -- | The VPC security groups and subnets that are attached to a Lambda -- function. For more information, see Configuring a Lambda function -- to access resources in a VPC. -- -- See: newVpcConfig smart constructor. data VpcConfig VpcConfig' :: Maybe [Text] -> Maybe [Text] -> VpcConfig -- | A list of VPC security group IDs. [$sel:securityGroupIds:VpcConfig'] :: VpcConfig -> Maybe [Text] -- | A list of VPC subnet IDs. [$sel:subnetIds:VpcConfig'] :: VpcConfig -> Maybe [Text] -- | Create a value of VpcConfig with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfig', -- vpcConfig_securityGroupIds - A list of VPC security group IDs. -- -- $sel:subnetIds:VpcConfig', vpcConfig_subnetIds - A list -- of VPC subnet IDs. newVpcConfig :: VpcConfig -- | A list of VPC security group IDs. vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text]) -- | The VPC security groups and subnets that are attached to a Lambda -- function. -- -- See: newVpcConfigResponse smart constructor. data VpcConfigResponse VpcConfigResponse' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse -- | A list of VPC security group IDs. [$sel:securityGroupIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text] -- | A list of VPC subnet IDs. [$sel:subnetIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text] -- | The ID of the VPC. [$sel:vpcId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text -- | Create a value of VpcConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfigResponse', -- vpcConfigResponse_securityGroupIds - A list of VPC security -- group IDs. -- -- $sel:subnetIds:VpcConfigResponse', -- vpcConfigResponse_subnetIds - A list of VPC subnet IDs. -- -- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId - -- The ID of the VPC. newVpcConfigResponse :: VpcConfigResponse -- | A list of VPC security group IDs. vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | The ID of the VPC. vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text) -- | Adds tags to a function. module Amazonka.Lambda.TagResource -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | The function's Amazon Resource Name (ARN). [$sel:resource:TagResource'] :: TagResource -> Text -- | A list of tags to apply to the function. [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:TagResource', tagResource_resource - The -- function's Amazon Resource Name (ARN). -- -- $sel:tags:TagResource', tagResource_tags - A list of -- tags to apply to the function. newTagResource :: Text -> TagResource -- | The function's Amazon Resource Name (ARN). tagResource_resource :: Lens' TagResource Text -- | A list of tags to apply to the function. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: TagResourceResponse -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newTagResourceResponse :: TagResourceResponse instance GHC.Generics.Generic Amazonka.Lambda.TagResource.TagResource instance GHC.Show.Show Amazonka.Lambda.TagResource.TagResource instance GHC.Read.Read Amazonka.Lambda.TagResource.TagResource instance GHC.Classes.Eq Amazonka.Lambda.TagResource.TagResource instance GHC.Generics.Generic Amazonka.Lambda.TagResource.TagResourceResponse instance GHC.Show.Show Amazonka.Lambda.TagResource.TagResourceResponse instance GHC.Read.Read Amazonka.Lambda.TagResource.TagResourceResponse instance GHC.Classes.Eq Amazonka.Lambda.TagResource.TagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.Lambda.TagResource.TagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.Lambda.TagResource.TagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.TagResource.TagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.TagResource.TagResource instance Amazonka.Data.Path.ToPath Amazonka.Lambda.TagResource.TagResource instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.TagResource.TagResource -- | Revokes function-use permission from an Amazon Web Service or another -- Amazon Web Services account. You can get the ID of the statement from -- the output of GetPolicy. module Amazonka.Lambda.RemovePermission -- | See: newRemovePermission smart constructor. data RemovePermission RemovePermission' :: Maybe Text -> Maybe Text -> Text -> Text -> RemovePermission -- | Specify a version or alias to remove permissions from a published -- version of the function. [$sel:qualifier:RemovePermission'] :: RemovePermission -> Maybe Text -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. [$sel:revisionId:RemovePermission'] :: RemovePermission -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:RemovePermission'] :: RemovePermission -> Text -- | Statement ID of the permission to remove. [$sel:statementId:RemovePermission'] :: RemovePermission -> Text -- | Create a value of RemovePermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:RemovePermission', -- removePermission_qualifier - Specify a version or alias to -- remove permissions from a published version of the function. -- -- RemovePermission, removePermission_revisionId - Update -- the policy only if the revision ID matches the ID that's specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. -- -- RemovePermission, removePermission_functionName - The -- name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- $sel:statementId:RemovePermission', -- removePermission_statementId - Statement ID of the permission -- to remove. newRemovePermission :: Text -> Text -> RemovePermission -- | Specify a version or alias to remove permissions from a published -- version of the function. removePermission_qualifier :: Lens' RemovePermission (Maybe Text) -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. removePermission_revisionId :: Lens' RemovePermission (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. removePermission_functionName :: Lens' RemovePermission Text -- | Statement ID of the permission to remove. removePermission_statementId :: Lens' RemovePermission Text -- | See: newRemovePermissionResponse smart constructor. data RemovePermissionResponse RemovePermissionResponse' :: RemovePermissionResponse -- | Create a value of RemovePermissionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newRemovePermissionResponse :: RemovePermissionResponse instance GHC.Generics.Generic Amazonka.Lambda.RemovePermission.RemovePermission instance GHC.Show.Show Amazonka.Lambda.RemovePermission.RemovePermission instance GHC.Read.Read Amazonka.Lambda.RemovePermission.RemovePermission instance GHC.Classes.Eq Amazonka.Lambda.RemovePermission.RemovePermission instance GHC.Generics.Generic Amazonka.Lambda.RemovePermission.RemovePermissionResponse instance GHC.Show.Show Amazonka.Lambda.RemovePermission.RemovePermissionResponse instance GHC.Read.Read Amazonka.Lambda.RemovePermission.RemovePermissionResponse instance GHC.Classes.Eq Amazonka.Lambda.RemovePermission.RemovePermissionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.RemovePermission.RemovePermission instance Control.DeepSeq.NFData Amazonka.Lambda.RemovePermission.RemovePermissionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.RemovePermission.RemovePermission instance Control.DeepSeq.NFData Amazonka.Lambda.RemovePermission.RemovePermission instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.RemovePermission.RemovePermission instance Amazonka.Data.Path.ToPath Amazonka.Lambda.RemovePermission.RemovePermission instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.RemovePermission.RemovePermission -- | Removes a statement from the permissions policy for a version of an -- Lambda layer. For more information, see -- AddLayerVersionPermission. module Amazonka.Lambda.RemoveLayerVersionPermission -- | See: newRemoveLayerVersionPermission smart constructor. data RemoveLayerVersionPermission RemoveLayerVersionPermission' :: Maybe Text -> Text -> Integer -> Text -> RemoveLayerVersionPermission -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. [$sel:revisionId:RemoveLayerVersionPermission'] :: RemoveLayerVersionPermission -> Maybe Text -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:RemoveLayerVersionPermission'] :: RemoveLayerVersionPermission -> Text -- | The version number. [$sel:versionNumber:RemoveLayerVersionPermission'] :: RemoveLayerVersionPermission -> Integer -- | The identifier that was specified when the statement was added. [$sel:statementId:RemoveLayerVersionPermission'] :: RemoveLayerVersionPermission -> Text -- | Create a value of RemoveLayerVersionPermission with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RemoveLayerVersionPermission, -- removeLayerVersionPermission_revisionId - Only update the -- policy if the revision ID matches the ID specified. Use this option to -- avoid modifying a policy that has changed since you last read it. -- -- RemoveLayerVersionPermission, -- removeLayerVersionPermission_layerName - The name or Amazon -- Resource Name (ARN) of the layer. -- -- $sel:versionNumber:RemoveLayerVersionPermission', -- removeLayerVersionPermission_versionNumber - The version -- number. -- -- $sel:statementId:RemoveLayerVersionPermission', -- removeLayerVersionPermission_statementId - The identifier that -- was specified when the statement was added. newRemoveLayerVersionPermission :: Text -> Integer -> Text -> RemoveLayerVersionPermission -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. removeLayerVersionPermission_revisionId :: Lens' RemoveLayerVersionPermission (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. removeLayerVersionPermission_layerName :: Lens' RemoveLayerVersionPermission Text -- | The version number. removeLayerVersionPermission_versionNumber :: Lens' RemoveLayerVersionPermission Integer -- | The identifier that was specified when the statement was added. removeLayerVersionPermission_statementId :: Lens' RemoveLayerVersionPermission Text -- | See: newRemoveLayerVersionPermissionResponse smart -- constructor. data RemoveLayerVersionPermissionResponse RemoveLayerVersionPermissionResponse' :: RemoveLayerVersionPermissionResponse -- | Create a value of RemoveLayerVersionPermissionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse instance GHC.Generics.Generic Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance GHC.Show.Show Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance GHC.Read.Read Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance GHC.Classes.Eq Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance GHC.Generics.Generic Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermissionResponse instance GHC.Show.Show Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermissionResponse instance GHC.Read.Read Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermissionResponse instance GHC.Classes.Eq Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermissionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance Control.DeepSeq.NFData Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermissionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance Control.DeepSeq.NFData Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance Amazonka.Data.Path.ToPath Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.RemoveLayerVersionPermission.RemoveLayerVersionPermission -- | Adds a provisioned concurrency configuration to a function's alias or -- version. module Amazonka.Lambda.PutProvisionedConcurrencyConfig -- | See: newPutProvisionedConcurrencyConfig smart -- constructor. data PutProvisionedConcurrencyConfig PutProvisionedConcurrencyConfig' :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:PutProvisionedConcurrencyConfig'] :: PutProvisionedConcurrencyConfig -> Text -- | The version number or alias name. [$sel:qualifier:PutProvisionedConcurrencyConfig'] :: PutProvisionedConcurrencyConfig -> Text -- | The amount of provisioned concurrency to allocate for the version or -- alias. [$sel:provisionedConcurrentExecutions:PutProvisionedConcurrencyConfig'] :: PutProvisionedConcurrencyConfig -> Natural -- | Create a value of PutProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutProvisionedConcurrencyConfig, -- putProvisionedConcurrencyConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:PutProvisionedConcurrencyConfig', -- putProvisionedConcurrencyConfig_qualifier - The version number -- or alias name. -- -- -- $sel:provisionedConcurrentExecutions:PutProvisionedConcurrencyConfig', -- putProvisionedConcurrencyConfig_provisionedConcurrentExecutions -- - The amount of provisioned concurrency to allocate for the version or -- alias. newPutProvisionedConcurrencyConfig :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putProvisionedConcurrencyConfig_functionName :: Lens' PutProvisionedConcurrencyConfig Text -- | The version number or alias name. putProvisionedConcurrencyConfig_qualifier :: Lens' PutProvisionedConcurrencyConfig Text -- | The amount of provisioned concurrency to allocate for the version or -- alias. putProvisionedConcurrencyConfig_provisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfig Natural -- | See: newPutProvisionedConcurrencyConfigResponse smart -- constructor. data PutProvisionedConcurrencyConfigResponse PutProvisionedConcurrencyConfigResponse' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> Int -> PutProvisionedConcurrencyConfigResponse -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. [$sel:allocatedProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The amount of provisioned concurrency available. [$sel:availableProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. [$sel:lastModified:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe Text -- | The amount of provisioned concurrency requested. [$sel:requestedProvisionedConcurrentExecutions:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The status of the allocation process. [$sel:status:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe ProvisionedConcurrencyStatusEnum -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. [$sel:statusReason:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:PutProvisionedConcurrencyConfigResponse'] :: PutProvisionedConcurrencyConfigResponse -> Int -- | Create a value of PutProvisionedConcurrencyConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_status - The status of -- the allocation process. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_statusReason - For -- failed allocations, the reason that provisioned concurrency could not -- be allocated. -- -- $sel:httpStatus:PutProvisionedConcurrencyConfigResponse', -- putProvisionedConcurrencyConfigResponse_httpStatus - The -- response's http status code. newPutProvisionedConcurrencyConfigResponse :: Int -> PutProvisionedConcurrencyConfigResponse -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The amount of provisioned concurrency available. putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. putProvisionedConcurrencyConfigResponse_lastModified :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Text) -- | The amount of provisioned concurrency requested. putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The status of the allocation process. putProvisionedConcurrencyConfigResponse_status :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. putProvisionedConcurrencyConfigResponse_statusReason :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Text) -- | The response's http status code. putProvisionedConcurrencyConfigResponse_httpStatus :: Lens' PutProvisionedConcurrencyConfigResponse Int instance GHC.Generics.Generic Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance GHC.Show.Show Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance GHC.Read.Read Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance GHC.Classes.Eq Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance GHC.Generics.Generic Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfigResponse instance GHC.Show.Show Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfigResponse instance GHC.Read.Read Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PutProvisionedConcurrencyConfig.PutProvisionedConcurrencyConfig -- | Configures options for asynchronous invocation on a function, -- version, or alias. If a configuration already exists for a function, -- version, or alias, this operation overwrites it. If you exclude any -- settings, they are removed. To set one option without affecting -- existing settings for other options, use -- UpdateFunctionEventInvokeConfig. -- -- By default, Lambda retries an asynchronous invocation twice if the -- function returns an error. It retains events in a queue for up to six -- hours. When an event fails all processing attempts or stays in the -- asynchronous invocation queue for too long, Lambda discards it. To -- retain discarded events, configure a dead-letter queue with -- UpdateFunctionConfiguration. -- -- To send an invocation record to a queue, topic, function, or event -- bus, specify a destination. You can configure separate -- destinations for successful invocations (on-success) and events that -- fail all processing attempts (on-failure). You can configure -- destinations in addition to or instead of a dead-letter queue. module Amazonka.Lambda.PutFunctionEventInvokeConfig -- | See: newPutFunctionEventInvokeConfig smart constructor. data PutFunctionEventInvokeConfig PutFunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Natural -> Maybe Natural -> Maybe Text -> Text -> PutFunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:PutFunctionEventInvokeConfig'] :: PutFunctionEventInvokeConfig -> Maybe DestinationConfig -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:PutFunctionEventInvokeConfig'] :: PutFunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:PutFunctionEventInvokeConfig'] :: PutFunctionEventInvokeConfig -> Maybe Natural -- | A version number or alias name. [$sel:qualifier:PutFunctionEventInvokeConfig'] :: PutFunctionEventInvokeConfig -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:PutFunctionEventInvokeConfig'] :: PutFunctionEventInvokeConfig -> Text -- | Create a value of PutFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_destinationConfig - A destination -- for events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. -- -- $sel:qualifier:PutFunctionEventInvokeConfig', -- putFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newPutFunctionEventInvokeConfig :: Text -> PutFunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- putFunctionEventInvokeConfig_destinationConfig :: Lens' PutFunctionEventInvokeConfig (Maybe DestinationConfig) -- | The maximum age of a request that Lambda sends to a function for -- processing. putFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. putFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) -- | A version number or alias name. putFunctionEventInvokeConfig_qualifier :: Lens' PutFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. putFunctionEventInvokeConfig_functionName :: Lens' PutFunctionEventInvokeConfig Text -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the function. [$sel:functionArn:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Text -- | The date and time that the configuration was last updated. [$sel:lastModified:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe POSIX -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance GHC.Show.Show Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance GHC.Read.Read Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance GHC.Classes.Eq Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Amazonka.Types.AWSRequest Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PutFunctionEventInvokeConfig.PutFunctionEventInvokeConfig -- | Sets the maximum number of simultaneous executions for a function, and -- reserves capacity for that concurrency level. -- -- Concurrency settings apply to the function as a whole, including all -- published versions and the unpublished version. Reserving concurrency -- both ensures that your function has capacity to process the specified -- number of events simultaneously, and prevents it from scaling beyond -- that level. Use GetFunction to see the current setting for a function. -- -- Use GetAccountSettings to see your Regional concurrency limit. You can -- reserve concurrency for as many functions as you like, as long as you -- leave at least 100 simultaneous executions unreserved for functions -- that aren't configured with a per-function limit. For more -- information, see Lambda function scaling. module Amazonka.Lambda.PutFunctionConcurrency -- | See: newPutFunctionConcurrency smart constructor. data PutFunctionConcurrency PutFunctionConcurrency' :: Text -> Natural -> PutFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:PutFunctionConcurrency'] :: PutFunctionConcurrency -> Text -- | The number of simultaneous executions to reserve for the function. [$sel:reservedConcurrentExecutions:PutFunctionConcurrency'] :: PutFunctionConcurrency -> Natural -- | Create a value of PutFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionConcurrency, -- putFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- PutFunctionConcurrency, -- putFunctionConcurrency_reservedConcurrentExecutions - The -- number of simultaneous executions to reserve for the function. newPutFunctionConcurrency :: Text -> Natural -> PutFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionConcurrency_functionName :: Lens' PutFunctionConcurrency Text -- | The number of simultaneous executions to reserve for the function. putFunctionConcurrency_reservedConcurrentExecutions :: Lens' PutFunctionConcurrency Natural -- | See: newConcurrency smart constructor. data Concurrency Concurrency' :: Maybe Natural -> Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. [$sel:reservedConcurrentExecutions:Concurrency'] :: Concurrency -> Maybe Natural -- | Create a value of Concurrency with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:reservedConcurrentExecutions:Concurrency', -- concurrency_reservedConcurrentExecutions - The number of -- concurrent executions that are reserved for this function. For more -- information, see Managing Lambda reserved concurrency. newConcurrency :: Concurrency -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance GHC.Show.Show Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance GHC.Read.Read Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance GHC.Classes.Eq Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Amazonka.Types.AWSRequest Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Data.Hashable.Class.Hashable Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Control.DeepSeq.NFData Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PutFunctionConcurrency.PutFunctionConcurrency -- | Update the code signing configuration for the function. Changes to the -- code signing configuration take effect the next time a user tries to -- deploy a code package to the function. module Amazonka.Lambda.PutFunctionCodeSigningConfig -- | See: newPutFunctionCodeSigningConfig smart constructor. data PutFunctionCodeSigningConfig PutFunctionCodeSigningConfig' :: Text -> Text -> PutFunctionCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:PutFunctionCodeSigningConfig'] :: PutFunctionCodeSigningConfig -> Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:PutFunctionCodeSigningConfig'] :: PutFunctionCodeSigningConfig -> Text -- | Create a value of PutFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfig_codeSigningConfigArn - The The -- Amazon Resource Name (ARN) of the code signing configuration. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPutFunctionCodeSigningConfig :: Text -> Text -> PutFunctionCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. putFunctionCodeSigningConfig_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfig Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionCodeSigningConfig_functionName :: Lens' PutFunctionCodeSigningConfig Text -- | See: newPutFunctionCodeSigningConfigResponse smart -- constructor. data PutFunctionCodeSigningConfigResponse PutFunctionCodeSigningConfigResponse' :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:PutFunctionCodeSigningConfigResponse'] :: PutFunctionCodeSigningConfigResponse -> Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:PutFunctionCodeSigningConfigResponse'] :: PutFunctionCodeSigningConfigResponse -> Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:PutFunctionCodeSigningConfigResponse'] :: PutFunctionCodeSigningConfigResponse -> Text -- | Create a value of PutFunctionCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:PutFunctionCodeSigningConfigResponse', -- putFunctionCodeSigningConfigResponse_httpStatus - The -- response's http status code. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfigResponse_codeSigningConfigArn - The -- The Amazon Resource Name (ARN) of the code signing configuration. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfigResponse_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPutFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse -- | The response's http status code. putFunctionCodeSigningConfigResponse_httpStatus :: Lens' PutFunctionCodeSigningConfigResponse Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. putFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionCodeSigningConfigResponse_functionName :: Lens' PutFunctionCodeSigningConfigResponse Text instance GHC.Generics.Generic Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PutFunctionCodeSigningConfig.PutFunctionCodeSigningConfig -- | Creates a version from the current code and configuration of a -- function. Use versions to create a snapshot of your function code and -- configuration that doesn't change. -- -- Lambda doesn't publish a version if the function's configuration and -- code haven't changed since the last version. Use UpdateFunctionCode or -- UpdateFunctionConfiguration to update the function before publishing a -- version. -- -- Clients can invoke versions directly or with an alias. To create an -- alias, use CreateAlias. module Amazonka.Lambda.PublishVersion -- | See: newPublishVersion smart constructor. data PublishVersion PublishVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> PublishVersion -- | Only publish a version if the hash value matches the value that's -- specified. Use this option to avoid publishing a version if the -- function code has changed since you last updated it. You can get the -- hash for the version that you uploaded from the output of -- UpdateFunctionCode. [$sel:codeSha256:PublishVersion'] :: PublishVersion -> Maybe Text -- | A description for the version to override the description in the -- function configuration. [$sel:description:PublishVersion'] :: PublishVersion -> Maybe Text -- | Only update the function if the revision ID matches the ID that's -- specified. Use this option to avoid publishing a version if the -- function configuration has changed since you last updated it. [$sel:revisionId:PublishVersion'] :: PublishVersion -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:PublishVersion'] :: PublishVersion -> Text -- | Create a value of PublishVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishVersion, publishVersion_codeSha256 - Only publish -- a version if the hash value matches the value that's specified. Use -- this option to avoid publishing a version if the function code has -- changed since you last updated it. You can get the hash for the -- version that you uploaded from the output of UpdateFunctionCode. -- -- PublishVersion, publishVersion_description - A -- description for the version to override the description in the -- function configuration. -- -- PublishVersion, publishVersion_revisionId - Only update -- the function if the revision ID matches the ID that's specified. Use -- this option to avoid publishing a version if the function -- configuration has changed since you last updated it. -- -- PublishVersion, publishVersion_functionName - The name -- of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPublishVersion :: Text -> PublishVersion -- | Only publish a version if the hash value matches the value that's -- specified. Use this option to avoid publishing a version if the -- function code has changed since you last updated it. You can get the -- hash for the version that you uploaded from the output of -- UpdateFunctionCode. publishVersion_codeSha256 :: Lens' PublishVersion (Maybe Text) -- | A description for the version to override the description in the -- function configuration. publishVersion_description :: Lens' PublishVersion (Maybe Text) -- | Only update the function if the revision ID matches the ID that's -- specified. Use this option to avoid publishing a version if the -- function configuration has changed since you last updated it. publishVersion_revisionId :: Lens' PublishVersion (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. publishVersion_functionName :: Lens' PublishVersion Text -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.PublishVersion.PublishVersion instance GHC.Show.Show Amazonka.Lambda.PublishVersion.PublishVersion instance GHC.Read.Read Amazonka.Lambda.PublishVersion.PublishVersion instance GHC.Classes.Eq Amazonka.Lambda.PublishVersion.PublishVersion instance Amazonka.Types.AWSRequest Amazonka.Lambda.PublishVersion.PublishVersion instance Data.Hashable.Class.Hashable Amazonka.Lambda.PublishVersion.PublishVersion instance Control.DeepSeq.NFData Amazonka.Lambda.PublishVersion.PublishVersion instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PublishVersion.PublishVersion instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PublishVersion.PublishVersion instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PublishVersion.PublishVersion instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PublishVersion.PublishVersion -- | Creates an Lambda layer from a ZIP archive. Each time you call -- PublishLayerVersion with the same layer name, a new version -- is created. -- -- Add layers to your function with CreateFunction or -- UpdateFunctionConfiguration. module Amazonka.Lambda.PublishLayerVersion -- | See: newPublishLayerVersion smart constructor. data PublishLayerVersion PublishLayerVersion' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe Text -> Maybe Text -> Text -> LayerVersionContentInput -> PublishLayerVersion -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:PublishLayerVersion'] :: PublishLayerVersion -> Maybe [Architecture] -- | A list of compatible function runtimes. Used for filtering with -- ListLayers and ListLayerVersions. [$sel:compatibleRuntimes:PublishLayerVersion'] :: PublishLayerVersion -> Maybe [Runtime] -- | The description of the version. [$sel:description:PublishLayerVersion'] :: PublishLayerVersion -> Maybe Text -- | The layer's software license. It can be any of the following: -- -- [$sel:licenseInfo:PublishLayerVersion'] :: PublishLayerVersion -> Maybe Text -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:PublishLayerVersion'] :: PublishLayerVersion -> Text -- | The function layer archive. [$sel:content:PublishLayerVersion'] :: PublishLayerVersion -> LayerVersionContentInput -- | Create a value of PublishLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishLayerVersion, -- publishLayerVersion_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- PublishLayerVersion, -- publishLayerVersion_compatibleRuntimes - A list of compatible -- function runtimes. Used for filtering with ListLayers and -- ListLayerVersions. -- -- PublishLayerVersion, publishLayerVersion_description - -- The description of the version. -- -- PublishLayerVersion, publishLayerVersion_licenseInfo - -- The layer's software license. It can be any of the following: -- -- -- -- PublishLayerVersion, publishLayerVersion_layerName - The -- name or Amazon Resource Name (ARN) of the layer. -- -- PublishLayerVersion, publishLayerVersion_content - The -- function layer archive. newPublishLayerVersion :: Text -> LayerVersionContentInput -> PublishLayerVersion -- | A list of compatible instruction set architectures. publishLayerVersion_compatibleArchitectures :: Lens' PublishLayerVersion (Maybe [Architecture]) -- | A list of compatible function runtimes. Used for filtering with -- ListLayers and ListLayerVersions. publishLayerVersion_compatibleRuntimes :: Lens' PublishLayerVersion (Maybe [Runtime]) -- | The description of the version. publishLayerVersion_description :: Lens' PublishLayerVersion (Maybe Text) -- | The layer's software license. It can be any of the following: -- -- publishLayerVersion_licenseInfo :: Lens' PublishLayerVersion (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. publishLayerVersion_layerName :: Lens' PublishLayerVersion Text -- | The function layer archive. publishLayerVersion_content :: Lens' PublishLayerVersion LayerVersionContentInput -- | See: newPublishLayerVersionResponse smart constructor. data PublishLayerVersionResponse PublishLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Int -> PublishLayerVersionResponse -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe [Runtime] -- | Details about the layer version. [$sel:content:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe LayerVersionContentOutput -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:createdDate:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Text -- | The description of the version. [$sel:description:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Text -- | The ARN of the layer. [$sel:layerArn:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Text -- | The layer's software license. [$sel:licenseInfo:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Text -- | The version number. [$sel:version:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Maybe Integer -- | The response's http status code. [$sel:httpStatus:PublishLayerVersionResponse'] :: PublishLayerVersionResponse -> Int -- | Create a value of PublishLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishLayerVersion, -- publishLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- PublishLayerVersion, -- publishLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- PublishLayerVersion, publishLayerVersionResponse_content -- - Details about the layer version. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_createdDate - The date that the -- layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- PublishLayerVersion, -- publishLayerVersionResponse_description - The description of -- the version. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_layerArn - The ARN of the layer. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_layerVersionArn - The ARN of the -- layer version. -- -- PublishLayerVersion, -- publishLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_version - The version number. -- -- $sel:httpStatus:PublishLayerVersionResponse', -- publishLayerVersionResponse_httpStatus - The response's http -- status code. newPublishLayerVersionResponse :: Int -> PublishLayerVersionResponse -- | A list of compatible instruction set architectures. publishLayerVersionResponse_compatibleArchitectures :: Lens' PublishLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. publishLayerVersionResponse_compatibleRuntimes :: Lens' PublishLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. publishLayerVersionResponse_content :: Lens' PublishLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). publishLayerVersionResponse_createdDate :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The description of the version. publishLayerVersionResponse_description :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The ARN of the layer. publishLayerVersionResponse_layerArn :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. publishLayerVersionResponse_layerVersionArn :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The layer's software license. publishLayerVersionResponse_licenseInfo :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The version number. publishLayerVersionResponse_version :: Lens' PublishLayerVersionResponse (Maybe Integer) -- | The response's http status code. publishLayerVersionResponse_httpStatus :: Lens' PublishLayerVersionResponse Int instance GHC.Generics.Generic Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance GHC.Show.Show Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance GHC.Classes.Eq Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance GHC.Generics.Generic Amazonka.Lambda.PublishLayerVersion.PublishLayerVersionResponse instance GHC.Show.Show Amazonka.Lambda.PublishLayerVersion.PublishLayerVersionResponse instance GHC.Read.Read Amazonka.Lambda.PublishLayerVersion.PublishLayerVersionResponse instance GHC.Classes.Eq Amazonka.Lambda.PublishLayerVersion.PublishLayerVersionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Control.DeepSeq.NFData Amazonka.Lambda.PublishLayerVersion.PublishLayerVersionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Control.DeepSeq.NFData Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Amazonka.Data.Path.ToPath Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.PublishLayerVersion.PublishLayerVersion -- | Returns a list of versions, with the version-specific -- configuration of each. Lambda returns up to 50 versions per call. -- -- This operation returns paginated results. module Amazonka.Lambda.ListVersionsByFunction -- | See: newListVersionsByFunction smart constructor. data ListVersionsByFunction ListVersionsByFunction' :: Maybe Text -> Maybe Natural -> Text -> ListVersionsByFunction -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListVersionsByFunction'] :: ListVersionsByFunction -> Maybe Text -- | The maximum number of versions to return. Note that -- ListVersionsByFunction returns a maximum of 50 items in each -- response, even if you set the number higher. [$sel:maxItems:ListVersionsByFunction'] :: ListVersionsByFunction -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:ListVersionsByFunction'] :: ListVersionsByFunction -> Text -- | Create a value of ListVersionsByFunction with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListVersionsByFunction', -- listVersionsByFunction_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListVersionsByFunction', -- listVersionsByFunction_maxItems - The maximum number of -- versions to return. Note that ListVersionsByFunction returns -- a maximum of 50 items in each response, even if you set the number -- higher. -- -- ListVersionsByFunction, -- listVersionsByFunction_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListVersionsByFunction :: Text -> ListVersionsByFunction -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listVersionsByFunction_marker :: Lens' ListVersionsByFunction (Maybe Text) -- | The maximum number of versions to return. Note that -- ListVersionsByFunction returns a maximum of 50 items in each -- response, even if you set the number higher. listVersionsByFunction_maxItems :: Lens' ListVersionsByFunction (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listVersionsByFunction_functionName :: Lens' ListVersionsByFunction Text -- | See: newListVersionsByFunctionResponse smart -- constructor. data ListVersionsByFunctionResponse ListVersionsByFunctionResponse' :: Maybe Text -> Maybe [FunctionConfiguration] -> Int -> ListVersionsByFunctionResponse -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListVersionsByFunctionResponse'] :: ListVersionsByFunctionResponse -> Maybe Text -- | A list of Lambda function versions. [$sel:versions:ListVersionsByFunctionResponse'] :: ListVersionsByFunctionResponse -> Maybe [FunctionConfiguration] -- | The response's http status code. [$sel:httpStatus:ListVersionsByFunctionResponse'] :: ListVersionsByFunctionResponse -> Int -- | Create a value of ListVersionsByFunctionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:versions:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_versions - A list of Lambda -- function versions. -- -- $sel:httpStatus:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_httpStatus - The response's http -- status code. newListVersionsByFunctionResponse :: Int -> ListVersionsByFunctionResponse -- | The pagination token that's included if more results are available. listVersionsByFunctionResponse_nextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) -- | A list of Lambda function versions. listVersionsByFunctionResponse_versions :: Lens' ListVersionsByFunctionResponse (Maybe [FunctionConfiguration]) -- | The response's http status code. listVersionsByFunctionResponse_httpStatus :: Lens' ListVersionsByFunctionResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance GHC.Show.Show Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance GHC.Read.Read Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance GHC.Classes.Eq Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance GHC.Generics.Generic Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunctionResponse instance GHC.Show.Show Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunctionResponse instance GHC.Classes.Eq Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Control.DeepSeq.NFData Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunctionResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Control.DeepSeq.NFData Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListVersionsByFunction.ListVersionsByFunction -- | Returns a function's tags. You can also view tags with -- GetFunction. module Amazonka.Lambda.ListTags -- | See: newListTags smart constructor. data ListTags ListTags' :: Text -> ListTags -- | The function's Amazon Resource Name (ARN). Note: Lambda does not -- support adding tags to aliases or versions. [$sel:resource:ListTags'] :: ListTags -> Text -- | Create a value of ListTags with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:ListTags', listTags_resource - The -- function's Amazon Resource Name (ARN). Note: Lambda does not support -- adding tags to aliases or versions. newListTags :: Text -> ListTags -- | The function's Amazon Resource Name (ARN). Note: Lambda does not -- support adding tags to aliases or versions. listTags_resource :: Lens' ListTags Text -- | See: newListTagsResponse smart constructor. data ListTagsResponse ListTagsResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsResponse -- | The function's tags. [$sel:tags:ListTagsResponse'] :: ListTagsResponse -> Maybe (HashMap Text Text) -- | The response's http status code. [$sel:httpStatus:ListTagsResponse'] :: ListTagsResponse -> Int -- | Create a value of ListTagsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tags:ListTagsResponse', listTagsResponse_tags - The -- function's tags. -- -- $sel:httpStatus:ListTagsResponse', -- listTagsResponse_httpStatus - The response's http status code. newListTagsResponse :: Int -> ListTagsResponse -- | The function's tags. listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsResponse_httpStatus :: Lens' ListTagsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListTags.ListTags instance GHC.Show.Show Amazonka.Lambda.ListTags.ListTags instance GHC.Read.Read Amazonka.Lambda.ListTags.ListTags instance GHC.Classes.Eq Amazonka.Lambda.ListTags.ListTags instance GHC.Generics.Generic Amazonka.Lambda.ListTags.ListTagsResponse instance GHC.Show.Show Amazonka.Lambda.ListTags.ListTagsResponse instance GHC.Read.Read Amazonka.Lambda.ListTags.ListTagsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListTags.ListTagsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListTags.ListTags instance Control.DeepSeq.NFData Amazonka.Lambda.ListTags.ListTagsResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListTags.ListTags instance Control.DeepSeq.NFData Amazonka.Lambda.ListTags.ListTags instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListTags.ListTags instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListTags.ListTags instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListTags.ListTags -- | Retrieves a list of provisioned concurrency configurations for a -- function. -- -- This operation returns paginated results. module Amazonka.Lambda.ListProvisionedConcurrencyConfigs -- | See: newListProvisionedConcurrencyConfigs smart -- constructor. data ListProvisionedConcurrencyConfigs ListProvisionedConcurrencyConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListProvisionedConcurrencyConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListProvisionedConcurrencyConfigs'] :: ListProvisionedConcurrencyConfigs -> Maybe Text -- | Specify a number to limit the number of configurations returned. [$sel:maxItems:ListProvisionedConcurrencyConfigs'] :: ListProvisionedConcurrencyConfigs -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:ListProvisionedConcurrencyConfigs'] :: ListProvisionedConcurrencyConfigs -> Text -- | Create a value of ListProvisionedConcurrencyConfigs with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListProvisionedConcurrencyConfigs', -- listProvisionedConcurrencyConfigs_marker - Specify the -- pagination token that's returned by a previous request to retrieve the -- next page of results. -- -- $sel:maxItems:ListProvisionedConcurrencyConfigs', -- listProvisionedConcurrencyConfigs_maxItems - Specify a number -- to limit the number of configurations returned. -- -- ListProvisionedConcurrencyConfigs, -- listProvisionedConcurrencyConfigs_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListProvisionedConcurrencyConfigs :: Text -> ListProvisionedConcurrencyConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listProvisionedConcurrencyConfigs_marker :: Lens' ListProvisionedConcurrencyConfigs (Maybe Text) -- | Specify a number to limit the number of configurations returned. listProvisionedConcurrencyConfigs_maxItems :: Lens' ListProvisionedConcurrencyConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listProvisionedConcurrencyConfigs_functionName :: Lens' ListProvisionedConcurrencyConfigs Text -- | See: newListProvisionedConcurrencyConfigsResponse smart -- constructor. data ListProvisionedConcurrencyConfigsResponse ListProvisionedConcurrencyConfigsResponse' :: Maybe Text -> Maybe [ProvisionedConcurrencyConfigListItem] -> Int -> ListProvisionedConcurrencyConfigsResponse -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListProvisionedConcurrencyConfigsResponse'] :: ListProvisionedConcurrencyConfigsResponse -> Maybe Text -- | A list of provisioned concurrency configurations. [$sel:provisionedConcurrencyConfigs:ListProvisionedConcurrencyConfigsResponse'] :: ListProvisionedConcurrencyConfigsResponse -> Maybe [ProvisionedConcurrencyConfigListItem] -- | The response's http status code. [$sel:httpStatus:ListProvisionedConcurrencyConfigsResponse'] :: ListProvisionedConcurrencyConfigsResponse -> Int -- | Create a value of ListProvisionedConcurrencyConfigsResponse -- with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- -- $sel:provisionedConcurrencyConfigs:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs -- - A list of provisioned concurrency configurations. -- -- $sel:httpStatus:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_httpStatus - The -- response's http status code. newListProvisionedConcurrencyConfigsResponse :: Int -> ListProvisionedConcurrencyConfigsResponse -- | The pagination token that's included if more results are available. listProvisionedConcurrencyConfigsResponse_nextMarker :: Lens' ListProvisionedConcurrencyConfigsResponse (Maybe Text) -- | A list of provisioned concurrency configurations. listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs :: Lens' ListProvisionedConcurrencyConfigsResponse (Maybe [ProvisionedConcurrencyConfigListItem]) -- | The response's http status code. listProvisionedConcurrencyConfigsResponse_httpStatus :: Lens' ListProvisionedConcurrencyConfigsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance GHC.Show.Show Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance GHC.Read.Read Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance GHC.Classes.Eq Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance GHC.Generics.Generic Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigsResponse instance GHC.Show.Show Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigsResponse instance GHC.Read.Read Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListProvisionedConcurrencyConfigs.ListProvisionedConcurrencyConfigs -- | Lists Lambda layers and shows information about the latest -- version of each. Specify a runtime identifier to list only -- layers that indicate that they're compatible with that runtime. -- Specify a compatible architecture to include only layers that are -- compatible with that instruction set architecture. -- -- This operation returns paginated results. module Amazonka.Lambda.ListLayers -- | See: newListLayers smart constructor. data ListLayers ListLayers' :: Maybe Architecture -> Maybe Runtime -> Maybe Text -> Maybe Natural -> ListLayers -- | The compatible instruction set architecture. [$sel:compatibleArchitecture:ListLayers'] :: ListLayers -> Maybe Architecture -- | A runtime identifier. For example, go1.x. [$sel:compatibleRuntime:ListLayers'] :: ListLayers -> Maybe Runtime -- | A pagination token returned by a previous call. [$sel:marker:ListLayers'] :: ListLayers -> Maybe Text -- | The maximum number of layers to return. [$sel:maxItems:ListLayers'] :: ListLayers -> Maybe Natural -- | Create a value of ListLayers with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitecture:ListLayers', -- listLayers_compatibleArchitecture - The compatible -- instruction set architecture. -- -- $sel:compatibleRuntime:ListLayers', -- listLayers_compatibleRuntime - A runtime identifier. For -- example, go1.x. -- -- $sel:marker:ListLayers', listLayers_marker - A -- pagination token returned by a previous call. -- -- $sel:maxItems:ListLayers', listLayers_maxItems - The -- maximum number of layers to return. newListLayers :: ListLayers -- | The compatible instruction set architecture. listLayers_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture) -- | A runtime identifier. For example, go1.x. listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime) -- | A pagination token returned by a previous call. listLayers_marker :: Lens' ListLayers (Maybe Text) -- | The maximum number of layers to return. listLayers_maxItems :: Lens' ListLayers (Maybe Natural) -- | See: newListLayersResponse smart constructor. data ListLayersResponse ListLayersResponse' :: Maybe [LayersListItem] -> Maybe Text -> Int -> ListLayersResponse -- | A list of function layers. [$sel:layers:ListLayersResponse'] :: ListLayersResponse -> Maybe [LayersListItem] -- | A pagination token returned when the response doesn't contain all -- layers. [$sel:nextMarker:ListLayersResponse'] :: ListLayersResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListLayersResponse'] :: ListLayersResponse -> Int -- | Create a value of ListLayersResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListLayersResponse, listLayersResponse_layers - A list -- of function layers. -- -- $sel:nextMarker:ListLayersResponse', -- listLayersResponse_nextMarker - A pagination token returned -- when the response doesn't contain all layers. -- -- $sel:httpStatus:ListLayersResponse', -- listLayersResponse_httpStatus - The response's http status -- code. newListLayersResponse :: Int -> ListLayersResponse -- | A list of function layers. listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem]) -- | A pagination token returned when the response doesn't contain all -- layers. listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) -- | The response's http status code. listLayersResponse_httpStatus :: Lens' ListLayersResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListLayers.ListLayers instance GHC.Show.Show Amazonka.Lambda.ListLayers.ListLayers instance GHC.Read.Read Amazonka.Lambda.ListLayers.ListLayers instance GHC.Classes.Eq Amazonka.Lambda.ListLayers.ListLayers instance GHC.Generics.Generic Amazonka.Lambda.ListLayers.ListLayersResponse instance GHC.Show.Show Amazonka.Lambda.ListLayers.ListLayersResponse instance GHC.Read.Read Amazonka.Lambda.ListLayers.ListLayersResponse instance GHC.Classes.Eq Amazonka.Lambda.ListLayers.ListLayersResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListLayers.ListLayers instance Control.DeepSeq.NFData Amazonka.Lambda.ListLayers.ListLayersResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListLayers.ListLayers instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListLayers.ListLayers instance Control.DeepSeq.NFData Amazonka.Lambda.ListLayers.ListLayers instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListLayers.ListLayers instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListLayers.ListLayers instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListLayers.ListLayers -- | Lists the versions of an Lambda layer. Versions that have been -- deleted aren't listed. Specify a runtime identifier to list -- only versions that indicate that they're compatible with that runtime. -- Specify a compatible architecture to include only layer versions that -- are compatible with that architecture. -- -- This operation returns paginated results. module Amazonka.Lambda.ListLayerVersions -- | See: newListLayerVersions smart constructor. data ListLayerVersions ListLayerVersions' :: Maybe Architecture -> Maybe Runtime -> Maybe Text -> Maybe Natural -> Text -> ListLayerVersions -- | The compatible instruction set architecture. [$sel:compatibleArchitecture:ListLayerVersions'] :: ListLayerVersions -> Maybe Architecture -- | A runtime identifier. For example, go1.x. [$sel:compatibleRuntime:ListLayerVersions'] :: ListLayerVersions -> Maybe Runtime -- | A pagination token returned by a previous call. [$sel:marker:ListLayerVersions'] :: ListLayerVersions -> Maybe Text -- | The maximum number of versions to return. [$sel:maxItems:ListLayerVersions'] :: ListLayerVersions -> Maybe Natural -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:ListLayerVersions'] :: ListLayerVersions -> Text -- | Create a value of ListLayerVersions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitecture:ListLayerVersions', -- listLayerVersions_compatibleArchitecture - The compatible -- instruction set architecture. -- -- $sel:compatibleRuntime:ListLayerVersions', -- listLayerVersions_compatibleRuntime - A runtime identifier. For -- example, go1.x. -- -- $sel:marker:ListLayerVersions', listLayerVersions_marker -- - A pagination token returned by a previous call. -- -- $sel:maxItems:ListLayerVersions', -- listLayerVersions_maxItems - The maximum number of versions to -- return. -- -- ListLayerVersions, listLayerVersions_layerName - The -- name or Amazon Resource Name (ARN) of the layer. newListLayerVersions :: Text -> ListLayerVersions -- | The compatible instruction set architecture. listLayerVersions_compatibleArchitecture :: Lens' ListLayerVersions (Maybe Architecture) -- | A runtime identifier. For example, go1.x. listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime) -- | A pagination token returned by a previous call. listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text) -- | The maximum number of versions to return. listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural) -- | The name or Amazon Resource Name (ARN) of the layer. listLayerVersions_layerName :: Lens' ListLayerVersions Text -- | See: newListLayerVersionsResponse smart constructor. data ListLayerVersionsResponse ListLayerVersionsResponse' :: Maybe [LayerVersionsListItem] -> Maybe Text -> Int -> ListLayerVersionsResponse -- | A list of versions. [$sel:layerVersions:ListLayerVersionsResponse'] :: ListLayerVersionsResponse -> Maybe [LayerVersionsListItem] -- | A pagination token returned when the response doesn't contain all -- versions. [$sel:nextMarker:ListLayerVersionsResponse'] :: ListLayerVersionsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListLayerVersionsResponse'] :: ListLayerVersionsResponse -> Int -- | Create a value of ListLayerVersionsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:layerVersions:ListLayerVersionsResponse', -- listLayerVersionsResponse_layerVersions - A list of versions. -- -- $sel:nextMarker:ListLayerVersionsResponse', -- listLayerVersionsResponse_nextMarker - A pagination token -- returned when the response doesn't contain all versions. -- -- $sel:httpStatus:ListLayerVersionsResponse', -- listLayerVersionsResponse_httpStatus - The response's http -- status code. newListLayerVersionsResponse :: Int -> ListLayerVersionsResponse -- | A list of versions. listLayerVersionsResponse_layerVersions :: Lens' ListLayerVersionsResponse (Maybe [LayerVersionsListItem]) -- | A pagination token returned when the response doesn't contain all -- versions. listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text) -- | The response's http status code. listLayerVersionsResponse_httpStatus :: Lens' ListLayerVersionsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance GHC.Show.Show Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance GHC.Read.Read Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance GHC.Classes.Eq Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance GHC.Generics.Generic Amazonka.Lambda.ListLayerVersions.ListLayerVersionsResponse instance GHC.Show.Show Amazonka.Lambda.ListLayerVersions.ListLayerVersionsResponse instance GHC.Read.Read Amazonka.Lambda.ListLayerVersions.ListLayerVersionsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListLayerVersions.ListLayerVersionsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Control.DeepSeq.NFData Amazonka.Lambda.ListLayerVersions.ListLayerVersionsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Control.DeepSeq.NFData Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListLayerVersions.ListLayerVersions instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListLayerVersions.ListLayerVersions -- | List the functions that use the specified code signing configuration. -- You can use this method prior to deleting a code signing -- configuration, to verify that no functions are using it. -- -- This operation returns paginated results. module Amazonka.Lambda.ListFunctionsByCodeSigningConfig -- | See: newListFunctionsByCodeSigningConfig smart -- constructor. data ListFunctionsByCodeSigningConfig ListFunctionsByCodeSigningConfig' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionsByCodeSigningConfig -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListFunctionsByCodeSigningConfig'] :: ListFunctionsByCodeSigningConfig -> Maybe Text -- | Maximum number of items to return. [$sel:maxItems:ListFunctionsByCodeSigningConfig'] :: ListFunctionsByCodeSigningConfig -> Maybe Natural -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig'] :: ListFunctionsByCodeSigningConfig -> Text -- | Create a value of ListFunctionsByCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionsByCodeSigningConfig', -- listFunctionsByCodeSigningConfig_marker - Specify the -- pagination token that's returned by a previous request to retrieve the -- next page of results. -- -- $sel:maxItems:ListFunctionsByCodeSigningConfig', -- listFunctionsByCodeSigningConfig_maxItems - Maximum number of -- items to return. -- -- ListFunctionsByCodeSigningConfig, -- listFunctionsByCodeSigningConfig_codeSigningConfigArn - The The -- Amazon Resource Name (ARN) of the code signing configuration. newListFunctionsByCodeSigningConfig :: Text -> ListFunctionsByCodeSigningConfig -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionsByCodeSigningConfig_marker :: Lens' ListFunctionsByCodeSigningConfig (Maybe Text) -- | Maximum number of items to return. listFunctionsByCodeSigningConfig_maxItems :: Lens' ListFunctionsByCodeSigningConfig (Maybe Natural) -- | The The Amazon Resource Name (ARN) of the code signing configuration. listFunctionsByCodeSigningConfig_codeSigningConfigArn :: Lens' ListFunctionsByCodeSigningConfig Text -- | See: newListFunctionsByCodeSigningConfigResponse smart -- constructor. data ListFunctionsByCodeSigningConfigResponse ListFunctionsByCodeSigningConfigResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse -- | The function ARNs. [$sel:functionArns:ListFunctionsByCodeSigningConfigResponse'] :: ListFunctionsByCodeSigningConfigResponse -> Maybe [Text] -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse'] :: ListFunctionsByCodeSigningConfigResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse'] :: ListFunctionsByCodeSigningConfigResponse -> Int -- | Create a value of ListFunctionsByCodeSigningConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functionArns:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_functionArns - The -- function ARNs. -- -- $sel:nextMarker:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_httpStatus - The -- response's http status code. newListFunctionsByCodeSigningConfigResponse :: Int -> ListFunctionsByCodeSigningConfigResponse -- | The function ARNs. listFunctionsByCodeSigningConfigResponse_functionArns :: Lens' ListFunctionsByCodeSigningConfigResponse (Maybe [Text]) -- | The pagination token that's included if more results are available. listFunctionsByCodeSigningConfigResponse_nextMarker :: Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text) -- | The response's http status code. listFunctionsByCodeSigningConfigResponse_httpStatus :: Lens' ListFunctionsByCodeSigningConfigResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfigResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListFunctionsByCodeSigningConfig.ListFunctionsByCodeSigningConfig -- | Returns a list of Lambda functions, with the version-specific -- configuration of each. Lambda returns up to 50 functions per call. -- -- Set FunctionVersion to ALL to include all published -- versions of each function in addition to the unpublished version. -- -- The ListFunctions operation returns a subset of the -- FunctionConfiguration fields. To get the additional fields (State, -- StateReasonCode, StateReason, LastUpdateStatus, -- LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or -- version, use GetFunction. -- -- This operation returns paginated results. module Amazonka.Lambda.ListFunctions -- | See: newListFunctions smart constructor. data ListFunctions ListFunctions' :: Maybe FunctionVersion -> Maybe Text -> Maybe Text -> Maybe Natural -> ListFunctions -- | Set to ALL to include entries for all published versions of -- each function. [$sel:functionVersion:ListFunctions'] :: ListFunctions -> Maybe FunctionVersion -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListFunctions'] :: ListFunctions -> Maybe Text -- | For Lambda@Edge functions, the Amazon Web Services Region of the -- master function. For example, us-east-1 filters the list of -- functions to include only Lambda@Edge functions replicated from a -- master function in US East (N. Virginia). If specified, you must set -- FunctionVersion to ALL. [$sel:masterRegion:ListFunctions'] :: ListFunctions -> Maybe Text -- | The maximum number of functions to return in the response. Note that -- ListFunctions returns a maximum of 50 items in each response, -- even if you set the number higher. [$sel:maxItems:ListFunctions'] :: ListFunctions -> Maybe Natural -- | Create a value of ListFunctions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListFunctions, listFunctions_functionVersion - Set to -- ALL to include entries for all published versions of each -- function. -- -- $sel:marker:ListFunctions', listFunctions_marker - -- Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. -- -- $sel:masterRegion:ListFunctions', -- listFunctions_masterRegion - For Lambda@Edge functions, the -- Amazon Web Services Region of the master function. For example, -- us-east-1 filters the list of functions to include only -- Lambda@Edge functions replicated from a master function in US East (N. -- Virginia). If specified, you must set FunctionVersion to -- ALL. -- -- $sel:maxItems:ListFunctions', listFunctions_maxItems - -- The maximum number of functions to return in the response. Note that -- ListFunctions returns a maximum of 50 items in each response, -- even if you set the number higher. newListFunctions :: ListFunctions -- | Set to ALL to include entries for all published versions of -- each function. listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion) -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctions_marker :: Lens' ListFunctions (Maybe Text) -- | For Lambda@Edge functions, the Amazon Web Services Region of the -- master function. For example, us-east-1 filters the list of -- functions to include only Lambda@Edge functions replicated from a -- master function in US East (N. Virginia). If specified, you must set -- FunctionVersion to ALL. listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text) -- | The maximum number of functions to return in the response. Note that -- ListFunctions returns a maximum of 50 items in each response, -- even if you set the number higher. listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural) -- | A list of Lambda functions. -- -- See: newListFunctionsResponse smart constructor. data ListFunctionsResponse ListFunctionsResponse' :: Maybe [FunctionConfiguration] -> Maybe Text -> Int -> ListFunctionsResponse -- | A list of Lambda functions. [$sel:functions:ListFunctionsResponse'] :: ListFunctionsResponse -> Maybe [FunctionConfiguration] -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListFunctionsResponse'] :: ListFunctionsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFunctionsResponse'] :: ListFunctionsResponse -> Int -- | Create a value of ListFunctionsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functions:ListFunctionsResponse', -- listFunctionsResponse_functions - A list of Lambda functions. -- -- $sel:nextMarker:ListFunctionsResponse', -- listFunctionsResponse_nextMarker - The pagination token that's -- included if more results are available. -- -- $sel:httpStatus:ListFunctionsResponse', -- listFunctionsResponse_httpStatus - The response's http status -- code. newListFunctionsResponse :: Int -> ListFunctionsResponse -- | A list of Lambda functions. listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) -- | The pagination token that's included if more results are available. listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text) -- | The response's http status code. listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListFunctions.ListFunctions instance GHC.Show.Show Amazonka.Lambda.ListFunctions.ListFunctions instance GHC.Read.Read Amazonka.Lambda.ListFunctions.ListFunctions instance GHC.Classes.Eq Amazonka.Lambda.ListFunctions.ListFunctions instance GHC.Generics.Generic Amazonka.Lambda.ListFunctions.ListFunctionsResponse instance GHC.Show.Show Amazonka.Lambda.ListFunctions.ListFunctionsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListFunctions.ListFunctionsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListFunctions.ListFunctions instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctions.ListFunctionsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListFunctions.ListFunctions instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListFunctions.ListFunctions instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctions.ListFunctions instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListFunctions.ListFunctions instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListFunctions.ListFunctions instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListFunctions.ListFunctions -- | Returns a list of Lambda function URLs for the specified function. -- -- This operation returns paginated results. module Amazonka.Lambda.ListFunctionUrlConfigs -- | See: newListFunctionUrlConfigs smart constructor. data ListFunctionUrlConfigs ListFunctionUrlConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionUrlConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListFunctionUrlConfigs'] :: ListFunctionUrlConfigs -> Maybe Text -- | The maximum number of function URLs to return in the response. Note -- that ListFunctionUrlConfigs returns a maximum of 50 items in -- each response, even if you set the number higher. [$sel:maxItems:ListFunctionUrlConfigs'] :: ListFunctionUrlConfigs -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:ListFunctionUrlConfigs'] :: ListFunctionUrlConfigs -> Text -- | Create a value of ListFunctionUrlConfigs with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionUrlConfigs', -- listFunctionUrlConfigs_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListFunctionUrlConfigs', -- listFunctionUrlConfigs_maxItems - The maximum number of -- function URLs to return in the response. Note that -- ListFunctionUrlConfigs returns a maximum of 50 items in each -- response, even if you set the number higher. -- -- ListFunctionUrlConfigs, -- listFunctionUrlConfigs_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListFunctionUrlConfigs :: Text -> ListFunctionUrlConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionUrlConfigs_marker :: Lens' ListFunctionUrlConfigs (Maybe Text) -- | The maximum number of function URLs to return in the response. Note -- that ListFunctionUrlConfigs returns a maximum of 50 items in -- each response, even if you set the number higher. listFunctionUrlConfigs_maxItems :: Lens' ListFunctionUrlConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listFunctionUrlConfigs_functionName :: Lens' ListFunctionUrlConfigs Text -- | See: newListFunctionUrlConfigsResponse smart -- constructor. data ListFunctionUrlConfigsResponse ListFunctionUrlConfigsResponse' :: Maybe Text -> Int -> [FunctionUrlConfig] -> ListFunctionUrlConfigsResponse -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListFunctionUrlConfigsResponse'] :: ListFunctionUrlConfigsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFunctionUrlConfigsResponse'] :: ListFunctionUrlConfigsResponse -> Int -- | A list of function URL configurations. [$sel:functionUrlConfigs:ListFunctionUrlConfigsResponse'] :: ListFunctionUrlConfigsResponse -> [FunctionUrlConfig] -- | Create a value of ListFunctionUrlConfigsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_httpStatus - The response's http -- status code. -- -- $sel:functionUrlConfigs:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_functionUrlConfigs - A list of -- function URL configurations. newListFunctionUrlConfigsResponse :: Int -> ListFunctionUrlConfigsResponse -- | The pagination token that's included if more results are available. listFunctionUrlConfigsResponse_nextMarker :: Lens' ListFunctionUrlConfigsResponse (Maybe Text) -- | The response's http status code. listFunctionUrlConfigsResponse_httpStatus :: Lens' ListFunctionUrlConfigsResponse Int -- | A list of function URL configurations. listFunctionUrlConfigsResponse_functionUrlConfigs :: Lens' ListFunctionUrlConfigsResponse [FunctionUrlConfig] instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance GHC.Show.Show Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance GHC.Read.Read Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigsResponse instance GHC.Show.Show Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigsResponse instance GHC.Read.Read Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListFunctionUrlConfigs.ListFunctionUrlConfigs -- | Retrieves a list of configurations for asynchronous invocation for a -- function. -- -- To configure options for asynchronous invocation, use -- PutFunctionEventInvokeConfig. -- -- This operation returns paginated results. module Amazonka.Lambda.ListFunctionEventInvokeConfigs -- | See: newListFunctionEventInvokeConfigs smart -- constructor. data ListFunctionEventInvokeConfigs ListFunctionEventInvokeConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionEventInvokeConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListFunctionEventInvokeConfigs'] :: ListFunctionEventInvokeConfigs -> Maybe Text -- | The maximum number of configurations to return. [$sel:maxItems:ListFunctionEventInvokeConfigs'] :: ListFunctionEventInvokeConfigs -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:ListFunctionEventInvokeConfigs'] :: ListFunctionEventInvokeConfigs -> Text -- | Create a value of ListFunctionEventInvokeConfigs with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionEventInvokeConfigs', -- listFunctionEventInvokeConfigs_marker - Specify the pagination -- token that's returned by a previous request to retrieve the next page -- of results. -- -- $sel:maxItems:ListFunctionEventInvokeConfigs', -- listFunctionEventInvokeConfigs_maxItems - The maximum number of -- configurations to return. -- -- ListFunctionEventInvokeConfigs, -- listFunctionEventInvokeConfigs_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListFunctionEventInvokeConfigs :: Text -> ListFunctionEventInvokeConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionEventInvokeConfigs_marker :: Lens' ListFunctionEventInvokeConfigs (Maybe Text) -- | The maximum number of configurations to return. listFunctionEventInvokeConfigs_maxItems :: Lens' ListFunctionEventInvokeConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listFunctionEventInvokeConfigs_functionName :: Lens' ListFunctionEventInvokeConfigs Text -- | See: newListFunctionEventInvokeConfigsResponse smart -- constructor. data ListFunctionEventInvokeConfigsResponse ListFunctionEventInvokeConfigsResponse' :: Maybe [FunctionEventInvokeConfig] -> Maybe Text -> Int -> ListFunctionEventInvokeConfigsResponse -- | A list of configurations. [$sel:functionEventInvokeConfigs:ListFunctionEventInvokeConfigsResponse'] :: ListFunctionEventInvokeConfigsResponse -> Maybe [FunctionEventInvokeConfig] -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListFunctionEventInvokeConfigsResponse'] :: ListFunctionEventInvokeConfigsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListFunctionEventInvokeConfigsResponse'] :: ListFunctionEventInvokeConfigsResponse -> Int -- | Create a value of ListFunctionEventInvokeConfigsResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:functionEventInvokeConfigs:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs -- - A list of configurations. -- -- $sel:nextMarker:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_httpStatus - The -- response's http status code. newListFunctionEventInvokeConfigsResponse :: Int -> ListFunctionEventInvokeConfigsResponse -- | A list of configurations. listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs :: Lens' ListFunctionEventInvokeConfigsResponse (Maybe [FunctionEventInvokeConfig]) -- | The pagination token that's included if more results are available. listFunctionEventInvokeConfigsResponse_nextMarker :: Lens' ListFunctionEventInvokeConfigsResponse (Maybe Text) -- | The response's http status code. listFunctionEventInvokeConfigsResponse_httpStatus :: Lens' ListFunctionEventInvokeConfigsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance GHC.Show.Show Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance GHC.Read.Read Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance GHC.Generics.Generic Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigsResponse instance GHC.Show.Show Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigsResponse instance GHC.Read.Read Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListFunctionEventInvokeConfigs.ListFunctionEventInvokeConfigs -- | Lists event source mappings. Specify an EventSourceArn to -- show only event source mappings for a single event source. -- -- This operation returns paginated results. module Amazonka.Lambda.ListEventSourceMappings -- | See: newListEventSourceMappings smart constructor. data ListEventSourceMappings ListEventSourceMappings' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> ListEventSourceMappings -- | The Amazon Resource Name (ARN) of the event source. -- -- [$sel:eventSourceArn:ListEventSourceMappings'] :: ListEventSourceMappings -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. [$sel:functionName:ListEventSourceMappings'] :: ListEventSourceMappings -> Maybe Text -- | A pagination token returned by a previous call. [$sel:marker:ListEventSourceMappings'] :: ListEventSourceMappings -> Maybe Text -- | The maximum number of event source mappings to return. Note that -- ListEventSourceMappings returns a maximum of 100 items in each -- response, even if you set the number higher. [$sel:maxItems:ListEventSourceMappings'] :: ListEventSourceMappings -> Maybe Natural -- | Create a value of ListEventSourceMappings with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListEventSourceMappings, -- listEventSourceMappings_eventSourceArn - The Amazon Resource -- Name (ARN) of the event source. -- -- -- -- ListEventSourceMappings, -- listEventSourceMappings_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. -- -- $sel:marker:ListEventSourceMappings', -- listEventSourceMappings_marker - A pagination token returned by -- a previous call. -- -- $sel:maxItems:ListEventSourceMappings', -- listEventSourceMappings_maxItems - The maximum number of event -- source mappings to return. Note that ListEventSourceMappings returns a -- maximum of 100 items in each response, even if you set the number -- higher. newListEventSourceMappings :: ListEventSourceMappings -- | The Amazon Resource Name (ARN) of the event source. -- -- listEventSourceMappings_eventSourceArn :: Lens' ListEventSourceMappings (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. listEventSourceMappings_functionName :: Lens' ListEventSourceMappings (Maybe Text) -- | A pagination token returned by a previous call. listEventSourceMappings_marker :: Lens' ListEventSourceMappings (Maybe Text) -- | The maximum number of event source mappings to return. Note that -- ListEventSourceMappings returns a maximum of 100 items in each -- response, even if you set the number higher. listEventSourceMappings_maxItems :: Lens' ListEventSourceMappings (Maybe Natural) -- | See: newListEventSourceMappingsResponse smart -- constructor. data ListEventSourceMappingsResponse ListEventSourceMappingsResponse' :: Maybe [EventSourceMappingConfiguration] -> Maybe Text -> Int -> ListEventSourceMappingsResponse -- | A list of event source mappings. [$sel:eventSourceMappings:ListEventSourceMappingsResponse'] :: ListEventSourceMappingsResponse -> Maybe [EventSourceMappingConfiguration] -- | A pagination token that's returned when the response doesn't contain -- all event source mappings. [$sel:nextMarker:ListEventSourceMappingsResponse'] :: ListEventSourceMappingsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListEventSourceMappingsResponse'] :: ListEventSourceMappingsResponse -> Int -- | Create a value of ListEventSourceMappingsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:eventSourceMappings:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_eventSourceMappings - A list of -- event source mappings. -- -- $sel:nextMarker:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_nextMarker - A pagination token -- that's returned when the response doesn't contain all event source -- mappings. -- -- $sel:httpStatus:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_httpStatus - The response's -- http status code. newListEventSourceMappingsResponse :: Int -> ListEventSourceMappingsResponse -- | A list of event source mappings. listEventSourceMappingsResponse_eventSourceMappings :: Lens' ListEventSourceMappingsResponse (Maybe [EventSourceMappingConfiguration]) -- | A pagination token that's returned when the response doesn't contain -- all event source mappings. listEventSourceMappingsResponse_nextMarker :: Lens' ListEventSourceMappingsResponse (Maybe Text) -- | The response's http status code. listEventSourceMappingsResponse_httpStatus :: Lens' ListEventSourceMappingsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance GHC.Show.Show Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance GHC.Read.Read Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance GHC.Classes.Eq Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance GHC.Generics.Generic Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappingsResponse instance GHC.Show.Show Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappingsResponse instance GHC.Read.Read Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappingsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappingsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Control.DeepSeq.NFData Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappingsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Control.DeepSeq.NFData Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListEventSourceMappings.ListEventSourceMappings -- | Returns a list of code signing configurations. A request -- returns up to 10,000 configurations per call. You can use the -- MaxItems parameter to return fewer configurations per call. -- -- This operation returns paginated results. module Amazonka.Lambda.ListCodeSigningConfigs -- | See: newListCodeSigningConfigs smart constructor. data ListCodeSigningConfigs ListCodeSigningConfigs' :: Maybe Text -> Maybe Natural -> ListCodeSigningConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListCodeSigningConfigs'] :: ListCodeSigningConfigs -> Maybe Text -- | Maximum number of items to return. [$sel:maxItems:ListCodeSigningConfigs'] :: ListCodeSigningConfigs -> Maybe Natural -- | Create a value of ListCodeSigningConfigs with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListCodeSigningConfigs', -- listCodeSigningConfigs_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListCodeSigningConfigs', -- listCodeSigningConfigs_maxItems - Maximum number of items to -- return. newListCodeSigningConfigs :: ListCodeSigningConfigs -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listCodeSigningConfigs_marker :: Lens' ListCodeSigningConfigs (Maybe Text) -- | Maximum number of items to return. listCodeSigningConfigs_maxItems :: Lens' ListCodeSigningConfigs (Maybe Natural) -- | See: newListCodeSigningConfigsResponse smart -- constructor. data ListCodeSigningConfigsResponse ListCodeSigningConfigsResponse' :: Maybe [CodeSigningConfig] -> Maybe Text -> Int -> ListCodeSigningConfigsResponse -- | The code signing configurations [$sel:codeSigningConfigs:ListCodeSigningConfigsResponse'] :: ListCodeSigningConfigsResponse -> Maybe [CodeSigningConfig] -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListCodeSigningConfigsResponse'] :: ListCodeSigningConfigsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListCodeSigningConfigsResponse'] :: ListCodeSigningConfigsResponse -> Int -- | Create a value of ListCodeSigningConfigsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSigningConfigs:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_codeSigningConfigs - The code -- signing configurations -- -- $sel:nextMarker:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:httpStatus:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_httpStatus - The response's http -- status code. newListCodeSigningConfigsResponse :: Int -> ListCodeSigningConfigsResponse -- | The code signing configurations listCodeSigningConfigsResponse_codeSigningConfigs :: Lens' ListCodeSigningConfigsResponse (Maybe [CodeSigningConfig]) -- | The pagination token that's included if more results are available. listCodeSigningConfigsResponse_nextMarker :: Lens' ListCodeSigningConfigsResponse (Maybe Text) -- | The response's http status code. listCodeSigningConfigsResponse_httpStatus :: Lens' ListCodeSigningConfigsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance GHC.Show.Show Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance GHC.Read.Read Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance GHC.Classes.Eq Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance GHC.Generics.Generic Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigsResponse instance GHC.Show.Show Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigsResponse instance GHC.Read.Read Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigsResponse instance GHC.Classes.Eq Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigsResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Control.DeepSeq.NFData Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListCodeSigningConfigs.ListCodeSigningConfigs -- | Returns a list of aliases for a Lambda function. -- -- This operation returns paginated results. module Amazonka.Lambda.ListAliases -- | See: newListAliases smart constructor. data ListAliases ListAliases' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> ListAliases -- | Specify a function version to only list aliases that invoke that -- version. [$sel:functionVersion:ListAliases'] :: ListAliases -> Maybe Text -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. [$sel:marker:ListAliases'] :: ListAliases -> Maybe Text -- | Limit the number of aliases returned. [$sel:maxItems:ListAliases'] :: ListAliases -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:ListAliases'] :: ListAliases -> Text -- | Create a value of ListAliases with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListAliases, listAliases_functionVersion - Specify a -- function version to only list aliases that invoke that version. -- -- $sel:marker:ListAliases', listAliases_marker - Specify -- the pagination token that's returned by a previous request to retrieve -- the next page of results. -- -- $sel:maxItems:ListAliases', listAliases_maxItems - Limit -- the number of aliases returned. -- -- ListAliases, listAliases_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListAliases :: Text -> ListAliases -- | Specify a function version to only list aliases that invoke that -- version. listAliases_functionVersion :: Lens' ListAliases (Maybe Text) -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listAliases_marker :: Lens' ListAliases (Maybe Text) -- | Limit the number of aliases returned. listAliases_maxItems :: Lens' ListAliases (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listAliases_functionName :: Lens' ListAliases Text -- | See: newListAliasesResponse smart constructor. data ListAliasesResponse ListAliasesResponse' :: Maybe [AliasConfiguration] -> Maybe Text -> Int -> ListAliasesResponse -- | A list of aliases. [$sel:aliases:ListAliasesResponse'] :: ListAliasesResponse -> Maybe [AliasConfiguration] -- | The pagination token that's included if more results are available. [$sel:nextMarker:ListAliasesResponse'] :: ListAliasesResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListAliasesResponse'] :: ListAliasesResponse -> Int -- | Create a value of ListAliasesResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliases:ListAliasesResponse', -- listAliasesResponse_aliases - A list of aliases. -- -- $sel:nextMarker:ListAliasesResponse', -- listAliasesResponse_nextMarker - The pagination token that's -- included if more results are available. -- -- $sel:httpStatus:ListAliasesResponse', -- listAliasesResponse_httpStatus - The response's http status -- code. newListAliasesResponse :: Int -> ListAliasesResponse -- | A list of aliases. listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [AliasConfiguration]) -- | The pagination token that's included if more results are available. listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text) -- | The response's http status code. listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int instance GHC.Generics.Generic Amazonka.Lambda.ListAliases.ListAliases instance GHC.Show.Show Amazonka.Lambda.ListAliases.ListAliases instance GHC.Read.Read Amazonka.Lambda.ListAliases.ListAliases instance GHC.Classes.Eq Amazonka.Lambda.ListAliases.ListAliases instance GHC.Generics.Generic Amazonka.Lambda.ListAliases.ListAliasesResponse instance GHC.Show.Show Amazonka.Lambda.ListAliases.ListAliasesResponse instance GHC.Read.Read Amazonka.Lambda.ListAliases.ListAliasesResponse instance GHC.Classes.Eq Amazonka.Lambda.ListAliases.ListAliasesResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.ListAliases.ListAliases instance Control.DeepSeq.NFData Amazonka.Lambda.ListAliases.ListAliasesResponse instance Amazonka.Pager.AWSPager Amazonka.Lambda.ListAliases.ListAliases instance Data.Hashable.Class.Hashable Amazonka.Lambda.ListAliases.ListAliases instance Control.DeepSeq.NFData Amazonka.Lambda.ListAliases.ListAliases instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.ListAliases.ListAliases instance Amazonka.Data.Path.ToPath Amazonka.Lambda.ListAliases.ListAliases instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.ListAliases.ListAliases -- | Invokes a Lambda function. You can invoke a function synchronously -- (and wait for the response), or asynchronously. To invoke a function -- asynchronously, set InvocationType to Event. -- -- For synchronous invocation, details about the function -- response, including errors, are included in the response body and -- headers. For either invocation type, you can find more information in -- the execution log and trace. -- -- When an error occurs, your function may be invoked multiple times. -- Retry behavior varies by error type, client, event source, and -- invocation type. For example, if you invoke a function asynchronously -- and it returns an error, Lambda executes the function up to two more -- times. For more information, see Error handling and automatic -- retries in Lambda. -- -- For asynchronous invocation, Lambda adds events to a queue -- before sending them to your function. If your function does not have -- enough capacity to keep up with the queue, events may be lost. -- Occasionally, your function may receive the same event multiple times, -- even if no error occurs. To retain events that were not processed, -- configure your function with a dead-letter queue. -- -- The status code in the API response doesn't reflect function errors. -- Error codes are reserved for errors that prevent your function from -- executing, such as permissions errors, quota errors, or issues -- with your function's code and configuration. For example, Lambda -- returns TooManyRequestsException if running the function -- would cause you to exceed a concurrency limit at either the account -- level (ConcurrentInvocationLimitExceeded) or function level -- (ReservedFunctionConcurrentInvocationLimitExceeded). -- -- For functions with a long timeout, your client might disconnect during -- synchronous invocation while it waits for a response. Configure your -- HTTP client, SDK, firewall, proxy, or operating system to allow for -- long connections with timeout or keep-alive settings. -- -- This operation requires permission for the -- lambda:InvokeFunction action. For details on how to set up -- permissions for cross-account invocations, see Granting function -- access to other accounts. module Amazonka.Lambda.Invoke -- | See: newInvoke smart constructor. data Invoke Invoke' :: Maybe Text -> Maybe InvocationType -> Maybe LogType -> Maybe Text -> Text -> ByteString -> Invoke -- | Up to 3,583 bytes of base64-encoded data about the invoking client to -- pass to the function in the context object. [$sel:clientContext:Invoke'] :: Invoke -> Maybe Text -- | Choose from the following options. -- -- [$sel:invocationType:Invoke'] :: Invoke -> Maybe InvocationType -- | Set to Tail to include the execution log in the response. -- Applies to synchronously invoked functions only. [$sel:logType:Invoke'] :: Invoke -> Maybe LogType -- | Specify a version or alias to invoke a published version of the -- function. [$sel:qualifier:Invoke'] :: Invoke -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:Invoke'] :: Invoke -> Text -- | The JSON that you want to provide to your Lambda function as input. -- -- You can enter the JSON directly. For example, --payload '{ "key": -- "value" }'. You can also specify a file path. For example, -- --payload file://payload.json. [$sel:payload:Invoke'] :: Invoke -> ByteString -- | Create a value of Invoke with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:clientContext:Invoke', invoke_clientContext - Up to -- 3,583 bytes of base64-encoded data about the invoking client to pass -- to the function in the context object. -- -- $sel:invocationType:Invoke', invoke_invocationType - -- Choose from the following options. -- -- -- -- $sel:logType:Invoke', invoke_logType - Set to -- Tail to include the execution log in the response. Applies to -- synchronously invoked functions only. -- -- $sel:qualifier:Invoke', invoke_qualifier - Specify a -- version or alias to invoke a published version of the function. -- -- Invoke, invoke_functionName - The name of the Lambda -- function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- Invoke, invoke_payload - The JSON that you want to -- provide to your Lambda function as input. -- -- You can enter the JSON directly. For example, --payload '{ "key": -- "value" }'. You can also specify a file path. For example, -- --payload file://payload.json. newInvoke :: Text -> ByteString -> Invoke -- | Up to 3,583 bytes of base64-encoded data about the invoking client to -- pass to the function in the context object. invoke_clientContext :: Lens' Invoke (Maybe Text) -- | Choose from the following options. -- -- invoke_invocationType :: Lens' Invoke (Maybe InvocationType) -- | Set to Tail to include the execution log in the response. -- Applies to synchronously invoked functions only. invoke_logType :: Lens' Invoke (Maybe LogType) -- | Specify a version or alias to invoke a published version of the -- function. invoke_qualifier :: Lens' Invoke (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. invoke_functionName :: Lens' Invoke Text -- | The JSON that you want to provide to your Lambda function as input. -- -- You can enter the JSON directly. For example, --payload '{ "key": -- "value" }'. You can also specify a file path. For example, -- --payload file://payload.json. invoke_payload :: Lens' Invoke ByteString -- | See: newInvokeResponse smart constructor. data InvokeResponse InvokeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ByteString -> Int -> InvokeResponse -- | The version of the function that executed. When you invoke a function -- with an alias, this indicates which version the alias resolved to. [$sel:executedVersion:InvokeResponse'] :: InvokeResponse -> Maybe Text -- | If present, indicates that an error occurred during function -- execution. Details about the error are included in the response -- payload. [$sel:functionError:InvokeResponse'] :: InvokeResponse -> Maybe Text -- | The last 4 KB of the execution log, which is base64-encoded. [$sel:logResult:InvokeResponse'] :: InvokeResponse -> Maybe Text -- | The response from the function, or an error object. [$sel:payload:InvokeResponse'] :: InvokeResponse -> Maybe ByteString -- | The HTTP status code is in the 200 range for a successful request. For -- the RequestResponse invocation type, this status code is 200. -- For the Event invocation type, this status code is 202. For -- the DryRun invocation type, the status code is 204. [$sel:statusCode:InvokeResponse'] :: InvokeResponse -> Int -- | Create a value of InvokeResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:executedVersion:InvokeResponse', -- invokeResponse_executedVersion - The version of the function -- that executed. When you invoke a function with an alias, this -- indicates which version the alias resolved to. -- -- $sel:functionError:InvokeResponse', -- invokeResponse_functionError - If present, indicates that an -- error occurred during function execution. Details about the error are -- included in the response payload. -- -- $sel:logResult:InvokeResponse', invokeResponse_logResult -- - The last 4 KB of the execution log, which is base64-encoded. -- -- Invoke, invokeResponse_payload - The response from the -- function, or an error object. -- -- $sel:statusCode:InvokeResponse', -- invokeResponse_statusCode - The HTTP status code is in the 200 -- range for a successful request. For the RequestResponse -- invocation type, this status code is 200. For the Event -- invocation type, this status code is 202. For the DryRun -- invocation type, the status code is 204. newInvokeResponse :: Int -> InvokeResponse -- | The version of the function that executed. When you invoke a function -- with an alias, this indicates which version the alias resolved to. invokeResponse_executedVersion :: Lens' InvokeResponse (Maybe Text) -- | If present, indicates that an error occurred during function -- execution. Details about the error are included in the response -- payload. invokeResponse_functionError :: Lens' InvokeResponse (Maybe Text) -- | The last 4 KB of the execution log, which is base64-encoded. invokeResponse_logResult :: Lens' InvokeResponse (Maybe Text) -- | The response from the function, or an error object. invokeResponse_payload :: Lens' InvokeResponse (Maybe ByteString) -- | The HTTP status code is in the 200 range for a successful request. For -- the RequestResponse invocation type, this status code is 200. -- For the Event invocation type, this status code is 202. For -- the DryRun invocation type, the status code is 204. invokeResponse_statusCode :: Lens' InvokeResponse Int instance GHC.Generics.Generic Amazonka.Lambda.Invoke.Invoke instance GHC.Show.Show Amazonka.Lambda.Invoke.Invoke instance GHC.Classes.Eq Amazonka.Lambda.Invoke.Invoke instance GHC.Generics.Generic Amazonka.Lambda.Invoke.InvokeResponse instance GHC.Show.Show Amazonka.Lambda.Invoke.InvokeResponse instance GHC.Classes.Eq Amazonka.Lambda.Invoke.InvokeResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.Invoke.Invoke instance Control.DeepSeq.NFData Amazonka.Lambda.Invoke.InvokeResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.Invoke.Invoke instance Control.DeepSeq.NFData Amazonka.Lambda.Invoke.Invoke instance Amazonka.Data.Body.ToBody Amazonka.Lambda.Invoke.Invoke instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.Invoke.Invoke instance Amazonka.Data.Path.ToPath Amazonka.Lambda.Invoke.Invoke instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.Invoke.Invoke -- | Retrieves the provisioned concurrency configuration for a function's -- alias or version. module Amazonka.Lambda.GetProvisionedConcurrencyConfig -- | See: newGetProvisionedConcurrencyConfig smart -- constructor. data GetProvisionedConcurrencyConfig GetProvisionedConcurrencyConfig' :: Text -> Text -> GetProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetProvisionedConcurrencyConfig'] :: GetProvisionedConcurrencyConfig -> Text -- | The version number or alias name. [$sel:qualifier:GetProvisionedConcurrencyConfig'] :: GetProvisionedConcurrencyConfig -> Text -- | Create a value of GetProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetProvisionedConcurrencyConfig, -- getProvisionedConcurrencyConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:GetProvisionedConcurrencyConfig', -- getProvisionedConcurrencyConfig_qualifier - The version number -- or alias name. newGetProvisionedConcurrencyConfig :: Text -> Text -> GetProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig Text -- | The version number or alias name. getProvisionedConcurrencyConfig_qualifier :: Lens' GetProvisionedConcurrencyConfig Text -- | See: newGetProvisionedConcurrencyConfigResponse smart -- constructor. data GetProvisionedConcurrencyConfigResponse GetProvisionedConcurrencyConfigResponse' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> Int -> GetProvisionedConcurrencyConfigResponse -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. [$sel:allocatedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The amount of provisioned concurrency available. [$sel:availableProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. [$sel:lastModified:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe Text -- | The amount of provisioned concurrency requested. [$sel:requestedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe Natural -- | The status of the allocation process. [$sel:status:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe ProvisionedConcurrencyStatusEnum -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. [$sel:statusReason:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetProvisionedConcurrencyConfigResponse'] :: GetProvisionedConcurrencyConfigResponse -> Int -- | Create a value of GetProvisionedConcurrencyConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_status - The status of -- the allocation process. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_statusReason - For -- failed allocations, the reason that provisioned concurrency could not -- be allocated. -- -- $sel:httpStatus:GetProvisionedConcurrencyConfigResponse', -- getProvisionedConcurrencyConfigResponse_httpStatus - The -- response's http status code. newGetProvisionedConcurrencyConfigResponse :: Int -> GetProvisionedConcurrencyConfigResponse -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The amount of provisioned concurrency available. getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. getProvisionedConcurrencyConfigResponse_lastModified :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) -- | The amount of provisioned concurrency requested. getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The status of the allocation process. getProvisionedConcurrencyConfigResponse_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) -- | The response's http status code. getProvisionedConcurrencyConfigResponse_httpStatus :: Lens' GetProvisionedConcurrencyConfigResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance GHC.Show.Show Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance GHC.Read.Read Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance GHC.Classes.Eq Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance GHC.Generics.Generic Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfigResponse instance GHC.Show.Show Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfigResponse instance GHC.Read.Read Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetProvisionedConcurrencyConfig.GetProvisionedConcurrencyConfig -- | Returns the resource-based IAM policy for a function, version, -- or alias. module Amazonka.Lambda.GetPolicy -- | See: newGetPolicy smart constructor. data GetPolicy GetPolicy' :: Maybe Text -> Text -> GetPolicy -- | Specify a version or alias to get the policy for that resource. [$sel:qualifier:GetPolicy'] :: GetPolicy -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:GetPolicy'] :: GetPolicy -> Text -- | Create a value of GetPolicy with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetPolicy', getPolicy_qualifier - Specify -- a version or alias to get the policy for that resource. -- -- GetPolicy, getPolicy_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetPolicy :: Text -> GetPolicy -- | Specify a version or alias to get the policy for that resource. getPolicy_qualifier :: Lens' GetPolicy (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getPolicy_functionName :: Lens' GetPolicy Text -- | See: newGetPolicyResponse smart constructor. data GetPolicyResponse GetPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetPolicyResponse -- | The resource-based policy. [$sel:policy:GetPolicyResponse'] :: GetPolicyResponse -> Maybe Text -- | A unique identifier for the current revision of the policy. [$sel:revisionId:GetPolicyResponse'] :: GetPolicyResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetPolicyResponse'] :: GetPolicyResponse -> Int -- | Create a value of GetPolicyResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:GetPolicyResponse', getPolicyResponse_policy -- - The resource-based policy. -- -- GetPolicyResponse, getPolicyResponse_revisionId - A -- unique identifier for the current revision of the policy. -- -- $sel:httpStatus:GetPolicyResponse', -- getPolicyResponse_httpStatus - The response's http status code. newGetPolicyResponse :: Int -> GetPolicyResponse -- | The resource-based policy. getPolicyResponse_policy :: Lens' GetPolicyResponse (Maybe Text) -- | A unique identifier for the current revision of the policy. getPolicyResponse_revisionId :: Lens' GetPolicyResponse (Maybe Text) -- | The response's http status code. getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetPolicy.GetPolicy instance GHC.Show.Show Amazonka.Lambda.GetPolicy.GetPolicy instance GHC.Read.Read Amazonka.Lambda.GetPolicy.GetPolicy instance GHC.Classes.Eq Amazonka.Lambda.GetPolicy.GetPolicy instance GHC.Generics.Generic Amazonka.Lambda.GetPolicy.GetPolicyResponse instance GHC.Show.Show Amazonka.Lambda.GetPolicy.GetPolicyResponse instance GHC.Read.Read Amazonka.Lambda.GetPolicy.GetPolicyResponse instance GHC.Classes.Eq Amazonka.Lambda.GetPolicy.GetPolicyResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetPolicy.GetPolicy instance Control.DeepSeq.NFData Amazonka.Lambda.GetPolicy.GetPolicyResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetPolicy.GetPolicy instance Control.DeepSeq.NFData Amazonka.Lambda.GetPolicy.GetPolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetPolicy.GetPolicy instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetPolicy.GetPolicy instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetPolicy.GetPolicy -- | Returns the permission policy for a version of an Lambda layer. -- For more information, see AddLayerVersionPermission. module Amazonka.Lambda.GetLayerVersionPolicy -- | See: newGetLayerVersionPolicy smart constructor. data GetLayerVersionPolicy GetLayerVersionPolicy' :: Text -> Integer -> GetLayerVersionPolicy -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:GetLayerVersionPolicy'] :: GetLayerVersionPolicy -> Text -- | The version number. [$sel:versionNumber:GetLayerVersionPolicy'] :: GetLayerVersionPolicy -> Integer -- | Create a value of GetLayerVersionPolicy with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersionPolicy, getLayerVersionPolicy_layerName - -- The name or Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:GetLayerVersionPolicy', -- getLayerVersionPolicy_versionNumber - The version number. newGetLayerVersionPolicy :: Text -> Integer -> GetLayerVersionPolicy -- | The name or Amazon Resource Name (ARN) of the layer. getLayerVersionPolicy_layerName :: Lens' GetLayerVersionPolicy Text -- | The version number. getLayerVersionPolicy_versionNumber :: Lens' GetLayerVersionPolicy Integer -- | See: newGetLayerVersionPolicyResponse smart constructor. data GetLayerVersionPolicyResponse GetLayerVersionPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetLayerVersionPolicyResponse -- | The policy document. [$sel:policy:GetLayerVersionPolicyResponse'] :: GetLayerVersionPolicyResponse -> Maybe Text -- | A unique identifier for the current revision of the policy. [$sel:revisionId:GetLayerVersionPolicyResponse'] :: GetLayerVersionPolicyResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetLayerVersionPolicyResponse'] :: GetLayerVersionPolicyResponse -> Int -- | Create a value of GetLayerVersionPolicyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:GetLayerVersionPolicyResponse', -- getLayerVersionPolicyResponse_policy - The policy document. -- -- GetLayerVersionPolicyResponse, -- getLayerVersionPolicyResponse_revisionId - A unique identifier -- for the current revision of the policy. -- -- $sel:httpStatus:GetLayerVersionPolicyResponse', -- getLayerVersionPolicyResponse_httpStatus - The response's http -- status code. newGetLayerVersionPolicyResponse :: Int -> GetLayerVersionPolicyResponse -- | The policy document. getLayerVersionPolicyResponse_policy :: Lens' GetLayerVersionPolicyResponse (Maybe Text) -- | A unique identifier for the current revision of the policy. getLayerVersionPolicyResponse_revisionId :: Lens' GetLayerVersionPolicyResponse (Maybe Text) -- | The response's http status code. getLayerVersionPolicyResponse_httpStatus :: Lens' GetLayerVersionPolicyResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance GHC.Show.Show Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance GHC.Read.Read Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance GHC.Classes.Eq Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance GHC.Generics.Generic Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicyResponse instance GHC.Show.Show Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicyResponse instance GHC.Read.Read Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicyResponse instance GHC.Classes.Eq Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicyResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance Control.DeepSeq.NFData Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicyResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance Control.DeepSeq.NFData Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetLayerVersionPolicy.GetLayerVersionPolicy -- | Returns information about a version of an Lambda layer, with a -- link to download the layer archive that's valid for 10 minutes. module Amazonka.Lambda.GetLayerVersionByArn -- | See: newGetLayerVersionByArn smart constructor. data GetLayerVersionByArn GetLayerVersionByArn' :: Text -> GetLayerVersionByArn -- | The ARN of the layer version. [$sel:arn:GetLayerVersionByArn'] :: GetLayerVersionByArn -> Text -- | Create a value of GetLayerVersionByArn with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersionByArn, getLayerVersionByArn_arn - The ARN -- of the layer version. newGetLayerVersionByArn :: Text -> GetLayerVersionByArn -- | The ARN of the layer version. getLayerVersionByArn_arn :: Lens' GetLayerVersionByArn Text -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Runtime] -- | Details about the layer version. [$sel:content:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe LayerVersionContentOutput -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:createdDate:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The description of the version. [$sel:description:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer. [$sel:layerArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The layer's software license. [$sel:licenseInfo:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The version number. [$sel:version:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Integer -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) instance GHC.Generics.Generic Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance GHC.Show.Show Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance GHC.Read.Read Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance GHC.Classes.Eq Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Control.DeepSeq.NFData Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetLayerVersionByArn.GetLayerVersionByArn -- | Returns information about a version of an Lambda layer, with a -- link to download the layer archive that's valid for 10 minutes. module Amazonka.Lambda.GetLayerVersion -- | See: newGetLayerVersion smart constructor. data GetLayerVersion GetLayerVersion' :: Text -> Integer -> GetLayerVersion -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:GetLayerVersion'] :: GetLayerVersion -> Text -- | The version number. [$sel:versionNumber:GetLayerVersion'] :: GetLayerVersion -> Integer -- | Create a value of GetLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersion, getLayerVersion_layerName - The name or -- Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:GetLayerVersion', -- getLayerVersion_versionNumber - The version number. newGetLayerVersion :: Text -> Integer -> GetLayerVersion -- | The name or Amazon Resource Name (ARN) of the layer. getLayerVersion_layerName :: Lens' GetLayerVersion Text -- | The version number. getLayerVersion_versionNumber :: Lens' GetLayerVersion Integer -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | A list of compatible instruction set architectures. [$sel:compatibleArchitectures:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Architecture] -- | The layer's compatible runtimes. [$sel:compatibleRuntimes:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe [Runtime] -- | Details about the layer version. [$sel:content:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe LayerVersionContentOutput -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:createdDate:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The description of the version. [$sel:description:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer. [$sel:layerArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The ARN of the layer version. [$sel:layerVersionArn:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The layer's software license. [$sel:licenseInfo:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Text -- | The version number. [$sel:version:GetLayerVersionResponse'] :: GetLayerVersionResponse -> Maybe Integer -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) instance GHC.Generics.Generic Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance GHC.Show.Show Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance GHC.Read.Read Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance GHC.Classes.Eq Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Control.DeepSeq.NFData Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetLayerVersion.GetLayerVersion instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetLayerVersion.GetLayerVersion -- | Returns details about a Lambda function URL. module Amazonka.Lambda.GetFunctionUrlConfig -- | See: newGetFunctionUrlConfig smart constructor. data GetFunctionUrlConfig GetFunctionUrlConfig' :: Maybe Text -> Text -> GetFunctionUrlConfig -- | The alias name. [$sel:qualifier:GetFunctionUrlConfig'] :: GetFunctionUrlConfig -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionUrlConfig'] :: GetFunctionUrlConfig -> Text -- | Create a value of GetFunctionUrlConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionUrlConfig', -- getFunctionUrlConfig_qualifier - The alias name. -- -- GetFunctionUrlConfig, getFunctionUrlConfig_functionName -- - The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionUrlConfig :: Text -> GetFunctionUrlConfig -- | The alias name. getFunctionUrlConfig_qualifier :: Lens' GetFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionUrlConfig_functionName :: Lens' GetFunctionUrlConfig Text -- | See: newGetFunctionUrlConfigResponse smart constructor. data GetFunctionUrlConfigResponse GetFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Maybe Cors -- | The response's http status code. [$sel:httpStatus:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Int -- | The HTTP URL endpoint for your function. [$sel:functionUrl:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Text -- | The Amazon Resource Name (ARN) of your function. [$sel:functionArn:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:creationTime:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModifiedTime:GetFunctionUrlConfigResponse'] :: GetFunctionUrlConfigResponse -> Text -- | Create a value of GetFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:GetFunctionUrlConfigResponse', -- getFunctionUrlConfigResponse_httpStatus - The response's http -- status code. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_functionArn - The Amazon Resource -- Name (ARN) of your function. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_creationTime - When the function -- URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_lastModifiedTime - When the -- function URL configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newGetFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. getFunctionUrlConfigResponse_cors :: Lens' GetFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. getFunctionUrlConfigResponse_httpStatus :: Lens' GetFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. getFunctionUrlConfigResponse_functionUrl :: Lens' GetFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. getFunctionUrlConfigResponse_functionArn :: Lens' GetFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. getFunctionUrlConfigResponse_authType :: Lens' GetFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getFunctionUrlConfigResponse_creationTime :: Lens' GetFunctionUrlConfigResponse Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). getFunctionUrlConfigResponse_lastModifiedTime :: Lens' GetFunctionUrlConfigResponse Text instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance GHC.Show.Show Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance GHC.Read.Read Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfigResponse instance GHC.Show.Show Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfigResponse instance GHC.Read.Read Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunctionUrlConfig.GetFunctionUrlConfig -- | Retrieves the configuration for asynchronous invocation for a -- function, version, or alias. -- -- To configure options for asynchronous invocation, use -- PutFunctionEventInvokeConfig. module Amazonka.Lambda.GetFunctionEventInvokeConfig -- | See: newGetFunctionEventInvokeConfig smart constructor. data GetFunctionEventInvokeConfig GetFunctionEventInvokeConfig' :: Maybe Text -> Text -> GetFunctionEventInvokeConfig -- | A version number or alias name. [$sel:qualifier:GetFunctionEventInvokeConfig'] :: GetFunctionEventInvokeConfig -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionEventInvokeConfig'] :: GetFunctionEventInvokeConfig -> Text -- | Create a value of GetFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionEventInvokeConfig', -- getFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- GetFunctionEventInvokeConfig, -- getFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunctionEventInvokeConfig :: Text -> GetFunctionEventInvokeConfig -- | A version number or alias name. getFunctionEventInvokeConfig_qualifier :: Lens' GetFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunctionEventInvokeConfig_functionName :: Lens' GetFunctionEventInvokeConfig Text -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the function. [$sel:functionArn:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Text -- | The date and time that the configuration was last updated. [$sel:lastModified:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe POSIX -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance GHC.Show.Show Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance GHC.Read.Read Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunctionEventInvokeConfig.GetFunctionEventInvokeConfig -- | Returns the version-specific settings of a Lambda function or version. -- The output includes only options that can vary between versions of a -- function. To modify these settings, use UpdateFunctionConfiguration. -- -- To get all of a function's details, including function-level settings, -- use GetFunction. module Amazonka.Lambda.GetFunctionConfiguration -- | See: newGetFunctionConfiguration smart constructor. data GetFunctionConfiguration GetFunctionConfiguration' :: Maybe Text -> Text -> GetFunctionConfiguration -- | Specify a version or alias to get details about a published version of -- the function. [$sel:qualifier:GetFunctionConfiguration'] :: GetFunctionConfiguration -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionConfiguration'] :: GetFunctionConfiguration -> Text -- | Create a value of GetFunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionConfiguration', -- getFunctionConfiguration_qualifier - Specify a version or alias -- to get details about a published version of the function. -- -- GetFunctionConfiguration, -- getFunctionConfiguration_functionName - The name of the Lambda -- function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunctionConfiguration :: Text -> GetFunctionConfiguration -- | Specify a version or alias to get details about a published version of -- the function. getFunctionConfiguration_qualifier :: Lens' GetFunctionConfiguration (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunctionConfiguration_functionName :: Lens' GetFunctionConfiguration Text -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance GHC.Show.Show Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance GHC.Read.Read Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunctionConfiguration.GetFunctionConfiguration -- | Returns details about the reserved concurrency configuration for a -- function. To set a concurrency limit for a function, use -- PutFunctionConcurrency. module Amazonka.Lambda.GetFunctionConcurrency -- | See: newGetFunctionConcurrency smart constructor. data GetFunctionConcurrency GetFunctionConcurrency' :: Text -> GetFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionConcurrency'] :: GetFunctionConcurrency -> Text -- | Create a value of GetFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionConcurrency, -- getFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionConcurrency :: Text -> GetFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text -- | See: newGetFunctionConcurrencyResponse smart -- constructor. data GetFunctionConcurrencyResponse GetFunctionConcurrencyResponse' :: Maybe Natural -> Int -> GetFunctionConcurrencyResponse -- | The number of simultaneous executions that are reserved for the -- function. [$sel:reservedConcurrentExecutions:GetFunctionConcurrencyResponse'] :: GetFunctionConcurrencyResponse -> Maybe Natural -- | The response's http status code. [$sel:httpStatus:GetFunctionConcurrencyResponse'] :: GetFunctionConcurrencyResponse -> Int -- | Create a value of GetFunctionConcurrencyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionConcurrencyResponse, -- getFunctionConcurrencyResponse_reservedConcurrentExecutions - -- The number of simultaneous executions that are reserved for the -- function. -- -- $sel:httpStatus:GetFunctionConcurrencyResponse', -- getFunctionConcurrencyResponse_httpStatus - The response's http -- status code. newGetFunctionConcurrencyResponse :: Int -> GetFunctionConcurrencyResponse -- | The number of simultaneous executions that are reserved for the -- function. getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural) -- | The response's http status code. getFunctionConcurrencyResponse_httpStatus :: Lens' GetFunctionConcurrencyResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance GHC.Show.Show Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance GHC.Read.Read Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrencyResponse instance GHC.Show.Show Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrencyResponse instance GHC.Read.Read Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrencyResponse instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrencyResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrencyResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunctionConcurrency.GetFunctionConcurrency -- | Returns the code signing configuration for the specified function. module Amazonka.Lambda.GetFunctionCodeSigningConfig -- | See: newGetFunctionCodeSigningConfig smart constructor. data GetFunctionCodeSigningConfig GetFunctionCodeSigningConfig' :: Text -> GetFunctionCodeSigningConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionCodeSigningConfig'] :: GetFunctionCodeSigningConfig -> Text -- | Create a value of GetFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionCodeSigningConfig, -- getFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionCodeSigningConfig :: Text -> GetFunctionCodeSigningConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionCodeSigningConfig_functionName :: Lens' GetFunctionCodeSigningConfig Text -- | See: newGetFunctionCodeSigningConfigResponse smart -- constructor. data GetFunctionCodeSigningConfigResponse GetFunctionCodeSigningConfigResponse' :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:GetFunctionCodeSigningConfigResponse'] :: GetFunctionCodeSigningConfigResponse -> Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:GetFunctionCodeSigningConfigResponse'] :: GetFunctionCodeSigningConfigResponse -> Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunctionCodeSigningConfigResponse'] :: GetFunctionCodeSigningConfigResponse -> Text -- | Create a value of GetFunctionCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetFunctionCodeSigningConfigResponse', -- getFunctionCodeSigningConfigResponse_httpStatus - The -- response's http status code. -- -- GetFunctionCodeSigningConfigResponse, -- getFunctionCodeSigningConfigResponse_codeSigningConfigArn - The -- The Amazon Resource Name (ARN) of the code signing configuration. -- -- GetFunctionCodeSigningConfig, -- getFunctionCodeSigningConfigResponse_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse -- | The response's http status code. getFunctionCodeSigningConfigResponse_httpStatus :: Lens' GetFunctionCodeSigningConfigResponse Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. getFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' GetFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionCodeSigningConfigResponse_functionName :: Lens' GetFunctionCodeSigningConfigResponse Text instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunctionCodeSigningConfig.GetFunctionCodeSigningConfig -- | Returns information about the function or function version, with a -- link to download the deployment package that's valid for 10 minutes. -- If you specify a function version, only details that are specific to -- that version are returned. module Amazonka.Lambda.GetFunction -- | See: newGetFunction smart constructor. data GetFunction GetFunction' :: Maybe Text -> Text -> GetFunction -- | Specify a version or alias to get details about a published version of -- the function. [$sel:qualifier:GetFunction'] :: GetFunction -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:GetFunction'] :: GetFunction -> Text -- | Create a value of GetFunction with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunction', getFunction_qualifier - -- Specify a version or alias to get details about a published version of -- the function. -- -- GetFunction, getFunction_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunction :: Text -> GetFunction -- | Specify a version or alias to get details about a published version of -- the function. getFunction_qualifier :: Lens' GetFunction (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunction_functionName :: Lens' GetFunction Text -- | See: newGetFunctionResponse smart constructor. data GetFunctionResponse GetFunctionResponse' :: Maybe FunctionCodeLocation -> Maybe Concurrency -> Maybe FunctionConfiguration -> Maybe (HashMap Text Text) -> Int -> GetFunctionResponse -- | The deployment package of the function or version. [$sel:code:GetFunctionResponse'] :: GetFunctionResponse -> Maybe FunctionCodeLocation -- | The function's reserved concurrency. [$sel:concurrency:GetFunctionResponse'] :: GetFunctionResponse -> Maybe Concurrency -- | The configuration of the function or version. [$sel:configuration:GetFunctionResponse'] :: GetFunctionResponse -> Maybe FunctionConfiguration -- | The function's tags. [$sel:tags:GetFunctionResponse'] :: GetFunctionResponse -> Maybe (HashMap Text Text) -- | The response's http status code. [$sel:httpStatus:GetFunctionResponse'] :: GetFunctionResponse -> Int -- | Create a value of GetFunctionResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:code:GetFunctionResponse', getFunctionResponse_code -- - The deployment package of the function or version. -- -- $sel:concurrency:GetFunctionResponse', -- getFunctionResponse_concurrency - The function's reserved -- concurrency. -- -- $sel:configuration:GetFunctionResponse', -- getFunctionResponse_configuration - The configuration of the -- function or version. -- -- $sel:tags:GetFunctionResponse', getFunctionResponse_tags -- - The function's tags. -- -- $sel:httpStatus:GetFunctionResponse', -- getFunctionResponse_httpStatus - The response's http status -- code. newGetFunctionResponse :: Int -> GetFunctionResponse -- | The deployment package of the function or version. getFunctionResponse_code :: Lens' GetFunctionResponse (Maybe FunctionCodeLocation) -- | The function's reserved concurrency. getFunctionResponse_concurrency :: Lens' GetFunctionResponse (Maybe Concurrency) -- | The configuration of the function or version. getFunctionResponse_configuration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration) -- | The function's tags. getFunctionResponse_tags :: Lens' GetFunctionResponse (Maybe (HashMap Text Text)) -- | The response's http status code. getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetFunction.GetFunction instance GHC.Show.Show Amazonka.Lambda.GetFunction.GetFunction instance GHC.Read.Read Amazonka.Lambda.GetFunction.GetFunction instance GHC.Classes.Eq Amazonka.Lambda.GetFunction.GetFunction instance GHC.Generics.Generic Amazonka.Lambda.GetFunction.GetFunctionResponse instance GHC.Show.Show Amazonka.Lambda.GetFunction.GetFunctionResponse instance GHC.Classes.Eq Amazonka.Lambda.GetFunction.GetFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetFunction.GetFunction instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunction.GetFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetFunction.GetFunction instance Control.DeepSeq.NFData Amazonka.Lambda.GetFunction.GetFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetFunction.GetFunction instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetFunction.GetFunction instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetFunction.GetFunction -- | Returns details about an event source mapping. You can get the -- identifier of a mapping from the output of ListEventSourceMappings. module Amazonka.Lambda.GetEventSourceMapping -- | See: newGetEventSourceMapping smart constructor. data GetEventSourceMapping GetEventSourceMapping' :: Text -> GetEventSourceMapping -- | The identifier of the event source mapping. [$sel:uuid:GetEventSourceMapping'] :: GetEventSourceMapping -> Text -- | Create a value of GetEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEventSourceMapping, getEventSourceMapping_uuid - The -- identifier of the event source mapping. newGetEventSourceMapping :: Text -> GetEventSourceMapping -- | The identifier of the event source mapping. getEventSourceMapping_uuid :: Lens' GetEventSourceMapping Text -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance GHC.Show.Show Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance GHC.Read.Read Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance GHC.Classes.Eq Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Control.DeepSeq.NFData Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetEventSourceMapping.GetEventSourceMapping -- | Returns information about the specified code signing configuration. module Amazonka.Lambda.GetCodeSigningConfig -- | See: newGetCodeSigningConfig smart constructor. data GetCodeSigningConfig GetCodeSigningConfig' :: Text -> GetCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:GetCodeSigningConfig'] :: GetCodeSigningConfig -> Text -- | Create a value of GetCodeSigningConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetCodeSigningConfig, -- getCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newGetCodeSigningConfig :: Text -> GetCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. getCodeSigningConfig_codeSigningConfigArn :: Lens' GetCodeSigningConfig Text -- | See: newGetCodeSigningConfigResponse smart constructor. data GetCodeSigningConfigResponse GetCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:GetCodeSigningConfigResponse'] :: GetCodeSigningConfigResponse -> Int -- | The code signing configuration [$sel:codeSigningConfig:GetCodeSigningConfigResponse'] :: GetCodeSigningConfigResponse -> CodeSigningConfig -- | Create a value of GetCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetCodeSigningConfigResponse', -- getCodeSigningConfigResponse_httpStatus - The response's http -- status code. -- -- $sel:codeSigningConfig:GetCodeSigningConfigResponse', -- getCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration newGetCodeSigningConfigResponse :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse -- | The response's http status code. getCodeSigningConfigResponse_httpStatus :: Lens' GetCodeSigningConfigResponse Int -- | The code signing configuration getCodeSigningConfigResponse_codeSigningConfig :: Lens' GetCodeSigningConfigResponse CodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetCodeSigningConfig.GetCodeSigningConfig -- | Returns details about a Lambda function alias. module Amazonka.Lambda.GetAlias -- | See: newGetAlias smart constructor. data GetAlias GetAlias' :: Text -> Text -> GetAlias -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:GetAlias'] :: GetAlias -> Text -- | The name of the alias. [$sel:name:GetAlias'] :: GetAlias -> Text -- | Create a value of GetAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetAlias, getAlias_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- GetAlias, getAlias_name - The name of the alias. newGetAlias :: Text -> Text -> GetAlias -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getAlias_functionName :: Lens' GetAlias Text -- | The name of the alias. getAlias_name :: Lens' GetAlias Text -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. [$sel:aliasArn:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A description of the alias. [$sel:description:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The name of the alias. [$sel:name:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A unique identifier that changes when you update the alias. [$sel:revisionId:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:AliasConfiguration'] :: AliasConfiguration -> Maybe AliasRoutingConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) instance GHC.Generics.Generic Amazonka.Lambda.GetAlias.GetAlias instance GHC.Show.Show Amazonka.Lambda.GetAlias.GetAlias instance GHC.Read.Read Amazonka.Lambda.GetAlias.GetAlias instance GHC.Classes.Eq Amazonka.Lambda.GetAlias.GetAlias instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetAlias.GetAlias instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetAlias.GetAlias instance Control.DeepSeq.NFData Amazonka.Lambda.GetAlias.GetAlias instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetAlias.GetAlias instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetAlias.GetAlias instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetAlias.GetAlias -- | Retrieves details about your account's limits and usage in an -- Amazon Web Services Region. module Amazonka.Lambda.GetAccountSettings -- | See: newGetAccountSettings smart constructor. data GetAccountSettings GetAccountSettings' :: GetAccountSettings -- | Create a value of GetAccountSettings with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newGetAccountSettings :: GetAccountSettings -- | See: newGetAccountSettingsResponse smart constructor. data GetAccountSettingsResponse GetAccountSettingsResponse' :: Maybe AccountLimit -> Maybe AccountUsage -> Int -> GetAccountSettingsResponse -- | Limits that are related to concurrency and code storage. [$sel:accountLimit:GetAccountSettingsResponse'] :: GetAccountSettingsResponse -> Maybe AccountLimit -- | The number of functions and amount of storage in use. [$sel:accountUsage:GetAccountSettingsResponse'] :: GetAccountSettingsResponse -> Maybe AccountUsage -- | The response's http status code. [$sel:httpStatus:GetAccountSettingsResponse'] :: GetAccountSettingsResponse -> Int -- | Create a value of GetAccountSettingsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accountLimit:GetAccountSettingsResponse', -- getAccountSettingsResponse_accountLimit - Limits that are -- related to concurrency and code storage. -- -- $sel:accountUsage:GetAccountSettingsResponse', -- getAccountSettingsResponse_accountUsage - The number of -- functions and amount of storage in use. -- -- $sel:httpStatus:GetAccountSettingsResponse', -- getAccountSettingsResponse_httpStatus - The response's http -- status code. newGetAccountSettingsResponse :: Int -> GetAccountSettingsResponse -- | Limits that are related to concurrency and code storage. getAccountSettingsResponse_accountLimit :: Lens' GetAccountSettingsResponse (Maybe AccountLimit) -- | The number of functions and amount of storage in use. getAccountSettingsResponse_accountUsage :: Lens' GetAccountSettingsResponse (Maybe AccountUsage) -- | The response's http status code. getAccountSettingsResponse_httpStatus :: Lens' GetAccountSettingsResponse Int instance GHC.Generics.Generic Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance GHC.Show.Show Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance GHC.Read.Read Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance GHC.Classes.Eq Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance GHC.Generics.Generic Amazonka.Lambda.GetAccountSettings.GetAccountSettingsResponse instance GHC.Show.Show Amazonka.Lambda.GetAccountSettings.GetAccountSettingsResponse instance GHC.Read.Read Amazonka.Lambda.GetAccountSettings.GetAccountSettingsResponse instance GHC.Classes.Eq Amazonka.Lambda.GetAccountSettings.GetAccountSettingsResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance Control.DeepSeq.NFData Amazonka.Lambda.GetAccountSettings.GetAccountSettingsResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance Control.DeepSeq.NFData Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance Amazonka.Data.Path.ToPath Amazonka.Lambda.GetAccountSettings.GetAccountSettings instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.GetAccountSettings.GetAccountSettings -- | Deletes the provisioned concurrency configuration for a function. module Amazonka.Lambda.DeleteProvisionedConcurrencyConfig -- | See: newDeleteProvisionedConcurrencyConfig smart -- constructor. data DeleteProvisionedConcurrencyConfig DeleteProvisionedConcurrencyConfig' :: Text -> Text -> DeleteProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteProvisionedConcurrencyConfig'] :: DeleteProvisionedConcurrencyConfig -> Text -- | The version number or alias name. [$sel:qualifier:DeleteProvisionedConcurrencyConfig'] :: DeleteProvisionedConcurrencyConfig -> Text -- | Create a value of DeleteProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteProvisionedConcurrencyConfig, -- deleteProvisionedConcurrencyConfig_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:DeleteProvisionedConcurrencyConfig', -- deleteProvisionedConcurrencyConfig_qualifier - The version -- number or alias name. newDeleteProvisionedConcurrencyConfig :: Text -> Text -> DeleteProvisionedConcurrencyConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteProvisionedConcurrencyConfig_functionName :: Lens' DeleteProvisionedConcurrencyConfig Text -- | The version number or alias name. deleteProvisionedConcurrencyConfig_qualifier :: Lens' DeleteProvisionedConcurrencyConfig Text -- | See: newDeleteProvisionedConcurrencyConfigResponse smart -- constructor. data DeleteProvisionedConcurrencyConfigResponse DeleteProvisionedConcurrencyConfigResponse' :: DeleteProvisionedConcurrencyConfigResponse -- | Create a value of DeleteProvisionedConcurrencyConfigResponse -- with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteProvisionedConcurrencyConfigResponse :: DeleteProvisionedConcurrencyConfigResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance GHC.Show.Show Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance GHC.Read.Read Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance GHC.Classes.Eq Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance GHC.Generics.Generic Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfigResponse instance GHC.Show.Show Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfigResponse instance GHC.Read.Read Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteProvisionedConcurrencyConfig.DeleteProvisionedConcurrencyConfig -- | Deletes a version of an Lambda layer. Deleted versions can no -- longer be viewed or added to functions. To avoid breaking functions, a -- copy of the version remains in Lambda until no functions refer to it. module Amazonka.Lambda.DeleteLayerVersion -- | See: newDeleteLayerVersion smart constructor. data DeleteLayerVersion DeleteLayerVersion' :: Text -> Integer -> DeleteLayerVersion -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:DeleteLayerVersion'] :: DeleteLayerVersion -> Text -- | The version number. [$sel:versionNumber:DeleteLayerVersion'] :: DeleteLayerVersion -> Integer -- | Create a value of DeleteLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteLayerVersion, deleteLayerVersion_layerName - The -- name or Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:DeleteLayerVersion', -- deleteLayerVersion_versionNumber - The version number. newDeleteLayerVersion :: Text -> Integer -> DeleteLayerVersion -- | The name or Amazon Resource Name (ARN) of the layer. deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text -- | The version number. deleteLayerVersion_versionNumber :: Lens' DeleteLayerVersion Integer -- | See: newDeleteLayerVersionResponse smart constructor. data DeleteLayerVersionResponse DeleteLayerVersionResponse' :: DeleteLayerVersionResponse -- | Create a value of DeleteLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteLayerVersionResponse :: DeleteLayerVersionResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance GHC.Show.Show Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance GHC.Read.Read Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance GHC.Classes.Eq Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance GHC.Generics.Generic Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersionResponse instance GHC.Show.Show Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersionResponse instance GHC.Read.Read Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersionResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteLayerVersion.DeleteLayerVersion -- | Deletes a Lambda function URL. When you delete a function URL, you -- can't recover it. Creating a new function URL results in a different -- URL address. module Amazonka.Lambda.DeleteFunctionUrlConfig -- | See: newDeleteFunctionUrlConfig smart constructor. data DeleteFunctionUrlConfig DeleteFunctionUrlConfig' :: Maybe Text -> Text -> DeleteFunctionUrlConfig -- | The alias name. [$sel:qualifier:DeleteFunctionUrlConfig'] :: DeleteFunctionUrlConfig -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteFunctionUrlConfig'] :: DeleteFunctionUrlConfig -> Text -- | Create a value of DeleteFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunctionUrlConfig', -- deleteFunctionUrlConfig_qualifier - The alias name. -- -- DeleteFunctionUrlConfig, -- deleteFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionUrlConfig :: Text -> DeleteFunctionUrlConfig -- | The alias name. deleteFunctionUrlConfig_qualifier :: Lens' DeleteFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionUrlConfig_functionName :: Lens' DeleteFunctionUrlConfig Text -- | See: newDeleteFunctionUrlConfigResponse smart -- constructor. data DeleteFunctionUrlConfigResponse DeleteFunctionUrlConfigResponse' :: DeleteFunctionUrlConfigResponse -- | Create a value of DeleteFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfigResponse instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfigResponse instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteFunctionUrlConfig.DeleteFunctionUrlConfig -- | Deletes the configuration for asynchronous invocation for a function, -- version, or alias. -- -- To configure options for asynchronous invocation, use -- PutFunctionEventInvokeConfig. module Amazonka.Lambda.DeleteFunctionEventInvokeConfig -- | See: newDeleteFunctionEventInvokeConfig smart -- constructor. data DeleteFunctionEventInvokeConfig DeleteFunctionEventInvokeConfig' :: Maybe Text -> Text -> DeleteFunctionEventInvokeConfig -- | A version number or alias name. [$sel:qualifier:DeleteFunctionEventInvokeConfig'] :: DeleteFunctionEventInvokeConfig -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteFunctionEventInvokeConfig'] :: DeleteFunctionEventInvokeConfig -> Text -- | Create a value of DeleteFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunctionEventInvokeConfig', -- deleteFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- DeleteFunctionEventInvokeConfig, -- deleteFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newDeleteFunctionEventInvokeConfig :: Text -> DeleteFunctionEventInvokeConfig -- | A version number or alias name. deleteFunctionEventInvokeConfig_qualifier :: Lens' DeleteFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. deleteFunctionEventInvokeConfig_functionName :: Lens' DeleteFunctionEventInvokeConfig Text -- | See: newDeleteFunctionEventInvokeConfigResponse smart -- constructor. data DeleteFunctionEventInvokeConfigResponse DeleteFunctionEventInvokeConfigResponse' :: DeleteFunctionEventInvokeConfigResponse -- | Create a value of DeleteFunctionEventInvokeConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfigResponse instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfigResponse instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteFunctionEventInvokeConfig.DeleteFunctionEventInvokeConfig -- | Removes a concurrent execution limit from a function. module Amazonka.Lambda.DeleteFunctionConcurrency -- | See: newDeleteFunctionConcurrency smart constructor. data DeleteFunctionConcurrency DeleteFunctionConcurrency' :: Text -> DeleteFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteFunctionConcurrency'] :: DeleteFunctionConcurrency -> Text -- | Create a value of DeleteFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteFunctionConcurrency, -- deleteFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionConcurrency :: Text -> DeleteFunctionConcurrency -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionConcurrency_functionName :: Lens' DeleteFunctionConcurrency Text -- | See: newDeleteFunctionConcurrencyResponse smart -- constructor. data DeleteFunctionConcurrencyResponse DeleteFunctionConcurrencyResponse' :: DeleteFunctionConcurrencyResponse -- | Create a value of DeleteFunctionConcurrencyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrencyResponse instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrencyResponse instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrencyResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrencyResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrencyResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteFunctionConcurrency.DeleteFunctionConcurrency -- | Removes the code signing configuration from the function. module Amazonka.Lambda.DeleteFunctionCodeSigningConfig -- | See: newDeleteFunctionCodeSigningConfig smart -- constructor. data DeleteFunctionCodeSigningConfig DeleteFunctionCodeSigningConfig' :: Text -> DeleteFunctionCodeSigningConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteFunctionCodeSigningConfig'] :: DeleteFunctionCodeSigningConfig -> Text -- | Create a value of DeleteFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteFunctionCodeSigningConfig, -- deleteFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionCodeSigningConfig :: Text -> DeleteFunctionCodeSigningConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionCodeSigningConfig_functionName :: Lens' DeleteFunctionCodeSigningConfig Text -- | See: newDeleteFunctionCodeSigningConfigResponse smart -- constructor. data DeleteFunctionCodeSigningConfigResponse DeleteFunctionCodeSigningConfigResponse' :: DeleteFunctionCodeSigningConfigResponse -- | Create a value of DeleteFunctionCodeSigningConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteFunctionCodeSigningConfig.DeleteFunctionCodeSigningConfig -- | Deletes a Lambda function. To delete a specific function version, use -- the Qualifier parameter. Otherwise, all versions and aliases -- are deleted. -- -- To delete Lambda event source mappings that invoke a function, use -- DeleteEventSourceMapping. For Amazon Web Services and resources that -- invoke your function directly, delete the trigger in the service where -- you originally configured it. module Amazonka.Lambda.DeleteFunction -- | See: newDeleteFunction smart constructor. data DeleteFunction DeleteFunction' :: Maybe Text -> Text -> DeleteFunction -- | Specify a version to delete. You can't delete a version that an alias -- references. [$sel:qualifier:DeleteFunction'] :: DeleteFunction -> Maybe Text -- | The name of the Lambda function or version. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteFunction'] :: DeleteFunction -> Text -- | Create a value of DeleteFunction with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunction', deleteFunction_qualifier -- - Specify a version to delete. You can't delete a version that an -- alias references. -- -- DeleteFunction, deleteFunction_functionName - The name -- of the Lambda function or version. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newDeleteFunction :: Text -> DeleteFunction -- | Specify a version to delete. You can't delete a version that an alias -- references. deleteFunction_qualifier :: Lens' DeleteFunction (Maybe Text) -- | The name of the Lambda function or version. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. deleteFunction_functionName :: Lens' DeleteFunction Text -- | See: newDeleteFunctionResponse smart constructor. data DeleteFunctionResponse DeleteFunctionResponse' :: DeleteFunctionResponse -- | Create a value of DeleteFunctionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionResponse :: DeleteFunctionResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunction.DeleteFunction instance GHC.Show.Show Amazonka.Lambda.DeleteFunction.DeleteFunction instance GHC.Read.Read Amazonka.Lambda.DeleteFunction.DeleteFunction instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunction.DeleteFunction instance GHC.Generics.Generic Amazonka.Lambda.DeleteFunction.DeleteFunctionResponse instance GHC.Show.Show Amazonka.Lambda.DeleteFunction.DeleteFunctionResponse instance GHC.Read.Read Amazonka.Lambda.DeleteFunction.DeleteFunctionResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteFunction.DeleteFunctionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteFunction.DeleteFunction instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunction.DeleteFunctionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteFunction.DeleteFunction instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteFunction.DeleteFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteFunction.DeleteFunction instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteFunction.DeleteFunction instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteFunction.DeleteFunction -- | Deletes an event source mapping. You can get the identifier of -- a mapping from the output of ListEventSourceMappings. -- -- When you delete an event source mapping, it enters a Deleting -- state and might not be completely deleted for several seconds. module Amazonka.Lambda.DeleteEventSourceMapping -- | See: newDeleteEventSourceMapping smart constructor. data DeleteEventSourceMapping DeleteEventSourceMapping' :: Text -> DeleteEventSourceMapping -- | The identifier of the event source mapping. [$sel:uuid:DeleteEventSourceMapping'] :: DeleteEventSourceMapping -> Text -- | Create a value of DeleteEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEventSourceMapping, deleteEventSourceMapping_uuid -- - The identifier of the event source mapping. newDeleteEventSourceMapping :: Text -> DeleteEventSourceMapping -- | The identifier of the event source mapping. deleteEventSourceMapping_uuid :: Lens' DeleteEventSourceMapping Text -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance GHC.Show.Show Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance GHC.Read.Read Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance GHC.Classes.Eq Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteEventSourceMapping.DeleteEventSourceMapping -- | Deletes the code signing configuration. You can delete the code -- signing configuration only if no function is using it. module Amazonka.Lambda.DeleteCodeSigningConfig -- | See: newDeleteCodeSigningConfig smart constructor. data DeleteCodeSigningConfig DeleteCodeSigningConfig' :: Text -> DeleteCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:DeleteCodeSigningConfig'] :: DeleteCodeSigningConfig -> Text -- | Create a value of DeleteCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteCodeSigningConfig, -- deleteCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newDeleteCodeSigningConfig :: Text -> DeleteCodeSigningConfig -- | The The Amazon Resource Name (ARN) of the code signing configuration. deleteCodeSigningConfig_codeSigningConfigArn :: Lens' DeleteCodeSigningConfig Text -- | See: newDeleteCodeSigningConfigResponse smart -- constructor. data DeleteCodeSigningConfigResponse DeleteCodeSigningConfigResponse' :: Int -> DeleteCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:DeleteCodeSigningConfigResponse'] :: DeleteCodeSigningConfigResponse -> Int -- | Create a value of DeleteCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteCodeSigningConfigResponse', -- deleteCodeSigningConfigResponse_httpStatus - The response's -- http status code. newDeleteCodeSigningConfigResponse :: Int -> DeleteCodeSigningConfigResponse -- | The response's http status code. deleteCodeSigningConfigResponse_httpStatus :: Lens' DeleteCodeSigningConfigResponse Int instance GHC.Generics.Generic Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteCodeSigningConfig.DeleteCodeSigningConfig -- | Deletes a Lambda function alias. module Amazonka.Lambda.DeleteAlias -- | See: newDeleteAlias smart constructor. data DeleteAlias DeleteAlias' :: Text -> Text -> DeleteAlias -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:DeleteAlias'] :: DeleteAlias -> Text -- | The name of the alias. [$sel:name:DeleteAlias'] :: DeleteAlias -> Text -- | Create a value of DeleteAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteAlias, deleteAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- DeleteAlias, deleteAlias_name - The name of the alias. newDeleteAlias :: Text -> Text -> DeleteAlias -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteAlias_functionName :: Lens' DeleteAlias Text -- | The name of the alias. deleteAlias_name :: Lens' DeleteAlias Text -- | See: newDeleteAliasResponse smart constructor. data DeleteAliasResponse DeleteAliasResponse' :: DeleteAliasResponse -- | Create a value of DeleteAliasResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteAliasResponse :: DeleteAliasResponse instance GHC.Generics.Generic Amazonka.Lambda.DeleteAlias.DeleteAlias instance GHC.Show.Show Amazonka.Lambda.DeleteAlias.DeleteAlias instance GHC.Read.Read Amazonka.Lambda.DeleteAlias.DeleteAlias instance GHC.Classes.Eq Amazonka.Lambda.DeleteAlias.DeleteAlias instance GHC.Generics.Generic Amazonka.Lambda.DeleteAlias.DeleteAliasResponse instance GHC.Show.Show Amazonka.Lambda.DeleteAlias.DeleteAliasResponse instance GHC.Read.Read Amazonka.Lambda.DeleteAlias.DeleteAliasResponse instance GHC.Classes.Eq Amazonka.Lambda.DeleteAlias.DeleteAliasResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.DeleteAlias.DeleteAlias instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteAlias.DeleteAliasResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.DeleteAlias.DeleteAlias instance Control.DeepSeq.NFData Amazonka.Lambda.DeleteAlias.DeleteAlias instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.DeleteAlias.DeleteAlias instance Amazonka.Data.Path.ToPath Amazonka.Lambda.DeleteAlias.DeleteAlias instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.DeleteAlias.DeleteAlias -- | Creates a Lambda function URL with the specified configuration -- parameters. A function URL is a dedicated HTTP(S) endpoint that you -- can use to invoke your function. module Amazonka.Lambda.CreateFunctionUrlConfig -- | See: newCreateFunctionUrlConfig smart constructor. data CreateFunctionUrlConfig CreateFunctionUrlConfig' :: Maybe Cors -> Maybe Text -> Text -> FunctionUrlAuthType -> CreateFunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:CreateFunctionUrlConfig'] :: CreateFunctionUrlConfig -> Maybe Cors -- | The alias name. [$sel:qualifier:CreateFunctionUrlConfig'] :: CreateFunctionUrlConfig -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:CreateFunctionUrlConfig'] :: CreateFunctionUrlConfig -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:CreateFunctionUrlConfig'] :: CreateFunctionUrlConfig -> FunctionUrlAuthType -- | Create a value of CreateFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunctionUrlConfig, createFunctionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:qualifier:CreateFunctionUrlConfig', -- createFunctionUrlConfig_qualifier - The alias name. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfig_authType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. newCreateFunctionUrlConfig :: Text -> FunctionUrlAuthType -> CreateFunctionUrlConfig -- | The cross-origin resource sharing (CORS) settings for your -- function URL. createFunctionUrlConfig_cors :: Lens' CreateFunctionUrlConfig (Maybe Cors) -- | The alias name. createFunctionUrlConfig_qualifier :: Lens' CreateFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createFunctionUrlConfig_functionName :: Lens' CreateFunctionUrlConfig Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. createFunctionUrlConfig_authType :: Lens' CreateFunctionUrlConfig FunctionUrlAuthType -- | See: newCreateFunctionUrlConfigResponse smart -- constructor. data CreateFunctionUrlConfigResponse CreateFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> CreateFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> Maybe Cors -- | The response's http status code. [$sel:httpStatus:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> Int -- | The HTTP URL endpoint for your function. [$sel:functionUrl:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> Text -- | The Amazon Resource Name (ARN) of your function. [$sel:functionArn:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:creationTime:CreateFunctionUrlConfigResponse'] :: CreateFunctionUrlConfigResponse -> Text -- | Create a value of CreateFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:CreateFunctionUrlConfigResponse', -- createFunctionUrlConfigResponse_httpStatus - The response's -- http status code. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_functionArn - The Amazon -- Resource Name (ARN) of your function. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_creationTime - When the -- function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newCreateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> CreateFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. createFunctionUrlConfigResponse_cors :: Lens' CreateFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. createFunctionUrlConfigResponse_httpStatus :: Lens' CreateFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. createFunctionUrlConfigResponse_functionUrl :: Lens' CreateFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. createFunctionUrlConfigResponse_functionArn :: Lens' CreateFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. createFunctionUrlConfigResponse_authType :: Lens' CreateFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). createFunctionUrlConfigResponse_creationTime :: Lens' CreateFunctionUrlConfigResponse Text instance GHC.Generics.Generic Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance GHC.Show.Show Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance GHC.Read.Read Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance GHC.Classes.Eq Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance GHC.Generics.Generic Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfigResponse instance GHC.Show.Show Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfigResponse instance GHC.Read.Read Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.CreateFunctionUrlConfig.CreateFunctionUrlConfig -- | Creates a Lambda function. To create a function, you need a -- deployment package and an execution role. The deployment -- package is a .zip file archive or container image that contains your -- function code. The execution role grants the function permission to -- use Amazon Web Services, such as Amazon CloudWatch Logs for log -- streaming and X-Ray for request tracing. -- -- If the deployment package is a container image, then you set -- the package type to Image. For a container image, the code -- property must include the URI of a container image in the Amazon ECR -- registry. You do not need to specify the handler and runtime -- properties. -- -- If the deployment package is a .zip file archive, then you set -- the package type to Zip. For a .zip file archive, the code -- property specifies the location of the .zip file. You must also -- specify the handler and runtime properties. The code in the deployment -- package must be compatible with the target instruction set -- architecture of the function (x86-64 or arm64). If -- you do not specify the architecture, then the default value is -- x86-64. -- -- When you create a function, Lambda provisions an instance of the -- function and its supporting resources. If your function connects to a -- VPC, this process can take a minute or so. During this time, you can't -- invoke or modify the function. The State, -- StateReason, and StateReasonCode fields in the -- response from GetFunctionConfiguration indicate when the function is -- ready to invoke. For more information, see Lambda function -- states. -- -- A function has an unpublished version, and can have published versions -- and aliases. The unpublished version changes when you update your -- function's code and configuration. A published version is a snapshot -- of your function code and configuration that can't be changed. An -- alias is a named resource that maps to a version, and can be changed -- to map to a different version. Use the Publish parameter to -- create version 1 of your function from its initial -- configuration. -- -- The other parameters let you configure version-specific and -- function-level settings. You can modify version-specific settings -- later with UpdateFunctionConfiguration. Function-level settings apply -- to both the unpublished and published versions of the function, and -- include tags (TagResource) and per-function concurrency limits -- (PutFunctionConcurrency). -- -- You can use code signing if your deployment package is a .zip file -- archive. To enable code signing for this function, specify the ARN of -- a code-signing configuration. When a user attempts to deploy a code -- package with UpdateFunctionCode, Lambda checks that the code package -- has a valid signature from a trusted publisher. The code-signing -- configuration includes set of signing profiles, which define the -- trusted publishers for this function. -- -- If another Amazon Web Services account or an Amazon Web Service -- invokes your function, use AddPermission to grant permission by -- creating a resource-based Identity and Access Management (IAM) policy. -- You can grant permissions at the function level, on a version, or on -- an alias. -- -- To invoke your function directly, use Invoke. To invoke your function -- in response to events in other Amazon Web Services, create an event -- source mapping (CreateEventSourceMapping), or configure a function -- trigger in the other service. For more information, see Invoking -- Lambda functions. module Amazonka.Lambda.CreateFunction -- | See: newCreateFunction smart constructor. data CreateFunction CreateFunction' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe DeadLetterConfig -> Maybe Text -> Maybe Environment -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe ImageConfig -> Maybe Text -> Maybe [Text] -> Maybe Natural -> Maybe PackageType -> Maybe Bool -> Maybe Runtime -> Maybe SnapStart -> Maybe (HashMap Text Text) -> Maybe Natural -> Maybe TracingConfig -> Maybe VpcConfig -> Text -> Text -> FunctionCode -> CreateFunction -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. [$sel:architectures:CreateFunction'] :: CreateFunction -> Maybe (NonEmpty Architecture) -- | To enable code signing for this function, specify the ARN of a -- code-signing configuration. A code-signing configuration includes a -- set of signing profiles, which define the trusted publishers for this -- function. [$sel:codeSigningConfigArn:CreateFunction'] :: CreateFunction -> Maybe Text -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. [$sel:deadLetterConfig:CreateFunction'] :: CreateFunction -> Maybe DeadLetterConfig -- | A description of the function. [$sel:description:CreateFunction'] :: CreateFunction -> Maybe Text -- | Environment variables that are accessible from function code during -- execution. [$sel:environment:CreateFunction'] :: CreateFunction -> Maybe Environment -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. [$sel:ephemeralStorage:CreateFunction'] :: CreateFunction -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:CreateFunction'] :: CreateFunction -> Maybe [FileSystemConfig] -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. [$sel:handler:CreateFunction'] :: CreateFunction -> Maybe Text -- | Container image configuration values that override the values -- in the container image Dockerfile. [$sel:imageConfig:CreateFunction'] :: CreateFunction -> Maybe ImageConfig -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. [$sel:kmsKeyArn:CreateFunction'] :: CreateFunction -> Maybe Text -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. [$sel:layers:CreateFunction'] :: CreateFunction -> Maybe [Text] -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. [$sel:memorySize:CreateFunction'] :: CreateFunction -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set to Zip for .zip file archive. [$sel:packageType:CreateFunction'] :: CreateFunction -> Maybe PackageType -- | Set to true to publish the first version of the function during -- creation. [$sel:publish:CreateFunction'] :: CreateFunction -> Maybe Bool -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. [$sel:runtime:CreateFunction'] :: CreateFunction -> Maybe Runtime -- | The function's SnapStart setting. [$sel:snapStart:CreateFunction'] :: CreateFunction -> Maybe SnapStart -- | A list of tags to apply to the function. [$sel:tags:CreateFunction'] :: CreateFunction -> Maybe (HashMap Text Text) -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. [$sel:timeout:CreateFunction'] :: CreateFunction -> Maybe Natural -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. [$sel:tracingConfig:CreateFunction'] :: CreateFunction -> Maybe TracingConfig -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. [$sel:vpcConfig:CreateFunction'] :: CreateFunction -> Maybe VpcConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:CreateFunction'] :: CreateFunction -> Text -- | The Amazon Resource Name (ARN) of the function's execution role. [$sel:role':CreateFunction'] :: CreateFunction -> Text -- | The code for the function. [$sel:code:CreateFunction'] :: CreateFunction -> FunctionCode -- | Create a value of CreateFunction with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunction, createFunction_architectures - The -- instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. -- -- CreateFunction, createFunction_codeSigningConfigArn - To -- enable code signing for this function, specify the ARN of a -- code-signing configuration. A code-signing configuration includes a -- set of signing profiles, which define the trusted publishers for this -- function. -- -- CreateFunction, createFunction_deadLetterConfig - A -- dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. -- -- CreateFunction, createFunction_description - A -- description of the function. -- -- CreateFunction, createFunction_environment - Environment -- variables that are accessible from function code during execution. -- -- CreateFunction, createFunction_ephemeralStorage - The -- size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. -- -- CreateFunction, createFunction_fileSystemConfigs - -- Connection settings for an Amazon EFS file system. -- -- CreateFunction, createFunction_handler - The name of the -- method within your code that Lambda calls to run your function. -- Handler is required if the deployment package is a .zip file archive. -- The format includes the file name. It can also include namespaces and -- other qualifiers, depending on the runtime. For more information, see -- Lambda programming model. -- -- CreateFunction, createFunction_imageConfig - Container -- image configuration values that override the values in the -- container image Dockerfile. -- -- CreateFunction, createFunction_kmsKeyArn - The ARN of -- the Key Management Service (KMS) key that's used to encrypt your -- function's environment variables. If it's not provided, Lambda uses a -- default service key. -- -- CreateFunction, createFunction_layers - A list of -- function layers to add to the function's execution environment. -- Specify each layer by its ARN, including the version. -- -- CreateFunction, createFunction_memorySize - The amount -- of memory available to the function at runtime. Increasing the -- function memory also increases its CPU allocation. The default value -- is 128 MB. The value can be any multiple of 1 MB. -- -- CreateFunction, createFunction_packageType - The type of -- deployment package. Set to Image for container image and set -- to Zip for .zip file archive. -- -- $sel:publish:CreateFunction', createFunction_publish - -- Set to true to publish the first version of the function during -- creation. -- -- CreateFunction, createFunction_runtime - The identifier -- of the function's runtime. Runtime is required if the -- deployment package is a .zip file archive. -- -- CreateFunction, createFunction_snapStart - The -- function's SnapStart setting. -- -- $sel:tags:CreateFunction', createFunction_tags - A list -- of tags to apply to the function. -- -- CreateFunction, createFunction_timeout - The amount of -- time (in seconds) that Lambda allows a function to run before stopping -- it. The default is 3 seconds. The maximum allowed value is 900 -- seconds. For more information, see Lambda execution -- environment. -- -- CreateFunction, createFunction_tracingConfig - Set -- Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. -- -- CreateFunction, createFunction_vpcConfig - For network -- connectivity to Amazon Web Services resources in a VPC, specify a list -- of security groups and subnets in the VPC. When you connect a function -- to a VPC, it can access resources and the internet only through that -- VPC. For more information, see Configuring a Lambda function to -- access resources in a VPC. -- -- CreateFunction, createFunction_functionName - The name -- of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateFunction, createFunction_role - The Amazon -- Resource Name (ARN) of the function's execution role. -- -- $sel:code:CreateFunction', createFunction_code - The -- code for the function. newCreateFunction :: Text -> Text -> FunctionCode -> CreateFunction -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. createFunction_architectures :: Lens' CreateFunction (Maybe (NonEmpty Architecture)) -- | To enable code signing for this function, specify the ARN of a -- code-signing configuration. A code-signing configuration includes a -- set of signing profiles, which define the trusted publishers for this -- function. createFunction_codeSigningConfigArn :: Lens' CreateFunction (Maybe Text) -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. createFunction_deadLetterConfig :: Lens' CreateFunction (Maybe DeadLetterConfig) -- | A description of the function. createFunction_description :: Lens' CreateFunction (Maybe Text) -- | Environment variables that are accessible from function code during -- execution. createFunction_environment :: Lens' CreateFunction (Maybe Environment) -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. createFunction_ephemeralStorage :: Lens' CreateFunction (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. createFunction_fileSystemConfigs :: Lens' CreateFunction (Maybe [FileSystemConfig]) -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. createFunction_handler :: Lens' CreateFunction (Maybe Text) -- | Container image configuration values that override the values -- in the container image Dockerfile. createFunction_imageConfig :: Lens' CreateFunction (Maybe ImageConfig) -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. createFunction_kmsKeyArn :: Lens' CreateFunction (Maybe Text) -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. createFunction_layers :: Lens' CreateFunction (Maybe [Text]) -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. createFunction_memorySize :: Lens' CreateFunction (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set to Zip for .zip file archive. createFunction_packageType :: Lens' CreateFunction (Maybe PackageType) -- | Set to true to publish the first version of the function during -- creation. createFunction_publish :: Lens' CreateFunction (Maybe Bool) -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. createFunction_runtime :: Lens' CreateFunction (Maybe Runtime) -- | The function's SnapStart setting. createFunction_snapStart :: Lens' CreateFunction (Maybe SnapStart) -- | A list of tags to apply to the function. createFunction_tags :: Lens' CreateFunction (Maybe (HashMap Text Text)) -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. createFunction_timeout :: Lens' CreateFunction (Maybe Natural) -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. createFunction_tracingConfig :: Lens' CreateFunction (Maybe TracingConfig) -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. createFunction_vpcConfig :: Lens' CreateFunction (Maybe VpcConfig) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createFunction_functionName :: Lens' CreateFunction Text -- | The Amazon Resource Name (ARN) of the function's execution role. createFunction_role :: Lens' CreateFunction Text -- | The code for the function. createFunction_code :: Lens' CreateFunction FunctionCode -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.CreateFunction.CreateFunction instance GHC.Show.Show Amazonka.Lambda.CreateFunction.CreateFunction instance GHC.Classes.Eq Amazonka.Lambda.CreateFunction.CreateFunction instance Amazonka.Types.AWSRequest Amazonka.Lambda.CreateFunction.CreateFunction instance Data.Hashable.Class.Hashable Amazonka.Lambda.CreateFunction.CreateFunction instance Control.DeepSeq.NFData Amazonka.Lambda.CreateFunction.CreateFunction instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.CreateFunction.CreateFunction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.CreateFunction.CreateFunction instance Amazonka.Data.Path.ToPath Amazonka.Lambda.CreateFunction.CreateFunction instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.CreateFunction.CreateFunction -- | Creates a mapping between an event source and an Lambda function. -- Lambda reads items from the event source and invokes the function. -- -- For details about how to configure different event sources, see the -- following topics. -- -- -- -- The following error handling options are available only for stream -- sources (DynamoDB and Kinesis): -- -- -- -- For information about which configuration parameters apply to each -- event source, see the following topics. -- -- module Amazonka.Lambda.CreateEventSourceMapping -- | See: newCreateEventSourceMapping smart constructor. data CreateEventSourceMapping CreateEventSourceMapping' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Bool -> Maybe Text -> Maybe FilterCriteria -> Maybe [FunctionResponseType] -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe (NonEmpty Text) -> Maybe Natural -> Text -> CreateEventSourceMapping -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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). -- -- [$sel:batchSize:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. [$sel:bisectBatchOnFunctionError:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe DestinationConfig -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True [$sel:enabled:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Bool -- | The Amazon Resource Name (ARN) of the event source. -- -- [$sel:eventSourceArn:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe FilterCriteria -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe [FunctionResponseType] -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Natural -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). [$sel:maximumRecordAgeInSeconds:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Int -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. [$sel:maximumRetryAttempts:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Int -- | (Streams only) The number of batches to process from each shard -- concurrently. [$sel:parallelizationFactor:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Natural -- | (MQ) The name of the Amazon MQ broker destination queue to consume. [$sel:queues:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster to receive records from. [$sel:selfManagedEventSource:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of authentication protocols or VPC components required to -- secure your event source. [$sel:sourceAccessConfigurations:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe POSIX -- | The name of the Kafka topic. [$sel:topics:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. [$sel:tumblingWindowInSeconds:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Maybe Natural -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. [$sel:functionName:CreateEventSourceMapping'] :: CreateEventSourceMapping -> Text -- | Create a value of CreateEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateEventSourceMapping, -- createEventSourceMapping_amazonManagedKafkaEventSourceConfig - -- Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_batchSize - The maximum number of -- records in each batch that Lambda pulls from your stream or queue and -- sends to your function. Lambda passes all of the records in the batch -- to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- -- -- CreateEventSourceMapping, -- createEventSourceMapping_bisectBatchOnFunctionError - (Streams -- only) If the function returns an error, split the batch in two and -- retry. -- -- CreateEventSourceMapping, -- createEventSourceMapping_destinationConfig - (Streams only) An -- Amazon SQS queue or Amazon SNS topic destination for discarded -- records. -- -- $sel:enabled:CreateEventSourceMapping', -- createEventSourceMapping_enabled - When true, the event source -- mapping is active. When false, Lambda pauses polling and invocation. -- -- Default: True -- -- CreateEventSourceMapping, -- createEventSourceMapping_eventSourceArn - The Amazon Resource -- Name (ARN) of the event source. -- -- -- -- CreateEventSourceMapping, -- createEventSourceMapping_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- CreateEventSourceMapping, -- createEventSourceMapping_functionResponseTypes - (Streams and -- Amazon SQS) A list of current response type enums applied to the event -- source mapping. -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumBatchingWindowInSeconds - The -- maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumRecordAgeInSeconds - (Streams -- only) Discard records older than the specified age. The default value -- is infinite (-1). -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumRetryAttempts - (Streams only) -- Discard records after the specified number of retries. The default -- value is infinite (-1). When set to infinite (-1), failed records are -- retried until the record expires. -- -- CreateEventSourceMapping, -- createEventSourceMapping_parallelizationFactor - (Streams only) -- The number of batches to process from each shard concurrently. -- -- CreateEventSourceMapping, -- createEventSourceMapping_queues - (MQ) The name of the Amazon -- MQ broker destination queue to consume. -- -- CreateEventSourceMapping, -- createEventSourceMapping_selfManagedEventSource - The -- self-managed Apache Kafka cluster to receive records from. -- -- CreateEventSourceMapping, -- createEventSourceMapping_selfManagedKafkaEventSourceConfig - -- Specific configuration settings for a self-managed Apache Kafka event -- source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_sourceAccessConfigurations - An array -- of authentication protocols or VPC components required to secure your -- event source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_startingPosition - The position in a -- stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- CreateEventSourceMapping, -- createEventSourceMapping_startingPositionTimestamp - With -- StartingPosition set to AT_TIMESTAMP, the time from -- which to start reading. -- -- CreateEventSourceMapping, -- createEventSourceMapping_topics - The name of the Kafka topic. -- -- CreateEventSourceMapping, -- createEventSourceMapping_tumblingWindowInSeconds - (Streams -- only) The duration in seconds of a processing window. The range is -- between 1 second and 900 seconds. -- -- CreateEventSourceMapping, -- createEventSourceMapping_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. newCreateEventSourceMapping :: Text -> CreateEventSourceMapping -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. createEventSourceMapping_amazonManagedKafkaEventSourceConfig :: Lens' CreateEventSourceMapping (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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). -- -- createEventSourceMapping_batchSize :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. createEventSourceMapping_bisectBatchOnFunctionError :: Lens' CreateEventSourceMapping (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. createEventSourceMapping_destinationConfig :: Lens' CreateEventSourceMapping (Maybe DestinationConfig) -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True createEventSourceMapping_enabled :: Lens' CreateEventSourceMapping (Maybe Bool) -- | The Amazon Resource Name (ARN) of the event source. -- -- createEventSourceMapping_eventSourceArn :: Lens' CreateEventSourceMapping (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. createEventSourceMapping_filterCriteria :: Lens' CreateEventSourceMapping (Maybe FilterCriteria) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. createEventSourceMapping_functionResponseTypes :: Lens' CreateEventSourceMapping (Maybe [FunctionResponseType]) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. createEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). createEventSourceMapping_maximumRecordAgeInSeconds :: Lens' CreateEventSourceMapping (Maybe Int) -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. createEventSourceMapping_maximumRetryAttempts :: Lens' CreateEventSourceMapping (Maybe Int) -- | (Streams only) The number of batches to process from each shard -- concurrently. createEventSourceMapping_parallelizationFactor :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (MQ) The name of the Amazon MQ broker destination queue to consume. createEventSourceMapping_queues :: Lens' CreateEventSourceMapping (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster to receive records from. createEventSourceMapping_selfManagedEventSource :: Lens' CreateEventSourceMapping (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. createEventSourceMapping_selfManagedKafkaEventSourceConfig :: Lens' CreateEventSourceMapping (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of authentication protocols or VPC components required to -- secure your event source. createEventSourceMapping_sourceAccessConfigurations :: Lens' CreateEventSourceMapping (Maybe [SourceAccessConfiguration]) -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. createEventSourceMapping_startingPosition :: Lens' CreateEventSourceMapping (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. createEventSourceMapping_startingPositionTimestamp :: Lens' CreateEventSourceMapping (Maybe UTCTime) -- | The name of the Kafka topic. createEventSourceMapping_topics :: Lens' CreateEventSourceMapping (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. createEventSourceMapping_tumblingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. createEventSourceMapping_functionName :: Lens' CreateEventSourceMapping Text -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance GHC.Show.Show Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance GHC.Read.Read Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance GHC.Classes.Eq Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Amazonka.Types.AWSRequest Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Data.Hashable.Class.Hashable Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Control.DeepSeq.NFData Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Amazonka.Data.Path.ToPath Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.CreateEventSourceMapping.CreateEventSourceMapping -- | Creates a code signing configuration. A code signing -- configuration defines a list of allowed signing profiles and -- defines the code-signing validation policy (action to be taken if -- deployment validation checks fail). module Amazonka.Lambda.CreateCodeSigningConfig -- | See: newCreateCodeSigningConfig smart constructor. data CreateCodeSigningConfig CreateCodeSigningConfig' :: Maybe CodeSigningPolicies -> Maybe Text -> AllowedPublishers -> CreateCodeSigningConfig -- | The code signing policies define the actions to take if the validation -- checks fail. [$sel:codeSigningPolicies:CreateCodeSigningConfig'] :: CreateCodeSigningConfig -> Maybe CodeSigningPolicies -- | Descriptive name for this code signing configuration. [$sel:description:CreateCodeSigningConfig'] :: CreateCodeSigningConfig -> Maybe Text -- | Signing profiles for this code signing configuration. [$sel:allowedPublishers:CreateCodeSigningConfig'] :: CreateCodeSigningConfig -> AllowedPublishers -- | Create a value of CreateCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_codeSigningPolicies - The code signing -- policies define the actions to take if the validation checks fail. -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_description - Descriptive name for this -- code signing configuration. -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_allowedPublishers - Signing profiles -- for this code signing configuration. newCreateCodeSigningConfig :: AllowedPublishers -> CreateCodeSigningConfig -- | The code signing policies define the actions to take if the validation -- checks fail. createCodeSigningConfig_codeSigningPolicies :: Lens' CreateCodeSigningConfig (Maybe CodeSigningPolicies) -- | Descriptive name for this code signing configuration. createCodeSigningConfig_description :: Lens' CreateCodeSigningConfig (Maybe Text) -- | Signing profiles for this code signing configuration. createCodeSigningConfig_allowedPublishers :: Lens' CreateCodeSigningConfig AllowedPublishers -- | See: newCreateCodeSigningConfigResponse smart -- constructor. data CreateCodeSigningConfigResponse CreateCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:CreateCodeSigningConfigResponse'] :: CreateCodeSigningConfigResponse -> Int -- | The code signing configuration. [$sel:codeSigningConfig:CreateCodeSigningConfigResponse'] :: CreateCodeSigningConfigResponse -> CodeSigningConfig -- | Create a value of CreateCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:CreateCodeSigningConfigResponse', -- createCodeSigningConfigResponse_httpStatus - The response's -- http status code. -- -- $sel:codeSigningConfig:CreateCodeSigningConfigResponse', -- createCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration. newCreateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse -- | The response's http status code. createCodeSigningConfigResponse_httpStatus :: Lens' CreateCodeSigningConfigResponse Int -- | The code signing configuration. createCodeSigningConfigResponse_codeSigningConfig :: Lens' CreateCodeSigningConfigResponse CodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.CreateCodeSigningConfig.CreateCodeSigningConfig -- | Creates an alias for a Lambda function version. Use aliases to -- provide clients with a function identifier that you can update to -- invoke a different version. -- -- You can also map an alias to split invocation requests between two -- versions. Use the RoutingConfig parameter to specify a second -- version and the percentage of invocation requests that it receives. module Amazonka.Lambda.CreateAlias -- | See: newCreateAlias smart constructor. data CreateAlias CreateAlias' :: Maybe Text -> Maybe AliasRoutingConfiguration -> Text -> Text -> Text -> CreateAlias -- | A description of the alias. [$sel:description:CreateAlias'] :: CreateAlias -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:CreateAlias'] :: CreateAlias -> Maybe AliasRoutingConfiguration -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:CreateAlias'] :: CreateAlias -> Text -- | The name of the alias. [$sel:name:CreateAlias'] :: CreateAlias -> Text -- | The function version that the alias invokes. [$sel:functionVersion:CreateAlias'] :: CreateAlias -> Text -- | Create a value of CreateAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateAlias, createAlias_description - A description of -- the alias. -- -- CreateAlias, createAlias_routingConfig - The routing -- configuration of the alias. -- -- CreateAlias, createAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateAlias, createAlias_name - The name of the alias. -- -- CreateAlias, createAlias_functionVersion - The function -- version that the alias invokes. newCreateAlias :: Text -> Text -> Text -> CreateAlias -- | A description of the alias. createAlias_description :: Lens' CreateAlias (Maybe Text) -- | The routing configuration of the alias. createAlias_routingConfig :: Lens' CreateAlias (Maybe AliasRoutingConfiguration) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createAlias_functionName :: Lens' CreateAlias Text -- | The name of the alias. createAlias_name :: Lens' CreateAlias Text -- | The function version that the alias invokes. createAlias_functionVersion :: Lens' CreateAlias Text -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. [$sel:aliasArn:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A description of the alias. [$sel:description:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The name of the alias. [$sel:name:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A unique identifier that changes when you update the alias. [$sel:revisionId:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:AliasConfiguration'] :: AliasConfiguration -> Maybe AliasRoutingConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) instance GHC.Generics.Generic Amazonka.Lambda.CreateAlias.CreateAlias instance GHC.Show.Show Amazonka.Lambda.CreateAlias.CreateAlias instance GHC.Read.Read Amazonka.Lambda.CreateAlias.CreateAlias instance GHC.Classes.Eq Amazonka.Lambda.CreateAlias.CreateAlias instance Amazonka.Types.AWSRequest Amazonka.Lambda.CreateAlias.CreateAlias instance Data.Hashable.Class.Hashable Amazonka.Lambda.CreateAlias.CreateAlias instance Control.DeepSeq.NFData Amazonka.Lambda.CreateAlias.CreateAlias instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.CreateAlias.CreateAlias instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.CreateAlias.CreateAlias instance Amazonka.Data.Path.ToPath Amazonka.Lambda.CreateAlias.CreateAlias instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.CreateAlias.CreateAlias -- | Grants an Amazon Web Service, Amazon Web Services account, or Amazon -- Web Services organization permission to use a function. You can apply -- the policy at the function level, or specify a qualifier to restrict -- access to a single version or alias. If you use a qualifier, the -- invoker must use the full Amazon Resource Name (ARN) of that version -- or alias to invoke the function. Note: Lambda does not support adding -- policies to version $LATEST. -- -- To grant permission to another account, specify the account ID as the -- Principal. To grant permission to an organization defined in -- Organizations, specify the organization ID as the -- PrincipalOrgID. For Amazon Web Services, the principal is a -- domain-style identifier that the service defines, such as -- s3.amazonaws.com or sns.amazonaws.com. For Amazon -- Web Services, you can also specify the ARN of the associated resource -- as the SourceArn. If you grant permission to a service -- principal without specifying the source, other accounts could -- potentially configure resources in their account to invoke your Lambda -- function. -- -- This operation adds a statement to a resource-based permissions policy -- for the function. For more information about function policies, see -- Using resource-based policies for Lambda. module Amazonka.Lambda.AddPermission -- | See: newAddPermission smart constructor. data AddPermission AddPermission' :: Maybe Text -> Maybe FunctionUrlAuthType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> AddPermission -- | For Alexa Smart Home functions, a token that the invoker must supply. [$sel:eventSourceToken:AddPermission'] :: AddPermission -> Maybe Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:functionUrlAuthType:AddPermission'] :: AddPermission -> Maybe FunctionUrlAuthType -- | The identifier for your organization in Organizations. Use this to -- grant permissions to all the Amazon Web Services accounts under this -- organization. [$sel:principalOrgID:AddPermission'] :: AddPermission -> Maybe Text -- | Specify a version or alias to add permissions to a published version -- of the function. [$sel:qualifier:AddPermission'] :: AddPermission -> Maybe Text -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. [$sel:revisionId:AddPermission'] :: AddPermission -> Maybe Text -- | For Amazon Web Service, the ID of the Amazon Web Services account that -- owns the resource. Use this together with SourceArn to ensure -- that the specified account owns the resource. It is possible for an -- Amazon S3 bucket to be deleted by its owner and recreated by another -- account. [$sel:sourceAccount:AddPermission'] :: AddPermission -> Maybe Text -- | For Amazon Web Services, the ARN of the Amazon Web Services resource -- that invokes the function. For example, an Amazon S3 bucket or Amazon -- SNS topic. -- -- Note that Lambda configures the comparison using the -- StringLike operator. [$sel:sourceArn:AddPermission'] :: AddPermission -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:AddPermission'] :: AddPermission -> Text -- | A statement identifier that differentiates the statement from others -- in the same policy. [$sel:statementId:AddPermission'] :: AddPermission -> Text -- | The action that the principal can use on the function. For example, -- lambda:InvokeFunction or lambda:GetFunction. [$sel:action:AddPermission'] :: AddPermission -> Text -- | The Amazon Web Service or Amazon Web Services account that invokes the -- function. If you specify a service, use SourceArn or -- SourceAccount to limit who can invoke the function through -- that service. [$sel:principal:AddPermission'] :: AddPermission -> Text -- | Create a value of AddPermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:eventSourceToken:AddPermission', -- addPermission_eventSourceToken - For Alexa Smart Home -- functions, a token that the invoker must supply. -- -- $sel:functionUrlAuthType:AddPermission', -- addPermission_functionUrlAuthType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. -- -- $sel:principalOrgID:AddPermission', -- addPermission_principalOrgID - The identifier for your -- organization in Organizations. Use this to grant permissions to all -- the Amazon Web Services accounts under this organization. -- -- $sel:qualifier:AddPermission', addPermission_qualifier - -- Specify a version or alias to add permissions to a published version -- of the function. -- -- AddPermission, addPermission_revisionId - Update the -- policy only if the revision ID matches the ID that's specified. Use -- this option to avoid modifying a policy that has changed since you -- last read it. -- -- $sel:sourceAccount:AddPermission', -- addPermission_sourceAccount - For Amazon Web Service, the ID of -- the Amazon Web Services account that owns the resource. Use this -- together with SourceArn to ensure that the specified account -- owns the resource. It is possible for an Amazon S3 bucket to be -- deleted by its owner and recreated by another account. -- -- $sel:sourceArn:AddPermission', addPermission_sourceArn - -- For Amazon Web Services, the ARN of the Amazon Web Services resource -- that invokes the function. For example, an Amazon S3 bucket or Amazon -- SNS topic. -- -- Note that Lambda configures the comparison using the -- StringLike operator. -- -- AddPermission, addPermission_functionName - The name of -- the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- $sel:statementId:AddPermission', -- addPermission_statementId - A statement identifier that -- differentiates the statement from others in the same policy. -- -- $sel:action:AddPermission', addPermission_action - The -- action that the principal can use on the function. For example, -- lambda:InvokeFunction or lambda:GetFunction. -- -- $sel:principal:AddPermission', addPermission_principal - -- The Amazon Web Service or Amazon Web Services account that invokes the -- function. If you specify a service, use SourceArn or -- SourceAccount to limit who can invoke the function through -- that service. newAddPermission :: Text -> Text -> Text -> Text -> AddPermission -- | For Alexa Smart Home functions, a token that the invoker must supply. addPermission_eventSourceToken :: Lens' AddPermission (Maybe Text) -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. addPermission_functionUrlAuthType :: Lens' AddPermission (Maybe FunctionUrlAuthType) -- | The identifier for your organization in Organizations. Use this to -- grant permissions to all the Amazon Web Services accounts under this -- organization. addPermission_principalOrgID :: Lens' AddPermission (Maybe Text) -- | Specify a version or alias to add permissions to a published version -- of the function. addPermission_qualifier :: Lens' AddPermission (Maybe Text) -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. addPermission_revisionId :: Lens' AddPermission (Maybe Text) -- | For Amazon Web Service, the ID of the Amazon Web Services account that -- owns the resource. Use this together with SourceArn to ensure -- that the specified account owns the resource. It is possible for an -- Amazon S3 bucket to be deleted by its owner and recreated by another -- account. addPermission_sourceAccount :: Lens' AddPermission (Maybe Text) -- | For Amazon Web Services, the ARN of the Amazon Web Services resource -- that invokes the function. For example, an Amazon S3 bucket or Amazon -- SNS topic. -- -- Note that Lambda configures the comparison using the -- StringLike operator. addPermission_sourceArn :: Lens' AddPermission (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. addPermission_functionName :: Lens' AddPermission Text -- | A statement identifier that differentiates the statement from others -- in the same policy. addPermission_statementId :: Lens' AddPermission Text -- | The action that the principal can use on the function. For example, -- lambda:InvokeFunction or lambda:GetFunction. addPermission_action :: Lens' AddPermission Text -- | The Amazon Web Service or Amazon Web Services account that invokes the -- function. If you specify a service, use SourceArn or -- SourceAccount to limit who can invoke the function through -- that service. addPermission_principal :: Lens' AddPermission Text -- | See: newAddPermissionResponse smart constructor. data AddPermissionResponse AddPermissionResponse' :: Maybe Text -> Int -> AddPermissionResponse -- | The permission statement that's added to the function policy. [$sel:statement:AddPermissionResponse'] :: AddPermissionResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:AddPermissionResponse'] :: AddPermissionResponse -> Int -- | Create a value of AddPermissionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:statement:AddPermissionResponse', -- addPermissionResponse_statement - The permission statement -- that's added to the function policy. -- -- $sel:httpStatus:AddPermissionResponse', -- addPermissionResponse_httpStatus - The response's http status -- code. newAddPermissionResponse :: Int -> AddPermissionResponse -- | The permission statement that's added to the function policy. addPermissionResponse_statement :: Lens' AddPermissionResponse (Maybe Text) -- | The response's http status code. addPermissionResponse_httpStatus :: Lens' AddPermissionResponse Int instance GHC.Generics.Generic Amazonka.Lambda.AddPermission.AddPermission instance GHC.Show.Show Amazonka.Lambda.AddPermission.AddPermission instance GHC.Read.Read Amazonka.Lambda.AddPermission.AddPermission instance GHC.Classes.Eq Amazonka.Lambda.AddPermission.AddPermission instance GHC.Generics.Generic Amazonka.Lambda.AddPermission.AddPermissionResponse instance GHC.Show.Show Amazonka.Lambda.AddPermission.AddPermissionResponse instance GHC.Read.Read Amazonka.Lambda.AddPermission.AddPermissionResponse instance GHC.Classes.Eq Amazonka.Lambda.AddPermission.AddPermissionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.AddPermission.AddPermission instance Control.DeepSeq.NFData Amazonka.Lambda.AddPermission.AddPermissionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.AddPermission.AddPermission instance Control.DeepSeq.NFData Amazonka.Lambda.AddPermission.AddPermission instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.AddPermission.AddPermission instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.AddPermission.AddPermission instance Amazonka.Data.Path.ToPath Amazonka.Lambda.AddPermission.AddPermission instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.AddPermission.AddPermission -- | Adds permissions to the resource-based policy of a version of an -- Lambda layer. Use this action to grant layer usage permission -- to other accounts. You can grant permission to a single account, all -- accounts in an organization, or all Amazon Web Services accounts. -- -- To revoke permission, call RemoveLayerVersionPermission with the -- statement ID that you specified when you added it. module Amazonka.Lambda.AddLayerVersionPermission -- | See: newAddLayerVersionPermission smart constructor. data AddLayerVersionPermission AddLayerVersionPermission' :: Maybe Text -> Maybe Text -> Text -> Integer -> Text -> Text -> Text -> AddLayerVersionPermission -- | With the principal set to *, grant permission to all accounts -- in the specified organization. [$sel:organizationId:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Maybe Text -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. [$sel:revisionId:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Maybe Text -- | The name or Amazon Resource Name (ARN) of the layer. [$sel:layerName:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Text -- | The version number. [$sel:versionNumber:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Integer -- | An identifier that distinguishes the policy from others on the same -- layer version. [$sel:statementId:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Text -- | The API action that grants access to the layer. For example, -- lambda:GetLayerVersion. [$sel:action:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Text -- | An account ID, or * to grant layer usage permission to all -- accounts in an organization, or all Amazon Web Services accounts (if -- organizationId is not specified). For the last case, make -- sure that you really do want all Amazon Web Services accounts to have -- usage permission to this layer. [$sel:principal:AddLayerVersionPermission'] :: AddLayerVersionPermission -> Text -- | Create a value of AddLayerVersionPermission with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:organizationId:AddLayerVersionPermission', -- addLayerVersionPermission_organizationId - With the principal -- set to *, grant permission to all accounts in the specified -- organization. -- -- AddLayerVersionPermission, -- addLayerVersionPermission_revisionId - Only update the policy -- if the revision ID matches the ID specified. Use this option to avoid -- modifying a policy that has changed since you last read it. -- -- AddLayerVersionPermission, -- addLayerVersionPermission_layerName - The name or Amazon -- Resource Name (ARN) of the layer. -- -- $sel:versionNumber:AddLayerVersionPermission', -- addLayerVersionPermission_versionNumber - The version number. -- -- $sel:statementId:AddLayerVersionPermission', -- addLayerVersionPermission_statementId - An identifier that -- distinguishes the policy from others on the same layer version. -- -- $sel:action:AddLayerVersionPermission', -- addLayerVersionPermission_action - The API action that grants -- access to the layer. For example, lambda:GetLayerVersion. -- -- $sel:principal:AddLayerVersionPermission', -- addLayerVersionPermission_principal - An account ID, or -- * to grant layer usage permission to all accounts in an -- organization, or all Amazon Web Services accounts (if -- organizationId is not specified). For the last case, make -- sure that you really do want all Amazon Web Services accounts to have -- usage permission to this layer. newAddLayerVersionPermission :: Text -> Integer -> Text -> Text -> Text -> AddLayerVersionPermission -- | With the principal set to *, grant permission to all accounts -- in the specified organization. addLayerVersionPermission_organizationId :: Lens' AddLayerVersionPermission (Maybe Text) -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. addLayerVersionPermission_revisionId :: Lens' AddLayerVersionPermission (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. addLayerVersionPermission_layerName :: Lens' AddLayerVersionPermission Text -- | The version number. addLayerVersionPermission_versionNumber :: Lens' AddLayerVersionPermission Integer -- | An identifier that distinguishes the policy from others on the same -- layer version. addLayerVersionPermission_statementId :: Lens' AddLayerVersionPermission Text -- | The API action that grants access to the layer. For example, -- lambda:GetLayerVersion. addLayerVersionPermission_action :: Lens' AddLayerVersionPermission Text -- | An account ID, or * to grant layer usage permission to all -- accounts in an organization, or all Amazon Web Services accounts (if -- organizationId is not specified). For the last case, make -- sure that you really do want all Amazon Web Services accounts to have -- usage permission to this layer. addLayerVersionPermission_principal :: Lens' AddLayerVersionPermission Text -- | See: newAddLayerVersionPermissionResponse smart -- constructor. data AddLayerVersionPermissionResponse AddLayerVersionPermissionResponse' :: Maybe Text -> Maybe Text -> Int -> AddLayerVersionPermissionResponse -- | A unique identifier for the current revision of the policy. [$sel:revisionId:AddLayerVersionPermissionResponse'] :: AddLayerVersionPermissionResponse -> Maybe Text -- | The permission statement. [$sel:statement:AddLayerVersionPermissionResponse'] :: AddLayerVersionPermissionResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:AddLayerVersionPermissionResponse'] :: AddLayerVersionPermissionResponse -> Int -- | Create a value of AddLayerVersionPermissionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- AddLayerVersionPermission, -- addLayerVersionPermissionResponse_revisionId - A unique -- identifier for the current revision of the policy. -- -- $sel:statement:AddLayerVersionPermissionResponse', -- addLayerVersionPermissionResponse_statement - The permission -- statement. -- -- $sel:httpStatus:AddLayerVersionPermissionResponse', -- addLayerVersionPermissionResponse_httpStatus - The response's -- http status code. newAddLayerVersionPermissionResponse :: Int -> AddLayerVersionPermissionResponse -- | A unique identifier for the current revision of the policy. addLayerVersionPermissionResponse_revisionId :: Lens' AddLayerVersionPermissionResponse (Maybe Text) -- | The permission statement. addLayerVersionPermissionResponse_statement :: Lens' AddLayerVersionPermissionResponse (Maybe Text) -- | The response's http status code. addLayerVersionPermissionResponse_httpStatus :: Lens' AddLayerVersionPermissionResponse Int instance GHC.Generics.Generic Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance GHC.Show.Show Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance GHC.Read.Read Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance GHC.Classes.Eq Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance GHC.Generics.Generic Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermissionResponse instance GHC.Show.Show Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermissionResponse instance GHC.Read.Read Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermissionResponse instance GHC.Classes.Eq Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermissionResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Control.DeepSeq.NFData Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermissionResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Control.DeepSeq.NFData Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Amazonka.Data.Path.ToPath Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.AddLayerVersionPermission.AddLayerVersionPermission -- | Removes tags from a function. module Amazonka.Lambda.UntagResource -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | The function's Amazon Resource Name (ARN). [$sel:resource:UntagResource'] :: UntagResource -> Text -- | A list of tag keys to remove from the function. [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text] -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:UntagResource', untagResource_resource - -- The function's Amazon Resource Name (ARN). -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of tag keys to remove from the function. newUntagResource :: Text -> UntagResource -- | The function's Amazon Resource Name (ARN). untagResource_resource :: Lens' UntagResource Text -- | A list of tag keys to remove from the function. untagResource_tagKeys :: Lens' UntagResource [Text] -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: UntagResourceResponse -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newUntagResourceResponse :: UntagResourceResponse instance GHC.Generics.Generic Amazonka.Lambda.UntagResource.UntagResource instance GHC.Show.Show Amazonka.Lambda.UntagResource.UntagResource instance GHC.Read.Read Amazonka.Lambda.UntagResource.UntagResource instance GHC.Classes.Eq Amazonka.Lambda.UntagResource.UntagResource instance GHC.Generics.Generic Amazonka.Lambda.UntagResource.UntagResourceResponse instance GHC.Show.Show Amazonka.Lambda.UntagResource.UntagResourceResponse instance GHC.Read.Read Amazonka.Lambda.UntagResource.UntagResourceResponse instance GHC.Classes.Eq Amazonka.Lambda.UntagResource.UntagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.Lambda.UntagResource.UntagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.Lambda.UntagResource.UntagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UntagResource.UntagResource instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UntagResource.UntagResource instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UntagResource.UntagResource -- | Updates the configuration of a Lambda function alias. module Amazonka.Lambda.UpdateAlias -- | See: newUpdateAlias smart constructor. data UpdateAlias UpdateAlias' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> Text -> Text -> UpdateAlias -- | A description of the alias. [$sel:description:UpdateAlias'] :: UpdateAlias -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:UpdateAlias'] :: UpdateAlias -> Maybe Text -- | Only update the alias if the revision ID matches the ID that's -- specified. Use this option to avoid modifying an alias that has -- changed since you last read it. [$sel:revisionId:UpdateAlias'] :: UpdateAlias -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:UpdateAlias'] :: UpdateAlias -> Maybe AliasRoutingConfiguration -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:UpdateAlias'] :: UpdateAlias -> Text -- | The name of the alias. [$sel:name:UpdateAlias'] :: UpdateAlias -> Text -- | Create a value of UpdateAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateAlias, updateAlias_description - A description of -- the alias. -- -- UpdateAlias, updateAlias_functionVersion - The function -- version that the alias invokes. -- -- UpdateAlias, updateAlias_revisionId - Only update the -- alias if the revision ID matches the ID that's specified. Use this -- option to avoid modifying an alias that has changed since you last -- read it. -- -- UpdateAlias, updateAlias_routingConfig - The routing -- configuration of the alias. -- -- UpdateAlias, updateAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- UpdateAlias, updateAlias_name - The name of the alias. newUpdateAlias :: Text -> Text -> UpdateAlias -- | A description of the alias. updateAlias_description :: Lens' UpdateAlias (Maybe Text) -- | The function version that the alias invokes. updateAlias_functionVersion :: Lens' UpdateAlias (Maybe Text) -- | Only update the alias if the revision ID matches the ID that's -- specified. Use this option to avoid modifying an alias that has -- changed since you last read it. updateAlias_revisionId :: Lens' UpdateAlias (Maybe Text) -- | The routing configuration of the alias. updateAlias_routingConfig :: Lens' UpdateAlias (Maybe AliasRoutingConfiguration) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateAlias_functionName :: Lens' UpdateAlias Text -- | The name of the alias. updateAlias_name :: Lens' UpdateAlias Text -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. [$sel:aliasArn:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A description of the alias. [$sel:description:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The function version that the alias invokes. [$sel:functionVersion:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The name of the alias. [$sel:name:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | A unique identifier that changes when you update the alias. [$sel:revisionId:AliasConfiguration'] :: AliasConfiguration -> Maybe Text -- | The routing configuration of the alias. [$sel:routingConfig:AliasConfiguration'] :: AliasConfiguration -> Maybe AliasRoutingConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) instance GHC.Generics.Generic Amazonka.Lambda.UpdateAlias.UpdateAlias instance GHC.Show.Show Amazonka.Lambda.UpdateAlias.UpdateAlias instance GHC.Read.Read Amazonka.Lambda.UpdateAlias.UpdateAlias instance GHC.Classes.Eq Amazonka.Lambda.UpdateAlias.UpdateAlias instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateAlias.UpdateAlias instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateAlias.UpdateAlias instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateAlias.UpdateAlias instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateAlias.UpdateAlias instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateAlias.UpdateAlias instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateAlias.UpdateAlias instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateAlias.UpdateAlias -- | Update the code signing configuration. Changes to the code signing -- configuration take effect the next time a user tries to deploy a code -- package to the function. module Amazonka.Lambda.UpdateCodeSigningConfig -- | See: newUpdateCodeSigningConfig smart constructor. data UpdateCodeSigningConfig UpdateCodeSigningConfig' :: Maybe AllowedPublishers -> Maybe CodeSigningPolicies -> Maybe Text -> Text -> UpdateCodeSigningConfig -- | Signing profiles for this code signing configuration. [$sel:allowedPublishers:UpdateCodeSigningConfig'] :: UpdateCodeSigningConfig -> Maybe AllowedPublishers -- | The code signing policy. [$sel:codeSigningPolicies:UpdateCodeSigningConfig'] :: UpdateCodeSigningConfig -> Maybe CodeSigningPolicies -- | Descriptive name for this code signing configuration. [$sel:description:UpdateCodeSigningConfig'] :: UpdateCodeSigningConfig -> Maybe Text -- | The The Amazon Resource Name (ARN) of the code signing configuration. [$sel:codeSigningConfigArn:UpdateCodeSigningConfig'] :: UpdateCodeSigningConfig -> Text -- | Create a value of UpdateCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_allowedPublishers - Signing profiles -- for this code signing configuration. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_codeSigningPolicies - The code signing -- policy. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_description - Descriptive name for this -- code signing configuration. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newUpdateCodeSigningConfig :: Text -> UpdateCodeSigningConfig -- | Signing profiles for this code signing configuration. updateCodeSigningConfig_allowedPublishers :: Lens' UpdateCodeSigningConfig (Maybe AllowedPublishers) -- | The code signing policy. updateCodeSigningConfig_codeSigningPolicies :: Lens' UpdateCodeSigningConfig (Maybe CodeSigningPolicies) -- | Descriptive name for this code signing configuration. updateCodeSigningConfig_description :: Lens' UpdateCodeSigningConfig (Maybe Text) -- | The The Amazon Resource Name (ARN) of the code signing configuration. updateCodeSigningConfig_codeSigningConfigArn :: Lens' UpdateCodeSigningConfig Text -- | See: newUpdateCodeSigningConfigResponse smart -- constructor. data UpdateCodeSigningConfigResponse UpdateCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse -- | The response's http status code. [$sel:httpStatus:UpdateCodeSigningConfigResponse'] :: UpdateCodeSigningConfigResponse -> Int -- | The code signing configuration [$sel:codeSigningConfig:UpdateCodeSigningConfigResponse'] :: UpdateCodeSigningConfigResponse -> CodeSigningConfig -- | Create a value of UpdateCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateCodeSigningConfigResponse', -- updateCodeSigningConfigResponse_httpStatus - The response's -- http status code. -- -- $sel:codeSigningConfig:UpdateCodeSigningConfigResponse', -- updateCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration newUpdateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse -- | The response's http status code. updateCodeSigningConfigResponse_httpStatus :: Lens' UpdateCodeSigningConfigResponse Int -- | The code signing configuration updateCodeSigningConfigResponse_codeSigningConfig :: Lens' UpdateCodeSigningConfigResponse CodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance GHC.Show.Show Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance GHC.Read.Read Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance GHC.Classes.Eq Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance GHC.Generics.Generic Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfigResponse instance GHC.Show.Show Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfigResponse instance GHC.Read.Read Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateCodeSigningConfig.UpdateCodeSigningConfig -- | Updates an event source mapping. You can change the function that -- Lambda invokes, or pause invocation and resume later from the same -- location. -- -- For details about how to configure different event sources, see the -- following topics. -- -- -- -- The following error handling options are available only for stream -- sources (DynamoDB and Kinesis): -- -- -- -- For information about which configuration parameters apply to each -- event source, see the following topics. -- -- module Amazonka.Lambda.UpdateEventSourceMapping -- | See: newUpdateEventSourceMapping smart constructor. data UpdateEventSourceMapping UpdateEventSourceMapping' :: Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Bool -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe [SourceAccessConfiguration] -> Maybe Natural -> Text -> UpdateEventSourceMapping -- | 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). -- -- [$sel:batchSize:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. [$sel:bisectBatchOnFunctionError:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe DestinationConfig -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True [$sel:enabled:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Bool -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe FilterCriteria -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. [$sel:functionName:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe [FunctionResponseType] -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Natural -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). [$sel:maximumRecordAgeInSeconds:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Int -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. [$sel:maximumRetryAttempts:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Int -- | (Streams only) The number of batches to process from each shard -- concurrently. [$sel:parallelizationFactor:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Natural -- | An array of authentication protocols or VPC components required to -- secure your event source. [$sel:sourceAccessConfigurations:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe [SourceAccessConfiguration] -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. [$sel:tumblingWindowInSeconds:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:UpdateEventSourceMapping'] :: UpdateEventSourceMapping -> Text -- | Create a value of UpdateEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_batchSize - The maximum number of -- records in each batch that Lambda pulls from your stream or queue and -- sends to your function. Lambda passes all of the records in the batch -- to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_bisectBatchOnFunctionError - (Streams -- only) If the function returns an error, split the batch in two and -- retry. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_destinationConfig - (Streams only) An -- Amazon SQS queue or Amazon SNS topic destination for discarded -- records. -- -- $sel:enabled:UpdateEventSourceMapping', -- updateEventSourceMapping_enabled - When true, the event source -- mapping is active. When false, Lambda pauses polling and invocation. -- -- Default: True -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_functionResponseTypes - (Streams and -- Amazon SQS) A list of current response type enums applied to the event -- source mapping. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumBatchingWindowInSeconds - The -- maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumRecordAgeInSeconds - (Streams -- only) Discard records older than the specified age. The default value -- is infinite (-1). -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumRetryAttempts - (Streams only) -- Discard records after the specified number of retries. The default -- value is infinite (-1). When set to infinite (-1), failed records are -- retried until the record expires. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_parallelizationFactor - (Streams only) -- The number of batches to process from each shard concurrently. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_sourceAccessConfigurations - An array -- of authentication protocols or VPC components required to secure your -- event source. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_tumblingWindowInSeconds - (Streams -- only) The duration in seconds of a processing window. The range is -- between 1 second and 900 seconds. -- -- UpdateEventSourceMapping, updateEventSourceMapping_uuid -- - The identifier of the event source mapping. newUpdateEventSourceMapping :: Text -> UpdateEventSourceMapping -- | 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). -- -- updateEventSourceMapping_batchSize :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. updateEventSourceMapping_bisectBatchOnFunctionError :: Lens' UpdateEventSourceMapping (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. updateEventSourceMapping_destinationConfig :: Lens' UpdateEventSourceMapping (Maybe DestinationConfig) -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True updateEventSourceMapping_enabled :: Lens' UpdateEventSourceMapping (Maybe Bool) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. updateEventSourceMapping_filterCriteria :: Lens' UpdateEventSourceMapping (Maybe FilterCriteria) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. updateEventSourceMapping_functionName :: Lens' UpdateEventSourceMapping (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. updateEventSourceMapping_functionResponseTypes :: Lens' UpdateEventSourceMapping (Maybe [FunctionResponseType]) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. updateEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). updateEventSourceMapping_maximumRecordAgeInSeconds :: Lens' UpdateEventSourceMapping (Maybe Int) -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. updateEventSourceMapping_maximumRetryAttempts :: Lens' UpdateEventSourceMapping (Maybe Int) -- | (Streams only) The number of batches to process from each shard -- concurrently. updateEventSourceMapping_parallelizationFactor :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | An array of authentication protocols or VPC components required to -- secure your event source. updateEventSourceMapping_sourceAccessConfigurations :: Lens' UpdateEventSourceMapping (Maybe [SourceAccessConfiguration]) -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. updateEventSourceMapping_tumblingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | The identifier of the event source mapping. updateEventSourceMapping_uuid :: Lens' UpdateEventSourceMapping Text -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. [$sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe AmazonManagedKafkaEventSourceConfig -- | 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:batchSize:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. [$sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Bool -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. [$sel:destinationConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the event source. [$sel:eventSourceArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. [$sel:filterCriteria:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe FilterCriteria -- | The ARN of the Lambda function. [$sel:functionArn:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. [$sel:functionResponseTypes:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [FunctionResponseType] -- | The date that the event source mapping was last updated or that its -- state changed. [$sel:lastModified:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The result of the last Lambda invocation of your function. [$sel:lastProcessingResult:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. [$sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (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:maximumRecordAgeInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (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:maximumRetryAttempts:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Int -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. [$sel:parallelizationFactor:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. [$sel:queues:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | The self-managed Apache Kafka cluster for your event source. [$sel:selfManagedEventSource:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. [$sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe SelfManagedKafkaEventSourceConfig -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. [$sel:sourceAccessConfigurations:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe [SourceAccessConfiguration] -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. [$sel:startingPosition:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe EventSourcePosition -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. [$sel:startingPositionTimestamp:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe POSIX -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. [$sel:state:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. [$sel:stateTransitionReason:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | The name of the Kafka topic. [$sel:topics:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe (NonEmpty Text) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. [$sel:tumblingWindowInSeconds:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Natural -- | The identifier of the event source mapping. [$sel:uuid:EventSourceMappingConfiguration'] :: EventSourceMappingConfiguration -> Maybe Text -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) instance GHC.Generics.Generic Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance GHC.Show.Show Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance GHC.Read.Read Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance GHC.Classes.Eq Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateEventSourceMapping.UpdateEventSourceMapping -- | Updates a Lambda function's code. If code signing is enabled for the -- function, the code package must be signed by a trusted publisher. For -- more information, see Configuring code signing for Lambda. -- -- If the function's package type is Image, then you must -- specify the code package in ImageUri as the URI of a -- container image in the Amazon ECR registry. -- -- If the function's package type is Zip, then you must specify -- the deployment package as a .zip file archive. Enter the Amazon -- S3 bucket and key of the code .zip file location. You can also provide -- the function code inline using the ZipFile field. -- -- The code in the deployment package must be compatible with the target -- instruction set architecture of the function (x86-64 or -- arm64). -- -- The function's code is locked when you publish a version. You can't -- modify the code of a published version, only the unpublished version. -- -- For a function defined as a container image, Lambda resolves the image -- tag to an image digest. In Amazon ECR, if you update the image tag to -- a new image, Lambda does not automatically update the function. module Amazonka.Lambda.UpdateFunctionCode -- | See: newUpdateFunctionCode smart constructor. data UpdateFunctionCode UpdateFunctionCode' :: Maybe (NonEmpty Architecture) -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> Text -> UpdateFunctionCode -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. [$sel:architectures:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe (NonEmpty Architecture) -- | Set to true to validate the request parameters and access permissions -- without modifying the function code. [$sel:dryRun:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Bool -- | URI of a container image in the Amazon ECR registry. Do not use for a -- function defined with a .zip file archive. [$sel:imageUri:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Text -- | Set to true to publish a new version of the function after updating -- the code. This has the same effect as calling PublishVersion -- separately. [$sel:publish:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Bool -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. [$sel:revisionId:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Text -- | An Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. Use only with a function defined with a .zip file archive -- deployment package. [$sel:s3Bucket:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Text -- | The Amazon S3 key of the deployment package. Use only with a function -- defined with a .zip file archive deployment package. [$sel:s3Key:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Text -- | For versioned objects, the version of the deployment package object to -- use. [$sel:s3ObjectVersion:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe Text -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you. Use only -- with a function defined with a .zip file archive deployment package. [$sel:zipFile:UpdateFunctionCode'] :: UpdateFunctionCode -> Maybe (Sensitive Base64) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:UpdateFunctionCode'] :: UpdateFunctionCode -> Text -- | Create a value of UpdateFunctionCode with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionCode, updateFunctionCode_architectures - -- The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. -- -- $sel:dryRun:UpdateFunctionCode', -- updateFunctionCode_dryRun - Set to true to validate the request -- parameters and access permissions without modifying the function code. -- -- UpdateFunctionCode, updateFunctionCode_imageUri - URI of -- a container image in the Amazon ECR registry. Do not use for a -- function defined with a .zip file archive. -- -- $sel:publish:UpdateFunctionCode', -- updateFunctionCode_publish - Set to true to publish a new -- version of the function after updating the code. This has the same -- effect as calling PublishVersion separately. -- -- UpdateFunctionCode, updateFunctionCode_revisionId - -- Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. -- -- UpdateFunctionCode, updateFunctionCode_s3Bucket - An -- Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. Use only with a function defined with a .zip file archive -- deployment package. -- -- UpdateFunctionCode, updateFunctionCode_s3Key - The -- Amazon S3 key of the deployment package. Use only with a function -- defined with a .zip file archive deployment package. -- -- UpdateFunctionCode, updateFunctionCode_s3ObjectVersion - -- For versioned objects, the version of the deployment package object to -- use. -- -- UpdateFunctionCode, updateFunctionCode_zipFile - The -- base64-encoded contents of the deployment package. Amazon Web Services -- SDK and CLI clients handle the encoding for you. Use only with a -- function defined with a .zip file archive deployment package.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. -- -- UpdateFunctionCode, updateFunctionCode_functionName - -- The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionCode :: Text -> UpdateFunctionCode -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. updateFunctionCode_architectures :: Lens' UpdateFunctionCode (Maybe (NonEmpty Architecture)) -- | Set to true to validate the request parameters and access permissions -- without modifying the function code. updateFunctionCode_dryRun :: Lens' UpdateFunctionCode (Maybe Bool) -- | URI of a container image in the Amazon ECR registry. Do not use for a -- function defined with a .zip file archive. updateFunctionCode_imageUri :: Lens' UpdateFunctionCode (Maybe Text) -- | Set to true to publish a new version of the function after updating -- the code. This has the same effect as calling PublishVersion -- separately. updateFunctionCode_publish :: Lens' UpdateFunctionCode (Maybe Bool) -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. updateFunctionCode_revisionId :: Lens' UpdateFunctionCode (Maybe Text) -- | An Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. Use only with a function defined with a .zip file archive -- deployment package. updateFunctionCode_s3Bucket :: Lens' UpdateFunctionCode (Maybe Text) -- | The Amazon S3 key of the deployment package. Use only with a function -- defined with a .zip file archive deployment package. updateFunctionCode_s3Key :: Lens' UpdateFunctionCode (Maybe Text) -- | For versioned objects, the version of the deployment package object to -- use. updateFunctionCode_s3ObjectVersion :: Lens' UpdateFunctionCode (Maybe Text) -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you. Use only -- with a function defined with a .zip file archive deployment package.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. updateFunctionCode_zipFile :: Lens' UpdateFunctionCode (Maybe ByteString) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionCode_functionName :: Lens' UpdateFunctionCode Text -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance GHC.Show.Show Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance GHC.Classes.Eq Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateFunctionCode.UpdateFunctionCode -- | Modify the version-specific settings of a Lambda function. -- -- When you update a function, Lambda provisions an instance of the -- function and its supporting resources. If your function connects to a -- VPC, this process can take a minute. During this time, you can't -- modify the function, but you can still invoke it. The -- LastUpdateStatus, LastUpdateStatusReason, and -- LastUpdateStatusReasonCode fields in the response from -- GetFunctionConfiguration indicate when the update is complete and the -- function is processing events with the new configuration. For more -- information, see Lambda function states. -- -- These settings can vary between versions of a function and are locked -- when you publish a version. You can't modify the configuration of a -- published version, only the unpublished version. -- -- To configure function concurrency, use PutFunctionConcurrency. To -- grant invoke permissions to an Amazon Web Services account or Amazon -- Web Service, use AddPermission. module Amazonka.Lambda.UpdateFunctionConfiguration -- | See: newUpdateFunctionConfiguration smart constructor. data UpdateFunctionConfiguration UpdateFunctionConfiguration' :: Maybe DeadLetterConfig -> Maybe Text -> Maybe Environment -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe ImageConfig -> Maybe Text -> Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe SnapStart -> Maybe Natural -> Maybe TracingConfig -> Maybe VpcConfig -> Text -> UpdateFunctionConfiguration -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. [$sel:deadLetterConfig:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe DeadLetterConfig -- | A description of the function. [$sel:description:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Text -- | Environment variables that are accessible from function code during -- execution. [$sel:environment:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Environment -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. [$sel:ephemeralStorage:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe [FileSystemConfig] -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. [$sel:handler:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Text -- | Container image configuration values that override the values -- in the container image Docker file. [$sel:imageConfig:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe ImageConfig -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. [$sel:kmsKeyArn:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Text -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. [$sel:layers:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe [Text] -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. [$sel:memorySize:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Natural -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. [$sel:revisionId:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Text -- | The Amazon Resource Name (ARN) of the function's execution role. [$sel:role':UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Text -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. [$sel:runtime:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Runtime -- | The function's SnapStart setting. [$sel:snapStart:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe SnapStart -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. [$sel:timeout:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe Natural -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. [$sel:tracingConfig:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe TracingConfig -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. [$sel:vpcConfig:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Maybe VpcConfig -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:UpdateFunctionConfiguration'] :: UpdateFunctionConfiguration -> Text -- | Create a value of UpdateFunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_deadLetterConfig - A dead-letter -- queue configuration that specifies the queue or topic where Lambda -- sends asynchronous events when they fail processing. For more -- information, see Dead-letter queues. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_description - A description of the -- function. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_environment - Environment variables -- that are accessible from function code during execution. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_ephemeralStorage - The size of the -- function's /tmp directory in MB. The default value is 512, -- but can be any whole number between 512 and 10,240 MB. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_fileSystemConfigs - Connection -- settings for an Amazon EFS file system. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_handler - The name of the method -- within your code that Lambda calls to run your function. Handler is -- required if the deployment package is a .zip file archive. The format -- includes the file name. It can also include namespaces and other -- qualifiers, depending on the runtime. For more information, see -- Lambda programming model. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_imageConfig - Container image -- configuration values that override the values in the container -- image Docker file. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_kmsKeyArn - The ARN of the Key -- Management Service (KMS) key that's used to encrypt your function's -- environment variables. If it's not provided, Lambda uses a default -- service key. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_layers - A list of function -- layers to add to the function's execution environment. Specify -- each layer by its ARN, including the version. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_memorySize - The amount of -- memory available to the function at runtime. Increasing the -- function memory also increases its CPU allocation. The default value -- is 128 MB. The value can be any multiple of 1 MB. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_revisionId - Update the function -- only if the revision ID matches the ID that's specified. Use this -- option to avoid modifying a function that has changed since you last -- read it. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_role - The Amazon Resource Name -- (ARN) of the function's execution role. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_runtime - The identifier of the -- function's runtime. Runtime is required if the deployment -- package is a .zip file archive. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_snapStart - The function's -- SnapStart setting. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_timeout - The amount of time (in -- seconds) that Lambda allows a function to run before stopping it. The -- default is 3 seconds. The maximum allowed value is 900 seconds. For -- more information, see Lambda execution environment. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_tracingConfig - Set Mode -- to Active to sample and trace a subset of incoming requests -- with X-Ray. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_vpcConfig - For network -- connectivity to Amazon Web Services resources in a VPC, specify a list -- of security groups and subnets in the VPC. When you connect a function -- to a VPC, it can access resources and the internet only through that -- VPC. For more information, see Configuring a Lambda function to -- access resources in a VPC. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionConfiguration :: Text -> UpdateFunctionConfiguration -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. updateFunctionConfiguration_deadLetterConfig :: Lens' UpdateFunctionConfiguration (Maybe DeadLetterConfig) -- | A description of the function. updateFunctionConfiguration_description :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | Environment variables that are accessible from function code during -- execution. updateFunctionConfiguration_environment :: Lens' UpdateFunctionConfiguration (Maybe Environment) -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. updateFunctionConfiguration_ephemeralStorage :: Lens' UpdateFunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. updateFunctionConfiguration_fileSystemConfigs :: Lens' UpdateFunctionConfiguration (Maybe [FileSystemConfig]) -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. updateFunctionConfiguration_handler :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | Container image configuration values that override the values -- in the container image Docker file. updateFunctionConfiguration_imageConfig :: Lens' UpdateFunctionConfiguration (Maybe ImageConfig) -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. updateFunctionConfiguration_kmsKeyArn :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. updateFunctionConfiguration_layers :: Lens' UpdateFunctionConfiguration (Maybe [Text]) -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. updateFunctionConfiguration_memorySize :: Lens' UpdateFunctionConfiguration (Maybe Natural) -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. updateFunctionConfiguration_revisionId :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the function's execution role. updateFunctionConfiguration_role :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. updateFunctionConfiguration_runtime :: Lens' UpdateFunctionConfiguration (Maybe Runtime) -- | The function's SnapStart setting. updateFunctionConfiguration_snapStart :: Lens' UpdateFunctionConfiguration (Maybe SnapStart) -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. updateFunctionConfiguration_timeout :: Lens' UpdateFunctionConfiguration (Maybe Natural) -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. updateFunctionConfiguration_tracingConfig :: Lens' UpdateFunctionConfiguration (Maybe TracingConfig) -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. updateFunctionConfiguration_vpcConfig :: Lens' UpdateFunctionConfiguration (Maybe VpcConfig) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionConfiguration_functionName :: Lens' UpdateFunctionConfiguration Text -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | 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:architectures:FunctionConfiguration'] :: FunctionConfiguration -> Maybe (NonEmpty Architecture) -- | The SHA256 hash of the function's deployment package. [$sel:codeSha256:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The size of the function's deployment package, in bytes. [$sel:codeSize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Integer -- | The function's dead letter queue. [$sel:deadLetterConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe DeadLetterConfig -- | The function's description. [$sel:description:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's environment variables. Omitted from CloudTrail -- logs. [$sel:environment:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EnvironmentResponse -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. [$sel:ephemeralStorage:FunctionConfiguration'] :: FunctionConfiguration -> Maybe EphemeralStorage -- | Connection settings for an Amazon EFS file system. [$sel:fileSystemConfigs:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [FileSystemConfig] -- | The function's Amazon Resource Name (ARN). [$sel:functionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The name of the function. [$sel:functionName:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function that Lambda calls to begin running your function. [$sel:handler:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's image configuration values. [$sel:imageConfigResponse:FunctionConfiguration'] :: FunctionConfiguration -> Maybe ImageConfigResponse -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. [$sel:kmsKeyArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModified:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. [$sel:lastUpdateStatus:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatus -- | The reason for the last update that was performed on the function. [$sel:lastUpdateStatusReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the last update that was performed on the -- function. [$sel:lastUpdateStatusReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe LastUpdateStatusReasonCode -- | The function's layers. [$sel:layers:FunctionConfiguration'] :: FunctionConfiguration -> Maybe [Layer] -- | For Lambda@Edge functions, the ARN of the main function. [$sel:masterArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The amount of memory available to the function at runtime. [$sel:memorySize:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. [$sel:packageType:FunctionConfiguration'] :: FunctionConfiguration -> Maybe PackageType -- | The latest updated revision of the function or alias. [$sel:revisionId:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's execution role. [$sel:role':FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The runtime environment for the Lambda function. [$sel:runtime:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Runtime -- | The ARN of the signing job. [$sel:signingJobArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The ARN of the signing profile version. [$sel:signingProfileVersionArn:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. [$sel:snapStart:FunctionConfiguration'] :: FunctionConfiguration -> Maybe SnapStartResponse -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. [$sel:state:FunctionConfiguration'] :: FunctionConfiguration -> Maybe State -- | The reason for the function's current state. [$sel:stateReason:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. [$sel:stateReasonCode:FunctionConfiguration'] :: FunctionConfiguration -> Maybe StateReasonCode -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. [$sel:timeout:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Natural -- | The function's X-Ray tracing configuration. [$sel:tracingConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe TracingConfigResponse -- | The version of the Lambda function. [$sel:version:FunctionConfiguration'] :: FunctionConfiguration -> Maybe Text -- | The function's networking configuration. [$sel:vpcConfig:FunctionConfiguration'] :: FunctionConfiguration -> Maybe VpcConfigResponse -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) instance GHC.Generics.Generic Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance GHC.Show.Show Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance GHC.Classes.Eq Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateFunctionConfiguration.UpdateFunctionConfiguration -- | Updates the configuration for asynchronous invocation for a function, -- version, or alias. -- -- To configure options for asynchronous invocation, use -- PutFunctionEventInvokeConfig. module Amazonka.Lambda.UpdateFunctionEventInvokeConfig -- | See: newUpdateFunctionEventInvokeConfig smart -- constructor. data UpdateFunctionEventInvokeConfig UpdateFunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Natural -> Maybe Natural -> Maybe Text -> Text -> UpdateFunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:UpdateFunctionEventInvokeConfig'] :: UpdateFunctionEventInvokeConfig -> Maybe DestinationConfig -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:UpdateFunctionEventInvokeConfig'] :: UpdateFunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:UpdateFunctionEventInvokeConfig'] :: UpdateFunctionEventInvokeConfig -> Maybe Natural -- | A version number or alias name. [$sel:qualifier:UpdateFunctionEventInvokeConfig'] :: UpdateFunctionEventInvokeConfig -> Maybe Text -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. [$sel:functionName:UpdateFunctionEventInvokeConfig'] :: UpdateFunctionEventInvokeConfig -> Text -- | Create a value of UpdateFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_destinationConfig - A -- destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_maximumRetryAttempts - The -- maximum number of times to retry when the function returns an error. -- -- $sel:qualifier:UpdateFunctionEventInvokeConfig', -- updateFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newUpdateFunctionEventInvokeConfig :: Text -> UpdateFunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- updateFunctionEventInvokeConfig_destinationConfig :: Lens' UpdateFunctionEventInvokeConfig (Maybe DestinationConfig) -- | The maximum age of a request that Lambda sends to a function for -- processing. updateFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. updateFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) -- | A version number or alias name. updateFunctionEventInvokeConfig_qualifier :: Lens' UpdateFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. updateFunctionEventInvokeConfig_functionName :: Lens' UpdateFunctionEventInvokeConfig Text -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- [$sel:destinationConfig:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe DestinationConfig -- | The Amazon Resource Name (ARN) of the function. [$sel:functionArn:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Text -- | The date and time that the configuration was last updated. [$sel:lastModified:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe POSIX -- | The maximum age of a request that Lambda sends to a function for -- processing. [$sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | The maximum number of times to retry when the function returns an -- error. [$sel:maximumRetryAttempts:FunctionEventInvokeConfig'] :: FunctionEventInvokeConfig -> Maybe Natural -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) instance GHC.Generics.Generic Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance GHC.Show.Show Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance GHC.Read.Read Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance GHC.Classes.Eq Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateFunctionEventInvokeConfig.UpdateFunctionEventInvokeConfig -- | Updates the configuration for a Lambda function URL. module Amazonka.Lambda.UpdateFunctionUrlConfig -- | See: newUpdateFunctionUrlConfig smart constructor. data UpdateFunctionUrlConfig UpdateFunctionUrlConfig' :: Maybe FunctionUrlAuthType -> Maybe Cors -> Maybe Text -> Text -> UpdateFunctionUrlConfig -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:UpdateFunctionUrlConfig'] :: UpdateFunctionUrlConfig -> Maybe FunctionUrlAuthType -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:UpdateFunctionUrlConfig'] :: UpdateFunctionUrlConfig -> Maybe Cors -- | The alias name. [$sel:qualifier:UpdateFunctionUrlConfig'] :: UpdateFunctionUrlConfig -> Maybe Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. [$sel:functionName:UpdateFunctionUrlConfig'] :: UpdateFunctionUrlConfig -> Text -- | Create a value of UpdateFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfig_authType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. -- -- UpdateFunctionUrlConfig, updateFunctionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:qualifier:UpdateFunctionUrlConfig', -- updateFunctionUrlConfig_qualifier - The alias name. -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionUrlConfig :: Text -> UpdateFunctionUrlConfig -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. updateFunctionUrlConfig_authType :: Lens' UpdateFunctionUrlConfig (Maybe FunctionUrlAuthType) -- | The cross-origin resource sharing (CORS) settings for your -- function URL. updateFunctionUrlConfig_cors :: Lens' UpdateFunctionUrlConfig (Maybe Cors) -- | The alias name. updateFunctionUrlConfig_qualifier :: Lens' UpdateFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionUrlConfig_functionName :: Lens' UpdateFunctionUrlConfig Text -- | See: newUpdateFunctionUrlConfigResponse smart -- constructor. data UpdateFunctionUrlConfigResponse UpdateFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> UpdateFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. [$sel:cors:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Maybe Cors -- | The response's http status code. [$sel:httpStatus:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Int -- | The HTTP URL endpoint for your function. [$sel:functionUrl:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Text -- | The Amazon Resource Name (ARN) of your function. [$sel:functionArn:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. [$sel:authType:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:creationTime:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). [$sel:lastModifiedTime:UpdateFunctionUrlConfigResponse'] :: UpdateFunctionUrlConfigResponse -> Text -- | Create a value of UpdateFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:UpdateFunctionUrlConfigResponse', -- updateFunctionUrlConfigResponse_httpStatus - The response's -- http status code. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_functionArn - The Amazon -- Resource Name (ARN) of your function. -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_creationTime - When the -- function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_lastModifiedTime - When the -- function URL configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newUpdateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> UpdateFunctionUrlConfigResponse -- | The cross-origin resource sharing (CORS) settings for your -- function URL. updateFunctionUrlConfigResponse_cors :: Lens' UpdateFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. updateFunctionUrlConfigResponse_httpStatus :: Lens' UpdateFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. updateFunctionUrlConfigResponse_functionUrl :: Lens' UpdateFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. updateFunctionUrlConfigResponse_functionArn :: Lens' UpdateFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. updateFunctionUrlConfigResponse_authType :: Lens' UpdateFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). updateFunctionUrlConfigResponse_creationTime :: Lens' UpdateFunctionUrlConfigResponse Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). updateFunctionUrlConfigResponse_lastModifiedTime :: Lens' UpdateFunctionUrlConfigResponse Text instance GHC.Generics.Generic Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance GHC.Show.Show Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance GHC.Read.Read Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance GHC.Classes.Eq Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance GHC.Generics.Generic Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfigResponse instance GHC.Show.Show Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfigResponse instance GHC.Read.Read Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfigResponse instance GHC.Classes.Eq Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfigResponse instance Amazonka.Types.AWSRequest Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfigResponse instance Data.Hashable.Class.Hashable Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Control.DeepSeq.NFData Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Amazonka.Data.Headers.ToHeaders Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Amazonka.Data.Path.ToPath Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig instance Amazonka.Data.Query.ToQuery Amazonka.Lambda.UpdateFunctionUrlConfig.UpdateFunctionUrlConfig module Amazonka.Lambda.Lens -- | With the principal set to *, grant permission to all accounts -- in the specified organization. addLayerVersionPermission_organizationId :: Lens' AddLayerVersionPermission (Maybe Text) -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. addLayerVersionPermission_revisionId :: Lens' AddLayerVersionPermission (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. addLayerVersionPermission_layerName :: Lens' AddLayerVersionPermission Text -- | The version number. addLayerVersionPermission_versionNumber :: Lens' AddLayerVersionPermission Integer -- | An identifier that distinguishes the policy from others on the same -- layer version. addLayerVersionPermission_statementId :: Lens' AddLayerVersionPermission Text -- | The API action that grants access to the layer. For example, -- lambda:GetLayerVersion. addLayerVersionPermission_action :: Lens' AddLayerVersionPermission Text -- | An account ID, or * to grant layer usage permission to all -- accounts in an organization, or all Amazon Web Services accounts (if -- organizationId is not specified). For the last case, make -- sure that you really do want all Amazon Web Services accounts to have -- usage permission to this layer. addLayerVersionPermission_principal :: Lens' AddLayerVersionPermission Text -- | A unique identifier for the current revision of the policy. addLayerVersionPermissionResponse_revisionId :: Lens' AddLayerVersionPermissionResponse (Maybe Text) -- | The permission statement. addLayerVersionPermissionResponse_statement :: Lens' AddLayerVersionPermissionResponse (Maybe Text) -- | The response's http status code. addLayerVersionPermissionResponse_httpStatus :: Lens' AddLayerVersionPermissionResponse Int -- | For Alexa Smart Home functions, a token that the invoker must supply. addPermission_eventSourceToken :: Lens' AddPermission (Maybe Text) -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. addPermission_functionUrlAuthType :: Lens' AddPermission (Maybe FunctionUrlAuthType) -- | The identifier for your organization in Organizations. Use this to -- grant permissions to all the Amazon Web Services accounts under this -- organization. addPermission_principalOrgID :: Lens' AddPermission (Maybe Text) -- | Specify a version or alias to add permissions to a published version -- of the function. addPermission_qualifier :: Lens' AddPermission (Maybe Text) -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. addPermission_revisionId :: Lens' AddPermission (Maybe Text) -- | For Amazon Web Service, the ID of the Amazon Web Services account that -- owns the resource. Use this together with SourceArn to ensure -- that the specified account owns the resource. It is possible for an -- Amazon S3 bucket to be deleted by its owner and recreated by another -- account. addPermission_sourceAccount :: Lens' AddPermission (Maybe Text) -- | For Amazon Web Services, the ARN of the Amazon Web Services resource -- that invokes the function. For example, an Amazon S3 bucket or Amazon -- SNS topic. -- -- Note that Lambda configures the comparison using the -- StringLike operator. addPermission_sourceArn :: Lens' AddPermission (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. addPermission_functionName :: Lens' AddPermission Text -- | A statement identifier that differentiates the statement from others -- in the same policy. addPermission_statementId :: Lens' AddPermission Text -- | The action that the principal can use on the function. For example, -- lambda:InvokeFunction or lambda:GetFunction. addPermission_action :: Lens' AddPermission Text -- | The Amazon Web Service or Amazon Web Services account that invokes the -- function. If you specify a service, use SourceArn or -- SourceAccount to limit who can invoke the function through -- that service. addPermission_principal :: Lens' AddPermission Text -- | The permission statement that's added to the function policy. addPermissionResponse_statement :: Lens' AddPermissionResponse (Maybe Text) -- | The response's http status code. addPermissionResponse_httpStatus :: Lens' AddPermissionResponse Int -- | A description of the alias. createAlias_description :: Lens' CreateAlias (Maybe Text) -- | The routing configuration of the alias. createAlias_routingConfig :: Lens' CreateAlias (Maybe AliasRoutingConfiguration) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createAlias_functionName :: Lens' CreateAlias Text -- | The name of the alias. createAlias_name :: Lens' CreateAlias Text -- | The function version that the alias invokes. createAlias_functionVersion :: Lens' CreateAlias Text -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) -- | The code signing policies define the actions to take if the validation -- checks fail. createCodeSigningConfig_codeSigningPolicies :: Lens' CreateCodeSigningConfig (Maybe CodeSigningPolicies) -- | Descriptive name for this code signing configuration. createCodeSigningConfig_description :: Lens' CreateCodeSigningConfig (Maybe Text) -- | Signing profiles for this code signing configuration. createCodeSigningConfig_allowedPublishers :: Lens' CreateCodeSigningConfig AllowedPublishers -- | The response's http status code. createCodeSigningConfigResponse_httpStatus :: Lens' CreateCodeSigningConfigResponse Int -- | The code signing configuration. createCodeSigningConfigResponse_codeSigningConfig :: Lens' CreateCodeSigningConfigResponse CodeSigningConfig -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. createEventSourceMapping_amazonManagedKafkaEventSourceConfig :: Lens' CreateEventSourceMapping (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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). -- -- createEventSourceMapping_batchSize :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. createEventSourceMapping_bisectBatchOnFunctionError :: Lens' CreateEventSourceMapping (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. createEventSourceMapping_destinationConfig :: Lens' CreateEventSourceMapping (Maybe DestinationConfig) -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True createEventSourceMapping_enabled :: Lens' CreateEventSourceMapping (Maybe Bool) -- | The Amazon Resource Name (ARN) of the event source. -- -- createEventSourceMapping_eventSourceArn :: Lens' CreateEventSourceMapping (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. createEventSourceMapping_filterCriteria :: Lens' CreateEventSourceMapping (Maybe FilterCriteria) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. createEventSourceMapping_functionResponseTypes :: Lens' CreateEventSourceMapping (Maybe [FunctionResponseType]) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. createEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). createEventSourceMapping_maximumRecordAgeInSeconds :: Lens' CreateEventSourceMapping (Maybe Int) -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. createEventSourceMapping_maximumRetryAttempts :: Lens' CreateEventSourceMapping (Maybe Int) -- | (Streams only) The number of batches to process from each shard -- concurrently. createEventSourceMapping_parallelizationFactor :: Lens' CreateEventSourceMapping (Maybe Natural) -- | (MQ) The name of the Amazon MQ broker destination queue to consume. createEventSourceMapping_queues :: Lens' CreateEventSourceMapping (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster to receive records from. createEventSourceMapping_selfManagedEventSource :: Lens' CreateEventSourceMapping (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. createEventSourceMapping_selfManagedKafkaEventSourceConfig :: Lens' CreateEventSourceMapping (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of authentication protocols or VPC components required to -- secure your event source. createEventSourceMapping_sourceAccessConfigurations :: Lens' CreateEventSourceMapping (Maybe [SourceAccessConfiguration]) -- | The position in a stream from which to start reading. Required for -- Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. -- AT_TIMESTAMP is supported only for Amazon Kinesis streams. createEventSourceMapping_startingPosition :: Lens' CreateEventSourceMapping (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. createEventSourceMapping_startingPositionTimestamp :: Lens' CreateEventSourceMapping (Maybe UTCTime) -- | The name of the Kafka topic. createEventSourceMapping_topics :: Lens' CreateEventSourceMapping (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. createEventSourceMapping_tumblingWindowInSeconds :: Lens' CreateEventSourceMapping (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. createEventSourceMapping_functionName :: Lens' CreateEventSourceMapping Text -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. createFunction_architectures :: Lens' CreateFunction (Maybe (NonEmpty Architecture)) -- | To enable code signing for this function, specify the ARN of a -- code-signing configuration. A code-signing configuration includes a -- set of signing profiles, which define the trusted publishers for this -- function. createFunction_codeSigningConfigArn :: Lens' CreateFunction (Maybe Text) -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. createFunction_deadLetterConfig :: Lens' CreateFunction (Maybe DeadLetterConfig) -- | A description of the function. createFunction_description :: Lens' CreateFunction (Maybe Text) -- | Environment variables that are accessible from function code during -- execution. createFunction_environment :: Lens' CreateFunction (Maybe Environment) -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. createFunction_ephemeralStorage :: Lens' CreateFunction (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. createFunction_fileSystemConfigs :: Lens' CreateFunction (Maybe [FileSystemConfig]) -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. createFunction_handler :: Lens' CreateFunction (Maybe Text) -- | Container image configuration values that override the values -- in the container image Dockerfile. createFunction_imageConfig :: Lens' CreateFunction (Maybe ImageConfig) -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. createFunction_kmsKeyArn :: Lens' CreateFunction (Maybe Text) -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. createFunction_layers :: Lens' CreateFunction (Maybe [Text]) -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. createFunction_memorySize :: Lens' CreateFunction (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set to Zip for .zip file archive. createFunction_packageType :: Lens' CreateFunction (Maybe PackageType) -- | Set to true to publish the first version of the function during -- creation. createFunction_publish :: Lens' CreateFunction (Maybe Bool) -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. createFunction_runtime :: Lens' CreateFunction (Maybe Runtime) -- | The function's SnapStart setting. createFunction_snapStart :: Lens' CreateFunction (Maybe SnapStart) -- | A list of tags to apply to the function. createFunction_tags :: Lens' CreateFunction (Maybe (HashMap Text Text)) -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. createFunction_timeout :: Lens' CreateFunction (Maybe Natural) -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. createFunction_tracingConfig :: Lens' CreateFunction (Maybe TracingConfig) -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. createFunction_vpcConfig :: Lens' CreateFunction (Maybe VpcConfig) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createFunction_functionName :: Lens' CreateFunction Text -- | The Amazon Resource Name (ARN) of the function's execution role. createFunction_role :: Lens' CreateFunction Text -- | The code for the function. createFunction_code :: Lens' CreateFunction FunctionCode -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | The cross-origin resource sharing (CORS) settings for your -- function URL. createFunctionUrlConfig_cors :: Lens' CreateFunctionUrlConfig (Maybe Cors) -- | The alias name. createFunctionUrlConfig_qualifier :: Lens' CreateFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. createFunctionUrlConfig_functionName :: Lens' CreateFunctionUrlConfig Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. createFunctionUrlConfig_authType :: Lens' CreateFunctionUrlConfig FunctionUrlAuthType -- | The cross-origin resource sharing (CORS) settings for your -- function URL. createFunctionUrlConfigResponse_cors :: Lens' CreateFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. createFunctionUrlConfigResponse_httpStatus :: Lens' CreateFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. createFunctionUrlConfigResponse_functionUrl :: Lens' CreateFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. createFunctionUrlConfigResponse_functionArn :: Lens' CreateFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. createFunctionUrlConfigResponse_authType :: Lens' CreateFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). createFunctionUrlConfigResponse_creationTime :: Lens' CreateFunctionUrlConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteAlias_functionName :: Lens' DeleteAlias Text -- | The name of the alias. deleteAlias_name :: Lens' DeleteAlias Text -- | The The Amazon Resource Name (ARN) of the code signing configuration. deleteCodeSigningConfig_codeSigningConfigArn :: Lens' DeleteCodeSigningConfig Text -- | The response's http status code. deleteCodeSigningConfigResponse_httpStatus :: Lens' DeleteCodeSigningConfigResponse Int -- | The identifier of the event source mapping. deleteEventSourceMapping_uuid :: Lens' DeleteEventSourceMapping Text -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Specify a version to delete. You can't delete a version that an alias -- references. deleteFunction_qualifier :: Lens' DeleteFunction (Maybe Text) -- | The name of the Lambda function or version. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. deleteFunction_functionName :: Lens' DeleteFunction Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionCodeSigningConfig_functionName :: Lens' DeleteFunctionCodeSigningConfig Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionConcurrency_functionName :: Lens' DeleteFunctionConcurrency Text -- | A version number or alias name. deleteFunctionEventInvokeConfig_qualifier :: Lens' DeleteFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. deleteFunctionEventInvokeConfig_functionName :: Lens' DeleteFunctionEventInvokeConfig Text -- | The alias name. deleteFunctionUrlConfig_qualifier :: Lens' DeleteFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteFunctionUrlConfig_functionName :: Lens' DeleteFunctionUrlConfig Text -- | The name or Amazon Resource Name (ARN) of the layer. deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text -- | The version number. deleteLayerVersion_versionNumber :: Lens' DeleteLayerVersion Integer -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. deleteProvisionedConcurrencyConfig_functionName :: Lens' DeleteProvisionedConcurrencyConfig Text -- | The version number or alias name. deleteProvisionedConcurrencyConfig_qualifier :: Lens' DeleteProvisionedConcurrencyConfig Text -- | Limits that are related to concurrency and code storage. getAccountSettingsResponse_accountLimit :: Lens' GetAccountSettingsResponse (Maybe AccountLimit) -- | The number of functions and amount of storage in use. getAccountSettingsResponse_accountUsage :: Lens' GetAccountSettingsResponse (Maybe AccountUsage) -- | The response's http status code. getAccountSettingsResponse_httpStatus :: Lens' GetAccountSettingsResponse Int -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getAlias_functionName :: Lens' GetAlias Text -- | The name of the alias. getAlias_name :: Lens' GetAlias Text -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) -- | The The Amazon Resource Name (ARN) of the code signing configuration. getCodeSigningConfig_codeSigningConfigArn :: Lens' GetCodeSigningConfig Text -- | The response's http status code. getCodeSigningConfigResponse_httpStatus :: Lens' GetCodeSigningConfigResponse Int -- | The code signing configuration getCodeSigningConfigResponse_codeSigningConfig :: Lens' GetCodeSigningConfigResponse CodeSigningConfig -- | The identifier of the event source mapping. getEventSourceMapping_uuid :: Lens' GetEventSourceMapping Text -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Specify a version or alias to get details about a published version of -- the function. getFunction_qualifier :: Lens' GetFunction (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunction_functionName :: Lens' GetFunction Text -- | The deployment package of the function or version. getFunctionResponse_code :: Lens' GetFunctionResponse (Maybe FunctionCodeLocation) -- | The function's reserved concurrency. getFunctionResponse_concurrency :: Lens' GetFunctionResponse (Maybe Concurrency) -- | The configuration of the function or version. getFunctionResponse_configuration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration) -- | The function's tags. getFunctionResponse_tags :: Lens' GetFunctionResponse (Maybe (HashMap Text Text)) -- | The response's http status code. getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionCodeSigningConfig_functionName :: Lens' GetFunctionCodeSigningConfig Text -- | The response's http status code. getFunctionCodeSigningConfigResponse_httpStatus :: Lens' GetFunctionCodeSigningConfigResponse Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. getFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' GetFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionCodeSigningConfigResponse_functionName :: Lens' GetFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text -- | The number of simultaneous executions that are reserved for the -- function. getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural) -- | The response's http status code. getFunctionConcurrencyResponse_httpStatus :: Lens' GetFunctionConcurrencyResponse Int -- | Specify a version or alias to get details about a published version of -- the function. getFunctionConfiguration_qualifier :: Lens' GetFunctionConfiguration (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunctionConfiguration_functionName :: Lens' GetFunctionConfiguration Text -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | A version number or alias name. getFunctionEventInvokeConfig_qualifier :: Lens' GetFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getFunctionEventInvokeConfig_functionName :: Lens' GetFunctionEventInvokeConfig Text -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The alias name. getFunctionUrlConfig_qualifier :: Lens' GetFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getFunctionUrlConfig_functionName :: Lens' GetFunctionUrlConfig Text -- | The cross-origin resource sharing (CORS) settings for your -- function URL. getFunctionUrlConfigResponse_cors :: Lens' GetFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. getFunctionUrlConfigResponse_httpStatus :: Lens' GetFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. getFunctionUrlConfigResponse_functionUrl :: Lens' GetFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. getFunctionUrlConfigResponse_functionArn :: Lens' GetFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. getFunctionUrlConfigResponse_authType :: Lens' GetFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getFunctionUrlConfigResponse_creationTime :: Lens' GetFunctionUrlConfigResponse Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). getFunctionUrlConfigResponse_lastModifiedTime :: Lens' GetFunctionUrlConfigResponse Text -- | The name or Amazon Resource Name (ARN) of the layer. getLayerVersion_layerName :: Lens' GetLayerVersion Text -- | The version number. getLayerVersion_versionNumber :: Lens' GetLayerVersion Integer -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) -- | The ARN of the layer version. getLayerVersionByArn_arn :: Lens' GetLayerVersionByArn Text -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) -- | The name or Amazon Resource Name (ARN) of the layer. getLayerVersionPolicy_layerName :: Lens' GetLayerVersionPolicy Text -- | The version number. getLayerVersionPolicy_versionNumber :: Lens' GetLayerVersionPolicy Integer -- | The policy document. getLayerVersionPolicyResponse_policy :: Lens' GetLayerVersionPolicyResponse (Maybe Text) -- | A unique identifier for the current revision of the policy. getLayerVersionPolicyResponse_revisionId :: Lens' GetLayerVersionPolicyResponse (Maybe Text) -- | The response's http status code. getLayerVersionPolicyResponse_httpStatus :: Lens' GetLayerVersionPolicyResponse Int -- | Specify a version or alias to get the policy for that resource. getPolicy_qualifier :: Lens' GetPolicy (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. getPolicy_functionName :: Lens' GetPolicy Text -- | The resource-based policy. getPolicyResponse_policy :: Lens' GetPolicyResponse (Maybe Text) -- | A unique identifier for the current revision of the policy. getPolicyResponse_revisionId :: Lens' GetPolicyResponse (Maybe Text) -- | The response's http status code. getPolicyResponse_httpStatus :: Lens' GetPolicyResponse Int -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig Text -- | The version number or alias name. getProvisionedConcurrencyConfig_qualifier :: Lens' GetProvisionedConcurrencyConfig Text -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The amount of provisioned concurrency available. getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. getProvisionedConcurrencyConfigResponse_lastModified :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) -- | The amount of provisioned concurrency requested. getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The status of the allocation process. getProvisionedConcurrencyConfigResponse_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) -- | The response's http status code. getProvisionedConcurrencyConfigResponse_httpStatus :: Lens' GetProvisionedConcurrencyConfigResponse Int -- | Up to 3,583 bytes of base64-encoded data about the invoking client to -- pass to the function in the context object. invoke_clientContext :: Lens' Invoke (Maybe Text) -- | Choose from the following options. -- -- invoke_invocationType :: Lens' Invoke (Maybe InvocationType) -- | Set to Tail to include the execution log in the response. -- Applies to synchronously invoked functions only. invoke_logType :: Lens' Invoke (Maybe LogType) -- | Specify a version or alias to invoke a published version of the -- function. invoke_qualifier :: Lens' Invoke (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. invoke_functionName :: Lens' Invoke Text -- | The JSON that you want to provide to your Lambda function as input. -- -- You can enter the JSON directly. For example, --payload '{ "key": -- "value" }'. You can also specify a file path. For example, -- --payload file://payload.json. invoke_payload :: Lens' Invoke ByteString -- | The version of the function that executed. When you invoke a function -- with an alias, this indicates which version the alias resolved to. invokeResponse_executedVersion :: Lens' InvokeResponse (Maybe Text) -- | If present, indicates that an error occurred during function -- execution. Details about the error are included in the response -- payload. invokeResponse_functionError :: Lens' InvokeResponse (Maybe Text) -- | The last 4 KB of the execution log, which is base64-encoded. invokeResponse_logResult :: Lens' InvokeResponse (Maybe Text) -- | The response from the function, or an error object. invokeResponse_payload :: Lens' InvokeResponse (Maybe ByteString) -- | The HTTP status code is in the 200 range for a successful request. For -- the RequestResponse invocation type, this status code is 200. -- For the Event invocation type, this status code is 202. For -- the DryRun invocation type, the status code is 204. invokeResponse_statusCode :: Lens' InvokeResponse Int -- | Specify a function version to only list aliases that invoke that -- version. listAliases_functionVersion :: Lens' ListAliases (Maybe Text) -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listAliases_marker :: Lens' ListAliases (Maybe Text) -- | Limit the number of aliases returned. listAliases_maxItems :: Lens' ListAliases (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listAliases_functionName :: Lens' ListAliases Text -- | A list of aliases. listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [AliasConfiguration]) -- | The pagination token that's included if more results are available. listAliasesResponse_nextMarker :: Lens' ListAliasesResponse (Maybe Text) -- | The response's http status code. listAliasesResponse_httpStatus :: Lens' ListAliasesResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listCodeSigningConfigs_marker :: Lens' ListCodeSigningConfigs (Maybe Text) -- | Maximum number of items to return. listCodeSigningConfigs_maxItems :: Lens' ListCodeSigningConfigs (Maybe Natural) -- | The code signing configurations listCodeSigningConfigsResponse_codeSigningConfigs :: Lens' ListCodeSigningConfigsResponse (Maybe [CodeSigningConfig]) -- | The pagination token that's included if more results are available. listCodeSigningConfigsResponse_nextMarker :: Lens' ListCodeSigningConfigsResponse (Maybe Text) -- | The response's http status code. listCodeSigningConfigsResponse_httpStatus :: Lens' ListCodeSigningConfigsResponse Int -- | The Amazon Resource Name (ARN) of the event source. -- -- listEventSourceMappings_eventSourceArn :: Lens' ListEventSourceMappings (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. listEventSourceMappings_functionName :: Lens' ListEventSourceMappings (Maybe Text) -- | A pagination token returned by a previous call. listEventSourceMappings_marker :: Lens' ListEventSourceMappings (Maybe Text) -- | The maximum number of event source mappings to return. Note that -- ListEventSourceMappings returns a maximum of 100 items in each -- response, even if you set the number higher. listEventSourceMappings_maxItems :: Lens' ListEventSourceMappings (Maybe Natural) -- | A list of event source mappings. listEventSourceMappingsResponse_eventSourceMappings :: Lens' ListEventSourceMappingsResponse (Maybe [EventSourceMappingConfiguration]) -- | A pagination token that's returned when the response doesn't contain -- all event source mappings. listEventSourceMappingsResponse_nextMarker :: Lens' ListEventSourceMappingsResponse (Maybe Text) -- | The response's http status code. listEventSourceMappingsResponse_httpStatus :: Lens' ListEventSourceMappingsResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionEventInvokeConfigs_marker :: Lens' ListFunctionEventInvokeConfigs (Maybe Text) -- | The maximum number of configurations to return. listFunctionEventInvokeConfigs_maxItems :: Lens' ListFunctionEventInvokeConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listFunctionEventInvokeConfigs_functionName :: Lens' ListFunctionEventInvokeConfigs Text -- | A list of configurations. listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs :: Lens' ListFunctionEventInvokeConfigsResponse (Maybe [FunctionEventInvokeConfig]) -- | The pagination token that's included if more results are available. listFunctionEventInvokeConfigsResponse_nextMarker :: Lens' ListFunctionEventInvokeConfigsResponse (Maybe Text) -- | The response's http status code. listFunctionEventInvokeConfigsResponse_httpStatus :: Lens' ListFunctionEventInvokeConfigsResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionUrlConfigs_marker :: Lens' ListFunctionUrlConfigs (Maybe Text) -- | The maximum number of function URLs to return in the response. Note -- that ListFunctionUrlConfigs returns a maximum of 50 items in -- each response, even if you set the number higher. listFunctionUrlConfigs_maxItems :: Lens' ListFunctionUrlConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listFunctionUrlConfigs_functionName :: Lens' ListFunctionUrlConfigs Text -- | The pagination token that's included if more results are available. listFunctionUrlConfigsResponse_nextMarker :: Lens' ListFunctionUrlConfigsResponse (Maybe Text) -- | The response's http status code. listFunctionUrlConfigsResponse_httpStatus :: Lens' ListFunctionUrlConfigsResponse Int -- | A list of function URL configurations. listFunctionUrlConfigsResponse_functionUrlConfigs :: Lens' ListFunctionUrlConfigsResponse [FunctionUrlConfig] -- | Set to ALL to include entries for all published versions of -- each function. listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion) -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctions_marker :: Lens' ListFunctions (Maybe Text) -- | For Lambda@Edge functions, the Amazon Web Services Region of the -- master function. For example, us-east-1 filters the list of -- functions to include only Lambda@Edge functions replicated from a -- master function in US East (N. Virginia). If specified, you must set -- FunctionVersion to ALL. listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text) -- | The maximum number of functions to return in the response. Note that -- ListFunctions returns a maximum of 50 items in each response, -- even if you set the number higher. listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural) -- | A list of Lambda functions. listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) -- | The pagination token that's included if more results are available. listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text) -- | The response's http status code. listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listFunctionsByCodeSigningConfig_marker :: Lens' ListFunctionsByCodeSigningConfig (Maybe Text) -- | Maximum number of items to return. listFunctionsByCodeSigningConfig_maxItems :: Lens' ListFunctionsByCodeSigningConfig (Maybe Natural) -- | The The Amazon Resource Name (ARN) of the code signing configuration. listFunctionsByCodeSigningConfig_codeSigningConfigArn :: Lens' ListFunctionsByCodeSigningConfig Text -- | The function ARNs. listFunctionsByCodeSigningConfigResponse_functionArns :: Lens' ListFunctionsByCodeSigningConfigResponse (Maybe [Text]) -- | The pagination token that's included if more results are available. listFunctionsByCodeSigningConfigResponse_nextMarker :: Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text) -- | The response's http status code. listFunctionsByCodeSigningConfigResponse_httpStatus :: Lens' ListFunctionsByCodeSigningConfigResponse Int -- | The compatible instruction set architecture. listLayerVersions_compatibleArchitecture :: Lens' ListLayerVersions (Maybe Architecture) -- | A runtime identifier. For example, go1.x. listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime) -- | A pagination token returned by a previous call. listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text) -- | The maximum number of versions to return. listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural) -- | The name or Amazon Resource Name (ARN) of the layer. listLayerVersions_layerName :: Lens' ListLayerVersions Text -- | A list of versions. listLayerVersionsResponse_layerVersions :: Lens' ListLayerVersionsResponse (Maybe [LayerVersionsListItem]) -- | A pagination token returned when the response doesn't contain all -- versions. listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text) -- | The response's http status code. listLayerVersionsResponse_httpStatus :: Lens' ListLayerVersionsResponse Int -- | The compatible instruction set architecture. listLayers_compatibleArchitecture :: Lens' ListLayers (Maybe Architecture) -- | A runtime identifier. For example, go1.x. listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime) -- | A pagination token returned by a previous call. listLayers_marker :: Lens' ListLayers (Maybe Text) -- | The maximum number of layers to return. listLayers_maxItems :: Lens' ListLayers (Maybe Natural) -- | A list of function layers. listLayersResponse_layers :: Lens' ListLayersResponse (Maybe [LayersListItem]) -- | A pagination token returned when the response doesn't contain all -- layers. listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) -- | The response's http status code. listLayersResponse_httpStatus :: Lens' ListLayersResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listProvisionedConcurrencyConfigs_marker :: Lens' ListProvisionedConcurrencyConfigs (Maybe Text) -- | Specify a number to limit the number of configurations returned. listProvisionedConcurrencyConfigs_maxItems :: Lens' ListProvisionedConcurrencyConfigs (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listProvisionedConcurrencyConfigs_functionName :: Lens' ListProvisionedConcurrencyConfigs Text -- | The pagination token that's included if more results are available. listProvisionedConcurrencyConfigsResponse_nextMarker :: Lens' ListProvisionedConcurrencyConfigsResponse (Maybe Text) -- | A list of provisioned concurrency configurations. listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs :: Lens' ListProvisionedConcurrencyConfigsResponse (Maybe [ProvisionedConcurrencyConfigListItem]) -- | The response's http status code. listProvisionedConcurrencyConfigsResponse_httpStatus :: Lens' ListProvisionedConcurrencyConfigsResponse Int -- | The function's Amazon Resource Name (ARN). Note: Lambda does not -- support adding tags to aliases or versions. listTags_resource :: Lens' ListTags Text -- | The function's tags. listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsResponse_httpStatus :: Lens' ListTagsResponse Int -- | Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. listVersionsByFunction_marker :: Lens' ListVersionsByFunction (Maybe Text) -- | The maximum number of versions to return. Note that -- ListVersionsByFunction returns a maximum of 50 items in each -- response, even if you set the number higher. listVersionsByFunction_maxItems :: Lens' ListVersionsByFunction (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. listVersionsByFunction_functionName :: Lens' ListVersionsByFunction Text -- | The pagination token that's included if more results are available. listVersionsByFunctionResponse_nextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) -- | A list of Lambda function versions. listVersionsByFunctionResponse_versions :: Lens' ListVersionsByFunctionResponse (Maybe [FunctionConfiguration]) -- | The response's http status code. listVersionsByFunctionResponse_httpStatus :: Lens' ListVersionsByFunctionResponse Int -- | A list of compatible instruction set architectures. publishLayerVersion_compatibleArchitectures :: Lens' PublishLayerVersion (Maybe [Architecture]) -- | A list of compatible function runtimes. Used for filtering with -- ListLayers and ListLayerVersions. publishLayerVersion_compatibleRuntimes :: Lens' PublishLayerVersion (Maybe [Runtime]) -- | The description of the version. publishLayerVersion_description :: Lens' PublishLayerVersion (Maybe Text) -- | The layer's software license. It can be any of the following: -- -- publishLayerVersion_licenseInfo :: Lens' PublishLayerVersion (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. publishLayerVersion_layerName :: Lens' PublishLayerVersion Text -- | The function layer archive. publishLayerVersion_content :: Lens' PublishLayerVersion LayerVersionContentInput -- | A list of compatible instruction set architectures. publishLayerVersionResponse_compatibleArchitectures :: Lens' PublishLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. publishLayerVersionResponse_compatibleRuntimes :: Lens' PublishLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. publishLayerVersionResponse_content :: Lens' PublishLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). publishLayerVersionResponse_createdDate :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The description of the version. publishLayerVersionResponse_description :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The ARN of the layer. publishLayerVersionResponse_layerArn :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. publishLayerVersionResponse_layerVersionArn :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The layer's software license. publishLayerVersionResponse_licenseInfo :: Lens' PublishLayerVersionResponse (Maybe Text) -- | The version number. publishLayerVersionResponse_version :: Lens' PublishLayerVersionResponse (Maybe Integer) -- | The response's http status code. publishLayerVersionResponse_httpStatus :: Lens' PublishLayerVersionResponse Int -- | Only publish a version if the hash value matches the value that's -- specified. Use this option to avoid publishing a version if the -- function code has changed since you last updated it. You can get the -- hash for the version that you uploaded from the output of -- UpdateFunctionCode. publishVersion_codeSha256 :: Lens' PublishVersion (Maybe Text) -- | A description for the version to override the description in the -- function configuration. publishVersion_description :: Lens' PublishVersion (Maybe Text) -- | Only update the function if the revision ID matches the ID that's -- specified. Use this option to avoid publishing a version if the -- function configuration has changed since you last updated it. publishVersion_revisionId :: Lens' PublishVersion (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. publishVersion_functionName :: Lens' PublishVersion Text -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | The The Amazon Resource Name (ARN) of the code signing configuration. putFunctionCodeSigningConfig_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfig Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionCodeSigningConfig_functionName :: Lens' PutFunctionCodeSigningConfig Text -- | The response's http status code. putFunctionCodeSigningConfigResponse_httpStatus :: Lens' PutFunctionCodeSigningConfigResponse Int -- | The The Amazon Resource Name (ARN) of the code signing configuration. putFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionCodeSigningConfigResponse_functionName :: Lens' PutFunctionCodeSigningConfigResponse Text -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putFunctionConcurrency_functionName :: Lens' PutFunctionConcurrency Text -- | The number of simultaneous executions to reserve for the function. putFunctionConcurrency_reservedConcurrentExecutions :: Lens' PutFunctionConcurrency Natural -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- putFunctionEventInvokeConfig_destinationConfig :: Lens' PutFunctionEventInvokeConfig (Maybe DestinationConfig) -- | The maximum age of a request that Lambda sends to a function for -- processing. putFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. putFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' PutFunctionEventInvokeConfig (Maybe Natural) -- | A version number or alias name. putFunctionEventInvokeConfig_qualifier :: Lens' PutFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. putFunctionEventInvokeConfig_functionName :: Lens' PutFunctionEventInvokeConfig Text -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. putProvisionedConcurrencyConfig_functionName :: Lens' PutProvisionedConcurrencyConfig Text -- | The version number or alias name. putProvisionedConcurrencyConfig_qualifier :: Lens' PutProvisionedConcurrencyConfig Text -- | The amount of provisioned concurrency to allocate for the version or -- alias. putProvisionedConcurrencyConfig_provisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfig Natural -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The amount of provisioned concurrency available. putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. putProvisionedConcurrencyConfigResponse_lastModified :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Text) -- | The amount of provisioned concurrency requested. putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Natural) -- | The status of the allocation process. putProvisionedConcurrencyConfigResponse_status :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. putProvisionedConcurrencyConfigResponse_statusReason :: Lens' PutProvisionedConcurrencyConfigResponse (Maybe Text) -- | The response's http status code. putProvisionedConcurrencyConfigResponse_httpStatus :: Lens' PutProvisionedConcurrencyConfigResponse Int -- | Only update the policy if the revision ID matches the ID specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. removeLayerVersionPermission_revisionId :: Lens' RemoveLayerVersionPermission (Maybe Text) -- | The name or Amazon Resource Name (ARN) of the layer. removeLayerVersionPermission_layerName :: Lens' RemoveLayerVersionPermission Text -- | The version number. removeLayerVersionPermission_versionNumber :: Lens' RemoveLayerVersionPermission Integer -- | The identifier that was specified when the statement was added. removeLayerVersionPermission_statementId :: Lens' RemoveLayerVersionPermission Text -- | Specify a version or alias to remove permissions from a published -- version of the function. removePermission_qualifier :: Lens' RemovePermission (Maybe Text) -- | Update the policy only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a policy that has -- changed since you last read it. removePermission_revisionId :: Lens' RemovePermission (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. removePermission_functionName :: Lens' RemovePermission Text -- | Statement ID of the permission to remove. removePermission_statementId :: Lens' RemovePermission Text -- | The function's Amazon Resource Name (ARN). tagResource_resource :: Lens' TagResource Text -- | A list of tags to apply to the function. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | The function's Amazon Resource Name (ARN). untagResource_resource :: Lens' UntagResource Text -- | A list of tag keys to remove from the function. untagResource_tagKeys :: Lens' UntagResource [Text] -- | A description of the alias. updateAlias_description :: Lens' UpdateAlias (Maybe Text) -- | The function version that the alias invokes. updateAlias_functionVersion :: Lens' UpdateAlias (Maybe Text) -- | Only update the alias if the revision ID matches the ID that's -- specified. Use this option to avoid modifying an alias that has -- changed since you last read it. updateAlias_revisionId :: Lens' UpdateAlias (Maybe Text) -- | The routing configuration of the alias. updateAlias_routingConfig :: Lens' UpdateAlias (Maybe AliasRoutingConfiguration) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateAlias_functionName :: Lens' UpdateAlias Text -- | The name of the alias. updateAlias_name :: Lens' UpdateAlias Text -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) -- | Signing profiles for this code signing configuration. updateCodeSigningConfig_allowedPublishers :: Lens' UpdateCodeSigningConfig (Maybe AllowedPublishers) -- | The code signing policy. updateCodeSigningConfig_codeSigningPolicies :: Lens' UpdateCodeSigningConfig (Maybe CodeSigningPolicies) -- | Descriptive name for this code signing configuration. updateCodeSigningConfig_description :: Lens' UpdateCodeSigningConfig (Maybe Text) -- | The The Amazon Resource Name (ARN) of the code signing configuration. updateCodeSigningConfig_codeSigningConfigArn :: Lens' UpdateCodeSigningConfig Text -- | The response's http status code. updateCodeSigningConfigResponse_httpStatus :: Lens' UpdateCodeSigningConfigResponse Int -- | The code signing configuration updateCodeSigningConfigResponse_codeSigningConfig :: Lens' UpdateCodeSigningConfigResponse CodeSigningConfig -- | 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). -- -- updateEventSourceMapping_batchSize :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. updateEventSourceMapping_bisectBatchOnFunctionError :: Lens' UpdateEventSourceMapping (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. updateEventSourceMapping_destinationConfig :: Lens' UpdateEventSourceMapping (Maybe DestinationConfig) -- | When true, the event source mapping is active. When false, Lambda -- pauses polling and invocation. -- -- Default: True updateEventSourceMapping_enabled :: Lens' UpdateEventSourceMapping (Maybe Bool) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. updateEventSourceMapping_filterCriteria :: Lens' UpdateEventSourceMapping (Maybe FilterCriteria) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. updateEventSourceMapping_functionName :: Lens' UpdateEventSourceMapping (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. updateEventSourceMapping_functionResponseTypes :: Lens' UpdateEventSourceMapping (Maybe [FunctionResponseType]) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. updateEventSourceMapping_maximumBatchingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | (Streams only) Discard records older than the specified age. The -- default value is infinite (-1). updateEventSourceMapping_maximumRecordAgeInSeconds :: Lens' UpdateEventSourceMapping (Maybe Int) -- | (Streams only) Discard records after the specified number of retries. -- The default value is infinite (-1). When set to infinite (-1), failed -- records are retried until the record expires. updateEventSourceMapping_maximumRetryAttempts :: Lens' UpdateEventSourceMapping (Maybe Int) -- | (Streams only) The number of batches to process from each shard -- concurrently. updateEventSourceMapping_parallelizationFactor :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | An array of authentication protocols or VPC components required to -- secure your event source. updateEventSourceMapping_sourceAccessConfigurations :: Lens' UpdateEventSourceMapping (Maybe [SourceAccessConfiguration]) -- | (Streams only) The duration in seconds of a processing window. The -- range is between 1 second and 900 seconds. updateEventSourceMapping_tumblingWindowInSeconds :: Lens' UpdateEventSourceMapping (Maybe Natural) -- | The identifier of the event source mapping. updateEventSourceMapping_uuid :: Lens' UpdateEventSourceMapping Text -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. updateFunctionCode_architectures :: Lens' UpdateFunctionCode (Maybe (NonEmpty Architecture)) -- | Set to true to validate the request parameters and access permissions -- without modifying the function code. updateFunctionCode_dryRun :: Lens' UpdateFunctionCode (Maybe Bool) -- | URI of a container image in the Amazon ECR registry. Do not use for a -- function defined with a .zip file archive. updateFunctionCode_imageUri :: Lens' UpdateFunctionCode (Maybe Text) -- | Set to true to publish a new version of the function after updating -- the code. This has the same effect as calling PublishVersion -- separately. updateFunctionCode_publish :: Lens' UpdateFunctionCode (Maybe Bool) -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. updateFunctionCode_revisionId :: Lens' UpdateFunctionCode (Maybe Text) -- | An Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. Use only with a function defined with a .zip file archive -- deployment package. updateFunctionCode_s3Bucket :: Lens' UpdateFunctionCode (Maybe Text) -- | The Amazon S3 key of the deployment package. Use only with a function -- defined with a .zip file archive deployment package. updateFunctionCode_s3Key :: Lens' UpdateFunctionCode (Maybe Text) -- | For versioned objects, the version of the deployment package object to -- use. updateFunctionCode_s3ObjectVersion :: Lens' UpdateFunctionCode (Maybe Text) -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you. Use only -- with a function defined with a .zip file archive deployment package.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. updateFunctionCode_zipFile :: Lens' UpdateFunctionCode (Maybe ByteString) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionCode_functionName :: Lens' UpdateFunctionCode Text -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | A dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. updateFunctionConfiguration_deadLetterConfig :: Lens' UpdateFunctionConfiguration (Maybe DeadLetterConfig) -- | A description of the function. updateFunctionConfiguration_description :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | Environment variables that are accessible from function code during -- execution. updateFunctionConfiguration_environment :: Lens' UpdateFunctionConfiguration (Maybe Environment) -- | The size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. updateFunctionConfiguration_ephemeralStorage :: Lens' UpdateFunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. updateFunctionConfiguration_fileSystemConfigs :: Lens' UpdateFunctionConfiguration (Maybe [FileSystemConfig]) -- | The name of the method within your code that Lambda calls to run your -- function. Handler is required if the deployment package is a .zip file -- archive. The format includes the file name. It can also include -- namespaces and other qualifiers, depending on the runtime. For more -- information, see Lambda programming model. updateFunctionConfiguration_handler :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | Container image configuration values that override the values -- in the container image Docker file. updateFunctionConfiguration_imageConfig :: Lens' UpdateFunctionConfiguration (Maybe ImageConfig) -- | The ARN of the Key Management Service (KMS) key that's used to encrypt -- your function's environment variables. If it's not provided, Lambda -- uses a default service key. updateFunctionConfiguration_kmsKeyArn :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | A list of function layers to add to the function's execution -- environment. Specify each layer by its ARN, including the version. updateFunctionConfiguration_layers :: Lens' UpdateFunctionConfiguration (Maybe [Text]) -- | The amount of memory available to the function at runtime. -- Increasing the function memory also increases its CPU allocation. The -- default value is 128 MB. The value can be any multiple of 1 MB. updateFunctionConfiguration_memorySize :: Lens' UpdateFunctionConfiguration (Maybe Natural) -- | Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. updateFunctionConfiguration_revisionId :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the function's execution role. updateFunctionConfiguration_role :: Lens' UpdateFunctionConfiguration (Maybe Text) -- | The identifier of the function's runtime. Runtime is required -- if the deployment package is a .zip file archive. updateFunctionConfiguration_runtime :: Lens' UpdateFunctionConfiguration (Maybe Runtime) -- | The function's SnapStart setting. updateFunctionConfiguration_snapStart :: Lens' UpdateFunctionConfiguration (Maybe SnapStart) -- | The amount of time (in seconds) that Lambda allows a function to run -- before stopping it. The default is 3 seconds. The maximum allowed -- value is 900 seconds. For more information, see Lambda execution -- environment. updateFunctionConfiguration_timeout :: Lens' UpdateFunctionConfiguration (Maybe Natural) -- | Set Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. updateFunctionConfiguration_tracingConfig :: Lens' UpdateFunctionConfiguration (Maybe TracingConfig) -- | For network connectivity to Amazon Web Services resources in a VPC, -- specify a list of security groups and subnets in the VPC. When you -- connect a function to a VPC, it can access resources and the internet -- only through that VPC. For more information, see Configuring a -- Lambda function to access resources in a VPC. updateFunctionConfiguration_vpcConfig :: Lens' UpdateFunctionConfiguration (Maybe VpcConfig) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionConfiguration_functionName :: Lens' UpdateFunctionConfiguration Text -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- updateFunctionEventInvokeConfig_destinationConfig :: Lens' UpdateFunctionEventInvokeConfig (Maybe DestinationConfig) -- | The maximum age of a request that Lambda sends to a function for -- processing. updateFunctionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. updateFunctionEventInvokeConfig_maximumRetryAttempts :: Lens' UpdateFunctionEventInvokeConfig (Maybe Natural) -- | A version number or alias name. updateFunctionEventInvokeConfig_qualifier :: Lens' UpdateFunctionEventInvokeConfig (Maybe Text) -- | The name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. updateFunctionEventInvokeConfig_functionName :: Lens' UpdateFunctionEventInvokeConfig Text -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. updateFunctionUrlConfig_authType :: Lens' UpdateFunctionUrlConfig (Maybe FunctionUrlAuthType) -- | The cross-origin resource sharing (CORS) settings for your -- function URL. updateFunctionUrlConfig_cors :: Lens' UpdateFunctionUrlConfig (Maybe Cors) -- | The alias name. updateFunctionUrlConfig_qualifier :: Lens' UpdateFunctionUrlConfig (Maybe Text) -- | The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. updateFunctionUrlConfig_functionName :: Lens' UpdateFunctionUrlConfig Text -- | The cross-origin resource sharing (CORS) settings for your -- function URL. updateFunctionUrlConfigResponse_cors :: Lens' UpdateFunctionUrlConfigResponse (Maybe Cors) -- | The response's http status code. updateFunctionUrlConfigResponse_httpStatus :: Lens' UpdateFunctionUrlConfigResponse Int -- | The HTTP URL endpoint for your function. updateFunctionUrlConfigResponse_functionUrl :: Lens' UpdateFunctionUrlConfigResponse Text -- | The Amazon Resource Name (ARN) of your function. updateFunctionUrlConfigResponse_functionArn :: Lens' UpdateFunctionUrlConfigResponse Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. updateFunctionUrlConfigResponse_authType :: Lens' UpdateFunctionUrlConfigResponse FunctionUrlAuthType -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). updateFunctionUrlConfigResponse_creationTime :: Lens' UpdateFunctionUrlConfigResponse Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). updateFunctionUrlConfigResponse_lastModifiedTime :: Lens' UpdateFunctionUrlConfigResponse Text -- | The maximum size of a function's deployment package and layers when -- they're extracted. accountLimit_codeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum size of a deployment package when it's uploaded directly -- to Lambda. Use Amazon S3 for larger files. accountLimit_codeSizeZipped :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions. accountLimit_concurrentExecutions :: Lens' AccountLimit (Maybe Int) -- | The amount of storage space that you can use for all deployment -- packages and layer archives. accountLimit_totalCodeSize :: Lens' AccountLimit (Maybe Integer) -- | The maximum number of simultaneous function executions, minus the -- capacity that's reserved for individual functions with -- PutFunctionConcurrency. accountLimit_unreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) -- | The number of Lambda functions. accountUsage_functionCount :: Lens' AccountUsage (Maybe Integer) -- | The amount of storage space, in bytes, that's being used by deployment -- packages and layer archives. accountUsage_totalCodeSize :: Lens' AccountUsage (Maybe Integer) -- | The Amazon Resource Name (ARN) of the alias. aliasConfiguration_aliasArn :: Lens' AliasConfiguration (Maybe Text) -- | A description of the alias. aliasConfiguration_description :: Lens' AliasConfiguration (Maybe Text) -- | The function version that the alias invokes. aliasConfiguration_functionVersion :: Lens' AliasConfiguration (Maybe Text) -- | The name of the alias. aliasConfiguration_name :: Lens' AliasConfiguration (Maybe Text) -- | A unique identifier that changes when you update the alias. aliasConfiguration_revisionId :: Lens' AliasConfiguration (Maybe Text) -- | The routing configuration of the alias. aliasConfiguration_routingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) -- | The second version, and the percentage of traffic that's routed to it. aliasRoutingConfiguration_additionalVersionWeights :: Lens' AliasRoutingConfiguration (Maybe (HashMap Text Double)) -- | 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) -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. amazonManagedKafkaEventSourceConfig_consumerGroupId :: Lens' AmazonManagedKafkaEventSourceConfig (Maybe Text) -- | Code signing configuration description. codeSigningConfig_description :: Lens' CodeSigningConfig (Maybe Text) -- | Unique identifer for the Code signing configuration. codeSigningConfig_codeSigningConfigId :: Lens' CodeSigningConfig Text -- | The Amazon Resource Name (ARN) of the Code signing configuration. codeSigningConfig_codeSigningConfigArn :: Lens' CodeSigningConfig Text -- | List of allowed publishers. codeSigningConfig_allowedPublishers :: Lens' CodeSigningConfig AllowedPublishers -- | The code signing policy controls the validation failure action for -- signature mismatch or expiry. codeSigningConfig_codeSigningPolicies :: Lens' CodeSigningConfig CodeSigningPolicies -- | The date and time that the Code signing configuration was last -- modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). codeSigningConfig_lastModified :: Lens' CodeSigningConfig Text -- | 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) -- | The number of concurrent executions that are reserved for this -- function. For more information, see Managing Lambda reserved -- concurrency. concurrency_reservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) -- | Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. cors_allowCredentials :: Lens' Cors (Maybe Bool) -- | The HTTP headers that origins can include in requests to your function -- URL. For example: Date, Keep-Alive, -- X-Custom-Header. cors_allowHeaders :: Lens' Cors (Maybe [Text]) -- | The HTTP methods that are allowed when calling your function URL. For -- example: GET, POST, DELETE, or the wildcard -- character (*). cors_allowMethods :: Lens' Cors (Maybe [Text]) -- | The origins that can access your function URL. You can list any number -- of specific origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). cors_allowOrigins :: Lens' Cors (Maybe [Text]) -- | The HTTP headers in your function response that you want to expose to -- origins that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. cors_exposeHeaders :: Lens' Cors (Maybe [Text]) -- | The maximum amount of time, in seconds, that web browsers can cache -- results of a preflight request. By default, this is set to 0, -- which means that the browser doesn't cache results. cors_maxAge :: Lens' Cors (Maybe Natural) -- | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS -- topic. deadLetterConfig_targetArn :: Lens' DeadLetterConfig (Maybe Text) -- | The destination configuration for failed invocations. destinationConfig_onFailure :: Lens' DestinationConfig (Maybe OnFailure) -- | The destination configuration for successful invocations. destinationConfig_onSuccess :: Lens' DestinationConfig (Maybe OnSuccess) -- | Environment variable key-value pairs. For more information, see -- Using Lambda environment variables. environment_variables :: Lens' Environment (Maybe (HashMap Text Text)) -- | The error code. environmentError_errorCode :: Lens' EnvironmentError (Maybe Text) -- | The error message. environmentError_message :: Lens' EnvironmentError (Maybe Text) -- | Error messages for environment variables that couldn't be applied. environmentResponse_error :: Lens' EnvironmentResponse (Maybe EnvironmentError) -- | Environment variable key-value pairs. Omitted from CloudTrail logs. environmentResponse_variables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) -- | The size of the function's /tmp directory. ephemeralStorage_size :: Lens' EphemeralStorage Natural -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe AmazonManagedKafkaEventSourceConfig) -- | 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_batchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. eventSourceMappingConfiguration_bisectBatchOnFunctionError :: Lens' EventSourceMappingConfiguration (Maybe Bool) -- | (Streams only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. eventSourceMappingConfiguration_destinationConfig :: Lens' EventSourceMappingConfiguration (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the event source. eventSourceMappingConfiguration_eventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | An object that defines the filter criteria that determine whether -- Lambda should process an event. For more information, see Lambda -- event filtering. eventSourceMappingConfiguration_filterCriteria :: Lens' EventSourceMappingConfiguration (Maybe FilterCriteria) -- | The ARN of the Lambda function. eventSourceMappingConfiguration_functionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. eventSourceMappingConfiguration_functionResponseTypes :: Lens' EventSourceMappingConfiguration (Maybe [FunctionResponseType]) -- | The date that the event source mapping was last updated or that its -- state changed. eventSourceMappingConfiguration_lastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The result of the last Lambda invocation of your function. eventSourceMappingConfiguration_lastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. eventSourceMappingConfiguration_maximumBatchingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (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_maximumRecordAgeInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (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_maximumRetryAttempts :: Lens' EventSourceMappingConfiguration (Maybe Int) -- | (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. eventSourceMappingConfiguration_parallelizationFactor :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | (Amazon MQ) The name of the Amazon MQ broker destination queue to -- consume. eventSourceMappingConfiguration_queues :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | The self-managed Apache Kafka cluster for your event source. eventSourceMappingConfiguration_selfManagedEventSource :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedEventSource) -- | Specific configuration settings for a self-managed Apache Kafka event -- source. eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig :: Lens' EventSourceMappingConfiguration (Maybe SelfManagedKafkaEventSourceConfig) -- | An array of the authentication protocol, VPC components, or virtual -- host to secure and define your event source. eventSourceMappingConfiguration_sourceAccessConfigurations :: Lens' EventSourceMappingConfiguration (Maybe [SourceAccessConfiguration]) -- | 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_startingPosition :: Lens' EventSourceMappingConfiguration (Maybe EventSourcePosition) -- | With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. eventSourceMappingConfiguration_startingPositionTimestamp :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) -- | The state of the event source mapping. It can be one of the following: -- Creating, Enabling, Enabled, -- Disabling, Disabled, Updating, or -- Deleting. eventSourceMappingConfiguration_state :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | Indicates whether a user or Lambda made the last change to the event -- source mapping. eventSourceMappingConfiguration_stateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The name of the Kafka topic. eventSourceMappingConfiguration_topics :: Lens' EventSourceMappingConfiguration (Maybe (NonEmpty Text)) -- | (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. eventSourceMappingConfiguration_tumblingWindowInSeconds :: Lens' EventSourceMappingConfiguration (Maybe Natural) -- | The identifier of the event source mapping. eventSourceMappingConfiguration_uuid :: Lens' EventSourceMappingConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. fileSystemConfig_arn :: Lens' FileSystemConfig Text -- | The path where the function can access the file system, starting with -- /mnt/. fileSystemConfig_localMountPath :: Lens' FileSystemConfig Text -- | A filter pattern. For more information on the syntax of a filter -- pattern, see Filter rule syntax. filter_pattern :: Lens' Filter (Maybe Text) -- | A list of filters. filterCriteria_filters :: Lens' FilterCriteria (Maybe [Filter]) -- | URI of a container image in the Amazon ECR registry. functionCode_imageUri :: Lens' FunctionCode (Maybe Text) -- | 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_s3Bucket :: Lens' FunctionCode (Maybe Text) -- | The Amazon S3 key of the deployment package. functionCode_s3Key :: Lens' FunctionCode (Maybe Text) -- | For versioned objects, the version of the deployment package object to -- use. functionCode_s3ObjectVersion :: Lens' FunctionCode (Maybe Text) -- | The base64-encoded contents of the deployment package. Amazon Web -- Services SDK and CLI clients handle the encoding for you.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. functionCode_zipFile :: Lens' FunctionCode (Maybe ByteString) -- | URI of a container image in the Amazon ECR registry. functionCodeLocation_imageUri :: Lens' FunctionCodeLocation (Maybe Text) -- | A presigned URL that you can use to download the deployment package. functionCodeLocation_location :: Lens' FunctionCodeLocation (Maybe Text) -- | The service that's hosting the file. functionCodeLocation_repositoryType :: Lens' FunctionCodeLocation (Maybe Text) -- | The resolved URI for the image. functionCodeLocation_resolvedImageUri :: Lens' FunctionCodeLocation (Maybe Text) -- | 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_architectures :: Lens' FunctionConfiguration (Maybe (NonEmpty Architecture)) -- | The SHA256 hash of the function's deployment package. functionConfiguration_codeSha256 :: Lens' FunctionConfiguration (Maybe Text) -- | The size of the function's deployment package, in bytes. functionConfiguration_codeSize :: Lens' FunctionConfiguration (Maybe Integer) -- | The function's dead letter queue. functionConfiguration_deadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) -- | The function's description. functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) -- | The function's environment variables. Omitted from CloudTrail -- logs. functionConfiguration_environment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) -- | The size of the function’s /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. functionConfiguration_ephemeralStorage :: Lens' FunctionConfiguration (Maybe EphemeralStorage) -- | Connection settings for an Amazon EFS file system. functionConfiguration_fileSystemConfigs :: Lens' FunctionConfiguration (Maybe [FileSystemConfig]) -- | The function's Amazon Resource Name (ARN). functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) -- | The name of the function. functionConfiguration_functionName :: Lens' FunctionConfiguration (Maybe Text) -- | The function that Lambda calls to begin running your function. functionConfiguration_handler :: Lens' FunctionConfiguration (Maybe Text) -- | The function's image configuration values. functionConfiguration_imageConfigResponse :: Lens' FunctionConfiguration (Maybe ImageConfigResponse) -- | The KMS key that's used to encrypt the function's environment -- variables. This key is returned only if you've configured a customer -- managed key. functionConfiguration_kmsKeyArn :: Lens' FunctionConfiguration (Maybe Text) -- | The date and time that the function was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionConfiguration_lastModified :: Lens' FunctionConfiguration (Maybe Text) -- | The status of the last update that was performed on the function. This -- is first set to Successful after function creation completes. functionConfiguration_lastUpdateStatus :: Lens' FunctionConfiguration (Maybe LastUpdateStatus) -- | The reason for the last update that was performed on the function. functionConfiguration_lastUpdateStatusReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the last update that was performed on the -- function. functionConfiguration_lastUpdateStatusReasonCode :: Lens' FunctionConfiguration (Maybe LastUpdateStatusReasonCode) -- | The function's layers. functionConfiguration_layers :: Lens' FunctionConfiguration (Maybe [Layer]) -- | For Lambda@Edge functions, the ARN of the main function. functionConfiguration_masterArn :: Lens' FunctionConfiguration (Maybe Text) -- | The amount of memory available to the function at runtime. functionConfiguration_memorySize :: Lens' FunctionConfiguration (Maybe Natural) -- | The type of deployment package. Set to Image for container -- image and set Zip for .zip file archive. functionConfiguration_packageType :: Lens' FunctionConfiguration (Maybe PackageType) -- | The latest updated revision of the function or alias. functionConfiguration_revisionId :: Lens' FunctionConfiguration (Maybe Text) -- | The function's execution role. functionConfiguration_role :: Lens' FunctionConfiguration (Maybe Text) -- | The runtime environment for the Lambda function. functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe Runtime) -- | The ARN of the signing job. functionConfiguration_signingJobArn :: Lens' FunctionConfiguration (Maybe Text) -- | The ARN of the signing profile version. functionConfiguration_signingProfileVersionArn :: Lens' FunctionConfiguration (Maybe Text) -- | Set ApplyOn to PublishedVersions to create a -- snapshot of the initialized execution environment when you publish a -- function version. For more information, see Reducing startup time -- with Lambda SnapStart. functionConfiguration_snapStart :: Lens' FunctionConfiguration (Maybe SnapStartResponse) -- | The current state of the function. When the state is -- Inactive, you can reactivate the function by invoking it. functionConfiguration_state :: Lens' FunctionConfiguration (Maybe State) -- | The reason for the function's current state. functionConfiguration_stateReason :: Lens' FunctionConfiguration (Maybe Text) -- | The reason code for the function's current state. When the code is -- Creating, you can't invoke or modify the function. functionConfiguration_stateReasonCode :: Lens' FunctionConfiguration (Maybe StateReasonCode) -- | The amount of time in seconds that Lambda allows a function to run -- before stopping it. functionConfiguration_timeout :: Lens' FunctionConfiguration (Maybe Natural) -- | The function's X-Ray tracing configuration. functionConfiguration_tracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) -- | The version of the Lambda function. functionConfiguration_version :: Lens' FunctionConfiguration (Maybe Text) -- | The function's networking configuration. functionConfiguration_vpcConfig :: Lens' FunctionConfiguration (Maybe VpcConfigResponse) -- | A destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- functionEventInvokeConfig_destinationConfig :: Lens' FunctionEventInvokeConfig (Maybe DestinationConfig) -- | The Amazon Resource Name (ARN) of the function. functionEventInvokeConfig_functionArn :: Lens' FunctionEventInvokeConfig (Maybe Text) -- | The date and time that the configuration was last updated. functionEventInvokeConfig_lastModified :: Lens' FunctionEventInvokeConfig (Maybe UTCTime) -- | The maximum age of a request that Lambda sends to a function for -- processing. functionEventInvokeConfig_maximumEventAgeInSeconds :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The maximum number of times to retry when the function returns an -- error. functionEventInvokeConfig_maximumRetryAttempts :: Lens' FunctionEventInvokeConfig (Maybe Natural) -- | The cross-origin resource sharing (CORS) settings for your -- function URL. functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors) -- | The HTTP URL endpoint for your function. functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text -- | The Amazon Resource Name (ARN) of your function. functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text -- | When the function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text -- | When the function URL configuration was last updated, in ISO-8601 -- format (YYYY-MM-DDThh:mm:ss.sTZD). functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text -- | The type of authentication that your function URL uses. Set to -- AWS_IAM if you want to restrict access to authenticated IAM -- users only. Set to NONE if you want to bypass IAM -- authentication to create a public endpoint. For more information, see -- Security and auth model for Lambda function URLs. functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType -- | A list of compatible instruction set architectures. getLayerVersionResponse_compatibleArchitectures :: Lens' GetLayerVersionResponse (Maybe [Architecture]) -- | The layer's compatible runtimes. getLayerVersionResponse_compatibleRuntimes :: Lens' GetLayerVersionResponse (Maybe [Runtime]) -- | Details about the layer version. getLayerVersionResponse_content :: Lens' GetLayerVersionResponse (Maybe LayerVersionContentOutput) -- | The date that the layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). getLayerVersionResponse_createdDate :: Lens' GetLayerVersionResponse (Maybe Text) -- | The description of the version. getLayerVersionResponse_description :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer. getLayerVersionResponse_layerArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The ARN of the layer version. getLayerVersionResponse_layerVersionArn :: Lens' GetLayerVersionResponse (Maybe Text) -- | The layer's software license. getLayerVersionResponse_licenseInfo :: Lens' GetLayerVersionResponse (Maybe Text) -- | The version number. getLayerVersionResponse_version :: Lens' GetLayerVersionResponse (Maybe Integer) -- | Specifies parameters that you want to pass in with ENTRYPOINT. imageConfig_command :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the entry point to their application, which is typically the -- location of the runtime executable. imageConfig_entryPoint :: Lens' ImageConfig (Maybe [Text]) -- | Specifies the working directory. imageConfig_workingDirectory :: Lens' ImageConfig (Maybe Text) -- | Error code. imageConfigError_errorCode :: Lens' ImageConfigError (Maybe Text) -- | Error message. imageConfigError_message :: Lens' ImageConfigError (Maybe Text) -- | Error response to GetFunctionConfiguration. imageConfigResponse_error :: Lens' ImageConfigResponse (Maybe ImageConfigError) -- | Configuration values that override the container image Dockerfile. imageConfigResponse_imageConfig :: Lens' ImageConfigResponse (Maybe ImageConfig) -- | The Amazon Resource Name (ARN) of the function layer. layer_arn :: Lens' Layer (Maybe Text) -- | The size of the layer archive in bytes. layer_codeSize :: Lens' Layer (Maybe Integer) -- | The Amazon Resource Name (ARN) of a signing job. layer_signingJobArn :: Lens' Layer (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layer_signingProfileVersionArn :: Lens' Layer (Maybe Text) -- | The Amazon S3 bucket of the layer archive. layerVersionContentInput_s3Bucket :: Lens' LayerVersionContentInput (Maybe Text) -- | The Amazon S3 key of the layer archive. layerVersionContentInput_s3Key :: Lens' LayerVersionContentInput (Maybe Text) -- | For versioned objects, the version of the layer archive object to use. layerVersionContentInput_s3ObjectVersion :: Lens' LayerVersionContentInput (Maybe Text) -- | 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_zipFile :: Lens' LayerVersionContentInput (Maybe ByteString) -- | The SHA-256 hash of the layer archive. layerVersionContentOutput_codeSha256 :: Lens' LayerVersionContentOutput (Maybe Text) -- | The size of the layer archive in bytes. layerVersionContentOutput_codeSize :: Lens' LayerVersionContentOutput (Maybe Integer) -- | A link to the layer archive in Amazon S3 that is valid for 10 minutes. layerVersionContentOutput_location :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) of a signing job. layerVersionContentOutput_signingJobArn :: Lens' LayerVersionContentOutput (Maybe Text) -- | The Amazon Resource Name (ARN) for a signing profile version. layerVersionContentOutput_signingProfileVersionArn :: Lens' LayerVersionContentOutput (Maybe Text) -- | A list of compatible instruction set architectures. layerVersionsListItem_compatibleArchitectures :: Lens' LayerVersionsListItem (Maybe [Architecture]) -- | The layer's compatible runtimes. layerVersionsListItem_compatibleRuntimes :: Lens' LayerVersionsListItem (Maybe [Runtime]) -- | The date that the version was created, in ISO 8601 format. For -- example, 2018-11-27T15:10:45.123+0000. layerVersionsListItem_createdDate :: Lens' LayerVersionsListItem (Maybe Text) -- | The description of the version. layerVersionsListItem_description :: Lens' LayerVersionsListItem (Maybe Text) -- | The ARN of the layer version. layerVersionsListItem_layerVersionArn :: Lens' LayerVersionsListItem (Maybe Text) -- | The layer's open-source license. layerVersionsListItem_licenseInfo :: Lens' LayerVersionsListItem (Maybe Text) -- | The version number. layerVersionsListItem_version :: Lens' LayerVersionsListItem (Maybe Integer) -- | The newest version of the layer. layersListItem_latestMatchingVersion :: Lens' LayersListItem (Maybe LayerVersionsListItem) -- | The Amazon Resource Name (ARN) of the function layer. layersListItem_layerArn :: Lens' LayersListItem (Maybe Text) -- | The name of the layer. layersListItem_layerName :: Lens' LayersListItem (Maybe Text) -- | The Amazon Resource Name (ARN) of the destination resource. onFailure_destination :: Lens' OnFailure (Maybe Text) -- | The Amazon Resource Name (ARN) of the destination resource. onSuccess_destination :: Lens' OnSuccess (Maybe Text) -- | The amount of provisioned concurrency allocated. When a weighted alias -- is used during linear and canary deployments, this value fluctuates -- depending on the amount of concurrency that is provisioned for the -- function versions. provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The amount of provisioned concurrency available. provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The Amazon Resource Name (ARN) of the alias or version. provisionedConcurrencyConfigListItem_functionArn :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The date and time that a user last updated the configuration, in -- ISO 8601 format. provisionedConcurrencyConfigListItem_lastModified :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | The amount of provisioned concurrency requested. provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Natural) -- | The status of the allocation process. provisionedConcurrencyConfigListItem_status :: Lens' ProvisionedConcurrencyConfigListItem (Maybe ProvisionedConcurrencyStatusEnum) -- | For failed allocations, the reason that provisioned concurrency could -- not be allocated. provisionedConcurrencyConfigListItem_statusReason :: Lens' ProvisionedConcurrencyConfigListItem (Maybe Text) -- | 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))) -- | The identifier for the Kafka consumer group to join. The consumer -- group ID must be unique among all your Kafka event sources. After -- creating a Kafka event source mapping with the consumer group ID -- specified, you cannot update this value. For more information, see -- Customizable consumer group ID. selfManagedKafkaEventSourceConfig_consumerGroupId :: Lens' SelfManagedKafkaEventSourceConfig (Maybe Text) -- | Set to PublishedVersions to create a snapshot of the -- initialized execution environment when you publish a function version. snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn) -- | When set to PublishedVersions, Lambda creates a snapshot of -- the execution environment when you publish a function version. snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn) -- | When you provide a qualified Amazon Resource Name (ARN), this -- response element indicates whether SnapStart is activated for the -- specified function version. snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus) -- | The type of authentication protocol, VPC components, or virtual host -- for your event source. For example: -- "Type":"SASL_SCRAM_512_AUTH". -- -- sourceAccessConfiguration_type :: Lens' SourceAccessConfiguration (Maybe SourceAccessType) -- | The value for your chosen configuration in Type. For example: -- "URI": -- "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". sourceAccessConfiguration_uri :: Lens' SourceAccessConfiguration (Maybe Text) -- | The tracing mode. tracingConfig_mode :: Lens' TracingConfig (Maybe TracingMode) -- | The tracing mode. tracingConfigResponse_mode :: Lens' TracingConfigResponse (Maybe TracingMode) -- | A list of VPC security group IDs. vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text]) -- | A list of VPC security group IDs. vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | A list of VPC subnet IDs. vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text]) -- | The ID of the VPC. vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text) module Amazonka.Lambda.Waiters -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 60 failed -- checks. newFunctionActive :: Wait GetFunctionConfiguration -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 300 failed checks. newFunctionActiveV2 :: Wait GetFunction -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 20 failed checks. newFunctionExists :: Wait GetFunction -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 60 failed -- checks. newFunctionUpdated :: Wait GetFunctionConfiguration -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 300 failed checks. newFunctionUpdatedV2 :: Wait GetFunction -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 312 failed -- checks. newPublishedVersionActive :: Wait GetFunctionConfiguration -- | Derived from API version 2015-03-31 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- Lambda -- -- Overview -- -- Lambda is a compute service that lets you run code without -- provisioning or managing servers. Lambda runs your code on a -- high-availability compute infrastructure and performs all of the -- administration of the compute resources, including server and -- operating system maintenance, capacity provisioning and automatic -- scaling, code monitoring and logging. With Lambda, you can run code -- for virtually any type of application or backend service. For more -- information about the Lambda service, see What is Lambda in the -- Lambda Developer Guide. -- -- The Lambda API Reference provides information about each of the -- API methods, including details about the parameters in each API -- request and response. -- -- You can use Software Development Kits (SDKs), Integrated Development -- Environment (IDE) Toolkits, and command line tools to access the API. -- For installation instructions, see Tools for Amazon Web -- Services. -- -- For a list of Region-specific endpoints that Lambda supports, see -- Lambda endpoints and quotas in the Amazon Web Services -- General Reference.. -- -- When making the API calls, you will need to authenticate your request -- by providing a signature. Lambda supports signature version 4. For -- more information, see Signature Version 4 signing process in -- the Amazon Web Services General Reference.. -- -- CA certificates -- -- Because Amazon Web Services SDKs use the CA certificates from your -- computer, changes to the certificates on the Amazon Web Services -- servers can cause connection failures when you attempt to use an SDK. -- You can prevent these failures by keeping your computer's CA -- certificates and operating system up-to-date. If you encounter this -- issue in a corporate environment and do not manage your own computer, -- you might need to ask an administrator to assist with the update -- process. The following list shows minimum operating system and Java -- versions: -- -- -- -- When accessing the Lambda management console or Lambda API endpoints, -- whether through browsers or programmatically, you will need to ensure -- your client machines support any of the following CAs: -- -- -- -- Root certificates from the first two authorities are available from -- Amazon trust services, but keeping your computer up-to-date is -- the more straightforward solution. To learn more about ACM-provided -- certificates, see Amazon Web Services Certificate Manager FAQs. module Amazonka.Lambda -- | API version 2015-03-31 of the Amazon Lambda SDK -- configuration. defaultService :: Service -- | The specified code signing configuration does not exist. _CodeSigningConfigNotFoundException :: AsError a => Fold a ServiceError -- | Your Amazon Web Services account has exceeded its maximum total code -- size. For more information, see Lambda quotas. _CodeStorageExceededException :: AsError a => Fold a ServiceError -- | 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. _CodeVerificationFailedException :: AsError a => Fold a ServiceError -- | Need additional permissions to configure VPC settings. _EC2AccessDeniedException :: AsError a => Fold a ServiceError -- | Amazon EC2 throttled Lambda during Lambda function initialization -- using the execution role provided for the function. _EC2ThrottledException :: AsError a => Fold a ServiceError -- | Lambda received an unexpected Amazon EC2 client exception while -- setting up for the Lambda function. _EC2UnexpectedException :: AsError a => Fold a ServiceError -- | An error occurred when reading from or writing to a connected file -- system. _EFSIOException :: AsError a => Fold a ServiceError -- | The Lambda function couldn't make a network connection to the -- configured file system. _EFSMountConnectivityException :: AsError a => Fold a ServiceError -- | The Lambda function couldn't mount the configured file system due to a -- permission or configuration issue. _EFSMountFailureException :: AsError a => Fold a ServiceError -- | The Lambda function made a network connection to the configured file -- system, but the mount operation timed out. _EFSMountTimeoutException :: AsError a => Fold a ServiceError -- | Lambda couldn't create an elastic network interface in the VPC, -- specified as part of Lambda function configuration, because the limit -- for network interfaces has been reached. For more information, see -- Lambda quotas. _ENILimitReachedException :: AsError a => Fold a ServiceError -- | The code signature failed the integrity check. If the integrity check -- fails, then Lambda blocks deployment, even if the code signing policy -- is set to WARN. _InvalidCodeSignatureException :: AsError a => Fold a ServiceError -- | One of the parameters in the request is not valid. _InvalidParameterValueException :: AsError a => Fold a ServiceError -- | The request body could not be parsed as JSON. _InvalidRequestContentException :: AsError a => Fold a ServiceError -- | The runtime or runtime version specified is not supported. _InvalidRuntimeException :: AsError a => Fold a ServiceError -- | The security group ID provided in the Lambda function VPC -- configuration is not valid. _InvalidSecurityGroupIDException :: AsError a => Fold a ServiceError -- | The subnet ID provided in the Lambda function VPC configuration is not -- valid. _InvalidSubnetIDException :: AsError a => Fold a ServiceError -- | Lambda could not unzip the deployment package. _InvalidZipFileException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because KMS access -- was denied. Check the Lambda function's KMS permissions. _KMSAccessDeniedException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the KMS key -- used is disabled. Check the Lambda function's KMS key settings. _KMSDisabledException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the state of -- the KMS key used is not valid for Decrypt. Check the function's KMS -- key settings. _KMSInvalidStateException :: AsError a => Fold a ServiceError -- | Lambda couldn't decrypt the environment variables because the KMS key -- was not found. Check the function's KMS key settings. _KMSNotFoundException :: AsError a => Fold a ServiceError -- | The permissions policy for the resource is too large. For more -- information, see Lambda quotas. _PolicyLengthExceededException :: AsError a => Fold a ServiceError -- | The RevisionId provided does not match the latest RevisionId for the -- Lambda function or alias. Call the GetFunction or the -- GetAlias API operation to retrieve the latest RevisionId for -- your resource. _PreconditionFailedException :: AsError a => Fold a ServiceError -- | The specified configuration does not exist. _ProvisionedConcurrencyConfigNotFoundException :: AsError a => Fold a ServiceError -- | The request payload exceeded the Invoke request body JSON -- input quota. For more information, see Lambda quotas. _RequestTooLargeException :: AsError a => Fold a ServiceError -- | The resource already exists, or another operation is in progress. _ResourceConflictException :: AsError a => Fold a ServiceError -- | The operation conflicts with the resource's availability. For example, -- you tried to update an event source mapping in the CREATING state, or -- you tried to delete an event source mapping currently UPDATING. _ResourceInUseException :: AsError a => Fold a ServiceError -- | The resource specified in the request does not exist. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The function is inactive and its VPC connection is no longer -- available. Wait for the VPC connection to reestablish and try again. _ResourceNotReadyException :: AsError a => Fold a ServiceError -- | The Lambda service encountered an internal error. _ServiceException :: AsError a => Fold a ServiceError -- | The runtime restore hook encountered an error. For more information, -- check the Amazon CloudWatch logs. _SnapStartException :: AsError a => Fold a ServiceError -- | Lambda is initializing your function. You can invoke the function when -- the function state becomes Active. _SnapStartNotReadyException :: AsError a => Fold a ServiceError -- | The runtime restore hook failed to complete within the timeout limit -- (2 seconds). _SnapStartTimeoutException :: AsError a => Fold a ServiceError -- | Lambda couldn't set up VPC access for the Lambda function because one -- or more configured subnets has no available IP addresses. _SubnetIPAddressLimitReachedException :: AsError a => Fold a ServiceError -- | The request throughput limit was exceeded. For more information, see -- Lambda quotas. _TooManyRequestsException :: AsError a => Fold a ServiceError -- | The content type of the Invoke request body is not JSON. _UnsupportedMediaTypeException :: AsError a => Fold a ServiceError -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 60 failed -- checks. newFunctionActive :: Wait GetFunctionConfiguration -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 300 failed checks. newFunctionActiveV2 :: Wait GetFunction -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 20 failed checks. newFunctionExists :: Wait GetFunction -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 60 failed -- checks. newFunctionUpdated :: Wait GetFunctionConfiguration -- | Polls GetFunction every 1 seconds until a successful state is -- reached. An error is returned after 300 failed checks. newFunctionUpdatedV2 :: Wait GetFunction -- | Polls GetFunctionConfiguration every 5 seconds until a -- successful state is reached. An error is returned after 312 failed -- checks. newPublishedVersionActive :: Wait GetFunctionConfiguration -- | See: newAddLayerVersionPermission smart constructor. data AddLayerVersionPermission AddLayerVersionPermission' :: Maybe Text -> Maybe Text -> Text -> Integer -> Text -> Text -> Text -> AddLayerVersionPermission -- | Create a value of AddLayerVersionPermission with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:organizationId:AddLayerVersionPermission', -- addLayerVersionPermission_organizationId - With the principal -- set to *, grant permission to all accounts in the specified -- organization. -- -- AddLayerVersionPermission, -- addLayerVersionPermission_revisionId - Only update the policy -- if the revision ID matches the ID specified. Use this option to avoid -- modifying a policy that has changed since you last read it. -- -- AddLayerVersionPermission, -- addLayerVersionPermission_layerName - The name or Amazon -- Resource Name (ARN) of the layer. -- -- $sel:versionNumber:AddLayerVersionPermission', -- addLayerVersionPermission_versionNumber - The version number. -- -- $sel:statementId:AddLayerVersionPermission', -- addLayerVersionPermission_statementId - An identifier that -- distinguishes the policy from others on the same layer version. -- -- $sel:action:AddLayerVersionPermission', -- addLayerVersionPermission_action - The API action that grants -- access to the layer. For example, lambda:GetLayerVersion. -- -- $sel:principal:AddLayerVersionPermission', -- addLayerVersionPermission_principal - An account ID, or -- * to grant layer usage permission to all accounts in an -- organization, or all Amazon Web Services accounts (if -- organizationId is not specified). For the last case, make -- sure that you really do want all Amazon Web Services accounts to have -- usage permission to this layer. newAddLayerVersionPermission :: Text -> Integer -> Text -> Text -> Text -> AddLayerVersionPermission -- | See: newAddLayerVersionPermissionResponse smart -- constructor. data AddLayerVersionPermissionResponse AddLayerVersionPermissionResponse' :: Maybe Text -> Maybe Text -> Int -> AddLayerVersionPermissionResponse -- | Create a value of AddLayerVersionPermissionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- AddLayerVersionPermission, -- addLayerVersionPermissionResponse_revisionId - A unique -- identifier for the current revision of the policy. -- -- $sel:statement:AddLayerVersionPermissionResponse', -- addLayerVersionPermissionResponse_statement - The permission -- statement. -- -- $sel:httpStatus:AddLayerVersionPermissionResponse', -- addLayerVersionPermissionResponse_httpStatus - The response's -- http status code. newAddLayerVersionPermissionResponse :: Int -> AddLayerVersionPermissionResponse -- | See: newAddPermission smart constructor. data AddPermission AddPermission' :: Maybe Text -> Maybe FunctionUrlAuthType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> AddPermission -- | Create a value of AddPermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:eventSourceToken:AddPermission', -- addPermission_eventSourceToken - For Alexa Smart Home -- functions, a token that the invoker must supply. -- -- $sel:functionUrlAuthType:AddPermission', -- addPermission_functionUrlAuthType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. -- -- $sel:principalOrgID:AddPermission', -- addPermission_principalOrgID - The identifier for your -- organization in Organizations. Use this to grant permissions to all -- the Amazon Web Services accounts under this organization. -- -- $sel:qualifier:AddPermission', addPermission_qualifier - -- Specify a version or alias to add permissions to a published version -- of the function. -- -- AddPermission, addPermission_revisionId - Update the -- policy only if the revision ID matches the ID that's specified. Use -- this option to avoid modifying a policy that has changed since you -- last read it. -- -- $sel:sourceAccount:AddPermission', -- addPermission_sourceAccount - For Amazon Web Service, the ID of -- the Amazon Web Services account that owns the resource. Use this -- together with SourceArn to ensure that the specified account -- owns the resource. It is possible for an Amazon S3 bucket to be -- deleted by its owner and recreated by another account. -- -- $sel:sourceArn:AddPermission', addPermission_sourceArn - -- For Amazon Web Services, the ARN of the Amazon Web Services resource -- that invokes the function. For example, an Amazon S3 bucket or Amazon -- SNS topic. -- -- Note that Lambda configures the comparison using the -- StringLike operator. -- -- AddPermission, addPermission_functionName - The name of -- the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- $sel:statementId:AddPermission', -- addPermission_statementId - A statement identifier that -- differentiates the statement from others in the same policy. -- -- $sel:action:AddPermission', addPermission_action - The -- action that the principal can use on the function. For example, -- lambda:InvokeFunction or lambda:GetFunction. -- -- $sel:principal:AddPermission', addPermission_principal - -- The Amazon Web Service or Amazon Web Services account that invokes the -- function. If you specify a service, use SourceArn or -- SourceAccount to limit who can invoke the function through -- that service. newAddPermission :: Text -> Text -> Text -> Text -> AddPermission -- | See: newAddPermissionResponse smart constructor. data AddPermissionResponse AddPermissionResponse' :: Maybe Text -> Int -> AddPermissionResponse -- | Create a value of AddPermissionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:statement:AddPermissionResponse', -- addPermissionResponse_statement - The permission statement -- that's added to the function policy. -- -- $sel:httpStatus:AddPermissionResponse', -- addPermissionResponse_httpStatus - The response's http status -- code. newAddPermissionResponse :: Int -> AddPermissionResponse -- | See: newCreateAlias smart constructor. data CreateAlias CreateAlias' :: Maybe Text -> Maybe AliasRoutingConfiguration -> Text -> Text -> Text -> CreateAlias -- | Create a value of CreateAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateAlias, createAlias_description - A description of -- the alias. -- -- CreateAlias, createAlias_routingConfig - The routing -- configuration of the alias. -- -- CreateAlias, createAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateAlias, createAlias_name - The name of the alias. -- -- CreateAlias, createAlias_functionVersion - The function -- version that the alias invokes. newCreateAlias :: Text -> Text -> Text -> CreateAlias -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | See: newCreateCodeSigningConfig smart constructor. data CreateCodeSigningConfig CreateCodeSigningConfig' :: Maybe CodeSigningPolicies -> Maybe Text -> AllowedPublishers -> CreateCodeSigningConfig -- | Create a value of CreateCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_codeSigningPolicies - The code signing -- policies define the actions to take if the validation checks fail. -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_description - Descriptive name for this -- code signing configuration. -- -- CreateCodeSigningConfig, -- createCodeSigningConfig_allowedPublishers - Signing profiles -- for this code signing configuration. newCreateCodeSigningConfig :: AllowedPublishers -> CreateCodeSigningConfig -- | See: newCreateCodeSigningConfigResponse smart -- constructor. data CreateCodeSigningConfigResponse CreateCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse -- | Create a value of CreateCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:CreateCodeSigningConfigResponse', -- createCodeSigningConfigResponse_httpStatus - The response's -- http status code. -- -- $sel:codeSigningConfig:CreateCodeSigningConfigResponse', -- createCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration. newCreateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> CreateCodeSigningConfigResponse -- | See: newCreateEventSourceMapping smart constructor. data CreateEventSourceMapping CreateEventSourceMapping' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Bool -> Maybe Text -> Maybe FilterCriteria -> Maybe [FunctionResponseType] -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe (NonEmpty Text) -> Maybe Natural -> Text -> CreateEventSourceMapping -- | Create a value of CreateEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateEventSourceMapping, -- createEventSourceMapping_amazonManagedKafkaEventSourceConfig - -- Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_batchSize - The maximum number of -- records in each batch that Lambda pulls from your stream or queue and -- sends to your function. Lambda passes all of the records in the batch -- to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- -- -- CreateEventSourceMapping, -- createEventSourceMapping_bisectBatchOnFunctionError - (Streams -- only) If the function returns an error, split the batch in two and -- retry. -- -- CreateEventSourceMapping, -- createEventSourceMapping_destinationConfig - (Streams only) An -- Amazon SQS queue or Amazon SNS topic destination for discarded -- records. -- -- $sel:enabled:CreateEventSourceMapping', -- createEventSourceMapping_enabled - When true, the event source -- mapping is active. When false, Lambda pauses polling and invocation. -- -- Default: True -- -- CreateEventSourceMapping, -- createEventSourceMapping_eventSourceArn - The Amazon Resource -- Name (ARN) of the event source. -- -- -- -- CreateEventSourceMapping, -- createEventSourceMapping_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- CreateEventSourceMapping, -- createEventSourceMapping_functionResponseTypes - (Streams and -- Amazon SQS) A list of current response type enums applied to the event -- source mapping. -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumBatchingWindowInSeconds - The -- maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumRecordAgeInSeconds - (Streams -- only) Discard records older than the specified age. The default value -- is infinite (-1). -- -- CreateEventSourceMapping, -- createEventSourceMapping_maximumRetryAttempts - (Streams only) -- Discard records after the specified number of retries. The default -- value is infinite (-1). When set to infinite (-1), failed records are -- retried until the record expires. -- -- CreateEventSourceMapping, -- createEventSourceMapping_parallelizationFactor - (Streams only) -- The number of batches to process from each shard concurrently. -- -- CreateEventSourceMapping, -- createEventSourceMapping_queues - (MQ) The name of the Amazon -- MQ broker destination queue to consume. -- -- CreateEventSourceMapping, -- createEventSourceMapping_selfManagedEventSource - The -- self-managed Apache Kafka cluster to receive records from. -- -- CreateEventSourceMapping, -- createEventSourceMapping_selfManagedKafkaEventSourceConfig - -- Specific configuration settings for a self-managed Apache Kafka event -- source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_sourceAccessConfigurations - An array -- of authentication protocols or VPC components required to secure your -- event source. -- -- CreateEventSourceMapping, -- createEventSourceMapping_startingPosition - The position in a -- stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- CreateEventSourceMapping, -- createEventSourceMapping_startingPositionTimestamp - With -- StartingPosition set to AT_TIMESTAMP, the time from -- which to start reading. -- -- CreateEventSourceMapping, -- createEventSourceMapping_topics - The name of the Kafka topic. -- -- CreateEventSourceMapping, -- createEventSourceMapping_tumblingWindowInSeconds - (Streams -- only) The duration in seconds of a processing window. The range is -- between 1 second and 900 seconds. -- -- CreateEventSourceMapping, -- createEventSourceMapping_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. newCreateEventSourceMapping :: Text -> CreateEventSourceMapping -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | See: newCreateFunction smart constructor. data CreateFunction CreateFunction' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe DeadLetterConfig -> Maybe Text -> Maybe Environment -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe ImageConfig -> Maybe Text -> Maybe [Text] -> Maybe Natural -> Maybe PackageType -> Maybe Bool -> Maybe Runtime -> Maybe SnapStart -> Maybe (HashMap Text Text) -> Maybe Natural -> Maybe TracingConfig -> Maybe VpcConfig -> Text -> Text -> FunctionCode -> CreateFunction -- | Create a value of CreateFunction with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunction, createFunction_architectures - The -- instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. -- -- CreateFunction, createFunction_codeSigningConfigArn - To -- enable code signing for this function, specify the ARN of a -- code-signing configuration. A code-signing configuration includes a -- set of signing profiles, which define the trusted publishers for this -- function. -- -- CreateFunction, createFunction_deadLetterConfig - A -- dead-letter queue configuration that specifies the queue or topic -- where Lambda sends asynchronous events when they fail processing. For -- more information, see Dead-letter queues. -- -- CreateFunction, createFunction_description - A -- description of the function. -- -- CreateFunction, createFunction_environment - Environment -- variables that are accessible from function code during execution. -- -- CreateFunction, createFunction_ephemeralStorage - The -- size of the function's /tmp directory in MB. The default -- value is 512, but can be any whole number between 512 and 10,240 MB. -- -- CreateFunction, createFunction_fileSystemConfigs - -- Connection settings for an Amazon EFS file system. -- -- CreateFunction, createFunction_handler - The name of the -- method within your code that Lambda calls to run your function. -- Handler is required if the deployment package is a .zip file archive. -- The format includes the file name. It can also include namespaces and -- other qualifiers, depending on the runtime. For more information, see -- Lambda programming model. -- -- CreateFunction, createFunction_imageConfig - Container -- image configuration values that override the values in the -- container image Dockerfile. -- -- CreateFunction, createFunction_kmsKeyArn - The ARN of -- the Key Management Service (KMS) key that's used to encrypt your -- function's environment variables. If it's not provided, Lambda uses a -- default service key. -- -- CreateFunction, createFunction_layers - A list of -- function layers to add to the function's execution environment. -- Specify each layer by its ARN, including the version. -- -- CreateFunction, createFunction_memorySize - The amount -- of memory available to the function at runtime. Increasing the -- function memory also increases its CPU allocation. The default value -- is 128 MB. The value can be any multiple of 1 MB. -- -- CreateFunction, createFunction_packageType - The type of -- deployment package. Set to Image for container image and set -- to Zip for .zip file archive. -- -- $sel:publish:CreateFunction', createFunction_publish - -- Set to true to publish the first version of the function during -- creation. -- -- CreateFunction, createFunction_runtime - The identifier -- of the function's runtime. Runtime is required if the -- deployment package is a .zip file archive. -- -- CreateFunction, createFunction_snapStart - The -- function's SnapStart setting. -- -- $sel:tags:CreateFunction', createFunction_tags - A list -- of tags to apply to the function. -- -- CreateFunction, createFunction_timeout - The amount of -- time (in seconds) that Lambda allows a function to run before stopping -- it. The default is 3 seconds. The maximum allowed value is 900 -- seconds. For more information, see Lambda execution -- environment. -- -- CreateFunction, createFunction_tracingConfig - Set -- Mode to Active to sample and trace a subset of -- incoming requests with X-Ray. -- -- CreateFunction, createFunction_vpcConfig - For network -- connectivity to Amazon Web Services resources in a VPC, specify a list -- of security groups and subnets in the VPC. When you connect a function -- to a VPC, it can access resources and the internet only through that -- VPC. For more information, see Configuring a Lambda function to -- access resources in a VPC. -- -- CreateFunction, createFunction_functionName - The name -- of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateFunction, createFunction_role - The Amazon -- Resource Name (ARN) of the function's execution role. -- -- $sel:code:CreateFunction', createFunction_code - The -- code for the function. newCreateFunction :: Text -> Text -> FunctionCode -> CreateFunction -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newCreateFunctionUrlConfig smart constructor. data CreateFunctionUrlConfig CreateFunctionUrlConfig' :: Maybe Cors -> Maybe Text -> Text -> FunctionUrlAuthType -> CreateFunctionUrlConfig -- | Create a value of CreateFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunctionUrlConfig, createFunctionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:qualifier:CreateFunctionUrlConfig', -- createFunctionUrlConfig_qualifier - The alias name. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfig_authType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. newCreateFunctionUrlConfig :: Text -> FunctionUrlAuthType -> CreateFunctionUrlConfig -- | See: newCreateFunctionUrlConfigResponse smart -- constructor. data CreateFunctionUrlConfigResponse CreateFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> CreateFunctionUrlConfigResponse -- | Create a value of CreateFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:CreateFunctionUrlConfigResponse', -- createFunctionUrlConfigResponse_httpStatus - The response's -- http status code. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_functionArn - The Amazon -- Resource Name (ARN) of your function. -- -- CreateFunctionUrlConfig, -- createFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- CreateFunctionUrlConfigResponse, -- createFunctionUrlConfigResponse_creationTime - When the -- function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newCreateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> CreateFunctionUrlConfigResponse -- | See: newDeleteAlias smart constructor. data DeleteAlias DeleteAlias' :: Text -> Text -> DeleteAlias -- | Create a value of DeleteAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteAlias, deleteAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- DeleteAlias, deleteAlias_name - The name of the alias. newDeleteAlias :: Text -> Text -> DeleteAlias -- | See: newDeleteAliasResponse smart constructor. data DeleteAliasResponse DeleteAliasResponse' :: DeleteAliasResponse -- | Create a value of DeleteAliasResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteAliasResponse :: DeleteAliasResponse -- | See: newDeleteCodeSigningConfig smart constructor. data DeleteCodeSigningConfig DeleteCodeSigningConfig' :: Text -> DeleteCodeSigningConfig -- | Create a value of DeleteCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteCodeSigningConfig, -- deleteCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newDeleteCodeSigningConfig :: Text -> DeleteCodeSigningConfig -- | See: newDeleteCodeSigningConfigResponse smart -- constructor. data DeleteCodeSigningConfigResponse DeleteCodeSigningConfigResponse' :: Int -> DeleteCodeSigningConfigResponse -- | Create a value of DeleteCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteCodeSigningConfigResponse', -- deleteCodeSigningConfigResponse_httpStatus - The response's -- http status code. newDeleteCodeSigningConfigResponse :: Int -> DeleteCodeSigningConfigResponse -- | See: newDeleteEventSourceMapping smart constructor. data DeleteEventSourceMapping DeleteEventSourceMapping' :: Text -> DeleteEventSourceMapping -- | Create a value of DeleteEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEventSourceMapping, deleteEventSourceMapping_uuid -- - The identifier of the event source mapping. newDeleteEventSourceMapping :: Text -> DeleteEventSourceMapping -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | See: newDeleteFunction smart constructor. data DeleteFunction DeleteFunction' :: Maybe Text -> Text -> DeleteFunction -- | Create a value of DeleteFunction with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunction', deleteFunction_qualifier -- - Specify a version to delete. You can't delete a version that an -- alias references. -- -- DeleteFunction, deleteFunction_functionName - The name -- of the Lambda function or version. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newDeleteFunction :: Text -> DeleteFunction -- | See: newDeleteFunctionResponse smart constructor. data DeleteFunctionResponse DeleteFunctionResponse' :: DeleteFunctionResponse -- | Create a value of DeleteFunctionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionResponse :: DeleteFunctionResponse -- | See: newDeleteFunctionCodeSigningConfig smart -- constructor. data DeleteFunctionCodeSigningConfig DeleteFunctionCodeSigningConfig' :: Text -> DeleteFunctionCodeSigningConfig -- | Create a value of DeleteFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteFunctionCodeSigningConfig, -- deleteFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionCodeSigningConfig :: Text -> DeleteFunctionCodeSigningConfig -- | See: newDeleteFunctionCodeSigningConfigResponse smart -- constructor. data DeleteFunctionCodeSigningConfigResponse DeleteFunctionCodeSigningConfigResponse' :: DeleteFunctionCodeSigningConfigResponse -- | Create a value of DeleteFunctionCodeSigningConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionCodeSigningConfigResponse :: DeleteFunctionCodeSigningConfigResponse -- | See: newDeleteFunctionConcurrency smart constructor. data DeleteFunctionConcurrency DeleteFunctionConcurrency' :: Text -> DeleteFunctionConcurrency -- | Create a value of DeleteFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteFunctionConcurrency, -- deleteFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionConcurrency :: Text -> DeleteFunctionConcurrency -- | See: newDeleteFunctionConcurrencyResponse smart -- constructor. data DeleteFunctionConcurrencyResponse DeleteFunctionConcurrencyResponse' :: DeleteFunctionConcurrencyResponse -- | Create a value of DeleteFunctionConcurrencyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionConcurrencyResponse :: DeleteFunctionConcurrencyResponse -- | See: newDeleteFunctionEventInvokeConfig smart -- constructor. data DeleteFunctionEventInvokeConfig DeleteFunctionEventInvokeConfig' :: Maybe Text -> Text -> DeleteFunctionEventInvokeConfig -- | Create a value of DeleteFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunctionEventInvokeConfig', -- deleteFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- DeleteFunctionEventInvokeConfig, -- deleteFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newDeleteFunctionEventInvokeConfig :: Text -> DeleteFunctionEventInvokeConfig -- | See: newDeleteFunctionEventInvokeConfigResponse smart -- constructor. data DeleteFunctionEventInvokeConfigResponse DeleteFunctionEventInvokeConfigResponse' :: DeleteFunctionEventInvokeConfigResponse -- | Create a value of DeleteFunctionEventInvokeConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionEventInvokeConfigResponse :: DeleteFunctionEventInvokeConfigResponse -- | See: newDeleteFunctionUrlConfig smart constructor. data DeleteFunctionUrlConfig DeleteFunctionUrlConfig' :: Maybe Text -> Text -> DeleteFunctionUrlConfig -- | Create a value of DeleteFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:DeleteFunctionUrlConfig', -- deleteFunctionUrlConfig_qualifier - The alias name. -- -- DeleteFunctionUrlConfig, -- deleteFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newDeleteFunctionUrlConfig :: Text -> DeleteFunctionUrlConfig -- | See: newDeleteFunctionUrlConfigResponse smart -- constructor. data DeleteFunctionUrlConfigResponse DeleteFunctionUrlConfigResponse' :: DeleteFunctionUrlConfigResponse -- | Create a value of DeleteFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteFunctionUrlConfigResponse :: DeleteFunctionUrlConfigResponse -- | See: newDeleteLayerVersion smart constructor. data DeleteLayerVersion DeleteLayerVersion' :: Text -> Integer -> DeleteLayerVersion -- | Create a value of DeleteLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteLayerVersion, deleteLayerVersion_layerName - The -- name or Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:DeleteLayerVersion', -- deleteLayerVersion_versionNumber - The version number. newDeleteLayerVersion :: Text -> Integer -> DeleteLayerVersion -- | See: newDeleteLayerVersionResponse smart constructor. data DeleteLayerVersionResponse DeleteLayerVersionResponse' :: DeleteLayerVersionResponse -- | Create a value of DeleteLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteLayerVersionResponse :: DeleteLayerVersionResponse -- | See: newDeleteProvisionedConcurrencyConfig smart -- constructor. data DeleteProvisionedConcurrencyConfig DeleteProvisionedConcurrencyConfig' :: Text -> Text -> DeleteProvisionedConcurrencyConfig -- | Create a value of DeleteProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteProvisionedConcurrencyConfig, -- deleteProvisionedConcurrencyConfig_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:DeleteProvisionedConcurrencyConfig', -- deleteProvisionedConcurrencyConfig_qualifier - The version -- number or alias name. newDeleteProvisionedConcurrencyConfig :: Text -> Text -> DeleteProvisionedConcurrencyConfig -- | See: newDeleteProvisionedConcurrencyConfigResponse smart -- constructor. data DeleteProvisionedConcurrencyConfigResponse DeleteProvisionedConcurrencyConfigResponse' :: DeleteProvisionedConcurrencyConfigResponse -- | Create a value of DeleteProvisionedConcurrencyConfigResponse -- with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newDeleteProvisionedConcurrencyConfigResponse :: DeleteProvisionedConcurrencyConfigResponse -- | See: newGetAccountSettings smart constructor. data GetAccountSettings GetAccountSettings' :: GetAccountSettings -- | Create a value of GetAccountSettings with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newGetAccountSettings :: GetAccountSettings -- | See: newGetAccountSettingsResponse smart constructor. data GetAccountSettingsResponse GetAccountSettingsResponse' :: Maybe AccountLimit -> Maybe AccountUsage -> Int -> GetAccountSettingsResponse -- | Create a value of GetAccountSettingsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accountLimit:GetAccountSettingsResponse', -- getAccountSettingsResponse_accountLimit - Limits that are -- related to concurrency and code storage. -- -- $sel:accountUsage:GetAccountSettingsResponse', -- getAccountSettingsResponse_accountUsage - The number of -- functions and amount of storage in use. -- -- $sel:httpStatus:GetAccountSettingsResponse', -- getAccountSettingsResponse_httpStatus - The response's http -- status code. newGetAccountSettingsResponse :: Int -> GetAccountSettingsResponse -- | See: newGetAlias smart constructor. data GetAlias GetAlias' :: Text -> Text -> GetAlias -- | Create a value of GetAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetAlias, getAlias_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- GetAlias, getAlias_name - The name of the alias. newGetAlias :: Text -> Text -> GetAlias -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | See: newGetCodeSigningConfig smart constructor. data GetCodeSigningConfig GetCodeSigningConfig' :: Text -> GetCodeSigningConfig -- | Create a value of GetCodeSigningConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetCodeSigningConfig, -- getCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newGetCodeSigningConfig :: Text -> GetCodeSigningConfig -- | See: newGetCodeSigningConfigResponse smart constructor. data GetCodeSigningConfigResponse GetCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse -- | Create a value of GetCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetCodeSigningConfigResponse', -- getCodeSigningConfigResponse_httpStatus - The response's http -- status code. -- -- $sel:codeSigningConfig:GetCodeSigningConfigResponse', -- getCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration newGetCodeSigningConfigResponse :: Int -> CodeSigningConfig -> GetCodeSigningConfigResponse -- | See: newGetEventSourceMapping smart constructor. data GetEventSourceMapping GetEventSourceMapping' :: Text -> GetEventSourceMapping -- | Create a value of GetEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEventSourceMapping, getEventSourceMapping_uuid - The -- identifier of the event source mapping. newGetEventSourceMapping :: Text -> GetEventSourceMapping -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | See: newGetFunction smart constructor. data GetFunction GetFunction' :: Maybe Text -> Text -> GetFunction -- | Create a value of GetFunction with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunction', getFunction_qualifier - -- Specify a version or alias to get details about a published version of -- the function. -- -- GetFunction, getFunction_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunction :: Text -> GetFunction -- | See: newGetFunctionResponse smart constructor. data GetFunctionResponse GetFunctionResponse' :: Maybe FunctionCodeLocation -> Maybe Concurrency -> Maybe FunctionConfiguration -> Maybe (HashMap Text Text) -> Int -> GetFunctionResponse -- | Create a value of GetFunctionResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:code:GetFunctionResponse', getFunctionResponse_code -- - The deployment package of the function or version. -- -- $sel:concurrency:GetFunctionResponse', -- getFunctionResponse_concurrency - The function's reserved -- concurrency. -- -- $sel:configuration:GetFunctionResponse', -- getFunctionResponse_configuration - The configuration of the -- function or version. -- -- $sel:tags:GetFunctionResponse', getFunctionResponse_tags -- - The function's tags. -- -- $sel:httpStatus:GetFunctionResponse', -- getFunctionResponse_httpStatus - The response's http status -- code. newGetFunctionResponse :: Int -> GetFunctionResponse -- | See: newGetFunctionCodeSigningConfig smart constructor. data GetFunctionCodeSigningConfig GetFunctionCodeSigningConfig' :: Text -> GetFunctionCodeSigningConfig -- | Create a value of GetFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionCodeSigningConfig, -- getFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionCodeSigningConfig :: Text -> GetFunctionCodeSigningConfig -- | See: newGetFunctionCodeSigningConfigResponse smart -- constructor. data GetFunctionCodeSigningConfigResponse GetFunctionCodeSigningConfigResponse' :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse -- | Create a value of GetFunctionCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetFunctionCodeSigningConfigResponse', -- getFunctionCodeSigningConfigResponse_httpStatus - The -- response's http status code. -- -- GetFunctionCodeSigningConfigResponse, -- getFunctionCodeSigningConfigResponse_codeSigningConfigArn - The -- The Amazon Resource Name (ARN) of the code signing configuration. -- -- GetFunctionCodeSigningConfig, -- getFunctionCodeSigningConfigResponse_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse -- | See: newGetFunctionConcurrency smart constructor. data GetFunctionConcurrency GetFunctionConcurrency' :: Text -> GetFunctionConcurrency -- | Create a value of GetFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionConcurrency, -- getFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionConcurrency :: Text -> GetFunctionConcurrency -- | See: newGetFunctionConcurrencyResponse smart -- constructor. data GetFunctionConcurrencyResponse GetFunctionConcurrencyResponse' :: Maybe Natural -> Int -> GetFunctionConcurrencyResponse -- | Create a value of GetFunctionConcurrencyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionConcurrencyResponse, -- getFunctionConcurrencyResponse_reservedConcurrentExecutions - -- The number of simultaneous executions that are reserved for the -- function. -- -- $sel:httpStatus:GetFunctionConcurrencyResponse', -- getFunctionConcurrencyResponse_httpStatus - The response's http -- status code. newGetFunctionConcurrencyResponse :: Int -> GetFunctionConcurrencyResponse -- | See: newGetFunctionConfiguration smart constructor. data GetFunctionConfiguration GetFunctionConfiguration' :: Maybe Text -> Text -> GetFunctionConfiguration -- | Create a value of GetFunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionConfiguration', -- getFunctionConfiguration_qualifier - Specify a version or alias -- to get details about a published version of the function. -- -- GetFunctionConfiguration, -- getFunctionConfiguration_functionName - The name of the Lambda -- function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunctionConfiguration :: Text -> GetFunctionConfiguration -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newGetFunctionEventInvokeConfig smart constructor. data GetFunctionEventInvokeConfig GetFunctionEventInvokeConfig' :: Maybe Text -> Text -> GetFunctionEventInvokeConfig -- | Create a value of GetFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionEventInvokeConfig', -- getFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- GetFunctionEventInvokeConfig, -- getFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetFunctionEventInvokeConfig :: Text -> GetFunctionEventInvokeConfig -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | See: newGetFunctionUrlConfig smart constructor. data GetFunctionUrlConfig GetFunctionUrlConfig' :: Maybe Text -> Text -> GetFunctionUrlConfig -- | Create a value of GetFunctionUrlConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetFunctionUrlConfig', -- getFunctionUrlConfig_qualifier - The alias name. -- -- GetFunctionUrlConfig, getFunctionUrlConfig_functionName -- - The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newGetFunctionUrlConfig :: Text -> GetFunctionUrlConfig -- | See: newGetFunctionUrlConfigResponse smart constructor. data GetFunctionUrlConfigResponse GetFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse -- | Create a value of GetFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:GetFunctionUrlConfigResponse', -- getFunctionUrlConfigResponse_httpStatus - The response's http -- status code. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_functionArn - The Amazon Resource -- Name (ARN) of your function. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_creationTime - When the function -- URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). -- -- GetFunctionUrlConfigResponse, -- getFunctionUrlConfigResponse_lastModifiedTime - When the -- function URL configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newGetFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> GetFunctionUrlConfigResponse -- | See: newGetLayerVersion smart constructor. data GetLayerVersion GetLayerVersion' :: Text -> Integer -> GetLayerVersion -- | Create a value of GetLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersion, getLayerVersion_layerName - The name or -- Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:GetLayerVersion', -- getLayerVersion_versionNumber - The version number. newGetLayerVersion :: Text -> Integer -> GetLayerVersion -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | See: newGetLayerVersionByArn smart constructor. data GetLayerVersionByArn GetLayerVersionByArn' :: Text -> GetLayerVersionByArn -- | Create a value of GetLayerVersionByArn with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersionByArn, getLayerVersionByArn_arn - The ARN -- of the layer version. newGetLayerVersionByArn :: Text -> GetLayerVersionByArn -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | See: newGetLayerVersionPolicy smart constructor. data GetLayerVersionPolicy GetLayerVersionPolicy' :: Text -> Integer -> GetLayerVersionPolicy -- | Create a value of GetLayerVersionPolicy with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetLayerVersionPolicy, getLayerVersionPolicy_layerName - -- The name or Amazon Resource Name (ARN) of the layer. -- -- $sel:versionNumber:GetLayerVersionPolicy', -- getLayerVersionPolicy_versionNumber - The version number. newGetLayerVersionPolicy :: Text -> Integer -> GetLayerVersionPolicy -- | See: newGetLayerVersionPolicyResponse smart constructor. data GetLayerVersionPolicyResponse GetLayerVersionPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetLayerVersionPolicyResponse -- | Create a value of GetLayerVersionPolicyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:GetLayerVersionPolicyResponse', -- getLayerVersionPolicyResponse_policy - The policy document. -- -- GetLayerVersionPolicyResponse, -- getLayerVersionPolicyResponse_revisionId - A unique identifier -- for the current revision of the policy. -- -- $sel:httpStatus:GetLayerVersionPolicyResponse', -- getLayerVersionPolicyResponse_httpStatus - The response's http -- status code. newGetLayerVersionPolicyResponse :: Int -> GetLayerVersionPolicyResponse -- | See: newGetPolicy smart constructor. data GetPolicy GetPolicy' :: Maybe Text -> Text -> GetPolicy -- | Create a value of GetPolicy with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:GetPolicy', getPolicy_qualifier - Specify -- a version or alias to get the policy for that resource. -- -- GetPolicy, getPolicy_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newGetPolicy :: Text -> GetPolicy -- | See: newGetPolicyResponse smart constructor. data GetPolicyResponse GetPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetPolicyResponse -- | Create a value of GetPolicyResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:GetPolicyResponse', getPolicyResponse_policy -- - The resource-based policy. -- -- GetPolicyResponse, getPolicyResponse_revisionId - A -- unique identifier for the current revision of the policy. -- -- $sel:httpStatus:GetPolicyResponse', -- getPolicyResponse_httpStatus - The response's http status code. newGetPolicyResponse :: Int -> GetPolicyResponse -- | See: newGetProvisionedConcurrencyConfig smart -- constructor. data GetProvisionedConcurrencyConfig GetProvisionedConcurrencyConfig' :: Text -> Text -> GetProvisionedConcurrencyConfig -- | Create a value of GetProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetProvisionedConcurrencyConfig, -- getProvisionedConcurrencyConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:GetProvisionedConcurrencyConfig', -- getProvisionedConcurrencyConfig_qualifier - The version number -- or alias name. newGetProvisionedConcurrencyConfig :: Text -> Text -> GetProvisionedConcurrencyConfig -- | See: newGetProvisionedConcurrencyConfigResponse smart -- constructor. data GetProvisionedConcurrencyConfigResponse GetProvisionedConcurrencyConfigResponse' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> Int -> GetProvisionedConcurrencyConfigResponse -- | Create a value of GetProvisionedConcurrencyConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_status - The status of -- the allocation process. -- -- GetProvisionedConcurrencyConfigResponse, -- getProvisionedConcurrencyConfigResponse_statusReason - For -- failed allocations, the reason that provisioned concurrency could not -- be allocated. -- -- $sel:httpStatus:GetProvisionedConcurrencyConfigResponse', -- getProvisionedConcurrencyConfigResponse_httpStatus - The -- response's http status code. newGetProvisionedConcurrencyConfigResponse :: Int -> GetProvisionedConcurrencyConfigResponse -- | See: newInvoke smart constructor. data Invoke Invoke' :: Maybe Text -> Maybe InvocationType -> Maybe LogType -> Maybe Text -> Text -> ByteString -> Invoke -- | Create a value of Invoke with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:clientContext:Invoke', invoke_clientContext - Up to -- 3,583 bytes of base64-encoded data about the invoking client to pass -- to the function in the context object. -- -- $sel:invocationType:Invoke', invoke_invocationType - -- Choose from the following options. -- -- -- -- $sel:logType:Invoke', invoke_logType - Set to -- Tail to include the execution log in the response. Applies to -- synchronously invoked functions only. -- -- $sel:qualifier:Invoke', invoke_qualifier - Specify a -- version or alias to invoke a published version of the function. -- -- Invoke, invoke_functionName - The name of the Lambda -- function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- Invoke, invoke_payload - The JSON that you want to -- provide to your Lambda function as input. -- -- You can enter the JSON directly. For example, --payload '{ "key": -- "value" }'. You can also specify a file path. For example, -- --payload file://payload.json. newInvoke :: Text -> ByteString -> Invoke -- | See: newInvokeResponse smart constructor. data InvokeResponse InvokeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ByteString -> Int -> InvokeResponse -- | Create a value of InvokeResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:executedVersion:InvokeResponse', -- invokeResponse_executedVersion - The version of the function -- that executed. When you invoke a function with an alias, this -- indicates which version the alias resolved to. -- -- $sel:functionError:InvokeResponse', -- invokeResponse_functionError - If present, indicates that an -- error occurred during function execution. Details about the error are -- included in the response payload. -- -- $sel:logResult:InvokeResponse', invokeResponse_logResult -- - The last 4 KB of the execution log, which is base64-encoded. -- -- Invoke, invokeResponse_payload - The response from the -- function, or an error object. -- -- $sel:statusCode:InvokeResponse', -- invokeResponse_statusCode - The HTTP status code is in the 200 -- range for a successful request. For the RequestResponse -- invocation type, this status code is 200. For the Event -- invocation type, this status code is 202. For the DryRun -- invocation type, the status code is 204. newInvokeResponse :: Int -> InvokeResponse -- | See: newListAliases smart constructor. data ListAliases ListAliases' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> ListAliases -- | Create a value of ListAliases with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListAliases, listAliases_functionVersion - Specify a -- function version to only list aliases that invoke that version. -- -- $sel:marker:ListAliases', listAliases_marker - Specify -- the pagination token that's returned by a previous request to retrieve -- the next page of results. -- -- $sel:maxItems:ListAliases', listAliases_maxItems - Limit -- the number of aliases returned. -- -- ListAliases, listAliases_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListAliases :: Text -> ListAliases -- | See: newListAliasesResponse smart constructor. data ListAliasesResponse ListAliasesResponse' :: Maybe [AliasConfiguration] -> Maybe Text -> Int -> ListAliasesResponse -- | Create a value of ListAliasesResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliases:ListAliasesResponse', -- listAliasesResponse_aliases - A list of aliases. -- -- $sel:nextMarker:ListAliasesResponse', -- listAliasesResponse_nextMarker - The pagination token that's -- included if more results are available. -- -- $sel:httpStatus:ListAliasesResponse', -- listAliasesResponse_httpStatus - The response's http status -- code. newListAliasesResponse :: Int -> ListAliasesResponse -- | See: newListCodeSigningConfigs smart constructor. data ListCodeSigningConfigs ListCodeSigningConfigs' :: Maybe Text -> Maybe Natural -> ListCodeSigningConfigs -- | Create a value of ListCodeSigningConfigs with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListCodeSigningConfigs', -- listCodeSigningConfigs_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListCodeSigningConfigs', -- listCodeSigningConfigs_maxItems - Maximum number of items to -- return. newListCodeSigningConfigs :: ListCodeSigningConfigs -- | See: newListCodeSigningConfigsResponse smart -- constructor. data ListCodeSigningConfigsResponse ListCodeSigningConfigsResponse' :: Maybe [CodeSigningConfig] -> Maybe Text -> Int -> ListCodeSigningConfigsResponse -- | Create a value of ListCodeSigningConfigsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSigningConfigs:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_codeSigningConfigs - The code -- signing configurations -- -- $sel:nextMarker:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:httpStatus:ListCodeSigningConfigsResponse', -- listCodeSigningConfigsResponse_httpStatus - The response's http -- status code. newListCodeSigningConfigsResponse :: Int -> ListCodeSigningConfigsResponse -- | See: newListEventSourceMappings smart constructor. data ListEventSourceMappings ListEventSourceMappings' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> ListEventSourceMappings -- | Create a value of ListEventSourceMappings with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListEventSourceMappings, -- listEventSourceMappings_eventSourceArn - The Amazon Resource -- Name (ARN) of the event source. -- -- -- -- ListEventSourceMappings, -- listEventSourceMappings_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. -- -- $sel:marker:ListEventSourceMappings', -- listEventSourceMappings_marker - A pagination token returned by -- a previous call. -- -- $sel:maxItems:ListEventSourceMappings', -- listEventSourceMappings_maxItems - The maximum number of event -- source mappings to return. Note that ListEventSourceMappings returns a -- maximum of 100 items in each response, even if you set the number -- higher. newListEventSourceMappings :: ListEventSourceMappings -- | See: newListEventSourceMappingsResponse smart -- constructor. data ListEventSourceMappingsResponse ListEventSourceMappingsResponse' :: Maybe [EventSourceMappingConfiguration] -> Maybe Text -> Int -> ListEventSourceMappingsResponse -- | Create a value of ListEventSourceMappingsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:eventSourceMappings:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_eventSourceMappings - A list of -- event source mappings. -- -- $sel:nextMarker:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_nextMarker - A pagination token -- that's returned when the response doesn't contain all event source -- mappings. -- -- $sel:httpStatus:ListEventSourceMappingsResponse', -- listEventSourceMappingsResponse_httpStatus - The response's -- http status code. newListEventSourceMappingsResponse :: Int -> ListEventSourceMappingsResponse -- | See: newListFunctionEventInvokeConfigs smart -- constructor. data ListFunctionEventInvokeConfigs ListFunctionEventInvokeConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionEventInvokeConfigs -- | Create a value of ListFunctionEventInvokeConfigs with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionEventInvokeConfigs', -- listFunctionEventInvokeConfigs_marker - Specify the pagination -- token that's returned by a previous request to retrieve the next page -- of results. -- -- $sel:maxItems:ListFunctionEventInvokeConfigs', -- listFunctionEventInvokeConfigs_maxItems - The maximum number of -- configurations to return. -- -- ListFunctionEventInvokeConfigs, -- listFunctionEventInvokeConfigs_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListFunctionEventInvokeConfigs :: Text -> ListFunctionEventInvokeConfigs -- | See: newListFunctionEventInvokeConfigsResponse smart -- constructor. data ListFunctionEventInvokeConfigsResponse ListFunctionEventInvokeConfigsResponse' :: Maybe [FunctionEventInvokeConfig] -> Maybe Text -> Int -> ListFunctionEventInvokeConfigsResponse -- | Create a value of ListFunctionEventInvokeConfigsResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:functionEventInvokeConfigs:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_functionEventInvokeConfigs -- - A list of configurations. -- -- $sel:nextMarker:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionEventInvokeConfigsResponse', -- listFunctionEventInvokeConfigsResponse_httpStatus - The -- response's http status code. newListFunctionEventInvokeConfigsResponse :: Int -> ListFunctionEventInvokeConfigsResponse -- | See: newListFunctionUrlConfigs smart constructor. data ListFunctionUrlConfigs ListFunctionUrlConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionUrlConfigs -- | Create a value of ListFunctionUrlConfigs with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionUrlConfigs', -- listFunctionUrlConfigs_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListFunctionUrlConfigs', -- listFunctionUrlConfigs_maxItems - The maximum number of -- function URLs to return in the response. Note that -- ListFunctionUrlConfigs returns a maximum of 50 items in each -- response, even if you set the number higher. -- -- ListFunctionUrlConfigs, -- listFunctionUrlConfigs_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListFunctionUrlConfigs :: Text -> ListFunctionUrlConfigs -- | See: newListFunctionUrlConfigsResponse smart -- constructor. data ListFunctionUrlConfigsResponse ListFunctionUrlConfigsResponse' :: Maybe Text -> Int -> [FunctionUrlConfig] -> ListFunctionUrlConfigsResponse -- | Create a value of ListFunctionUrlConfigsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_httpStatus - The response's http -- status code. -- -- $sel:functionUrlConfigs:ListFunctionUrlConfigsResponse', -- listFunctionUrlConfigsResponse_functionUrlConfigs - A list of -- function URL configurations. newListFunctionUrlConfigsResponse :: Int -> ListFunctionUrlConfigsResponse -- | See: newListFunctions smart constructor. data ListFunctions ListFunctions' :: Maybe FunctionVersion -> Maybe Text -> Maybe Text -> Maybe Natural -> ListFunctions -- | Create a value of ListFunctions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListFunctions, listFunctions_functionVersion - Set to -- ALL to include entries for all published versions of each -- function. -- -- $sel:marker:ListFunctions', listFunctions_marker - -- Specify the pagination token that's returned by a previous request to -- retrieve the next page of results. -- -- $sel:masterRegion:ListFunctions', -- listFunctions_masterRegion - For Lambda@Edge functions, the -- Amazon Web Services Region of the master function. For example, -- us-east-1 filters the list of functions to include only -- Lambda@Edge functions replicated from a master function in US East (N. -- Virginia). If specified, you must set FunctionVersion to -- ALL. -- -- $sel:maxItems:ListFunctions', listFunctions_maxItems - -- The maximum number of functions to return in the response. Note that -- ListFunctions returns a maximum of 50 items in each response, -- even if you set the number higher. newListFunctions :: ListFunctions -- | A list of Lambda functions. -- -- See: newListFunctionsResponse smart constructor. data ListFunctionsResponse ListFunctionsResponse' :: Maybe [FunctionConfiguration] -> Maybe Text -> Int -> ListFunctionsResponse -- | Create a value of ListFunctionsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functions:ListFunctionsResponse', -- listFunctionsResponse_functions - A list of Lambda functions. -- -- $sel:nextMarker:ListFunctionsResponse', -- listFunctionsResponse_nextMarker - The pagination token that's -- included if more results are available. -- -- $sel:httpStatus:ListFunctionsResponse', -- listFunctionsResponse_httpStatus - The response's http status -- code. newListFunctionsResponse :: Int -> ListFunctionsResponse -- | See: newListFunctionsByCodeSigningConfig smart -- constructor. data ListFunctionsByCodeSigningConfig ListFunctionsByCodeSigningConfig' :: Maybe Text -> Maybe Natural -> Text -> ListFunctionsByCodeSigningConfig -- | Create a value of ListFunctionsByCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListFunctionsByCodeSigningConfig', -- listFunctionsByCodeSigningConfig_marker - Specify the -- pagination token that's returned by a previous request to retrieve the -- next page of results. -- -- $sel:maxItems:ListFunctionsByCodeSigningConfig', -- listFunctionsByCodeSigningConfig_maxItems - Maximum number of -- items to return. -- -- ListFunctionsByCodeSigningConfig, -- listFunctionsByCodeSigningConfig_codeSigningConfigArn - The The -- Amazon Resource Name (ARN) of the code signing configuration. newListFunctionsByCodeSigningConfig :: Text -> ListFunctionsByCodeSigningConfig -- | See: newListFunctionsByCodeSigningConfigResponse smart -- constructor. data ListFunctionsByCodeSigningConfigResponse ListFunctionsByCodeSigningConfigResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse -- | Create a value of ListFunctionsByCodeSigningConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functionArns:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_functionArns - The -- function ARNs. -- -- $sel:nextMarker:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- $sel:httpStatus:ListFunctionsByCodeSigningConfigResponse', -- listFunctionsByCodeSigningConfigResponse_httpStatus - The -- response's http status code. newListFunctionsByCodeSigningConfigResponse :: Int -> ListFunctionsByCodeSigningConfigResponse -- | See: newListLayerVersions smart constructor. data ListLayerVersions ListLayerVersions' :: Maybe Architecture -> Maybe Runtime -> Maybe Text -> Maybe Natural -> Text -> ListLayerVersions -- | Create a value of ListLayerVersions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitecture:ListLayerVersions', -- listLayerVersions_compatibleArchitecture - The compatible -- instruction set architecture. -- -- $sel:compatibleRuntime:ListLayerVersions', -- listLayerVersions_compatibleRuntime - A runtime identifier. For -- example, go1.x. -- -- $sel:marker:ListLayerVersions', listLayerVersions_marker -- - A pagination token returned by a previous call. -- -- $sel:maxItems:ListLayerVersions', -- listLayerVersions_maxItems - The maximum number of versions to -- return. -- -- ListLayerVersions, listLayerVersions_layerName - The -- name or Amazon Resource Name (ARN) of the layer. newListLayerVersions :: Text -> ListLayerVersions -- | See: newListLayerVersionsResponse smart constructor. data ListLayerVersionsResponse ListLayerVersionsResponse' :: Maybe [LayerVersionsListItem] -> Maybe Text -> Int -> ListLayerVersionsResponse -- | Create a value of ListLayerVersionsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:layerVersions:ListLayerVersionsResponse', -- listLayerVersionsResponse_layerVersions - A list of versions. -- -- $sel:nextMarker:ListLayerVersionsResponse', -- listLayerVersionsResponse_nextMarker - A pagination token -- returned when the response doesn't contain all versions. -- -- $sel:httpStatus:ListLayerVersionsResponse', -- listLayerVersionsResponse_httpStatus - The response's http -- status code. newListLayerVersionsResponse :: Int -> ListLayerVersionsResponse -- | See: newListLayers smart constructor. data ListLayers ListLayers' :: Maybe Architecture -> Maybe Runtime -> Maybe Text -> Maybe Natural -> ListLayers -- | Create a value of ListLayers with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitecture:ListLayers', -- listLayers_compatibleArchitecture - The compatible -- instruction set architecture. -- -- $sel:compatibleRuntime:ListLayers', -- listLayers_compatibleRuntime - A runtime identifier. For -- example, go1.x. -- -- $sel:marker:ListLayers', listLayers_marker - A -- pagination token returned by a previous call. -- -- $sel:maxItems:ListLayers', listLayers_maxItems - The -- maximum number of layers to return. newListLayers :: ListLayers -- | See: newListLayersResponse smart constructor. data ListLayersResponse ListLayersResponse' :: Maybe [LayersListItem] -> Maybe Text -> Int -> ListLayersResponse -- | Create a value of ListLayersResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListLayersResponse, listLayersResponse_layers - A list -- of function layers. -- -- $sel:nextMarker:ListLayersResponse', -- listLayersResponse_nextMarker - A pagination token returned -- when the response doesn't contain all layers. -- -- $sel:httpStatus:ListLayersResponse', -- listLayersResponse_httpStatus - The response's http status -- code. newListLayersResponse :: Int -> ListLayersResponse -- | See: newListProvisionedConcurrencyConfigs smart -- constructor. data ListProvisionedConcurrencyConfigs ListProvisionedConcurrencyConfigs' :: Maybe Text -> Maybe Natural -> Text -> ListProvisionedConcurrencyConfigs -- | Create a value of ListProvisionedConcurrencyConfigs with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListProvisionedConcurrencyConfigs', -- listProvisionedConcurrencyConfigs_marker - Specify the -- pagination token that's returned by a previous request to retrieve the -- next page of results. -- -- $sel:maxItems:ListProvisionedConcurrencyConfigs', -- listProvisionedConcurrencyConfigs_maxItems - Specify a number -- to limit the number of configurations returned. -- -- ListProvisionedConcurrencyConfigs, -- listProvisionedConcurrencyConfigs_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListProvisionedConcurrencyConfigs :: Text -> ListProvisionedConcurrencyConfigs -- | See: newListProvisionedConcurrencyConfigsResponse smart -- constructor. data ListProvisionedConcurrencyConfigsResponse ListProvisionedConcurrencyConfigsResponse' :: Maybe Text -> Maybe [ProvisionedConcurrencyConfigListItem] -> Int -> ListProvisionedConcurrencyConfigsResponse -- | Create a value of ListProvisionedConcurrencyConfigsResponse -- with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_nextMarker - The -- pagination token that's included if more results are available. -- -- -- $sel:provisionedConcurrencyConfigs:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_provisionedConcurrencyConfigs -- - A list of provisioned concurrency configurations. -- -- $sel:httpStatus:ListProvisionedConcurrencyConfigsResponse', -- listProvisionedConcurrencyConfigsResponse_httpStatus - The -- response's http status code. newListProvisionedConcurrencyConfigsResponse :: Int -> ListProvisionedConcurrencyConfigsResponse -- | See: newListTags smart constructor. data ListTags ListTags' :: Text -> ListTags -- | Create a value of ListTags with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:ListTags', listTags_resource - The -- function's Amazon Resource Name (ARN). Note: Lambda does not support -- adding tags to aliases or versions. newListTags :: Text -> ListTags -- | See: newListTagsResponse smart constructor. data ListTagsResponse ListTagsResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsResponse -- | Create a value of ListTagsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tags:ListTagsResponse', listTagsResponse_tags - The -- function's tags. -- -- $sel:httpStatus:ListTagsResponse', -- listTagsResponse_httpStatus - The response's http status code. newListTagsResponse :: Int -> ListTagsResponse -- | See: newListVersionsByFunction smart constructor. data ListVersionsByFunction ListVersionsByFunction' :: Maybe Text -> Maybe Natural -> Text -> ListVersionsByFunction -- | Create a value of ListVersionsByFunction with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:marker:ListVersionsByFunction', -- listVersionsByFunction_marker - Specify the pagination token -- that's returned by a previous request to retrieve the next page of -- results. -- -- $sel:maxItems:ListVersionsByFunction', -- listVersionsByFunction_maxItems - The maximum number of -- versions to return. Note that ListVersionsByFunction returns -- a maximum of 50 items in each response, even if you set the number -- higher. -- -- ListVersionsByFunction, -- listVersionsByFunction_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newListVersionsByFunction :: Text -> ListVersionsByFunction -- | See: newListVersionsByFunctionResponse smart -- constructor. data ListVersionsByFunctionResponse ListVersionsByFunctionResponse' :: Maybe Text -> Maybe [FunctionConfiguration] -> Int -> ListVersionsByFunctionResponse -- | Create a value of ListVersionsByFunctionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextMarker:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_nextMarker - The pagination -- token that's included if more results are available. -- -- $sel:versions:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_versions - A list of Lambda -- function versions. -- -- $sel:httpStatus:ListVersionsByFunctionResponse', -- listVersionsByFunctionResponse_httpStatus - The response's http -- status code. newListVersionsByFunctionResponse :: Int -> ListVersionsByFunctionResponse -- | See: newPublishLayerVersion smart constructor. data PublishLayerVersion PublishLayerVersion' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe Text -> Maybe Text -> Text -> LayerVersionContentInput -> PublishLayerVersion -- | Create a value of PublishLayerVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishLayerVersion, -- publishLayerVersion_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- PublishLayerVersion, -- publishLayerVersion_compatibleRuntimes - A list of compatible -- function runtimes. Used for filtering with ListLayers and -- ListLayerVersions. -- -- PublishLayerVersion, publishLayerVersion_description - -- The description of the version. -- -- PublishLayerVersion, publishLayerVersion_licenseInfo - -- The layer's software license. It can be any of the following: -- -- -- -- PublishLayerVersion, publishLayerVersion_layerName - The -- name or Amazon Resource Name (ARN) of the layer. -- -- PublishLayerVersion, publishLayerVersion_content - The -- function layer archive. newPublishLayerVersion :: Text -> LayerVersionContentInput -> PublishLayerVersion -- | See: newPublishLayerVersionResponse smart constructor. data PublishLayerVersionResponse PublishLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Int -> PublishLayerVersionResponse -- | Create a value of PublishLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishLayerVersion, -- publishLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- PublishLayerVersion, -- publishLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- PublishLayerVersion, publishLayerVersionResponse_content -- - Details about the layer version. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_createdDate - The date that the -- layer version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- PublishLayerVersion, -- publishLayerVersionResponse_description - The description of -- the version. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_layerArn - The ARN of the layer. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_layerVersionArn - The ARN of the -- layer version. -- -- PublishLayerVersion, -- publishLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- PublishLayerVersionResponse, -- publishLayerVersionResponse_version - The version number. -- -- $sel:httpStatus:PublishLayerVersionResponse', -- publishLayerVersionResponse_httpStatus - The response's http -- status code. newPublishLayerVersionResponse :: Int -> PublishLayerVersionResponse -- | See: newPublishVersion smart constructor. data PublishVersion PublishVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> PublishVersion -- | Create a value of PublishVersion with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PublishVersion, publishVersion_codeSha256 - Only publish -- a version if the hash value matches the value that's specified. Use -- this option to avoid publishing a version if the function code has -- changed since you last updated it. You can get the hash for the -- version that you uploaded from the output of UpdateFunctionCode. -- -- PublishVersion, publishVersion_description - A -- description for the version to override the description in the -- function configuration. -- -- PublishVersion, publishVersion_revisionId - Only update -- the function if the revision ID matches the ID that's specified. Use -- this option to avoid publishing a version if the function -- configuration has changed since you last updated it. -- -- PublishVersion, publishVersion_functionName - The name -- of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPublishVersion :: Text -> PublishVersion -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newPutFunctionCodeSigningConfig smart constructor. data PutFunctionCodeSigningConfig PutFunctionCodeSigningConfig' :: Text -> Text -> PutFunctionCodeSigningConfig -- | Create a value of PutFunctionCodeSigningConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfig_codeSigningConfigArn - The The -- Amazon Resource Name (ARN) of the code signing configuration. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPutFunctionCodeSigningConfig :: Text -> Text -> PutFunctionCodeSigningConfig -- | See: newPutFunctionCodeSigningConfigResponse smart -- constructor. data PutFunctionCodeSigningConfigResponse PutFunctionCodeSigningConfigResponse' :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse -- | Create a value of PutFunctionCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:PutFunctionCodeSigningConfigResponse', -- putFunctionCodeSigningConfigResponse_httpStatus - The -- response's http status code. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfigResponse_codeSigningConfigArn - The -- The Amazon Resource Name (ARN) of the code signing configuration. -- -- PutFunctionCodeSigningConfig, -- putFunctionCodeSigningConfigResponse_functionName - The name of -- the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newPutFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse -- | See: newPutFunctionConcurrency smart constructor. data PutFunctionConcurrency PutFunctionConcurrency' :: Text -> Natural -> PutFunctionConcurrency -- | Create a value of PutFunctionConcurrency with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionConcurrency, -- putFunctionConcurrency_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- PutFunctionConcurrency, -- putFunctionConcurrency_reservedConcurrentExecutions - The -- number of simultaneous executions to reserve for the function. newPutFunctionConcurrency :: Text -> Natural -> PutFunctionConcurrency -- | See: newConcurrency smart constructor. data Concurrency Concurrency' :: Maybe Natural -> Concurrency -- | Create a value of Concurrency with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:reservedConcurrentExecutions:Concurrency', -- concurrency_reservedConcurrentExecutions - The number of -- concurrent executions that are reserved for this function. For more -- information, see Managing Lambda reserved concurrency. newConcurrency :: Concurrency -- | See: newPutFunctionEventInvokeConfig smart constructor. data PutFunctionEventInvokeConfig PutFunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Natural -> Maybe Natural -> Maybe Text -> Text -> PutFunctionEventInvokeConfig -- | Create a value of PutFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_destinationConfig - A destination -- for events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. -- -- $sel:qualifier:PutFunctionEventInvokeConfig', -- putFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- PutFunctionEventInvokeConfig, -- putFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newPutFunctionEventInvokeConfig :: Text -> PutFunctionEventInvokeConfig -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | See: newPutProvisionedConcurrencyConfig smart -- constructor. data PutProvisionedConcurrencyConfig PutProvisionedConcurrencyConfig' :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig -- | Create a value of PutProvisionedConcurrencyConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutProvisionedConcurrencyConfig, -- putProvisionedConcurrencyConfig_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- $sel:qualifier:PutProvisionedConcurrencyConfig', -- putProvisionedConcurrencyConfig_qualifier - The version number -- or alias name. -- -- -- $sel:provisionedConcurrentExecutions:PutProvisionedConcurrencyConfig', -- putProvisionedConcurrencyConfig_provisionedConcurrentExecutions -- - The amount of provisioned concurrency to allocate for the version or -- alias. newPutProvisionedConcurrencyConfig :: Text -> Text -> Natural -> PutProvisionedConcurrencyConfig -- | See: newPutProvisionedConcurrencyConfigResponse smart -- constructor. data PutProvisionedConcurrencyConfigResponse PutProvisionedConcurrencyConfigResponse' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> Int -> PutProvisionedConcurrencyConfigResponse -- | Create a value of PutProvisionedConcurrencyConfigResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_status - The status of -- the allocation process. -- -- PutProvisionedConcurrencyConfigResponse, -- putProvisionedConcurrencyConfigResponse_statusReason - For -- failed allocations, the reason that provisioned concurrency could not -- be allocated. -- -- $sel:httpStatus:PutProvisionedConcurrencyConfigResponse', -- putProvisionedConcurrencyConfigResponse_httpStatus - The -- response's http status code. newPutProvisionedConcurrencyConfigResponse :: Int -> PutProvisionedConcurrencyConfigResponse -- | See: newRemoveLayerVersionPermission smart constructor. data RemoveLayerVersionPermission RemoveLayerVersionPermission' :: Maybe Text -> Text -> Integer -> Text -> RemoveLayerVersionPermission -- | Create a value of RemoveLayerVersionPermission with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RemoveLayerVersionPermission, -- removeLayerVersionPermission_revisionId - Only update the -- policy if the revision ID matches the ID specified. Use this option to -- avoid modifying a policy that has changed since you last read it. -- -- RemoveLayerVersionPermission, -- removeLayerVersionPermission_layerName - The name or Amazon -- Resource Name (ARN) of the layer. -- -- $sel:versionNumber:RemoveLayerVersionPermission', -- removeLayerVersionPermission_versionNumber - The version -- number. -- -- $sel:statementId:RemoveLayerVersionPermission', -- removeLayerVersionPermission_statementId - The identifier that -- was specified when the statement was added. newRemoveLayerVersionPermission :: Text -> Integer -> Text -> RemoveLayerVersionPermission -- | See: newRemoveLayerVersionPermissionResponse smart -- constructor. data RemoveLayerVersionPermissionResponse RemoveLayerVersionPermissionResponse' :: RemoveLayerVersionPermissionResponse -- | Create a value of RemoveLayerVersionPermissionResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse -- | See: newRemovePermission smart constructor. data RemovePermission RemovePermission' :: Maybe Text -> Maybe Text -> Text -> Text -> RemovePermission -- | Create a value of RemovePermission with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:qualifier:RemovePermission', -- removePermission_qualifier - Specify a version or alias to -- remove permissions from a published version of the function. -- -- RemovePermission, removePermission_revisionId - Update -- the policy only if the revision ID matches the ID that's specified. -- Use this option to avoid modifying a policy that has changed since you -- last read it. -- -- RemovePermission, removePermission_functionName - The -- name of the Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. -- -- $sel:statementId:RemovePermission', -- removePermission_statementId - Statement ID of the permission -- to remove. newRemovePermission :: Text -> Text -> RemovePermission -- | See: newRemovePermissionResponse smart constructor. data RemovePermissionResponse RemovePermissionResponse' :: RemovePermissionResponse -- | Create a value of RemovePermissionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newRemovePermissionResponse :: RemovePermissionResponse -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:TagResource', tagResource_resource - The -- function's Amazon Resource Name (ARN). -- -- $sel:tags:TagResource', tagResource_tags - A list of -- tags to apply to the function. newTagResource :: Text -> TagResource -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: TagResourceResponse -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newTagResourceResponse :: TagResourceResponse -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resource:UntagResource', untagResource_resource - -- The function's Amazon Resource Name (ARN). -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - A -- list of tag keys to remove from the function. newUntagResource :: Text -> UntagResource -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: UntagResourceResponse -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. newUntagResourceResponse :: UntagResourceResponse -- | See: newUpdateAlias smart constructor. data UpdateAlias UpdateAlias' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> Text -> Text -> UpdateAlias -- | Create a value of UpdateAlias with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateAlias, updateAlias_description - A description of -- the alias. -- -- UpdateAlias, updateAlias_functionVersion - The function -- version that the alias invokes. -- -- UpdateAlias, updateAlias_revisionId - Only update the -- alias if the revision ID matches the ID that's specified. Use this -- option to avoid modifying an alias that has changed since you last -- read it. -- -- UpdateAlias, updateAlias_routingConfig - The routing -- configuration of the alias. -- -- UpdateAlias, updateAlias_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. -- -- UpdateAlias, updateAlias_name - The name of the alias. newUpdateAlias :: Text -> Text -> UpdateAlias -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | See: newUpdateCodeSigningConfig smart constructor. data UpdateCodeSigningConfig UpdateCodeSigningConfig' :: Maybe AllowedPublishers -> Maybe CodeSigningPolicies -> Maybe Text -> Text -> UpdateCodeSigningConfig -- | Create a value of UpdateCodeSigningConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_allowedPublishers - Signing profiles -- for this code signing configuration. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_codeSigningPolicies - The code signing -- policy. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_description - Descriptive name for this -- code signing configuration. -- -- UpdateCodeSigningConfig, -- updateCodeSigningConfig_codeSigningConfigArn - The The Amazon -- Resource Name (ARN) of the code signing configuration. newUpdateCodeSigningConfig :: Text -> UpdateCodeSigningConfig -- | See: newUpdateCodeSigningConfigResponse smart -- constructor. data UpdateCodeSigningConfigResponse UpdateCodeSigningConfigResponse' :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse -- | Create a value of UpdateCodeSigningConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateCodeSigningConfigResponse', -- updateCodeSigningConfigResponse_httpStatus - The response's -- http status code. -- -- $sel:codeSigningConfig:UpdateCodeSigningConfigResponse', -- updateCodeSigningConfigResponse_codeSigningConfig - The code -- signing configuration newUpdateCodeSigningConfigResponse :: Int -> CodeSigningConfig -> UpdateCodeSigningConfigResponse -- | See: newUpdateEventSourceMapping smart constructor. data UpdateEventSourceMapping UpdateEventSourceMapping' :: Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Bool -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe [SourceAccessConfiguration] -> Maybe Natural -> Text -> UpdateEventSourceMapping -- | Create a value of UpdateEventSourceMapping with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_batchSize - The maximum number of -- records in each batch that Lambda pulls from your stream or queue and -- sends to your function. Lambda passes all of the records in the batch -- to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_bisectBatchOnFunctionError - (Streams -- only) If the function returns an error, split the batch in two and -- retry. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_destinationConfig - (Streams only) An -- Amazon SQS queue or Amazon SNS topic destination for discarded -- records. -- -- $sel:enabled:UpdateEventSourceMapping', -- updateEventSourceMapping_enabled - When true, the event source -- mapping is active. When false, Lambda pauses polling and invocation. -- -- Default: True -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it's limited to 64 characters in length. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_functionResponseTypes - (Streams and -- Amazon SQS) A list of current response type enums applied to the event -- source mapping. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumBatchingWindowInSeconds - The -- maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumRecordAgeInSeconds - (Streams -- only) Discard records older than the specified age. The default value -- is infinite (-1). -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_maximumRetryAttempts - (Streams only) -- Discard records after the specified number of retries. The default -- value is infinite (-1). When set to infinite (-1), failed records are -- retried until the record expires. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_parallelizationFactor - (Streams only) -- The number of batches to process from each shard concurrently. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_sourceAccessConfigurations - An array -- of authentication protocols or VPC components required to secure your -- event source. -- -- UpdateEventSourceMapping, -- updateEventSourceMapping_tumblingWindowInSeconds - (Streams -- only) The duration in seconds of a processing window. The range is -- between 1 second and 900 seconds. -- -- UpdateEventSourceMapping, updateEventSourceMapping_uuid -- - The identifier of the event source mapping. newUpdateEventSourceMapping :: Text -> UpdateEventSourceMapping -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | See: newUpdateFunctionCode smart constructor. data UpdateFunctionCode UpdateFunctionCode' :: Maybe (NonEmpty Architecture) -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> Text -> UpdateFunctionCode -- | Create a value of UpdateFunctionCode with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionCode, updateFunctionCode_architectures - -- The instruction set architecture that the function supports. Enter a -- string array with one of the valid values (arm64 or x86_64). The -- default value is x86_64. -- -- $sel:dryRun:UpdateFunctionCode', -- updateFunctionCode_dryRun - Set to true to validate the request -- parameters and access permissions without modifying the function code. -- -- UpdateFunctionCode, updateFunctionCode_imageUri - URI of -- a container image in the Amazon ECR registry. Do not use for a -- function defined with a .zip file archive. -- -- $sel:publish:UpdateFunctionCode', -- updateFunctionCode_publish - Set to true to publish a new -- version of the function after updating the code. This has the same -- effect as calling PublishVersion separately. -- -- UpdateFunctionCode, updateFunctionCode_revisionId - -- Update the function only if the revision ID matches the ID that's -- specified. Use this option to avoid modifying a function that has -- changed since you last read it. -- -- UpdateFunctionCode, updateFunctionCode_s3Bucket - An -- Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. Use only with a function defined with a .zip file archive -- deployment package. -- -- UpdateFunctionCode, updateFunctionCode_s3Key - The -- Amazon S3 key of the deployment package. Use only with a function -- defined with a .zip file archive deployment package. -- -- UpdateFunctionCode, updateFunctionCode_s3ObjectVersion - -- For versioned objects, the version of the deployment package object to -- use. -- -- UpdateFunctionCode, updateFunctionCode_zipFile - The -- base64-encoded contents of the deployment package. Amazon Web Services -- SDK and CLI clients handle the encoding for you. Use only with a -- function defined with a .zip file archive deployment package.-- -- -- Note: This Lens automatically encodes and decodes -- Base64 data. -- The underlying isomorphism will encode to Base64 -- representation during -- serialisation, and decode from Base64 -- representation during deserialisation. -- This Lens accepts -- and returns only raw unencoded data. -- -- UpdateFunctionCode, updateFunctionCode_functionName - -- The name of the Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionCode :: Text -> UpdateFunctionCode -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newUpdateFunctionConfiguration smart constructor. data UpdateFunctionConfiguration UpdateFunctionConfiguration' :: Maybe DeadLetterConfig -> Maybe Text -> Maybe Environment -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe ImageConfig -> Maybe Text -> Maybe [Text] -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe SnapStart -> Maybe Natural -> Maybe TracingConfig -> Maybe VpcConfig -> Text -> UpdateFunctionConfiguration -- | Create a value of UpdateFunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_deadLetterConfig - A dead-letter -- queue configuration that specifies the queue or topic where Lambda -- sends asynchronous events when they fail processing. For more -- information, see Dead-letter queues. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_description - A description of the -- function. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_environment - Environment variables -- that are accessible from function code during execution. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_ephemeralStorage - The size of the -- function's /tmp directory in MB. The default value is 512, -- but can be any whole number between 512 and 10,240 MB. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_fileSystemConfigs - Connection -- settings for an Amazon EFS file system. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_handler - The name of the method -- within your code that Lambda calls to run your function. Handler is -- required if the deployment package is a .zip file archive. The format -- includes the file name. It can also include namespaces and other -- qualifiers, depending on the runtime. For more information, see -- Lambda programming model. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_imageConfig - Container image -- configuration values that override the values in the container -- image Docker file. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_kmsKeyArn - The ARN of the Key -- Management Service (KMS) key that's used to encrypt your function's -- environment variables. If it's not provided, Lambda uses a default -- service key. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_layers - A list of function -- layers to add to the function's execution environment. Specify -- each layer by its ARN, including the version. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_memorySize - The amount of -- memory available to the function at runtime. Increasing the -- function memory also increases its CPU allocation. The default value -- is 128 MB. The value can be any multiple of 1 MB. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_revisionId - Update the function -- only if the revision ID matches the ID that's specified. Use this -- option to avoid modifying a function that has changed since you last -- read it. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_role - The Amazon Resource Name -- (ARN) of the function's execution role. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_runtime - The identifier of the -- function's runtime. Runtime is required if the deployment -- package is a .zip file archive. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_snapStart - The function's -- SnapStart setting. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_timeout - The amount of time (in -- seconds) that Lambda allows a function to run before stopping it. The -- default is 3 seconds. The maximum allowed value is 900 seconds. For -- more information, see Lambda execution environment. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_tracingConfig - Set Mode -- to Active to sample and trace a subset of incoming requests -- with X-Ray. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_vpcConfig - For network -- connectivity to Amazon Web Services resources in a VPC, specify a list -- of security groups and subnets in the VPC. When you connect a function -- to a VPC, it can access resources and the internet only through that -- VPC. For more information, see Configuring a Lambda function to -- access resources in a VPC. -- -- UpdateFunctionConfiguration, -- updateFunctionConfiguration_functionName - The name of the -- Lambda function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionConfiguration :: Text -> UpdateFunctionConfiguration -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newUpdateFunctionEventInvokeConfig smart -- constructor. data UpdateFunctionEventInvokeConfig UpdateFunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Natural -> Maybe Natural -> Maybe Text -> Text -> UpdateFunctionEventInvokeConfig -- | Create a value of UpdateFunctionEventInvokeConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_destinationConfig - A -- destination for events after they have been sent to a function for -- processing. -- -- Destinations -- -- -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_maximumRetryAttempts - The -- maximum number of times to retry when the function returns an error. -- -- $sel:qualifier:UpdateFunctionEventInvokeConfig', -- updateFunctionEventInvokeConfig_qualifier - A version number or -- alias name. -- -- UpdateFunctionEventInvokeConfig, -- updateFunctionEventInvokeConfig_functionName - The name of the -- Lambda function, version, or alias. -- -- Name formats -- -- -- -- You can append a version number or alias to any of the formats. The -- length constraint applies only to the full ARN. If you specify only -- the function name, it is limited to 64 characters in length. newUpdateFunctionEventInvokeConfig :: Text -> UpdateFunctionEventInvokeConfig -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | See: newUpdateFunctionUrlConfig smart constructor. data UpdateFunctionUrlConfig UpdateFunctionUrlConfig' :: Maybe FunctionUrlAuthType -> Maybe Cors -> Maybe Text -> Text -> UpdateFunctionUrlConfig -- | Create a value of UpdateFunctionUrlConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfig_authType - The type of authentication -- that your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. -- -- UpdateFunctionUrlConfig, updateFunctionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:qualifier:UpdateFunctionUrlConfig', -- updateFunctionUrlConfig_qualifier - The alias name. -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfig_functionName - The name of the Lambda -- function. -- -- Name formats -- -- -- -- The length constraint applies only to the full ARN. If you specify -- only the function name, it is limited to 64 characters in length. newUpdateFunctionUrlConfig :: Text -> UpdateFunctionUrlConfig -- | See: newUpdateFunctionUrlConfigResponse smart -- constructor. data UpdateFunctionUrlConfigResponse UpdateFunctionUrlConfigResponse' :: Maybe Cors -> Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> UpdateFunctionUrlConfigResponse -- | Create a value of UpdateFunctionUrlConfigResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfigResponse_cors - The cross-origin -- resource sharing (CORS) settings for your function URL. -- -- $sel:httpStatus:UpdateFunctionUrlConfigResponse', -- updateFunctionUrlConfigResponse_httpStatus - The response's -- http status code. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_functionUrl - The HTTP URL -- endpoint for your function. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_functionArn - The Amazon -- Resource Name (ARN) of your function. -- -- UpdateFunctionUrlConfig, -- updateFunctionUrlConfigResponse_authType - The type of -- authentication that your function URL uses. Set to AWS_IAM if -- you want to restrict access to authenticated IAM users only. Set to -- NONE if you want to bypass IAM authentication to create a -- public endpoint. For more information, see Security and auth model -- for Lambda function URLs. -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_creationTime - When the -- function URL was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- UpdateFunctionUrlConfigResponse, -- updateFunctionUrlConfigResponse_lastModifiedTime - When the -- function URL configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). newUpdateFunctionUrlConfigResponse :: Int -> Text -> Text -> FunctionUrlAuthType -> Text -> Text -> UpdateFunctionUrlConfigResponse newtype Architecture Architecture' :: Text -> Architecture [fromArchitecture] :: Architecture -> Text pattern Architecture_Arm64 :: Architecture pattern Architecture_X86_64 :: Architecture newtype CodeSigningPolicy CodeSigningPolicy' :: Text -> CodeSigningPolicy [fromCodeSigningPolicy] :: CodeSigningPolicy -> Text pattern CodeSigningPolicy_Enforce :: CodeSigningPolicy pattern CodeSigningPolicy_Warn :: CodeSigningPolicy newtype EndPointType EndPointType' :: Text -> EndPointType [fromEndPointType] :: EndPointType -> Text pattern EndPointType_KAFKA_BOOTSTRAP_SERVERS :: EndPointType newtype EventSourcePosition EventSourcePosition' :: Text -> EventSourcePosition [fromEventSourcePosition] :: EventSourcePosition -> Text pattern EventSourcePosition_AT_TIMESTAMP :: EventSourcePosition pattern EventSourcePosition_LATEST :: EventSourcePosition pattern EventSourcePosition_TRIM_HORIZON :: EventSourcePosition newtype FunctionResponseType FunctionResponseType' :: Text -> FunctionResponseType [fromFunctionResponseType] :: FunctionResponseType -> Text pattern FunctionResponseType_ReportBatchItemFailures :: FunctionResponseType newtype FunctionUrlAuthType FunctionUrlAuthType' :: Text -> FunctionUrlAuthType [fromFunctionUrlAuthType] :: FunctionUrlAuthType -> Text pattern FunctionUrlAuthType_AWS_IAM :: FunctionUrlAuthType pattern FunctionUrlAuthType_NONE :: FunctionUrlAuthType newtype FunctionVersion FunctionVersion' :: Text -> FunctionVersion [fromFunctionVersion] :: FunctionVersion -> Text pattern FunctionVersion_ALL :: FunctionVersion newtype InvocationType InvocationType' :: Text -> InvocationType [fromInvocationType] :: InvocationType -> Text pattern InvocationType_DryRun :: InvocationType pattern InvocationType_Event :: InvocationType pattern InvocationType_RequestResponse :: InvocationType newtype LastUpdateStatus LastUpdateStatus' :: Text -> LastUpdateStatus [fromLastUpdateStatus] :: LastUpdateStatus -> Text pattern LastUpdateStatus_Failed :: LastUpdateStatus pattern LastUpdateStatus_InProgress :: LastUpdateStatus pattern LastUpdateStatus_Successful :: LastUpdateStatus newtype LastUpdateStatusReasonCode LastUpdateStatusReasonCode' :: Text -> LastUpdateStatusReasonCode [fromLastUpdateStatusReasonCode] :: LastUpdateStatusReasonCode -> Text pattern LastUpdateStatusReasonCode_DisabledKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSIOError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountConnectivityError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountFailure :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EFSMountTimeout :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_FunctionError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidRuntime :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidStateKMSKey :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_InvalidZipFileException :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyAccessDenied :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_KMSKeyNotFound :: LastUpdateStatusReasonCode pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode newtype LogType LogType' :: Text -> LogType [fromLogType] :: LogType -> Text pattern LogType_None :: LogType pattern LogType_Tail :: LogType newtype PackageType PackageType' :: Text -> PackageType [fromPackageType] :: PackageType -> Text pattern PackageType_Image :: PackageType pattern PackageType_Zip :: PackageType newtype ProvisionedConcurrencyStatusEnum ProvisionedConcurrencyStatusEnum' :: Text -> ProvisionedConcurrencyStatusEnum [fromProvisionedConcurrencyStatusEnum] :: ProvisionedConcurrencyStatusEnum -> Text pattern ProvisionedConcurrencyStatusEnum_FAILED :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_IN_PROGRESS :: ProvisionedConcurrencyStatusEnum pattern ProvisionedConcurrencyStatusEnum_READY :: ProvisionedConcurrencyStatusEnum newtype Runtime Runtime' :: Text -> Runtime [fromRuntime] :: Runtime -> Text pattern Runtime_Dotnet6 :: Runtime pattern Runtime_Dotnetcore1_0 :: Runtime pattern Runtime_Dotnetcore2_0 :: Runtime pattern Runtime_Dotnetcore2_1 :: Runtime pattern Runtime_Dotnetcore3_1 :: Runtime pattern Runtime_Go1_x :: Runtime pattern Runtime_Java11 :: Runtime pattern Runtime_Java8 :: Runtime pattern Runtime_Java8_al2 :: Runtime pattern Runtime_Nodejs :: Runtime pattern Runtime_Nodejs10_x :: Runtime pattern Runtime_Nodejs12_x :: Runtime pattern Runtime_Nodejs14_x :: Runtime pattern Runtime_Nodejs16_x :: Runtime pattern Runtime_Nodejs18_x :: Runtime pattern Runtime_Nodejs4_3 :: Runtime pattern Runtime_Nodejs4_3_edge :: Runtime pattern Runtime_Nodejs6_10 :: Runtime pattern Runtime_Nodejs8_10 :: Runtime pattern Runtime_Provided :: Runtime pattern Runtime_Provided_al2 :: Runtime pattern Runtime_Python2_7 :: Runtime pattern Runtime_Python3_6 :: Runtime pattern Runtime_Python3_7 :: Runtime pattern Runtime_Python3_8 :: Runtime pattern Runtime_Python3_9 :: Runtime pattern Runtime_Ruby2_5 :: Runtime pattern Runtime_Ruby2_7 :: Runtime newtype SnapStartApplyOn SnapStartApplyOn' :: Text -> SnapStartApplyOn [fromSnapStartApplyOn] :: SnapStartApplyOn -> Text pattern SnapStartApplyOn_None :: SnapStartApplyOn pattern SnapStartApplyOn_PublishedVersions :: SnapStartApplyOn newtype SnapStartOptimizationStatus SnapStartOptimizationStatus' :: Text -> SnapStartOptimizationStatus [fromSnapStartOptimizationStatus] :: SnapStartOptimizationStatus -> Text pattern SnapStartOptimizationStatus_Off :: SnapStartOptimizationStatus pattern SnapStartOptimizationStatus_On :: SnapStartOptimizationStatus newtype SourceAccessType SourceAccessType' :: Text -> SourceAccessType [fromSourceAccessType] :: SourceAccessType -> Text pattern SourceAccessType_BASIC_AUTH :: SourceAccessType pattern SourceAccessType_CLIENT_CERTIFICATE_TLS_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_256_AUTH :: SourceAccessType pattern SourceAccessType_SASL_SCRAM_512_AUTH :: SourceAccessType pattern SourceAccessType_SERVER_ROOT_CA_CERTIFICATE :: SourceAccessType pattern SourceAccessType_VIRTUAL_HOST :: SourceAccessType pattern SourceAccessType_VPC_SECURITY_GROUP :: SourceAccessType pattern SourceAccessType_VPC_SUBNET :: SourceAccessType newtype State State' :: Text -> State [fromState] :: State -> Text pattern State_Active :: State pattern State_Failed :: State pattern State_Inactive :: State pattern State_Pending :: State newtype StateReasonCode StateReasonCode' :: Text -> StateReasonCode [fromStateReasonCode] :: StateReasonCode -> Text pattern StateReasonCode_Creating :: StateReasonCode pattern StateReasonCode_DisabledKMSKey :: StateReasonCode pattern StateReasonCode_EFSIOError :: StateReasonCode pattern StateReasonCode_EFSMountConnectivityError :: StateReasonCode pattern StateReasonCode_EFSMountFailure :: StateReasonCode pattern StateReasonCode_EFSMountTimeout :: StateReasonCode pattern StateReasonCode_EniLimitExceeded :: StateReasonCode pattern StateReasonCode_FunctionError :: StateReasonCode pattern StateReasonCode_Idle :: StateReasonCode pattern StateReasonCode_ImageAccessDenied :: StateReasonCode pattern StateReasonCode_ImageDeleted :: StateReasonCode pattern StateReasonCode_InsufficientRolePermissions :: StateReasonCode pattern StateReasonCode_InternalError :: StateReasonCode pattern StateReasonCode_InvalidConfiguration :: StateReasonCode pattern StateReasonCode_InvalidImage :: StateReasonCode pattern StateReasonCode_InvalidRuntime :: StateReasonCode pattern StateReasonCode_InvalidSecurityGroup :: StateReasonCode pattern StateReasonCode_InvalidStateKMSKey :: StateReasonCode pattern StateReasonCode_InvalidSubnet :: StateReasonCode pattern StateReasonCode_InvalidZipFileException :: StateReasonCode pattern StateReasonCode_KMSKeyAccessDenied :: StateReasonCode pattern StateReasonCode_KMSKeyNotFound :: StateReasonCode pattern StateReasonCode_Restoring :: StateReasonCode pattern StateReasonCode_SubnetOutOfIPAddresses :: StateReasonCode newtype TracingMode TracingMode' :: Text -> TracingMode [fromTracingMode] :: TracingMode -> Text pattern TracingMode_Active :: TracingMode pattern TracingMode_PassThrough :: TracingMode -- | Limits that are related to concurrency and storage. All file and -- storage sizes are in bytes. -- -- See: newAccountLimit smart constructor. data AccountLimit AccountLimit' :: Maybe Integer -> Maybe Integer -> Maybe Int -> Maybe Integer -> Maybe Natural -> AccountLimit -- | Create a value of AccountLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSizeUnzipped:AccountLimit', -- accountLimit_codeSizeUnzipped - The maximum size of a -- function's deployment package and layers when they're extracted. -- -- $sel:codeSizeZipped:AccountLimit', -- accountLimit_codeSizeZipped - The maximum size of a deployment -- package when it's uploaded directly to Lambda. Use Amazon S3 for -- larger files. -- -- $sel:concurrentExecutions:AccountLimit', -- accountLimit_concurrentExecutions - The maximum number of -- simultaneous function executions. -- -- $sel:totalCodeSize:AccountLimit', -- accountLimit_totalCodeSize - The amount of storage space that -- you can use for all deployment packages and layer archives. -- -- $sel:unreservedConcurrentExecutions:AccountLimit', -- accountLimit_unreservedConcurrentExecutions - The maximum -- number of simultaneous function executions, minus the capacity that's -- reserved for individual functions with PutFunctionConcurrency. newAccountLimit :: AccountLimit -- | The number of functions and amount of storage in use. -- -- See: newAccountUsage smart constructor. data AccountUsage AccountUsage' :: Maybe Integer -> Maybe Integer -> AccountUsage -- | Create a value of AccountUsage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:functionCount:AccountUsage', -- accountUsage_functionCount - The number of Lambda functions. -- -- $sel:totalCodeSize:AccountUsage', -- accountUsage_totalCodeSize - The amount of storage space, in -- bytes, that's being used by deployment packages and layer archives. newAccountUsage :: AccountUsage -- | Provides configuration information about a Lambda function -- alias. -- -- See: newAliasConfiguration smart constructor. data AliasConfiguration AliasConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AliasRoutingConfiguration -> AliasConfiguration -- | Create a value of AliasConfiguration with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aliasArn:AliasConfiguration', -- aliasConfiguration_aliasArn - The Amazon Resource Name (ARN) of -- the alias. -- -- $sel:description:AliasConfiguration', -- aliasConfiguration_description - A description of the alias. -- -- $sel:functionVersion:AliasConfiguration', -- aliasConfiguration_functionVersion - The function version that -- the alias invokes. -- -- $sel:name:AliasConfiguration', aliasConfiguration_name - -- The name of the alias. -- -- $sel:revisionId:AliasConfiguration', -- aliasConfiguration_revisionId - A unique identifier that -- changes when you update the alias. -- -- $sel:routingConfig:AliasConfiguration', -- aliasConfiguration_routingConfig - The routing -- configuration of the alias. newAliasConfiguration :: AliasConfiguration -- | The traffic-shifting configuration of a Lambda function alias. -- -- See: newAliasRoutingConfiguration smart constructor. data AliasRoutingConfiguration AliasRoutingConfiguration' :: Maybe (HashMap Text Double) -> AliasRoutingConfiguration -- | 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. newAliasRoutingConfiguration :: AliasRoutingConfiguration -- | List of signing profiles that can sign a code package. -- -- See: newAllowedPublishers smart constructor. data AllowedPublishers AllowedPublishers' :: NonEmpty Text -> AllowedPublishers -- | 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. newAllowedPublishers :: NonEmpty Text -> AllowedPublishers -- | Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- See: newAmazonManagedKafkaEventSourceConfig smart -- constructor. data AmazonManagedKafkaEventSourceConfig AmazonManagedKafkaEventSourceConfig' :: Maybe Text -> AmazonManagedKafkaEventSourceConfig -- | Create a value of AmazonManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:AmazonManagedKafkaEventSourceConfig', -- amazonManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newAmazonManagedKafkaEventSourceConfig :: AmazonManagedKafkaEventSourceConfig -- | Details about a Code signing configuration. -- -- See: newCodeSigningConfig smart constructor. data CodeSigningConfig CodeSigningConfig' :: Maybe Text -> 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). newCodeSigningConfig :: Text -> Text -> AllowedPublishers -> CodeSigningPolicies -> Text -> CodeSigningConfig -- | Code signing configuration policies specify the validation -- failure action for signature mismatch or expiry. -- -- See: newCodeSigningPolicies smart constructor. data CodeSigningPolicies CodeSigningPolicies' :: Maybe CodeSigningPolicy -> CodeSigningPolicies -- | 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 newCodeSigningPolicies :: CodeSigningPolicies -- | See: newConcurrency smart constructor. data Concurrency Concurrency' :: Maybe Natural -> Concurrency -- | Create a value of Concurrency with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:reservedConcurrentExecutions:Concurrency', -- concurrency_reservedConcurrentExecutions - The number of -- concurrent executions that are reserved for this function. For more -- information, see Managing Lambda reserved concurrency. newConcurrency :: Concurrency -- | The cross-origin resource sharing (CORS) settings for your -- Lambda function URL. Use CORS to grant access to your function URL -- from any origin. You can also use CORS to control access for specific -- HTTP headers and methods in requests to your function URL. -- -- See: newCors smart constructor. data Cors Cors' :: Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Natural -> Cors -- | Create a value of Cors with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:allowCredentials:Cors', cors_allowCredentials - -- Whether to allow cookies or other credentials in requests to your -- function URL. The default is false. -- -- $sel:allowHeaders:Cors', cors_allowHeaders - The HTTP -- headers that origins can include in requests to your function URL. For -- example: Date, Keep-Alive, X-Custom-Header. -- -- $sel:allowMethods:Cors', cors_allowMethods - The HTTP -- methods that are allowed when calling your function URL. For example: -- GET, POST, DELETE, or the wildcard -- character (*). -- -- $sel:allowOrigins:Cors', cors_allowOrigins - The origins -- that can access your function URL. You can list any number of specific -- origins, separated by a comma. For example: -- https://www.example.com, http://localhost:60905. -- -- Alternatively, you can grant access to all origins using the wildcard -- character (*). -- -- $sel:exposeHeaders:Cors', cors_exposeHeaders - The HTTP -- headers in your function response that you want to expose to origins -- that call your function URL. For example: Date, -- Keep-Alive, X-Custom-Header. -- -- $sel:maxAge:Cors', cors_maxAge - The maximum amount of -- time, in seconds, that web browsers can cache results of a preflight -- request. By default, this is set to 0, which means that the -- browser doesn't cache results. newCors :: Cors -- | The dead-letter queue for failed asynchronous invocations. -- -- See: newDeadLetterConfig smart constructor. data DeadLetterConfig DeadLetterConfig' :: Maybe Text -> DeadLetterConfig -- | 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. newDeadLetterConfig :: DeadLetterConfig -- | A configuration object that specifies the destination of an event -- after Lambda processes it. -- -- See: newDestinationConfig smart constructor. data DestinationConfig DestinationConfig' :: Maybe OnFailure -> Maybe OnSuccess -> DestinationConfig -- | Create a value of DestinationConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:onFailure:DestinationConfig', -- destinationConfig_onFailure - The destination configuration for -- failed invocations. -- -- $sel:onSuccess:DestinationConfig', -- destinationConfig_onSuccess - The destination configuration for -- successful invocations. newDestinationConfig :: DestinationConfig -- | 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. data Environment Environment' :: Maybe (Sensitive (HashMap Text (Sensitive Text))) -> Environment -- | 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. newEnvironment :: Environment -- | Error messages for environment variables that couldn't be applied. -- -- See: newEnvironmentError smart constructor. data EnvironmentError EnvironmentError' :: Maybe Text -> Maybe (Sensitive Text) -> EnvironmentError -- | 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. newEnvironmentError :: EnvironmentError -- | The results of an operation to update or read environment variables. -- If the operation succeeds, the response contains the environment -- variables. If it fails, the response contains details about the error. -- -- See: newEnvironmentResponse smart constructor. data EnvironmentResponse EnvironmentResponse' :: Maybe EnvironmentError -> Maybe (Sensitive (HashMap Text (Sensitive Text))) -> EnvironmentResponse -- | Create a value of EnvironmentResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:EnvironmentResponse', -- environmentResponse_error - Error messages for environment -- variables that couldn't be applied. -- -- $sel:variables:EnvironmentResponse', -- environmentResponse_variables - Environment variable key-value -- pairs. Omitted from CloudTrail logs. newEnvironmentResponse :: EnvironmentResponse -- | The size of the function's /tmp directory in MB. The default -- value is 512, but it can be any whole number between 512 and 10,240 -- MB. -- -- See: newEphemeralStorage smart constructor. data EphemeralStorage EphemeralStorage' :: Natural -> EphemeralStorage -- | Create a value of EphemeralStorage with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:size:EphemeralStorage', ephemeralStorage_size - The -- size of the function's /tmp directory. newEphemeralStorage :: Natural -> EphemeralStorage -- | A mapping between an Amazon Web Services resource and a Lambda -- function. For details, see CreateEventSourceMapping. -- -- See: newEventSourceMappingConfiguration smart -- constructor. data EventSourceMappingConfiguration EventSourceMappingConfiguration' :: Maybe AmazonManagedKafkaEventSourceConfig -> Maybe Natural -> Maybe Bool -> Maybe DestinationConfig -> Maybe Text -> Maybe FilterCriteria -> Maybe Text -> Maybe [FunctionResponseType] -> Maybe POSIX -> Maybe Text -> Maybe Natural -> Maybe Int -> Maybe Int -> Maybe Natural -> Maybe (NonEmpty Text) -> Maybe SelfManagedEventSource -> Maybe SelfManagedKafkaEventSourceConfig -> Maybe [SourceAccessConfiguration] -> Maybe EventSourcePosition -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Natural -> Maybe Text -> EventSourceMappingConfiguration -- | Create a value of EventSourceMappingConfiguration with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:amazonManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_amazonManagedKafkaEventSourceConfig -- - Specific configuration settings for an Amazon Managed Streaming for -- Apache Kafka (Amazon MSK) event source. -- -- $sel:batchSize:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_batchSize - The maximum number -- of records in each batch that Lambda pulls from your stream or queue -- and sends to your function. Lambda passes all of the records in the -- batch to the function in a single call, up to the payload limit for -- synchronous invocation (6 MB). -- -- Default value: Varies by service. For Amazon SQS, the default is 10. -- For all other services, the default is 100. -- -- Related setting: When you set BatchSize to a value greater -- than 10, you must set MaximumBatchingWindowInSeconds to at -- least 1. -- -- -- $sel:bisectBatchOnFunctionError:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_bisectBatchOnFunctionError - -- (Streams only) If the function returns an error, split the batch in -- two and retry. The default value is false. -- -- $sel:destinationConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_destinationConfig - (Streams -- only) An Amazon SQS queue or Amazon SNS topic destination for -- discarded records. -- -- $sel:eventSourceArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_eventSourceArn - The Amazon -- Resource Name (ARN) of the event source. -- -- $sel:filterCriteria:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_filterCriteria - An object that -- defines the filter criteria that determine whether Lambda should -- process an event. For more information, see Lambda event -- filtering. -- -- $sel:functionArn:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionArn - The ARN of the -- Lambda function. -- -- $sel:functionResponseTypes:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_functionResponseTypes - -- (Streams and Amazon SQS) A list of current response type enums applied -- to the event source mapping. -- -- $sel:lastModified:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastModified - The date that -- the event source mapping was last updated or that its state changed. -- -- $sel:lastProcessingResult:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_lastProcessingResult - The -- result of the last Lambda invocation of your function. -- -- -- $sel:maximumBatchingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumBatchingWindowInSeconds -- - The maximum amount of time, in seconds, that Lambda spends gathering -- records before invoking the function. You can configure -- MaximumBatchingWindowInSeconds to any value from 0 seconds to -- 300 seconds in increments of seconds. -- -- For streams and Amazon SQS event sources, the default batching window -- is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ -- event sources, the default batching window is 500 ms. Note that -- because you can only change MaximumBatchingWindowInSeconds in -- increments of seconds, you cannot revert back to the 500 ms default -- batching window after you have changed it. To restore the default -- batching window, you must create a new event source mapping. -- -- Related setting: For streams and Amazon SQS event sources, when you -- set BatchSize to a value greater than 10, you must set -- MaximumBatchingWindowInSeconds to at least 1. -- -- -- $sel:maximumRecordAgeInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRecordAgeInSeconds - -- (Streams only) Discard records older than the specified age. The -- default value is -1, which sets the maximum age to infinite. When the -- value is set to infinite, Lambda never discards old records. -- -- $sel:maximumRetryAttempts:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_maximumRetryAttempts - (Streams -- only) Discard records after the specified number of retries. The -- default value is -1, which sets the maximum number of retries to -- infinite. When MaximumRetryAttempts is infinite, Lambda retries failed -- records until the record expires in the event source. -- -- $sel:parallelizationFactor:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_parallelizationFactor - -- (Streams only) The number of batches to process concurrently from each -- shard. The default value is 1. -- -- $sel:queues:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_queues - (Amazon MQ) The name -- of the Amazon MQ broker destination queue to consume. -- -- $sel:selfManagedEventSource:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedEventSource - The -- self-managed Apache Kafka cluster for your event source. -- -- -- $sel:selfManagedKafkaEventSourceConfig:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_selfManagedKafkaEventSourceConfig -- - Specific configuration settings for a self-managed Apache Kafka -- event source. -- -- -- $sel:sourceAccessConfigurations:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_sourceAccessConfigurations - An -- array of the authentication protocol, VPC components, or virtual host -- to secure and define your event source. -- -- $sel:startingPosition:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPosition - The position -- in a stream from which to start reading. Required for Amazon Kinesis, -- Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP -- is supported only for Amazon Kinesis streams. -- -- -- $sel:startingPositionTimestamp:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_startingPositionTimestamp - -- With StartingPosition set to AT_TIMESTAMP, the time -- from which to start reading. -- -- $sel:state:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_state - The state of the event -- source mapping. It can be one of the following: Creating, -- Enabling, Enabled, Disabling, -- Disabled, Updating, or Deleting. -- -- $sel:stateTransitionReason:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_stateTransitionReason - -- Indicates whether a user or Lambda made the last change to the event -- source mapping. -- -- $sel:topics:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_topics - The name of the Kafka -- topic. -- -- $sel:tumblingWindowInSeconds:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_tumblingWindowInSeconds - -- (Streams only) The duration in seconds of a processing window. The -- range is 1–900 seconds. -- -- $sel:uuid:EventSourceMappingConfiguration', -- eventSourceMappingConfiguration_uuid - The identifier of the -- event source mapping. newEventSourceMappingConfiguration :: EventSourceMappingConfiguration -- | Details about the connection between a Lambda function and an -- Amazon EFS file system. -- -- See: newFileSystemConfig smart constructor. data FileSystemConfig FileSystemConfig' :: Text -> Text -> FileSystemConfig -- | Create a value of FileSystemConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:FileSystemConfig', fileSystemConfig_arn - The -- Amazon Resource Name (ARN) of the Amazon EFS access point that -- provides access to the file system. -- -- $sel:localMountPath:FileSystemConfig', -- fileSystemConfig_localMountPath - The path where the function -- can access the file system, starting with /mnt/. newFileSystemConfig :: Text -> Text -> FileSystemConfig -- | A structure within a FilterCriteria object that defines an -- event filtering pattern. -- -- See: newFilter smart constructor. data Filter Filter' :: Maybe Text -> Filter -- | Create a value of Filter with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pattern':Filter', filter_pattern - A filter -- pattern. For more information on the syntax of a filter pattern, see -- Filter rule syntax. newFilter :: Filter -- | An object that contains the filters for an event source. -- -- See: newFilterCriteria smart constructor. data FilterCriteria FilterCriteria' :: Maybe [Filter] -> FilterCriteria -- | Create a value of FilterCriteria with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:filters:FilterCriteria', filterCriteria_filters - A -- list of filters. newFilterCriteria :: FilterCriteria -- | The code for the Lambda function. You can either specify an object in -- Amazon S3, upload a .zip file archive deployment package directly, or -- specify the URI of a container image. -- -- See: newFunctionCode smart constructor. data FunctionCode FunctionCode' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> FunctionCode -- | Create a value of FunctionCode with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCode', functionCode_imageUri - URI -- of a container image in the Amazon ECR registry. -- -- $sel:s3Bucket:FunctionCode', functionCode_s3Bucket - An -- Amazon S3 bucket in the same Amazon Web Services Region as your -- function. The bucket can be in a different Amazon Web Services -- account. -- -- $sel:s3Key:FunctionCode', functionCode_s3Key - The -- Amazon S3 key of the deployment package. -- -- $sel:s3ObjectVersion:FunctionCode', -- functionCode_s3ObjectVersion - For versioned objects, the -- version of the deployment package object to use. -- -- $sel:zipFile:FunctionCode', functionCode_zipFile - The -- base64-encoded contents of the deployment package. Amazon Web Services -- SDK and CLI clients handle the encoding for you.-- -- Note: -- This Lens automatically encodes and decodes Base64 data. -- -- The underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newFunctionCode :: FunctionCode -- | Details about a function's deployment package. -- -- See: newFunctionCodeLocation smart constructor. data FunctionCodeLocation FunctionCodeLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> FunctionCodeLocation -- | Create a value of FunctionCodeLocation with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:imageUri:FunctionCodeLocation', -- functionCodeLocation_imageUri - URI of a container image in the -- Amazon ECR registry. -- -- $sel:location:FunctionCodeLocation', -- functionCodeLocation_location - A presigned URL that you can -- use to download the deployment package. -- -- $sel:repositoryType:FunctionCodeLocation', -- functionCodeLocation_repositoryType - The service that's -- hosting the file. -- -- $sel:resolvedImageUri:FunctionCodeLocation', -- functionCodeLocation_resolvedImageUri - The resolved URI for -- the image. newFunctionCodeLocation :: FunctionCodeLocation -- | Details about a function's configuration. -- -- See: newFunctionConfiguration smart constructor. data FunctionConfiguration FunctionConfiguration' :: Maybe (NonEmpty Architecture) -> Maybe Text -> Maybe Integer -> Maybe DeadLetterConfig -> Maybe Text -> Maybe EnvironmentResponse -> Maybe EphemeralStorage -> Maybe [FileSystemConfig] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageConfigResponse -> Maybe Text -> Maybe Text -> Maybe LastUpdateStatus -> Maybe Text -> Maybe LastUpdateStatusReasonCode -> Maybe [Layer] -> Maybe Text -> Maybe Natural -> Maybe PackageType -> Maybe Text -> Maybe Text -> Maybe Runtime -> Maybe Text -> Maybe Text -> Maybe SnapStartResponse -> Maybe State -> Maybe Text -> Maybe StateReasonCode -> Maybe Natural -> Maybe TracingConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> FunctionConfiguration -- | Create a value of FunctionConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:architectures:FunctionConfiguration', -- functionConfiguration_architectures - The instruction set -- architecture that the function supports. Architecture is a string -- array with one of the valid values. The default architecture value is -- x86_64. -- -- $sel:codeSha256:FunctionConfiguration', -- functionConfiguration_codeSha256 - The SHA256 hash of the -- function's deployment package. -- -- FunctionConfiguration, functionConfiguration_codeSize - -- The size of the function's deployment package, in bytes. -- -- $sel:deadLetterConfig:FunctionConfiguration', -- functionConfiguration_deadLetterConfig - The function's dead -- letter queue. -- -- $sel:description:FunctionConfiguration', -- functionConfiguration_description - The function's description. -- -- $sel:environment:FunctionConfiguration', -- functionConfiguration_environment - The function's -- environment variables. Omitted from CloudTrail logs. -- -- $sel:ephemeralStorage:FunctionConfiguration', -- functionConfiguration_ephemeralStorage - The size of the -- function’s /tmp directory in MB. The default value is 512, -- but it can be any whole number between 512 and 10,240 MB. -- -- $sel:fileSystemConfigs:FunctionConfiguration', -- functionConfiguration_fileSystemConfigs - Connection settings -- for an Amazon EFS file system. -- -- $sel:functionArn:FunctionConfiguration', -- functionConfiguration_functionArn - The function's Amazon -- Resource Name (ARN). -- -- $sel:functionName:FunctionConfiguration', -- functionConfiguration_functionName - The name of the function. -- -- $sel:handler:FunctionConfiguration', -- functionConfiguration_handler - The function that Lambda calls -- to begin running your function. -- -- $sel:imageConfigResponse:FunctionConfiguration', -- functionConfiguration_imageConfigResponse - The function's -- image configuration values. -- -- $sel:kmsKeyArn:FunctionConfiguration', -- functionConfiguration_kmsKeyArn - The KMS key that's used to -- encrypt the function's environment variables. This key is returned -- only if you've configured a customer managed key. -- -- $sel:lastModified:FunctionConfiguration', -- functionConfiguration_lastModified - The date and time that the -- function was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastUpdateStatus:FunctionConfiguration', -- functionConfiguration_lastUpdateStatus - The status of the last -- update that was performed on the function. This is first set to -- Successful after function creation completes. -- -- $sel:lastUpdateStatusReason:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReason - The reason for -- the last update that was performed on the function. -- -- $sel:lastUpdateStatusReasonCode:FunctionConfiguration', -- functionConfiguration_lastUpdateStatusReasonCode - The reason -- code for the last update that was performed on the function. -- -- $sel:layers:FunctionConfiguration', -- functionConfiguration_layers - The function's layers. -- -- $sel:masterArn:FunctionConfiguration', -- functionConfiguration_masterArn - For Lambda@Edge functions, -- the ARN of the main function. -- -- $sel:memorySize:FunctionConfiguration', -- functionConfiguration_memorySize - The amount of memory -- available to the function at runtime. -- -- $sel:packageType:FunctionConfiguration', -- functionConfiguration_packageType - The type of deployment -- package. Set to Image for container image and set -- Zip for .zip file archive. -- -- $sel:revisionId:FunctionConfiguration', -- functionConfiguration_revisionId - The latest updated revision -- of the function or alias. -- -- $sel:role':FunctionConfiguration', -- functionConfiguration_role - The function's execution role. -- -- $sel:runtime:FunctionConfiguration', -- functionConfiguration_runtime - The runtime environment for the -- Lambda function. -- -- FunctionConfiguration, -- functionConfiguration_signingJobArn - The ARN of the signing -- job. -- -- FunctionConfiguration, -- functionConfiguration_signingProfileVersionArn - The ARN of the -- signing profile version. -- -- $sel:snapStart:FunctionConfiguration', -- functionConfiguration_snapStart - Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- $sel:state:FunctionConfiguration', -- functionConfiguration_state - The current state of the -- function. When the state is Inactive, you can reactivate the -- function by invoking it. -- -- $sel:stateReason:FunctionConfiguration', -- functionConfiguration_stateReason - The reason for the -- function's current state. -- -- $sel:stateReasonCode:FunctionConfiguration', -- functionConfiguration_stateReasonCode - The reason code for the -- function's current state. When the code is Creating, you -- can't invoke or modify the function. -- -- $sel:timeout:FunctionConfiguration', -- functionConfiguration_timeout - The amount of time in seconds -- that Lambda allows a function to run before stopping it. -- -- $sel:tracingConfig:FunctionConfiguration', -- functionConfiguration_tracingConfig - The function's X-Ray -- tracing configuration. -- -- $sel:version:FunctionConfiguration', -- functionConfiguration_version - The version of the Lambda -- function. -- -- $sel:vpcConfig:FunctionConfiguration', -- functionConfiguration_vpcConfig - The function's networking -- configuration. newFunctionConfiguration :: FunctionConfiguration -- | See: newFunctionEventInvokeConfig smart constructor. data FunctionEventInvokeConfig FunctionEventInvokeConfig' :: Maybe DestinationConfig -> Maybe Text -> Maybe POSIX -> Maybe Natural -> Maybe Natural -> FunctionEventInvokeConfig -- | Create a value of FunctionEventInvokeConfig with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:destinationConfig:FunctionEventInvokeConfig', -- functionEventInvokeConfig_destinationConfig - A destination for -- events after they have been sent to a function for processing. -- -- Destinations -- -- -- -- $sel:functionArn:FunctionEventInvokeConfig', -- functionEventInvokeConfig_functionArn - The Amazon Resource -- Name (ARN) of the function. -- -- $sel:lastModified:FunctionEventInvokeConfig', -- functionEventInvokeConfig_lastModified - The date and time that -- the configuration was last updated. -- -- $sel:maximumEventAgeInSeconds:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumEventAgeInSeconds - The -- maximum age of a request that Lambda sends to a function for -- processing. -- -- $sel:maximumRetryAttempts:FunctionEventInvokeConfig', -- functionEventInvokeConfig_maximumRetryAttempts - The maximum -- number of times to retry when the function returns an error. newFunctionEventInvokeConfig :: FunctionEventInvokeConfig -- | Details about a Lambda function URL. -- -- See: newFunctionUrlConfig smart constructor. data FunctionUrlConfig FunctionUrlConfig' :: Maybe Cors -> Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | Create a value of FunctionUrlConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:cors:FunctionUrlConfig', functionUrlConfig_cors - -- The cross-origin resource sharing (CORS) settings for your -- function URL. -- -- $sel:functionUrl:FunctionUrlConfig', -- functionUrlConfig_functionUrl - The HTTP URL endpoint for your -- function. -- -- $sel:functionArn:FunctionUrlConfig', -- functionUrlConfig_functionArn - The Amazon Resource Name (ARN) -- of your function. -- -- $sel:creationTime:FunctionUrlConfig', -- functionUrlConfig_creationTime - When the function URL was -- created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:lastModifiedTime:FunctionUrlConfig', -- functionUrlConfig_lastModifiedTime - When the function URL -- configuration was last updated, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:authType:FunctionUrlConfig', -- functionUrlConfig_authType - The type of authentication that -- your function URL uses. Set to AWS_IAM if you want to -- restrict access to authenticated IAM users only. Set to NONE -- if you want to bypass IAM authentication to create a public endpoint. -- For more information, see Security and auth model for Lambda -- function URLs. newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig -- | See: newGetLayerVersionResponse smart constructor. data GetLayerVersionResponse GetLayerVersionResponse' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe LayerVersionContentOutput -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> GetLayerVersionResponse -- | Create a value of GetLayerVersionResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:GetLayerVersionResponse', -- getLayerVersionResponse_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:content:GetLayerVersionResponse', -- getLayerVersionResponse_content - Details about the layer -- version. -- -- $sel:createdDate:GetLayerVersionResponse', -- getLayerVersionResponse_createdDate - The date that the layer -- version was created, in ISO-8601 format -- (YYYY-MM-DDThh:mm:ss.sTZD). -- -- $sel:description:GetLayerVersionResponse', -- getLayerVersionResponse_description - The description of the -- version. -- -- $sel:layerArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerArn - The ARN of the layer. -- -- $sel:layerVersionArn:GetLayerVersionResponse', -- getLayerVersionResponse_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:GetLayerVersionResponse', -- getLayerVersionResponse_licenseInfo - The layer's software -- license. -- -- $sel:version:GetLayerVersionResponse', -- getLayerVersionResponse_version - The version number. newGetLayerVersionResponse :: GetLayerVersionResponse -- | Configuration values that override the container image Dockerfile -- settings. For more information, see Container image settings. -- -- See: newImageConfig smart constructor. data ImageConfig ImageConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> ImageConfig -- | 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. newImageConfig :: ImageConfig -- | Error response to GetFunctionConfiguration. -- -- See: newImageConfigError smart constructor. data ImageConfigError ImageConfigError' :: Maybe Text -> Maybe (Sensitive Text) -> ImageConfigError -- | 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. newImageConfigError :: ImageConfigError -- | Response to a GetFunctionConfiguration request. -- -- See: newImageConfigResponse smart constructor. data ImageConfigResponse ImageConfigResponse' :: Maybe ImageConfigError -> Maybe ImageConfig -> ImageConfigResponse -- | Create a value of ImageConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:error:ImageConfigResponse', -- imageConfigResponse_error - Error response to -- GetFunctionConfiguration. -- -- $sel:imageConfig:ImageConfigResponse', -- imageConfigResponse_imageConfig - Configuration values that -- override the container image Dockerfile. newImageConfigResponse :: ImageConfigResponse -- | An Lambda layer. -- -- See: newLayer smart constructor. data Layer Layer' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Layer -- | Create a value of Layer with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Layer', layer_arn - The Amazon Resource Name -- (ARN) of the function layer. -- -- $sel:codeSize:Layer', layer_codeSize - The size of the -- layer archive in bytes. -- -- $sel:signingJobArn:Layer', layer_signingJobArn - The -- Amazon Resource Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:Layer', -- layer_signingProfileVersionArn - The Amazon Resource Name (ARN) -- for a signing profile version. newLayer :: Layer -- | 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. data LayerVersionContentInput LayerVersionContentInput' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive Base64) -> LayerVersionContentInput -- | Create a value of LayerVersionContentInput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:s3Bucket:LayerVersionContentInput', -- layerVersionContentInput_s3Bucket - The Amazon S3 bucket of the -- layer archive. -- -- $sel:s3Key:LayerVersionContentInput', -- layerVersionContentInput_s3Key - The Amazon S3 key of the layer -- archive. -- -- $sel:s3ObjectVersion:LayerVersionContentInput', -- layerVersionContentInput_s3ObjectVersion - For versioned -- objects, the version of the layer archive object to use. -- -- $sel:zipFile:LayerVersionContentInput', -- layerVersionContentInput_zipFile - The base64-encoded contents -- of the layer archive. Amazon Web Services SDK and Amazon Web Services -- CLI clients handle the encoding for you.-- -- Note: This -- Lens automatically encodes and decodes Base64 data. -- The -- underlying isomorphism will encode to Base64 representation during -- -- serialisation, and decode from Base64 representation during -- deserialisation. -- This Lens accepts and returns only raw -- unencoded data. newLayerVersionContentInput :: LayerVersionContentInput -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionContentOutput smart constructor. data LayerVersionContentOutput LayerVersionContentOutput' :: Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> LayerVersionContentOutput -- | Create a value of LayerVersionContentOutput with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:codeSha256:LayerVersionContentOutput', -- layerVersionContentOutput_codeSha256 - The SHA-256 hash of the -- layer archive. -- -- $sel:codeSize:LayerVersionContentOutput', -- layerVersionContentOutput_codeSize - The size of the layer -- archive in bytes. -- -- $sel:location:LayerVersionContentOutput', -- layerVersionContentOutput_location - A link to the layer -- archive in Amazon S3 that is valid for 10 minutes. -- -- $sel:signingJobArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingJobArn - The Amazon Resource -- Name (ARN) of a signing job. -- -- $sel:signingProfileVersionArn:LayerVersionContentOutput', -- layerVersionContentOutput_signingProfileVersionArn - The Amazon -- Resource Name (ARN) for a signing profile version. newLayerVersionContentOutput :: LayerVersionContentOutput -- | Details about a version of an Lambda layer. -- -- See: newLayerVersionsListItem smart constructor. data LayerVersionsListItem LayerVersionsListItem' :: Maybe [Architecture] -> Maybe [Runtime] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> LayerVersionsListItem -- | Create a value of LayerVersionsListItem with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:compatibleArchitectures:LayerVersionsListItem', -- layerVersionsListItem_compatibleArchitectures - A list of -- compatible instruction set architectures. -- -- $sel:compatibleRuntimes:LayerVersionsListItem', -- layerVersionsListItem_compatibleRuntimes - The layer's -- compatible runtimes. -- -- $sel:createdDate:LayerVersionsListItem', -- layerVersionsListItem_createdDate - The date that the version -- was created, in ISO 8601 format. For example, -- 2018-11-27T15:10:45.123+0000. -- -- $sel:description:LayerVersionsListItem', -- layerVersionsListItem_description - The description of the -- version. -- -- $sel:layerVersionArn:LayerVersionsListItem', -- layerVersionsListItem_layerVersionArn - The ARN of the layer -- version. -- -- $sel:licenseInfo:LayerVersionsListItem', -- layerVersionsListItem_licenseInfo - The layer's open-source -- license. -- -- $sel:version:LayerVersionsListItem', -- layerVersionsListItem_version - The version number. newLayerVersionsListItem :: LayerVersionsListItem -- | Details about an Lambda layer. -- -- See: newLayersListItem smart constructor. data LayersListItem LayersListItem' :: Maybe LayerVersionsListItem -> Maybe Text -> Maybe Text -> LayersListItem -- | Create a value of LayersListItem with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:latestMatchingVersion:LayersListItem', -- layersListItem_latestMatchingVersion - The newest version of -- the layer. -- -- $sel:layerArn:LayersListItem', layersListItem_layerArn - -- The Amazon Resource Name (ARN) of the function layer. -- -- $sel:layerName:LayersListItem', layersListItem_layerName -- - The name of the layer. newLayersListItem :: LayersListItem -- | A destination for events that failed processing. -- -- See: newOnFailure smart constructor. data OnFailure OnFailure' :: Maybe Text -> OnFailure -- | 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. newOnFailure :: OnFailure -- | A destination for events that were processed successfully. -- -- See: newOnSuccess smart constructor. data OnSuccess OnSuccess' :: Maybe Text -> OnSuccess -- | 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. newOnSuccess :: OnSuccess -- | Details about the provisioned concurrency configuration for a function -- alias or version. -- -- See: newProvisionedConcurrencyConfigListItem smart -- constructor. data ProvisionedConcurrencyConfigListItem ProvisionedConcurrencyConfigListItem' :: Maybe Natural -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe ProvisionedConcurrencyStatusEnum -> Maybe Text -> ProvisionedConcurrencyConfigListItem -- | Create a value of ProvisionedConcurrencyConfigListItem with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- -- $sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency allocated. When a weighted -- alias is used during linear and canary deployments, this value -- fluctuates depending on the amount of concurrency that is provisioned -- for the function versions. -- -- -- $sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions -- - The amount of provisioned concurrency available. -- -- $sel:functionArn:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_functionArn - The Amazon -- Resource Name (ARN) of the alias or version. -- -- $sel:lastModified:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_lastModified - The date -- and time that a user last updated the configuration, in ISO 8601 -- format. -- -- -- $sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions -- - The amount of provisioned concurrency requested. -- -- $sel:status:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_status - The status of the -- allocation process. -- -- $sel:statusReason:ProvisionedConcurrencyConfigListItem', -- provisionedConcurrencyConfigListItem_statusReason - For failed -- allocations, the reason that provisioned concurrency could not be -- allocated. newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem -- | The self-managed Apache Kafka cluster for your event source. -- -- See: newSelfManagedEventSource smart constructor. data SelfManagedEventSource SelfManagedEventSource' :: Maybe (HashMap EndPointType (NonEmpty Text)) -> SelfManagedEventSource -- | 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"]. newSelfManagedEventSource :: SelfManagedEventSource -- | Specific configuration settings for a self-managed Apache Kafka event -- source. -- -- See: newSelfManagedKafkaEventSourceConfig smart -- constructor. data SelfManagedKafkaEventSourceConfig SelfManagedKafkaEventSourceConfig' :: Maybe Text -> SelfManagedKafkaEventSourceConfig -- | Create a value of SelfManagedKafkaEventSourceConfig with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:consumerGroupId:SelfManagedKafkaEventSourceConfig', -- selfManagedKafkaEventSourceConfig_consumerGroupId - The -- identifier for the Kafka consumer group to join. The consumer group ID -- must be unique among all your Kafka event sources. After creating a -- Kafka event source mapping with the consumer group ID specified, you -- cannot update this value. For more information, see Customizable -- consumer group ID. newSelfManagedKafkaEventSourceConfig :: SelfManagedKafkaEventSourceConfig -- | The function's SnapStart setting. Set ApplyOn to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. For more -- information, see Reducing startup time with Lambda SnapStart. -- -- See: newSnapStart smart constructor. data SnapStart SnapStart' :: Maybe SnapStartApplyOn -> SnapStart -- | Create a value of SnapStart with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStart', snapStart_applyOn - Set to -- PublishedVersions to create a snapshot of the initialized -- execution environment when you publish a function version. newSnapStart :: SnapStart -- | The function's SnapStart setting. -- -- See: newSnapStartResponse smart constructor. data SnapStartResponse SnapStartResponse' :: Maybe SnapStartApplyOn -> Maybe SnapStartOptimizationStatus -> SnapStartResponse -- | Create a value of SnapStartResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:applyOn:SnapStartResponse', -- snapStartResponse_applyOn - When set to -- PublishedVersions, Lambda creates a snapshot of the execution -- environment when you publish a function version. -- -- $sel:optimizationStatus:SnapStartResponse', -- snapStartResponse_optimizationStatus - When you provide a -- qualified Amazon Resource Name (ARN), this response element -- indicates whether SnapStart is activated for the specified function -- version. newSnapStartResponse :: SnapStartResponse -- | To secure and define access to your event source, you can specify the -- authentication protocol, VPC components, or virtual host. -- -- See: newSourceAccessConfiguration smart constructor. data SourceAccessConfiguration SourceAccessConfiguration' :: Maybe SourceAccessType -> Maybe Text -> SourceAccessConfiguration -- | Create a value of SourceAccessConfiguration with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:type':SourceAccessConfiguration', -- sourceAccessConfiguration_type - The type of authentication -- protocol, VPC components, or virtual host for your event source. For -- example: "Type":"SASL_SCRAM_512_AUTH". -- -- -- -- $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". newSourceAccessConfiguration :: SourceAccessConfiguration -- | The function's X-Ray tracing configuration. To sample and -- record incoming requests, set Mode to Active. -- -- See: newTracingConfig smart constructor. data TracingConfig TracingConfig' :: Maybe TracingMode -> TracingConfig -- | 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. newTracingConfig :: TracingConfig -- | The function's X-Ray tracing configuration. -- -- See: newTracingConfigResponse smart constructor. data TracingConfigResponse TracingConfigResponse' :: Maybe TracingMode -> TracingConfigResponse -- | 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. newTracingConfigResponse :: TracingConfigResponse -- | The VPC security groups and subnets that are attached to a Lambda -- function. For more information, see Configuring a Lambda function -- to access resources in a VPC. -- -- See: newVpcConfig smart constructor. data VpcConfig VpcConfig' :: Maybe [Text] -> Maybe [Text] -> VpcConfig -- | Create a value of VpcConfig with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfig', -- vpcConfig_securityGroupIds - A list of VPC security group IDs. -- -- $sel:subnetIds:VpcConfig', vpcConfig_subnetIds - A list -- of VPC subnet IDs. newVpcConfig :: VpcConfig -- | The VPC security groups and subnets that are attached to a Lambda -- function. -- -- See: newVpcConfigResponse smart constructor. data VpcConfigResponse VpcConfigResponse' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse -- | Create a value of VpcConfigResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:securityGroupIds:VpcConfigResponse', -- vpcConfigResponse_securityGroupIds - A list of VPC security -- group IDs. -- -- $sel:subnetIds:VpcConfigResponse', -- vpcConfigResponse_subnetIds - A list of VPC subnet IDs. -- -- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId - -- The ID of the VPC. newVpcConfigResponse :: VpcConfigResponse