Copyright | (c) 2013-2021 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 |
Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.
Synopsis
- data DeleteLogStream = DeleteLogStream' {}
- newDeleteLogStream :: Text -> Text -> DeleteLogStream
- deleteLogStream_logGroupName :: Lens' DeleteLogStream Text
- deleteLogStream_logStreamName :: Lens' DeleteLogStream Text
- data DeleteLogStreamResponse = DeleteLogStreamResponse' {
- newDeleteLogStreamResponse :: DeleteLogStreamResponse
Creating a Request
data DeleteLogStream Source #
See: newDeleteLogStream
smart constructor.
DeleteLogStream' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteLogStream |
Create a value of DeleteLogStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logGroupName:DeleteLogStream'
, deleteLogStream_logGroupName
- The name of the log group.
$sel:logStreamName:DeleteLogStream'
, deleteLogStream_logStreamName
- The name of the log stream.
Request Lenses
deleteLogStream_logGroupName :: Lens' DeleteLogStream Text Source #
The name of the log group.
deleteLogStream_logStreamName :: Lens' DeleteLogStream Text Source #
The name of the log stream.
Destructuring the Response
data DeleteLogStreamResponse Source #
See: newDeleteLogStreamResponse
smart constructor.
Instances
Eq DeleteLogStreamResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteLogStream | |
Read DeleteLogStreamResponse Source # | |
Show DeleteLogStreamResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteLogStream showsPrec :: Int -> DeleteLogStreamResponse -> ShowS # show :: DeleteLogStreamResponse -> String # showList :: [DeleteLogStreamResponse] -> ShowS # | |
Generic DeleteLogStreamResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteLogStream type Rep DeleteLogStreamResponse :: Type -> Type # | |
NFData DeleteLogStreamResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteLogStream rnf :: DeleteLogStreamResponse -> () # | |
type Rep DeleteLogStreamResponse Source # | |
Defined in Amazonka.CloudWatchLogs.DeleteLogStream |
newDeleteLogStreamResponse :: DeleteLogStreamResponse Source #
Create a value of DeleteLogStreamResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.