amazonka-cloudwatch-events-2.0: Amazon EventBridge SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.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

AWSRequest UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type AWSResponse UpdateApiDestination #

Generic UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type Rep UpdateApiDestination :: Type -> Type #

Read UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Show UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

NFData UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Methods

rnf :: UpdateApiDestination -> () #

Eq UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Hashable UpdateApiDestination Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

type AWSResponse 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "UpdateApiDestination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

UpdateApiDestination, updateApiDestination_connectionArn - The ARN of the connection to use for the API destination.

UpdateApiDestination, updateApiDestination_description - The name of the API destination to update.

UpdateApiDestination, updateApiDestination_httpMethod - The method to use for the API destination.

UpdateApiDestination, updateApiDestination_invocationEndpoint - The URL to the endpoint to use for the API destination.

UpdateApiDestination, updateApiDestination_invocationRateLimitPerSecond - The maximum number of invocations per second to send to the API destination.

UpdateApiDestination, updateApiDestination_name - The name of the API destination to update.

Request Lenses

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_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_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
Generic UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Associated Types

type Rep UpdateApiDestinationResponse :: Type -> Type #

Read UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Show UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

NFData UpdateApiDestinationResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateApiDestination

Eq 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "UpdateApiDestinationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiDestinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiDestinationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiDestinationState))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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:

UpdateApiDestinationResponse, updateApiDestinationResponse_apiDestinationArn - The ARN of the API destination that was updated.

UpdateApiDestinationResponse, updateApiDestinationResponse_apiDestinationState - The state of the API destination that was updated.

UpdateApiDestinationResponse, updateApiDestinationResponse_creationTime - A time stamp for the time that the API destination was created.

UpdateApiDestinationResponse, updateApiDestinationResponse_lastModifiedTime - A time stamp for the time that the API destination was last modified.

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