Module
AWS.CloudWatchLogs
- Package
- purescript-aws-sdk-basic
- Repository
- HivemindTechnologies/purescript-aws-sdk
#CloudWatchLogs Source
data CloudWatchLogs :: Type
#DescribeLogGroupsResponse Source
type DescribeLogGroupsResponse = { logGroups :: Array LogGroup, nextToken :: Maybe String }
#RetentionSettings Source
type RetentionSettings = { logGroupName :: LogGroupName, retentionInDays :: RetentionInDays }
#toRetention Source
toRetention :: Maybe Int -> RetentionInDays
#LogGroupName Source
#ExportTaskParams Source
type ExportTaskParams = { destination :: Destination, from :: From, logGroupName :: LogGroupName, to :: To }
#deleteRetentionPolicy Source
deleteRetentionPolicy :: CloudWatchLogs -> LogGroupName -> Aff Unit
Deletes the retention policy from the log group, i.e. set's it to NoRetention aka Never Expire
.
For setting a retention policy use putRetentionPolicy
instead.
#putRetentionPolicy Source
putRetentionPolicy :: CloudWatchLogs -> LogGroupName -> RetentionInDays -> Aff Unit
Sets the retention policy for the log group.
For setting NoRetention aka Never Expire
use deleteRetentionPolicy
.
#createExportTask Source
createExportTask :: CloudWatchLogs -> Destination -> From -> LogGroupName -> To -> Aff CreateExportTaskResponse
#makeClient Source
makeClient :: forall r via. Justifiable (Record r) (Record via) => Fillable (Record via) DefaultClientProps => Record r -> Effect CloudWatchLogs
#RetentionInDays Source
data RetentionInDays
Constructors
Retention1Day
Retention3Days
Retention5Days
Retention1Week
Retention2Weeks
Retention1Month
Retention2Months
Retention3Months
Retention4Months
Retention5Months
Retention6Months
Retention12Months
Retention13Months
Retention18Months
Retention24Months
Retention60Months
Retention120Months
NoRetention
Instances
#TagContainer Source
type TagContainer = { tags :: Tags }