amazonka-globalaccelerator-2.0: Amazon Global Accelerator 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.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Description

Update the attributes for a custom routing accelerator.

Synopsis

Creating a Request

data UpdateCustomRoutingAcceleratorAttributes Source #

Constructors

UpdateCustomRoutingAcceleratorAttributes' 

Fields

  • flowLogsEnabled :: Maybe Bool

    Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

    For more information, see Flow logs in the Global Accelerator Developer Guide.

  • flowLogsS3Bucket :: Maybe Text

    The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

  • flowLogsS3Prefix :: Maybe Text

    Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.

    If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

    DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id

  • acceleratorArn :: Text

    The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.

Instances

Instances details
ToJSON UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

ToHeaders UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

ToPath UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

ToQuery UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

AWSRequest UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Generic UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Read UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Show UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

NFData UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Eq UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Hashable UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

type AWSResponse UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

type Rep UpdateCustomRoutingAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

type Rep UpdateCustomRoutingAcceleratorAttributes = D1 ('MetaData "UpdateCustomRoutingAcceleratorAttributes" "Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "UpdateCustomRoutingAcceleratorAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "flowLogsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "flowLogsS3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "flowLogsS3Prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceleratorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateCustomRoutingAcceleratorAttributes Source #

Create a value of UpdateCustomRoutingAcceleratorAttributes 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:

UpdateCustomRoutingAcceleratorAttributes, updateCustomRoutingAcceleratorAttributes_flowLogsEnabled - Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

For more information, see Flow logs in the Global Accelerator Developer Guide.

UpdateCustomRoutingAcceleratorAttributes, updateCustomRoutingAcceleratorAttributes_flowLogsS3Bucket - The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

UpdateCustomRoutingAcceleratorAttributes, updateCustomRoutingAcceleratorAttributes_flowLogsS3Prefix - Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.

If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id

UpdateCustomRoutingAcceleratorAttributes, updateCustomRoutingAcceleratorAttributes_acceleratorArn - The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.

Request Lenses

updateCustomRoutingAcceleratorAttributes_flowLogsEnabled :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Bool) Source #

Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

For more information, see Flow logs in the Global Accelerator Developer Guide.

updateCustomRoutingAcceleratorAttributes_flowLogsS3Bucket :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Text) Source #

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

updateCustomRoutingAcceleratorAttributes_flowLogsS3Prefix :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Text) Source #

Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.

If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id

updateCustomRoutingAcceleratorAttributes_acceleratorArn :: Lens' UpdateCustomRoutingAcceleratorAttributes Text Source #

The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.

Destructuring the Response

data UpdateCustomRoutingAcceleratorAttributesResponse Source #

Constructors

UpdateCustomRoutingAcceleratorAttributesResponse' 

Fields

Instances

Instances details
Generic UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Read UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Show UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

NFData UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

Eq UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

type Rep UpdateCustomRoutingAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes

type Rep UpdateCustomRoutingAcceleratorAttributesResponse = D1 ('MetaData "UpdateCustomRoutingAcceleratorAttributesResponse" "Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "UpdateCustomRoutingAcceleratorAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acceleratorAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingAcceleratorAttributes)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses