| 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.UpdateConnector
Description
Updates the specified connector.
Synopsis
- data UpdateConnector = UpdateConnector' {}
- newUpdateConnector :: CapacityUpdate -> Text -> Text -> UpdateConnector
- updateConnector_capacity :: Lens' UpdateConnector CapacityUpdate
- updateConnector_connectorArn :: Lens' UpdateConnector Text
- updateConnector_currentVersion :: Lens' UpdateConnector Text
- data UpdateConnectorResponse = UpdateConnectorResponse' {}
- newUpdateConnectorResponse :: Int -> UpdateConnectorResponse
- updateConnectorResponse_connectorArn :: Lens' UpdateConnectorResponse (Maybe Text)
- updateConnectorResponse_connectorState :: Lens' UpdateConnectorResponse (Maybe ConnectorState)
- updateConnectorResponse_httpStatus :: Lens' UpdateConnectorResponse Int
Creating a Request
data UpdateConnector Source #
See: newUpdateConnector smart constructor.
Constructors
| UpdateConnector' | |
Fields
| |
Instances
Arguments
| :: CapacityUpdate | |
| -> Text | |
| -> Text | |
| -> UpdateConnector |
Create a value of UpdateConnector 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:
UpdateConnector, updateConnector_capacity - The target capacity.
UpdateConnector, updateConnector_connectorArn - The Amazon Resource Name (ARN) of the connector that you want to update.
UpdateConnector, updateConnector_currentVersion - The current version of the connector that you want to update.
Request Lenses
updateConnector_capacity :: Lens' UpdateConnector CapacityUpdate Source #
The target capacity.
updateConnector_connectorArn :: Lens' UpdateConnector Text Source #
The Amazon Resource Name (ARN) of the connector that you want to update.
updateConnector_currentVersion :: Lens' UpdateConnector Text Source #
The current version of the connector that you want to update.
Destructuring the Response
data UpdateConnectorResponse Source #
See: newUpdateConnectorResponse smart constructor.
Constructors
| UpdateConnectorResponse' | |
Fields
| |
Instances
newUpdateConnectorResponse Source #
Create a value of UpdateConnectorResponse 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:
UpdateConnector, updateConnectorResponse_connectorArn - The Amazon Resource Name (ARN) of the connector.
UpdateConnectorResponse, updateConnectorResponse_connectorState - The state of the connector.
$sel:httpStatus:UpdateConnectorResponse', updateConnectorResponse_httpStatus - The response's http status code.
Response Lenses
updateConnectorResponse_connectorArn :: Lens' UpdateConnectorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the connector.
updateConnectorResponse_connectorState :: Lens' UpdateConnectorResponse (Maybe ConnectorState) Source #
The state of the connector.
updateConnectorResponse_httpStatus :: Lens' UpdateConnectorResponse Int Source #
The response's http status code.