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 a reference data source configuration from the specified application configuration.
If the application is running, Amazon Kinesis Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.
This operation requires permissions to perform the
kinesisanalytics.DeleteApplicationReferenceDataSource
action.
Synopsis
- data DeleteApplicationReferenceDataSource = DeleteApplicationReferenceDataSource' {}
- newDeleteApplicationReferenceDataSource :: Text -> Natural -> Text -> DeleteApplicationReferenceDataSource
- deleteApplicationReferenceDataSource_applicationName :: Lens' DeleteApplicationReferenceDataSource Text
- deleteApplicationReferenceDataSource_currentApplicationVersionId :: Lens' DeleteApplicationReferenceDataSource Natural
- deleteApplicationReferenceDataSource_referenceId :: Lens' DeleteApplicationReferenceDataSource Text
- data DeleteApplicationReferenceDataSourceResponse = DeleteApplicationReferenceDataSourceResponse' {
- httpStatus :: Int
- newDeleteApplicationReferenceDataSourceResponse :: Int -> DeleteApplicationReferenceDataSourceResponse
- deleteApplicationReferenceDataSourceResponse_httpStatus :: Lens' DeleteApplicationReferenceDataSourceResponse Int
Creating a Request
data DeleteApplicationReferenceDataSource Source #
See: newDeleteApplicationReferenceDataSource
smart constructor.
DeleteApplicationReferenceDataSource' | |
|
Instances
newDeleteApplicationReferenceDataSource Source #
:: Text | |
-> Natural |
|
-> Text | |
-> DeleteApplicationReferenceDataSource |
Create a value of DeleteApplicationReferenceDataSource
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:DeleteApplicationReferenceDataSource'
, deleteApplicationReferenceDataSource_applicationName
- Name of an existing application.
$sel:currentApplicationVersionId:DeleteApplicationReferenceDataSource'
, deleteApplicationReferenceDataSource_currentApplicationVersionId
- Version of the application. 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:referenceId:DeleteApplicationReferenceDataSource'
, deleteApplicationReferenceDataSource_referenceId
- ID of the reference data source. When you add a reference data source to
your application using the
AddApplicationReferenceDataSource,
Amazon Kinesis Analytics assigns an ID. You can use the
DescribeApplication
operation to get the reference ID.
Request Lenses
deleteApplicationReferenceDataSource_applicationName :: Lens' DeleteApplicationReferenceDataSource Text Source #
Name of an existing application.
deleteApplicationReferenceDataSource_currentApplicationVersionId :: Lens' DeleteApplicationReferenceDataSource Natural Source #
Version of the application. 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.
deleteApplicationReferenceDataSource_referenceId :: Lens' DeleteApplicationReferenceDataSource Text Source #
ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Amazon Kinesis Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID.
Destructuring the Response
data DeleteApplicationReferenceDataSourceResponse Source #
See: newDeleteApplicationReferenceDataSourceResponse
smart constructor.
DeleteApplicationReferenceDataSourceResponse' | |
|
Instances
Eq DeleteApplicationReferenceDataSourceResponse Source # | |
Read DeleteApplicationReferenceDataSourceResponse Source # | |
Show DeleteApplicationReferenceDataSourceResponse Source # | |
Generic DeleteApplicationReferenceDataSourceResponse Source # | |
NFData DeleteApplicationReferenceDataSourceResponse Source # | |
type Rep DeleteApplicationReferenceDataSourceResponse Source # | |
Defined in Amazonka.KinesisAnalytics.DeleteApplicationReferenceDataSource type Rep DeleteApplicationReferenceDataSourceResponse = D1 ('MetaData "DeleteApplicationReferenceDataSourceResponse" "Amazonka.KinesisAnalytics.DeleteApplicationReferenceDataSource" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "DeleteApplicationReferenceDataSourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteApplicationReferenceDataSourceResponse Source #
:: Int |
|
-> DeleteApplicationReferenceDataSourceResponse |
Create a value of DeleteApplicationReferenceDataSourceResponse
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:DeleteApplicationReferenceDataSourceResponse'
, deleteApplicationReferenceDataSourceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationReferenceDataSourceResponse_httpStatus :: Lens' DeleteApplicationReferenceDataSourceResponse Int Source #
The response's http status code.