| 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.DescribeApiDestination
Description
Retrieves details about an API destination.
Synopsis
- data DescribeApiDestination = DescribeApiDestination' {}
- newDescribeApiDestination :: Text -> DescribeApiDestination
- describeApiDestination_name :: Lens' DescribeApiDestination Text
- data DescribeApiDestinationResponse = DescribeApiDestinationResponse' {
- apiDestinationArn :: Maybe Text
- apiDestinationState :: Maybe ApiDestinationState
- connectionArn :: Maybe Text
- creationTime :: Maybe POSIX
- description :: Maybe Text
- httpMethod :: Maybe ApiDestinationHttpMethod
- invocationEndpoint :: Maybe Text
- invocationRateLimitPerSecond :: Maybe Natural
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- httpStatus :: Int
- newDescribeApiDestinationResponse :: Int -> DescribeApiDestinationResponse
- describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_apiDestinationState :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationState)
- describeApiDestinationResponse_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
- describeApiDestinationResponse_description :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_httpMethod :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationHttpMethod)
- describeApiDestinationResponse_invocationEndpoint :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural)
- describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
- describeApiDestinationResponse_name :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int
Creating a Request
data DescribeApiDestination Source #
See: newDescribeApiDestination smart constructor.
Constructors
| DescribeApiDestination' | |
Instances
newDescribeApiDestination Source #
Arguments
| :: Text | |
| -> DescribeApiDestination |
Create a value of DescribeApiDestination 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:
DescribeApiDestination, describeApiDestination_name - The name of the API destination to retrieve.
Request Lenses
describeApiDestination_name :: Lens' DescribeApiDestination Text Source #
The name of the API destination to retrieve.
Destructuring the Response
data DescribeApiDestinationResponse Source #
See: newDescribeApiDestinationResponse smart constructor.
Constructors
| DescribeApiDestinationResponse' | |
Fields
| |
Instances
newDescribeApiDestinationResponse Source #
Create a value of DescribeApiDestinationResponse 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:
DescribeApiDestinationResponse, describeApiDestinationResponse_apiDestinationArn - The ARN of the API destination retrieved.
DescribeApiDestinationResponse, describeApiDestinationResponse_apiDestinationState - The state of the API destination retrieved.
DescribeApiDestinationResponse, describeApiDestinationResponse_connectionArn - The ARN of the connection specified for the API destination retrieved.
DescribeApiDestinationResponse, describeApiDestinationResponse_creationTime - A time stamp for the time that the API destination was created.
DescribeApiDestinationResponse, describeApiDestinationResponse_description - The description for the API destination retrieved.
DescribeApiDestinationResponse, describeApiDestinationResponse_httpMethod - The method to use to connect to the HTTP endpoint.
DescribeApiDestinationResponse, describeApiDestinationResponse_invocationEndpoint - The URL to use to connect to the HTTP endpoint.
DescribeApiDestinationResponse, describeApiDestinationResponse_invocationRateLimitPerSecond - The maximum number of invocations per second to specified for the API
destination. Note that if you set the invocation rate maximum to a value
lower the rate necessary to send all events received on to the
destination HTTP endpoint, some events may not be delivered within the
24-hour retry window. If you plan to set the rate lower than the rate
necessary to deliver all events, consider using a dead-letter queue to
catch events that are not delivered within 24 hours.
DescribeApiDestinationResponse, describeApiDestinationResponse_lastModifiedTime - A time stamp for the time that the API destination was last modified.
DescribeApiDestination, describeApiDestinationResponse_name - The name of the API destination retrieved.
$sel:httpStatus:DescribeApiDestinationResponse', describeApiDestinationResponse_httpStatus - The response's http status code.
Response Lenses
describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The ARN of the API destination retrieved.
describeApiDestinationResponse_apiDestinationState :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationState) Source #
The state of the API destination retrieved.
describeApiDestinationResponse_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The ARN of the connection specified for the API destination retrieved.
describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime) Source #
A time stamp for the time that the API destination was created.
describeApiDestinationResponse_description :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The description for the API destination retrieved.
describeApiDestinationResponse_httpMethod :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationHttpMethod) Source #
The method to use to connect to the HTTP endpoint.
describeApiDestinationResponse_invocationEndpoint :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The URL to use to connect to the HTTP endpoint.
describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural) Source #
The maximum number of invocations per second to specified for the API destination. Note that if you set the invocation rate maximum to a value lower the rate necessary to send all events received on to the destination HTTP endpoint, some events may not be delivered within the 24-hour retry window. If you plan to set the rate lower than the rate necessary to deliver all events, consider using a dead-letter queue to catch events that are not delivered within 24 hours.
describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime) Source #
A time stamp for the time that the API destination was last modified.
describeApiDestinationResponse_name :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The name of the API destination retrieved.
describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int Source #
The response's http status code.