| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.KafkaConnect.DeleteConnector
Description
Deletes the specified connector.
Synopsis
- data DeleteConnector = DeleteConnector' {}
- newDeleteConnector :: Text -> DeleteConnector
- deleteConnector_currentVersion :: Lens' DeleteConnector (Maybe Text)
- deleteConnector_connectorArn :: Lens' DeleteConnector Text
- data DeleteConnectorResponse = DeleteConnectorResponse' {}
- newDeleteConnectorResponse :: Int -> DeleteConnectorResponse
- deleteConnectorResponse_connectorArn :: Lens' DeleteConnectorResponse (Maybe Text)
- deleteConnectorResponse_connectorState :: Lens' DeleteConnectorResponse (Maybe ConnectorState)
- deleteConnectorResponse_httpStatus :: Lens' DeleteConnectorResponse Int
Creating a Request
data DeleteConnector Source #
See: newDeleteConnector smart constructor.
Constructors
| DeleteConnector' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteConnector |
Create a value of DeleteConnector 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:
DeleteConnector, deleteConnector_currentVersion - The current version of the connector that you want to delete.
DeleteConnector, deleteConnector_connectorArn - The Amazon Resource Name (ARN) of the connector that you want to delete.
Request Lenses
deleteConnector_currentVersion :: Lens' DeleteConnector (Maybe Text) Source #
The current version of the connector that you want to delete.
deleteConnector_connectorArn :: Lens' DeleteConnector Text Source #
The Amazon Resource Name (ARN) of the connector that you want to delete.
Destructuring the Response
data DeleteConnectorResponse Source #
See: newDeleteConnectorResponse smart constructor.
Constructors
| DeleteConnectorResponse' | |
Fields
| |
Instances
newDeleteConnectorResponse Source #
Create a value of DeleteConnectorResponse 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:
DeleteConnector, deleteConnectorResponse_connectorArn - The Amazon Resource Name (ARN) of the connector that you requested to
delete.
DeleteConnectorResponse, deleteConnectorResponse_connectorState - The state of the connector that you requested to delete.
$sel:httpStatus:DeleteConnectorResponse', deleteConnectorResponse_httpStatus - The response's http status code.
Response Lenses
deleteConnectorResponse_connectorArn :: Lens' DeleteConnectorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the connector that you requested to delete.
deleteConnectorResponse_connectorState :: Lens' DeleteConnectorResponse (Maybe ConnectorState) Source #
The state of the connector that you requested to delete.
deleteConnectorResponse_httpStatus :: Lens' DeleteConnectorResponse Int Source #
The response's http status code.