| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudWatchLogs.CreateLogStream
Description
Creates a log stream for the specified log group.
There is no limit on the number of log streams that you can create for a log group.
You must use the following guidelines when naming a log stream:
- Log stream names must be unique within the log group.
- Log stream names can be between 1 and 512 characters long.
- The
:(colon) and*(asterisk) characters are not allowed.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CreateLogStream |
Creates a value of CreateLogStream with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clsLogGroupName- The name of the log group.clsLogStreamName- The name of the log stream.
data CreateLogStream Source #
See: createLogStream smart constructor.
Instances
Request Lenses
clsLogGroupName :: Lens' CreateLogStream Text Source #
The name of the log group.
clsLogStreamName :: Lens' CreateLogStream Text Source #
The name of the log stream.
Destructuring the Response
createLogStreamResponse :: CreateLogStreamResponse Source #
Creates a value of CreateLogStreamResponse with the minimum fields required to make a request.
data CreateLogStreamResponse Source #
See: createLogStreamResponse smart constructor.