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 |
Amazonka.CloudWatchEvents.Types.ApiDestination
Description
Synopsis
- data ApiDestination = ApiDestination' {
- creationTime :: Maybe POSIX
- httpMethod :: Maybe ApiDestinationHttpMethod
- invocationEndpoint :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- invocationRateLimitPerSecond :: Maybe Natural
- apiDestinationState :: Maybe ApiDestinationState
- connectionArn :: Maybe Text
- apiDestinationArn :: Maybe Text
- newApiDestination :: ApiDestination
- apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime)
- apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod)
- apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text)
- apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime)
- apiDestination_name :: Lens' ApiDestination (Maybe Text)
- apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural)
- apiDestination_apiDestinationState :: Lens' ApiDestination (Maybe ApiDestinationState)
- apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text)
- apiDestination_apiDestinationArn :: Lens' ApiDestination (Maybe Text)
Documentation
data ApiDestination Source #
Contains details about an API destination.
See: newApiDestination
smart constructor.
Constructors
ApiDestination' | |
Fields
|
Instances
newApiDestination :: ApiDestination Source #
Create a value of ApiDestination
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:ApiDestination'
, apiDestination_creationTime
- A time stamp for the time that the API destination was created.
$sel:httpMethod:ApiDestination'
, apiDestination_httpMethod
- The method to use to connect to the HTTP endpoint.
$sel:invocationEndpoint:ApiDestination'
, apiDestination_invocationEndpoint
- The URL to the endpoint for the API destination.
$sel:lastModifiedTime:ApiDestination'
, apiDestination_lastModifiedTime
- A time stamp for the time that the API destination was last modified.
$sel:name:ApiDestination'
, apiDestination_name
- The name of the API destination.
$sel:invocationRateLimitPerSecond:ApiDestination'
, apiDestination_invocationRateLimitPerSecond
- The maximum number of invocations per second to send to the HTTP
endpoint.
$sel:apiDestinationState:ApiDestination'
, apiDestination_apiDestinationState
- The state of the API destination.
$sel:connectionArn:ApiDestination'
, apiDestination_connectionArn
- The ARN of the connection specified for the API destination.
$sel:apiDestinationArn:ApiDestination'
, apiDestination_apiDestinationArn
- The ARN of the API destination.
apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime) Source #
A time stamp for the time that the API destination was created.
apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod) Source #
The method to use to connect to the HTTP endpoint.
apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text) Source #
The URL to the endpoint for the API destination.
apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime) Source #
A time stamp for the time that the API destination was last modified.
apiDestination_name :: Lens' ApiDestination (Maybe Text) Source #
The name of the API destination.
apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural) Source #
The maximum number of invocations per second to send to the HTTP endpoint.
apiDestination_apiDestinationState :: Lens' ApiDestination (Maybe ApiDestinationState) Source #
The state of the API destination.
apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text) Source #
The ARN of the connection specified for the API destination.
apiDestination_apiDestinationArn :: Lens' ApiDestination (Maybe Text) Source #
The ARN of the API destination.