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

Description

Update the attributes for an accelerator.

Synopsis

Creating a Request

data UpdateAcceleratorAttributes Source #

See: newUpdateAcceleratorAttributes smart constructor.

Constructors

UpdateAcceleratorAttributes' 

Fields

  • 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:

    s3-bucket_name//AWSLogs/aws_account_id

  • 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 AWS 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 AWS Global Accelerator permission to write to the bucket.

  • acceleratorArn :: Text

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

Instances

Instances details
Eq UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Read UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

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

NFData UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

Hashable UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

ToJSON UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

AWSRequest 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

type Rep UpdateAcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

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

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

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:

$sel:flowLogsS3Prefix: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 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:

s3-bucket_name//AWSLogs/aws_account_id

$sel:flowLogsEnabled: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 AWS Global Accelerator Developer Guide.

$sel:flowLogsS3Bucket: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 AWS Global Accelerator permission to write to the bucket.

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

Request Lenses

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 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:

s3-bucket_name//AWSLogs/aws_account_id

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 AWS 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 AWS Global Accelerator permission to write to the bucket.

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
Eq 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

Generic UpdateAcceleratorAttributesResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.UpdateAcceleratorAttributes

NFData 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" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" '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