Copyright | (c) 2013-2017 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 |
Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code).
This operation requires permissions to perform the kinesisanalytics:DeleteApplication
action.
- deleteApplication :: Text -> UTCTime -> DeleteApplication
- data DeleteApplication
- dApplicationName :: Lens' DeleteApplication Text
- dCreateTimestamp :: Lens' DeleteApplication UTCTime
- deleteApplicationResponse :: Int -> DeleteApplicationResponse
- data DeleteApplicationResponse
- drsResponseStatus :: Lens' DeleteApplicationResponse Int
Creating a Request
Creates a value of DeleteApplication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dApplicationName
- Name of the Amazon Kinesis Analytics application to delete.dCreateTimestamp
- You can use theDescribeApplication
operation to get this value.
data DeleteApplication Source #
See: deleteApplication
smart constructor.
Request Lenses
dApplicationName :: Lens' DeleteApplication Text Source #
Name of the Amazon Kinesis Analytics application to delete.
dCreateTimestamp :: Lens' DeleteApplication UTCTime Source #
You can use the DescribeApplication
operation to get this value.
Destructuring the Response
deleteApplicationResponse Source #
Creates a value of DeleteApplicationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResponseStatus
- -- | The response status code.
data DeleteApplicationResponse Source #
See: deleteApplicationResponse
smart constructor.
Response Lenses
drsResponseStatus :: Lens' DeleteApplicationResponse Int Source #
- - | The response status code.