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.UpdateApiDestination

Description

Updates an API destination.

Synopsis

Creating a Request

data UpdateApiDestination Source #

See: newUpdateApiDestination smart constructor.

Constructors

UpdateApiDestination' 

Fields

Instances

Instances details
Eq UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Read UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Show UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Generic UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type Rep UpdateApiDestination :: Type -> Type #

NFData UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Methods

rnf :: UpdateApiDestination -> () #

Hashable UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

ToJSON UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

AWSRequest UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type AWSResponse UpdateApiDestination #

ToHeaders UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

ToPath UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

ToQuery UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

type Rep UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

type Rep UpdateApiDestination = D1 ('MetaData "UpdateApiDestination" "Amazonka.CloudWatchEvents.UpdateApiDestination" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "UpdateApiDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiDestinationHttpMethod)) :*: (S1 ('MetaSel ('Just "invocationEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invocationRateLimitPerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

newUpdateApiDestination Source #

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:

$sel:httpMethod:UpdateApiDestination', updateApiDestination_httpMethod - The method to use for the API destination.

$sel:invocationEndpoint:UpdateApiDestination', updateApiDestination_invocationEndpoint - The URL to the endpoint to use for the API destination.

$sel:invocationRateLimitPerSecond:UpdateApiDestination', updateApiDestination_invocationRateLimitPerSecond - The maximum number of invocations per second to send to the API destination.

$sel:connectionArn:UpdateApiDestination', updateApiDestination_connectionArn - The ARN of the connection to use for the API destination.

$sel:description:UpdateApiDestination', updateApiDestination_description - The name of the API destination to update.

$sel:name:UpdateApiDestination', updateApiDestination_name - The name of the API destination to update.

Request Lenses

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_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_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

Instances details
Eq UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Read UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Show UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Generic UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type Rep UpdateApiDestinationResponse :: Type -> Type #

NFData UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

type Rep UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

type Rep UpdateApiDestinationResponse = D1 ('MetaData "UpdateApiDestinationResponse" "Amazonka.CloudWatchEvents.UpdateApiDestination" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "UpdateApiDestinationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "apiDestinationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiDestinationState)) :*: (S1 ('MetaSel ('Just "apiDestinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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:

$sel:creationTime:UpdateApiDestinationResponse', updateApiDestinationResponse_creationTime - A time stamp for the time that the API destination was created.

$sel:lastModifiedTime:UpdateApiDestinationResponse', updateApiDestinationResponse_lastModifiedTime - A time stamp for the time that the API destination was last modified.

$sel:apiDestinationState:UpdateApiDestinationResponse', updateApiDestinationResponse_apiDestinationState - The state of the API destination that was updated.

$sel:apiDestinationArn:UpdateApiDestinationResponse', updateApiDestinationResponse_apiDestinationArn - The ARN of the API destination that was updated.

$sel:httpStatus:UpdateApiDestinationResponse', updateApiDestinationResponse_httpStatus - The response's http status code.

Response Lenses

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.