Module

AWS.CloudWatchLogs

#CloudWatchLogs

#DescribeLogGroupsResponse

type DescribeLogGroupsResponse = { logGroups :: Array LogGroup, nextToken :: Maybe String }

#LogGroup

type LogGroup = { creationTime :: Maybe Number, logGroupName :: Maybe String, retentionInDays :: Maybe Number, storedBytes :: Maybe Number }

#RetentionSettings

type RetentionSettings = { logGroupName :: LogGroupName, retentionInDays :: RetentionInDays }

#ExportTaskParams

type ExportTaskParams = { destination :: Destination, from :: From, logGroupName :: LogGroupName, to :: To }

#Destination

newtype Destination

Constructors

#From

newtype From

Constructors

#To

newtype To

Constructors

#deleteRetentionPolicy

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

putRetentionPolicy :: CloudWatchLogs -> LogGroupName -> RetentionInDays -> Aff Unit

Sets the retention policy for the log group. For setting NoRetention aka Never Expire use deleteRetentionPolicy.

#makeClient

#TagContainer

type TagContainer = { tags :: Tags }

Modules