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 |
Retrieves details about an API destination.
Synopsis
- data DescribeApiDestination = DescribeApiDestination' {}
- newDescribeApiDestination :: Text -> DescribeApiDestination
- describeApiDestination_name :: Lens' DescribeApiDestination Text
- data DescribeApiDestinationResponse = DescribeApiDestinationResponse' {
- creationTime :: Maybe POSIX
- httpMethod :: Maybe ApiDestinationHttpMethod
- invocationEndpoint :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- invocationRateLimitPerSecond :: Maybe Natural
- apiDestinationState :: Maybe ApiDestinationState
- connectionArn :: Maybe Text
- description :: Maybe Text
- apiDestinationArn :: Maybe Text
- httpStatus :: Int
- newDescribeApiDestinationResponse :: Int -> DescribeApiDestinationResponse
- describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
- describeApiDestinationResponse_httpMethod :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationHttpMethod)
- describeApiDestinationResponse_invocationEndpoint :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
- describeApiDestinationResponse_name :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural)
- describeApiDestinationResponse_apiDestinationState :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationState)
- describeApiDestinationResponse_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_description :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
- describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int
Creating a Request
data DescribeApiDestination Source #
See: newDescribeApiDestination
smart constructor.
Instances
newDescribeApiDestination Source #
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:
$sel:name: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.
DescribeApiDestinationResponse' | |
|
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:
$sel:creationTime:DescribeApiDestinationResponse'
, describeApiDestinationResponse_creationTime
- A time stamp for the time that the API destination was created.
$sel:httpMethod:DescribeApiDestinationResponse'
, describeApiDestinationResponse_httpMethod
- The method to use to connect to the HTTP endpoint.
$sel:invocationEndpoint:DescribeApiDestinationResponse'
, describeApiDestinationResponse_invocationEndpoint
- The URL to use to connect to the HTTP endpoint.
$sel:lastModifiedTime:DescribeApiDestinationResponse'
, describeApiDestinationResponse_lastModifiedTime
- A time stamp for the time that the API destination was last modified.
$sel:name:DescribeApiDestination'
, describeApiDestinationResponse_name
- The name of the API destination retrieved.
$sel:invocationRateLimitPerSecond: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.
$sel:apiDestinationState:DescribeApiDestinationResponse'
, describeApiDestinationResponse_apiDestinationState
- The state of the API destination retrieved.
$sel:connectionArn:DescribeApiDestinationResponse'
, describeApiDestinationResponse_connectionArn
- The ARN of the connection specified for the API destination retrieved.
$sel:description:DescribeApiDestinationResponse'
, describeApiDestinationResponse_description
- The description for the API destination retrieved.
$sel:apiDestinationArn:DescribeApiDestinationResponse'
, describeApiDestinationResponse_apiDestinationArn
- The ARN of the API destination retrieved.
$sel:httpStatus:DescribeApiDestinationResponse'
, describeApiDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime) Source #
A time stamp for the time that the API destination was created.
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_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_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_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_description :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The description for the API destination retrieved.
describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #
The ARN of the API destination retrieved.
describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int Source #
The response's http status code.