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 |
This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation.
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.
Synopsis
- data DeleteApplication = DeleteApplication' {}
- newDeleteApplication :: Text -> UTCTime -> DeleteApplication
- deleteApplication_applicationName :: Lens' DeleteApplication Text
- deleteApplication_createTimestamp :: Lens' DeleteApplication UTCTime
- data DeleteApplicationResponse = DeleteApplicationResponse' {
- httpStatus :: Int
- newDeleteApplicationResponse :: Int -> DeleteApplicationResponse
- deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int
Creating a Request
data DeleteApplication Source #
See: newDeleteApplication
smart constructor.
DeleteApplication' | |
|
Instances
:: Text | |
-> UTCTime | |
-> DeleteApplication |
Create a value of DeleteApplication
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:applicationName:DeleteApplication'
, deleteApplication_applicationName
- Name of the Amazon Kinesis Analytics application to delete.
$sel:createTimestamp:DeleteApplication'
, deleteApplication_createTimestamp
- You can use the DescribeApplication
operation to get this value.
Request Lenses
deleteApplication_applicationName :: Lens' DeleteApplication Text Source #
Name of the Amazon Kinesis Analytics application to delete.
deleteApplication_createTimestamp :: Lens' DeleteApplication UTCTime Source #
You can use the DescribeApplication
operation to get this value.
Destructuring the Response
data DeleteApplicationResponse Source #
See: newDeleteApplicationResponse
smart constructor.
DeleteApplicationResponse' | |
|
Instances
newDeleteApplicationResponse Source #
Create a value of DeleteApplicationResponse
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:httpStatus:DeleteApplicationResponse'
, deleteApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int Source #
The response's http status code.