libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
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.GlobalAccelerator.UpdateCustomRoutingAccelerator

Description

Update a custom routing accelerator.

Synopsis

Creating a Request

data UpdateCustomRoutingAccelerator Source #

See: newUpdateCustomRoutingAccelerator smart constructor.

Constructors

UpdateCustomRoutingAccelerator' 

Fields

  • enabled :: Maybe Bool

    Indicates whether an accelerator is enabled. The value is true or false. The default value is true.

    If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.

  • ipAddressType :: Maybe IpAddressType

    The value for the address type must be IPv4.

  • name :: Maybe Text

    The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

  • acceleratorArn :: Text

    The Amazon Resource Name (ARN) of the accelerator to update.

Instances

Instances details
Eq UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Read UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Show UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Generic UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Associated Types

type Rep UpdateCustomRoutingAccelerator :: Type -> Type #

NFData UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Hashable UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

ToJSON UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

AWSRequest UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

ToHeaders UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

ToPath UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

ToQuery UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

type Rep UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

type Rep UpdateCustomRoutingAccelerator = D1 ('MetaData "UpdateCustomRoutingAccelerator" "Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "UpdateCustomRoutingAccelerator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "ipAddressType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IpAddressType))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceleratorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateCustomRoutingAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

newUpdateCustomRoutingAccelerator Source #

Create a value of UpdateCustomRoutingAccelerator with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:enabled:UpdateCustomRoutingAccelerator', updateCustomRoutingAccelerator_enabled - Indicates whether an accelerator is enabled. The value is true or false. The default value is true.

If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.

$sel:ipAddressType:UpdateCustomRoutingAccelerator', updateCustomRoutingAccelerator_ipAddressType - The value for the address type must be IPv4.

$sel:name:UpdateCustomRoutingAccelerator', updateCustomRoutingAccelerator_name - The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

$sel:acceleratorArn:UpdateCustomRoutingAccelerator', updateCustomRoutingAccelerator_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator to update.

Request Lenses

updateCustomRoutingAccelerator_enabled :: Lens' UpdateCustomRoutingAccelerator (Maybe Bool) Source #

Indicates whether an accelerator is enabled. The value is true or false. The default value is true.

If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.

updateCustomRoutingAccelerator_name :: Lens' UpdateCustomRoutingAccelerator (Maybe Text) Source #

The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

updateCustomRoutingAccelerator_acceleratorArn :: Lens' UpdateCustomRoutingAccelerator Text Source #

The Amazon Resource Name (ARN) of the accelerator to update.

Destructuring the Response

data UpdateCustomRoutingAcceleratorResponse Source #

Constructors

UpdateCustomRoutingAcceleratorResponse' 

Fields

Instances

Instances details
Eq UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Read UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Show UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

Generic UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

NFData UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

type Rep UpdateCustomRoutingAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator

type Rep UpdateCustomRoutingAcceleratorResponse = D1 ('MetaData "UpdateCustomRoutingAcceleratorResponse" "Amazonka.GlobalAccelerator.UpdateCustomRoutingAccelerator" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "UpdateCustomRoutingAcceleratorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accelerator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingAccelerator)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateCustomRoutingAcceleratorResponse Source #

Create a value of UpdateCustomRoutingAcceleratorResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accelerator:UpdateCustomRoutingAcceleratorResponse', updateCustomRoutingAcceleratorResponse_accelerator - Information about the updated custom routing accelerator.

$sel:httpStatus:UpdateCustomRoutingAcceleratorResponse', updateCustomRoutingAcceleratorResponse_httpStatus - The response's http status code.

Response Lenses