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 output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination.
This operation requires permissions to perform the
kinesisanalytics:DeleteApplicationOutput
action.
Synopsis
- data DeleteApplicationOutput = DeleteApplicationOutput' {}
- newDeleteApplicationOutput :: Text -> Natural -> Text -> DeleteApplicationOutput
- deleteApplicationOutput_applicationName :: Lens' DeleteApplicationOutput Text
- deleteApplicationOutput_currentApplicationVersionId :: Lens' DeleteApplicationOutput Natural
- deleteApplicationOutput_outputId :: Lens' DeleteApplicationOutput Text
- data DeleteApplicationOutputResponse = DeleteApplicationOutputResponse' {
- httpStatus :: Int
- newDeleteApplicationOutputResponse :: Int -> DeleteApplicationOutputResponse
- deleteApplicationOutputResponse_httpStatus :: Lens' DeleteApplicationOutputResponse Int
Creating a Request
data DeleteApplicationOutput Source #
See: newDeleteApplicationOutput
smart constructor.
DeleteApplicationOutput' | |
|
Instances
newDeleteApplicationOutput Source #
:: Text | |
-> Natural | |
-> Text | |
-> DeleteApplicationOutput |
Create a value of DeleteApplicationOutput
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:DeleteApplicationOutput'
, deleteApplicationOutput_applicationName
- Amazon Kinesis Analytics application name.
$sel:currentApplicationVersionId:DeleteApplicationOutput'
, deleteApplicationOutput_currentApplicationVersionId
- Amazon Kinesis Analytics application version. You can use the
DescribeApplication
operation to get the current application version. If the version
specified is not the current version, the
ConcurrentModificationException
is returned.
$sel:outputId:DeleteApplicationOutput'
, deleteApplicationOutput_outputId
- The ID of the configuration to delete. Each output configuration that is
added to the application, either when the application is created or
later using the
AddApplicationOutput
operation, has a unique ID. You need to provide the ID to uniquely
identify the output configuration that you want to delete from the
application configuration. You can use the
DescribeApplication
operation to get the specific OutputId
.
Request Lenses
deleteApplicationOutput_applicationName :: Lens' DeleteApplicationOutput Text Source #
Amazon Kinesis Analytics application name.
deleteApplicationOutput_currentApplicationVersionId :: Lens' DeleteApplicationOutput Natural Source #
Amazon Kinesis Analytics application version. You can use the
DescribeApplication
operation to get the current application version. If the version
specified is not the current version, the
ConcurrentModificationException
is returned.
deleteApplicationOutput_outputId :: Lens' DeleteApplicationOutput Text Source #
The ID of the configuration to delete. Each output configuration that is
added to the application, either when the application is created or
later using the
AddApplicationOutput
operation, has a unique ID. You need to provide the ID to uniquely
identify the output configuration that you want to delete from the
application configuration. You can use the
DescribeApplication
operation to get the specific OutputId
.
Destructuring the Response
data DeleteApplicationOutputResponse Source #
See: newDeleteApplicationOutputResponse
smart constructor.
DeleteApplicationOutputResponse' | |
|
Instances
Eq DeleteApplicationOutputResponse Source # | |
Read DeleteApplicationOutputResponse Source # | |
Show DeleteApplicationOutputResponse Source # | |
Generic DeleteApplicationOutputResponse Source # | |
NFData DeleteApplicationOutputResponse Source # | |
Defined in Amazonka.KinesisAnalytics.DeleteApplicationOutput rnf :: DeleteApplicationOutputResponse -> () # | |
type Rep DeleteApplicationOutputResponse Source # | |
Defined in Amazonka.KinesisAnalytics.DeleteApplicationOutput type Rep DeleteApplicationOutputResponse = D1 ('MetaData "DeleteApplicationOutputResponse" "Amazonka.KinesisAnalytics.DeleteApplicationOutput" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "DeleteApplicationOutputResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteApplicationOutputResponse Source #
Create a value of DeleteApplicationOutputResponse
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:DeleteApplicationOutputResponse'
, deleteApplicationOutputResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationOutputResponse_httpStatus :: Lens' DeleteApplicationOutputResponse Int Source #
The response's http status code.