Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group.
Creating a Request
Creates a value of PutRetentionPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutRetentionPolicy Source #
See: putRetentionPolicy
smart constructor.
Request Lenses
prpLogGroupName :: Lens' PutRetentionPolicy Text Source #
The name of the log group to associate the retention policy with.
prpRetentionInDays :: Lens' PutRetentionPolicy Int Source #
Undocumented member.
Destructuring the Response
putRetentionPolicyResponse :: PutRetentionPolicyResponse Source #
Creates a value of PutRetentionPolicyResponse
with the minimum fields required to make a request.
data PutRetentionPolicyResponse Source #
See: putRetentionPolicyResponse
smart constructor.