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 |
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.
UpdateConnector' | |
|
Instances
:: 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:
$sel:capacity:UpdateConnector'
, updateConnector_capacity
- The target capacity.
$sel:connectorArn:UpdateConnector'
, updateConnector_connectorArn
- The Amazon Resource Name (ARN) of the connector that you want to update.
$sel:currentVersion: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.
UpdateConnectorResponse' | |
|
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:
$sel:connectorArn:UpdateConnector'
, updateConnectorResponse_connectorArn
- The Amazon Resource Name (ARN) of the connector.
$sel:connectorState: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.