Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Update the attributes for a custom routing accelerator.
Synopsis
- data UpdateCustomRoutingAcceleratorAttributes = UpdateCustomRoutingAcceleratorAttributes' {}
- newUpdateCustomRoutingAcceleratorAttributes :: Text -> UpdateCustomRoutingAcceleratorAttributes
- updateCustomRoutingAcceleratorAttributes_flowLogsEnabled :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Bool)
- updateCustomRoutingAcceleratorAttributes_flowLogsS3Bucket :: Lens' UpdateCustomRoutingAcceleratorAttributes (Maybe Text)
- updateCustomRoutingAcceleratorAttributes_flowLogsS3Prefix :: 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.
UpdateCustomRoutingAcceleratorAttributes' | |
|
Instances
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 #
See: newUpdateCustomRoutingAcceleratorAttributesResponse
smart constructor.
UpdateCustomRoutingAcceleratorAttributesResponse' | |
|
Instances
newUpdateCustomRoutingAcceleratorAttributesResponse Source #
:: 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.