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 an API destination.
Synopsis
- data UpdateApiDestination = UpdateApiDestination' {}
- newUpdateApiDestination :: Text -> UpdateApiDestination
- updateApiDestination_httpMethod :: Lens' UpdateApiDestination (Maybe ApiDestinationHttpMethod)
- updateApiDestination_invocationEndpoint :: Lens' UpdateApiDestination (Maybe Text)
- updateApiDestination_invocationRateLimitPerSecond :: Lens' UpdateApiDestination (Maybe Natural)
- updateApiDestination_connectionArn :: Lens' UpdateApiDestination (Maybe Text)
- updateApiDestination_description :: Lens' UpdateApiDestination (Maybe Text)
- updateApiDestination_name :: Lens' UpdateApiDestination Text
- data UpdateApiDestinationResponse = UpdateApiDestinationResponse' {}
- newUpdateApiDestinationResponse :: Int -> UpdateApiDestinationResponse
- updateApiDestinationResponse_creationTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
- updateApiDestinationResponse_lastModifiedTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
- updateApiDestinationResponse_apiDestinationState :: Lens' UpdateApiDestinationResponse (Maybe ApiDestinationState)
- updateApiDestinationResponse_apiDestinationArn :: Lens' UpdateApiDestinationResponse (Maybe Text)
- updateApiDestinationResponse_httpStatus :: Lens' UpdateApiDestinationResponse Int
Creating a Request
data UpdateApiDestination Source #
See: newUpdateApiDestination
smart constructor.
UpdateApiDestination' | |
|
Instances
newUpdateApiDestination Source #
Create a value of UpdateApiDestination
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:httpMethod:UpdateApiDestination'
, updateApiDestination_httpMethod
- The method to use for the API destination.
$sel:invocationEndpoint:UpdateApiDestination'
, updateApiDestination_invocationEndpoint
- The URL to the endpoint to use for the API destination.
$sel:invocationRateLimitPerSecond:UpdateApiDestination'
, updateApiDestination_invocationRateLimitPerSecond
- The maximum number of invocations per second to send to the API
destination.
$sel:connectionArn:UpdateApiDestination'
, updateApiDestination_connectionArn
- The ARN of the connection to use for the API destination.
$sel:description:UpdateApiDestination'
, updateApiDestination_description
- The name of the API destination to update.
$sel:name:UpdateApiDestination'
, updateApiDestination_name
- The name of the API destination to update.
Request Lenses
updateApiDestination_httpMethod :: Lens' UpdateApiDestination (Maybe ApiDestinationHttpMethod) Source #
The method to use for the API destination.
updateApiDestination_invocationEndpoint :: Lens' UpdateApiDestination (Maybe Text) Source #
The URL to the endpoint to use for the API destination.
updateApiDestination_invocationRateLimitPerSecond :: Lens' UpdateApiDestination (Maybe Natural) Source #
The maximum number of invocations per second to send to the API destination.
updateApiDestination_connectionArn :: Lens' UpdateApiDestination (Maybe Text) Source #
The ARN of the connection to use for the API destination.
updateApiDestination_description :: Lens' UpdateApiDestination (Maybe Text) Source #
The name of the API destination to update.
updateApiDestination_name :: Lens' UpdateApiDestination Text Source #
The name of the API destination to update.
Destructuring the Response
data UpdateApiDestinationResponse Source #
See: newUpdateApiDestinationResponse
smart constructor.
UpdateApiDestinationResponse' | |
|
Instances
newUpdateApiDestinationResponse Source #
Create a value of UpdateApiDestinationResponse
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:creationTime:UpdateApiDestinationResponse'
, updateApiDestinationResponse_creationTime
- A time stamp for the time that the API destination was created.
$sel:lastModifiedTime:UpdateApiDestinationResponse'
, updateApiDestinationResponse_lastModifiedTime
- A time stamp for the time that the API destination was last modified.
$sel:apiDestinationState:UpdateApiDestinationResponse'
, updateApiDestinationResponse_apiDestinationState
- The state of the API destination that was updated.
$sel:apiDestinationArn:UpdateApiDestinationResponse'
, updateApiDestinationResponse_apiDestinationArn
- The ARN of the API destination that was updated.
$sel:httpStatus:UpdateApiDestinationResponse'
, updateApiDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
updateApiDestinationResponse_creationTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime) Source #
A time stamp for the time that the API destination was created.
updateApiDestinationResponse_lastModifiedTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime) Source #
A time stamp for the time that the API destination was last modified.
updateApiDestinationResponse_apiDestinationState :: Lens' UpdateApiDestinationResponse (Maybe ApiDestinationState) Source #
The state of the API destination that was updated.
updateApiDestinationResponse_apiDestinationArn :: Lens' UpdateApiDestinationResponse (Maybe Text) Source #
The ARN of the API destination that was updated.
updateApiDestinationResponse_httpStatus :: Lens' UpdateApiDestinationResponse Int Source #
The response's http status code.