libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Read FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Show 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 #

NFData FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

Hashable FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

ToQuery FixedResponseActionConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.FixedResponseActionConfig

FromXML 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" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "FixedResponseActionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentType") '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:messageBody:FixedResponseActionConfig', fixedResponseActionConfig_messageBody - The message.

$sel:contentType:FixedResponseActionConfig', fixedResponseActionConfig_contentType - The content type.

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

$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