amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ELBV2.Types.FixedResponseActionConfig

Description

 
Synopsis

Documentation

data FixedResponseActionConfig Source #

Information about an action that returns a custom HTTP response.

See: newFixedResponseActionConfig smart constructor.

Constructors

FixedResponseActionConfig' 

Fields

Instances

Instances details
ToQuery FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

FromXML FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Generic FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Associated Types

type Rep FixedResponseActionConfig :: Type -> Type #

Read FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Show FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

NFData FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Eq FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Hashable FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

type Rep FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

type Rep FixedResponseActionConfig = D1 ('MetaData "FixedResponseActionConfig" "Amazonka.ELBV2.Types.FixedResponseActionConfig" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "FixedResponseActionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "messageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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