| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELBV2.Types.FixedResponseActionConfig
Description
Synopsis
- data FixedResponseActionConfig = FixedResponseActionConfig' {
- contentType :: Maybe Text
- messageBody :: Maybe Text
- statusCode :: Text
- newFixedResponseActionConfig :: Text -> FixedResponseActionConfig
- fixedResponseActionConfig_contentType :: Lens' FixedResponseActionConfig (Maybe Text)
- fixedResponseActionConfig_messageBody :: Lens' FixedResponseActionConfig (Maybe Text)
- fixedResponseActionConfig_statusCode :: Lens' FixedResponseActionConfig Text
Documentation
data FixedResponseActionConfig Source #
Information about an action that returns a custom HTTP response.
See: newFixedResponseActionConfig smart constructor.
Constructors
| FixedResponseActionConfig' | |
Fields
| |
Instances
newFixedResponseActionConfig Source #
Create a value of FixedResponseActionConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contentType:FixedResponseActionConfig', fixedResponseActionConfig_contentType - The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
$sel:messageBody:FixedResponseActionConfig', fixedResponseActionConfig_messageBody - The message.
$sel:statusCode:FixedResponseActionConfig', fixedResponseActionConfig_statusCode - The HTTP response code (2XX, 4XX, or 5XX).
fixedResponseActionConfig_contentType :: Lens' FixedResponseActionConfig (Maybe Text) Source #
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
fixedResponseActionConfig_messageBody :: Lens' FixedResponseActionConfig (Maybe Text) Source #
The message.
fixedResponseActionConfig_statusCode :: Lens' FixedResponseActionConfig Text Source #
The HTTP response code (2XX, 4XX, or 5XX).