| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.GlobalAccelerator.UpdateCustomRoutingAcceleratorAttributes
Description
Update the attributes for a custom routing accelerator.
Synopsis
- data UpdateCustomRoutingAcceleratorAttributes = UpdateCustomRoutingAcceleratorAttributes' {}
- newUpdateCustomRoutingAcceleratorAttributes :: Text -> UpdateCustomRoutingAcceleratorAttributes
- updateCustomRoutingAcceleratorAttributes_flowLogsS3Prefix :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Text)
- updateCustomRoutingAcceleratorAttributes_flowLogsEnabled :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Bool)
- updateCustomRoutingAcceleratorAttributes_flowLogsS3Bucket :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Text)
- updateCustomRoutingAcceleratorAttributes_acceleratorArn :: Lens' UpdateCustomRoutingAcceleratorAttributes Text
- data UpdateCustomRoutingAcceleratorAttributesResponse = UpdateCustomRoutingAcceleratorAttributesResponse' {}
- newUpdateCustomRoutingAcceleratorAttributesResponse :: Int -> UpdateCustomRoutingAcceleratorAttributesResponse
- updateCustomRoutingAcceleratorAttributesResponse_acceleratorAttributes :: Lens' UpdateCustomRoutingAcceleratorAttributesResponse (Maybe CustomRoutingAcceleratorAttributes)
- updateCustomRoutingAcceleratorAttributesResponse_httpStatus :: Lens' UpdateCustomRoutingAcceleratorAttributesResponse Int
Creating a Request
data UpdateCustomRoutingAcceleratorAttributes Source #
See: newUpdateCustomRoutingAcceleratorAttributes smart constructor.
Constructors
| UpdateCustomRoutingAcceleratorAttributes' | |
Fields
| |
Instances
newUpdateCustomRoutingAcceleratorAttributes Source #
Arguments
| :: Text |
|
| -> UpdateCustomRoutingAcceleratorAttributes |
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:
$sel:flowLogsS3Prefix: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
$sel:flowLogsEnabled: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 AWS Global Accelerator Developer Guide.
$sel:flowLogsS3Bucket: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 AWS Global Accelerator permission to write
to the bucket.
$sel:acceleratorArn:UpdateCustomRoutingAcceleratorAttributes', updateCustomRoutingAcceleratorAttributes_acceleratorArn - The Amazon Resource Name (ARN) of the custom routing accelerator to
update attributes for.
Request Lenses
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_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 AWS 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 AWS Global Accelerator permission to write
to the bucket.
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 #
See: newUpdateCustomRoutingAcceleratorAttributesResponse smart constructor.
Constructors
| UpdateCustomRoutingAcceleratorAttributesResponse' | |
Fields
| |
Instances
newUpdateCustomRoutingAcceleratorAttributesResponse Source #
Arguments
| :: Int |
|
| -> UpdateCustomRoutingAcceleratorAttributesResponse |
Create a value of UpdateCustomRoutingAcceleratorAttributesResponse 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:UpdateCustomRoutingAcceleratorAttributesResponse', updateCustomRoutingAcceleratorAttributesResponse_acceleratorAttributes - Updated custom routing accelerator.
$sel:httpStatus:UpdateCustomRoutingAcceleratorAttributesResponse', updateCustomRoutingAcceleratorAttributesResponse_httpStatus - The response's http status code.
Response Lenses
updateCustomRoutingAcceleratorAttributesResponse_acceleratorAttributes :: Lens' UpdateCustomRoutingAcceleratorAttributesResponse (Maybe CustomRoutingAcceleratorAttributes) Source #
Updated custom routing accelerator.
updateCustomRoutingAcceleratorAttributesResponse_httpStatus :: Lens' UpdateCustomRoutingAcceleratorAttributesResponse Int Source #
The response's http status code.