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 |
Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following:
- Create a table in Athena that maps fields to a custom log format
- Create a Lambda function that updates the table with new partitions on a daily, weekly, or monthly basis
- Create a table partitioned between two timestamps in the past
- Create a set of named queries in Athena that you can use to get started quickly
Synopsis
- data GetFlowLogsIntegrationTemplate = GetFlowLogsIntegrationTemplate' {}
- newGetFlowLogsIntegrationTemplate :: Text -> Text -> IntegrateServices -> GetFlowLogsIntegrationTemplate
- getFlowLogsIntegrationTemplate_dryRun :: Lens' GetFlowLogsIntegrationTemplate (Maybe Bool)
- getFlowLogsIntegrationTemplate_flowLogId :: Lens' GetFlowLogsIntegrationTemplate Text
- getFlowLogsIntegrationTemplate_configDeliveryS3DestinationArn :: Lens' GetFlowLogsIntegrationTemplate Text
- getFlowLogsIntegrationTemplate_integrateServices :: Lens' GetFlowLogsIntegrationTemplate IntegrateServices
- data GetFlowLogsIntegrationTemplateResponse = GetFlowLogsIntegrationTemplateResponse' {
- result :: Maybe Text
- httpStatus :: Int
- newGetFlowLogsIntegrationTemplateResponse :: Int -> GetFlowLogsIntegrationTemplateResponse
- getFlowLogsIntegrationTemplateResponse_result :: Lens' GetFlowLogsIntegrationTemplateResponse (Maybe Text)
- getFlowLogsIntegrationTemplateResponse_httpStatus :: Lens' GetFlowLogsIntegrationTemplateResponse Int
Creating a Request
data GetFlowLogsIntegrationTemplate Source #
See: newGetFlowLogsIntegrationTemplate
smart constructor.
GetFlowLogsIntegrationTemplate' | |
|
Instances
newGetFlowLogsIntegrationTemplate Source #
:: Text | |
-> Text |
|
-> IntegrateServices | |
-> GetFlowLogsIntegrationTemplate |
Create a value of GetFlowLogsIntegrationTemplate
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:dryRun:GetFlowLogsIntegrationTemplate'
, getFlowLogsIntegrationTemplate_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
GetFlowLogsIntegrationTemplate
, getFlowLogsIntegrationTemplate_flowLogId
- The ID of the flow log.
$sel:configDeliveryS3DestinationArn:GetFlowLogsIntegrationTemplate'
, getFlowLogsIntegrationTemplate_configDeliveryS3DestinationArn
- To store the CloudFormation template in Amazon S3, specify the location
in Amazon S3.
$sel:integrateServices:GetFlowLogsIntegrationTemplate'
, getFlowLogsIntegrationTemplate_integrateServices
- Information about the service integration.
Request Lenses
getFlowLogsIntegrationTemplate_dryRun :: Lens' GetFlowLogsIntegrationTemplate (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
getFlowLogsIntegrationTemplate_flowLogId :: Lens' GetFlowLogsIntegrationTemplate Text Source #
The ID of the flow log.
getFlowLogsIntegrationTemplate_configDeliveryS3DestinationArn :: Lens' GetFlowLogsIntegrationTemplate Text Source #
To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
getFlowLogsIntegrationTemplate_integrateServices :: Lens' GetFlowLogsIntegrationTemplate IntegrateServices Source #
Information about the service integration.
Destructuring the Response
data GetFlowLogsIntegrationTemplateResponse Source #
See: newGetFlowLogsIntegrationTemplateResponse
smart constructor.
GetFlowLogsIntegrationTemplateResponse' | |
|
Instances
newGetFlowLogsIntegrationTemplateResponse Source #
Create a value of GetFlowLogsIntegrationTemplateResponse
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:result:GetFlowLogsIntegrationTemplateResponse'
, getFlowLogsIntegrationTemplateResponse_result
- The generated CloudFormation template.
$sel:httpStatus:GetFlowLogsIntegrationTemplateResponse'
, getFlowLogsIntegrationTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getFlowLogsIntegrationTemplateResponse_result :: Lens' GetFlowLogsIntegrationTemplateResponse (Maybe Text) Source #
The generated CloudFormation template.
getFlowLogsIntegrationTemplateResponse_httpStatus :: Lens' GetFlowLogsIntegrationTemplateResponse Int Source #
The response's http status code.