| Copyright | (c) 2013-2018 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 |
Network.AWS.KinesisAnalytics.DeleteApplicationReferenceDataSource
Description
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
- deleteApplicationReferenceDataSource :: Text -> Natural -> Text -> DeleteApplicationReferenceDataSource
- data DeleteApplicationReferenceDataSource
- dardsApplicationName :: Lens' DeleteApplicationReferenceDataSource Text
- dardsCurrentApplicationVersionId :: Lens' DeleteApplicationReferenceDataSource Natural
- dardsReferenceId :: Lens' DeleteApplicationReferenceDataSource Text
- deleteApplicationReferenceDataSourceResponse :: Int -> DeleteApplicationReferenceDataSourceResponse
- data DeleteApplicationReferenceDataSourceResponse
- dardsrsResponseStatus :: Lens' DeleteApplicationReferenceDataSourceResponse Int
Creating a Request
deleteApplicationReferenceDataSource Source #
Arguments
| :: Text | |
| -> Natural | |
| -> Text | |
| -> DeleteApplicationReferenceDataSource |
Creates a value of DeleteApplicationReferenceDataSource with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dardsApplicationName- Name of an existing application.dardsCurrentApplicationVersionId- Version of the application. You can use theDescribeApplicationoperation to get the current application version. If the version specified is not the current version, theConcurrentModificationExceptionis returned.dardsReferenceId- ID of the reference data source. When you add a reference data source to your application using theAddApplicationReferenceDataSource, Amazon Kinesis Analytics assigns an ID. You can use theDescribeApplicationoperation to get the reference ID.
data DeleteApplicationReferenceDataSource Source #
See: deleteApplicationReferenceDataSource smart constructor.
Instances
Request Lenses
dardsApplicationName :: Lens' DeleteApplicationReferenceDataSource Text Source #
Name of an existing application.
dardsCurrentApplicationVersionId :: 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.
dardsReferenceId :: 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
deleteApplicationReferenceDataSourceResponse Source #
Creates a value of DeleteApplicationReferenceDataSourceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dardsrsResponseStatus- -- | The response status code.
data DeleteApplicationReferenceDataSourceResponse Source #
See: deleteApplicationReferenceDataSourceResponse smart constructor.
Instances
Response Lenses
dardsrsResponseStatus :: Lens' DeleteApplicationReferenceDataSourceResponse Int Source #
- - | The response status code.