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 a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.
If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.
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' {}
- newDeleteApplicationReferenceDataSourceResponse :: Int -> DeleteApplicationReferenceDataSourceResponse
- deleteApplicationReferenceDataSourceResponse_applicationARN :: Lens' DeleteApplicationReferenceDataSourceResponse (Maybe Text)
- deleteApplicationReferenceDataSourceResponse_applicationVersionId :: Lens' DeleteApplicationReferenceDataSourceResponse (Maybe Natural)
- 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
- The name of an existing application.
$sel:currentApplicationVersionId:DeleteApplicationReferenceDataSource'
, deleteApplicationReferenceDataSource_currentApplicationVersionId
- The current 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:referenceId:DeleteApplicationReferenceDataSource'
, deleteApplicationReferenceDataSource_referenceId
- The ID of the reference data source. When you add a reference data
source to your application using the AddApplicationReferenceDataSource,
Kinesis Data Analytics assigns an ID. You can use the
DescribeApplication operation to get the reference ID.
Request Lenses
deleteApplicationReferenceDataSource_applicationName :: Lens' DeleteApplicationReferenceDataSource Text Source #
The name of an existing application.
deleteApplicationReferenceDataSource_currentApplicationVersionId :: Lens' DeleteApplicationReferenceDataSource Natural Source #
The current 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.
deleteApplicationReferenceDataSource_referenceId :: Lens' DeleteApplicationReferenceDataSource Text Source #
The ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Kinesis Data 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
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:applicationARN:DeleteApplicationReferenceDataSourceResponse'
, deleteApplicationReferenceDataSourceResponse_applicationARN
- The application Amazon Resource Name (ARN).
$sel:applicationVersionId:DeleteApplicationReferenceDataSourceResponse'
, deleteApplicationReferenceDataSourceResponse_applicationVersionId
- The updated version ID of the application.
$sel:httpStatus:DeleteApplicationReferenceDataSourceResponse'
, deleteApplicationReferenceDataSourceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationReferenceDataSourceResponse_applicationARN :: Lens' DeleteApplicationReferenceDataSourceResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
deleteApplicationReferenceDataSourceResponse_applicationVersionId :: Lens' DeleteApplicationReferenceDataSourceResponse (Maybe Natural) Source #
The updated version ID of the application.
deleteApplicationReferenceDataSourceResponse_httpStatus :: Lens' DeleteApplicationReferenceDataSourceResponse Int Source #
The response's http status code.