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

Description

Update the attributes for an accelerator.

Synopsis

Creating a Request

data UpdateAcceleratorAttributes Source #

See: newUpdateAcceleratorAttributes smart constructor.

Constructors

UpdateAcceleratorAttributes' 

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 specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

    s3-bucket_name//AWSLogs/aws_account_id

  • acceleratorArn :: Text

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

Instances

Instances details
ToJSON UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

ToHeaders UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

ToPath UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

ToQuery UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

AWSRequest UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Generic UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Associated Types

type Rep UpdateAcceleratorAttributes :: Type -> Type #

Read UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Show UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

NFData UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Eq UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Hashable UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

type AWSResponse UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

type Rep UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

type Rep UpdateAcceleratorAttributes = D1 ('MetaData "UpdateAcceleratorAttributes" "Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "UpdateAcceleratorAttributes'" '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))))

newUpdateAcceleratorAttributes Source #

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

UpdateAcceleratorAttributes, updateAcceleratorAttributes_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.

UpdateAcceleratorAttributes, updateAcceleratorAttributes_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.

UpdateAcceleratorAttributes, updateAcceleratorAttributes_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 specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

s3-bucket_name//AWSLogs/aws_account_id

UpdateAcceleratorAttributes, updateAcceleratorAttributes_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator that you want to update.

Request Lenses

updateAcceleratorAttributes_flowLogsEnabled :: Lens' UpdateAcceleratorAttributes (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.

updateAcceleratorAttributes_flowLogsS3Bucket :: Lens' UpdateAcceleratorAttributes (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.

updateAcceleratorAttributes_flowLogsS3Prefix :: Lens' UpdateAcceleratorAttributes (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 specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

s3-bucket_name//AWSLogs/aws_account_id

updateAcceleratorAttributes_acceleratorArn :: Lens' UpdateAcceleratorAttributes Text Source #

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

Destructuring the Response

data UpdateAcceleratorAttributesResponse Source #

Constructors

UpdateAcceleratorAttributesResponse' 

Fields

Instances

Instances details
Generic UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Read UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Show UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

NFData UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Eq UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

type Rep UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

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

newUpdateAcceleratorAttributesResponse Source #

Create a value of UpdateAcceleratorAttributesResponse 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:acceleratorAttributes:UpdateAcceleratorAttributesResponse', updateAcceleratorAttributesResponse_acceleratorAttributes - Updated attributes for the accelerator.

$sel:httpStatus:UpdateAcceleratorAttributesResponse', updateAcceleratorAttributesResponse_httpStatus - The response's http status code.

Response Lenses