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.UpdateAccelerator

Description

Update an accelerator.

Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the US West (Oregon) Region to create or update accelerators.

Synopsis

Creating a Request

data UpdateAccelerator Source #

See: newUpdateAccelerator smart constructor.

Constructors

UpdateAccelerator' 

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 IP address type, which 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 UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Read UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Show UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Generic UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Associated Types

type Rep UpdateAccelerator :: Type -> Type #

NFData UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Methods

rnf :: UpdateAccelerator -> () #

Hashable UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

ToJSON UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

AWSRequest UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Associated Types

type AWSResponse UpdateAccelerator #

ToHeaders UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

ToPath UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

ToQuery UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

type Rep UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

type Rep UpdateAccelerator = D1 ('MetaData "UpdateAccelerator" "Amazonka.GlobalAccelerator.UpdateAccelerator" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "UpdateAccelerator'" '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 UpdateAccelerator Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

newUpdateAccelerator Source #

Create a value of UpdateAccelerator with all optional fields omitted.

Use 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:UpdateAccelerator', updateAccelerator_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:UpdateAccelerator', updateAccelerator_ipAddressType - The IP address type, which must be IPv4.

$sel:name:UpdateAccelerator', updateAccelerator_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:UpdateAccelerator', updateAccelerator_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator to update.

Request Lenses

updateAccelerator_enabled :: Lens' UpdateAccelerator (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.

updateAccelerator_name :: Lens' UpdateAccelerator (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.

updateAccelerator_acceleratorArn :: Lens' UpdateAccelerator Text Source #

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

Destructuring the Response

data UpdateAcceleratorResponse Source #

See: newUpdateAcceleratorResponse smart constructor.

Constructors

UpdateAcceleratorResponse' 

Fields

Instances

Instances details
Eq UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Read UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Show UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Generic UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

Associated Types

type Rep UpdateAcceleratorResponse :: Type -> Type #

NFData UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

type Rep UpdateAcceleratorResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAccelerator

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

newUpdateAcceleratorResponse Source #

Create a value of UpdateAcceleratorResponse with all optional fields omitted.

Use 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:UpdateAcceleratorResponse', updateAcceleratorResponse_accelerator - Information about the updated accelerator.

$sel:httpStatus:UpdateAcceleratorResponse', updateAcceleratorResponse_httpStatus - The response's http status code.

Response Lenses