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 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.
DeleteConnector' | |
|
Instances
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:
$sel:currentVersion:DeleteConnector'
, deleteConnector_currentVersion
- The current version of the connector that you want to delete.
$sel:connectorArn: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.
DeleteConnectorResponse' | |
|
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:
$sel:connectorArn:DeleteConnector'
, deleteConnectorResponse_connectorArn
- The Amazon Resource Name (ARN) of the connector that you requested to
delete.
$sel:connectorState: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.