libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Types.ApiDestination

Description

 
Synopsis

Documentation

data ApiDestination Source #

Contains details about an API destination.

See: newApiDestination smart constructor.

Constructors

ApiDestination' 

Fields

Instances

Instances details
Eq ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

Read ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

Show ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

Generic ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

Associated Types

type Rep ApiDestination :: Type -> Type #

NFData ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

Methods

rnf :: ApiDestination -> () #

Hashable ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

FromJSON ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

type Rep ApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.ApiDestination

type Rep ApiDestination = D1 ('MetaData "ApiDestination" "Amazonka.CloudWatchEvents.Types.ApiDestination" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ApiDestination'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiDestinationHttpMethod))) :*: (S1 ('MetaSel ('Just "invocationEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invocationRateLimitPerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "apiDestinationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiDestinationState)) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiDestinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_connectionArn :: Lens' ApiDestination (Maybe Text) Source #

The ARN of the connection specified for the API destination.