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 |
Adds a CloudWatch log stream to monitor application configuration errors. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Working with Amazon CloudWatch Logs .
- addApplicationCloudWatchLoggingOption :: Text -> Natural -> CloudWatchLoggingOption -> AddApplicationCloudWatchLoggingOption
- data AddApplicationCloudWatchLoggingOption
- aacwloApplicationName :: Lens' AddApplicationCloudWatchLoggingOption Text
- aacwloCurrentApplicationVersionId :: Lens' AddApplicationCloudWatchLoggingOption Natural
- aacwloCloudWatchLoggingOption :: Lens' AddApplicationCloudWatchLoggingOption CloudWatchLoggingOption
- addApplicationCloudWatchLoggingOptionResponse :: Int -> AddApplicationCloudWatchLoggingOptionResponse
- data AddApplicationCloudWatchLoggingOptionResponse
- aacwlorsResponseStatus :: Lens' AddApplicationCloudWatchLoggingOptionResponse Int
Creating a Request
addApplicationCloudWatchLoggingOption Source #
Creates a value of AddApplicationCloudWatchLoggingOption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aacwloApplicationName
- The Kinesis Analytics application name.aacwloCurrentApplicationVersionId
- The version ID of the Kinesis Analytics application.aacwloCloudWatchLoggingOption
- Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have thePutLogEvents
policy action enabled.
data AddApplicationCloudWatchLoggingOption Source #
See: addApplicationCloudWatchLoggingOption
smart constructor.
Request Lenses
aacwloApplicationName :: Lens' AddApplicationCloudWatchLoggingOption Text Source #
The Kinesis Analytics application name.
aacwloCurrentApplicationVersionId :: Lens' AddApplicationCloudWatchLoggingOption Natural Source #
The version ID of the Kinesis Analytics application.
aacwloCloudWatchLoggingOption :: Lens' AddApplicationCloudWatchLoggingOption CloudWatchLoggingOption Source #
Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents
policy action enabled.
Destructuring the Response
addApplicationCloudWatchLoggingOptionResponse Source #
Creates a value of AddApplicationCloudWatchLoggingOptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aacwlorsResponseStatus
- -- | The response status code.
data AddApplicationCloudWatchLoggingOptionResponse Source #
See: addApplicationCloudWatchLoggingOptionResponse
smart constructor.
Response Lenses
aacwlorsResponseStatus :: Lens' AddApplicationCloudWatchLoggingOptionResponse Int Source #
- - | The response status code.