Module

AWS.CloudWatchLogs

Package
purescript-aws-sdk-basic
Repository
HivemindTechnologies/purescript-aws-sdk

#CloudWatchLogs Source

#DescribeLogGroupsResponse Source

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

#LogGroup Source

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

#RetentionSettings Source

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

#ExportTaskParams Source

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

#Destination Source

newtype Destination

Constructors

#From Source

newtype From

Constructors

#To Source

newtype To

Constructors

#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.

#TagContainer Source

type TagContainer = { tags :: Tags }