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