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

Description

Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide..

Synopsis

Creating a Request

data UpdateEndpoint Source #

See: newUpdateEndpoint smart constructor.

Constructors

UpdateEndpoint' 

Fields

Instances

Instances details
ToJSON UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

ToHeaders UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

ToPath UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

ToQuery UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

AWSRequest UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Associated Types

type AWSResponse UpdateEndpoint #

Generic UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Associated Types

type Rep UpdateEndpoint :: Type -> Type #

Read UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Show UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

NFData UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Methods

rnf :: UpdateEndpoint -> () #

Eq UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Hashable UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

type AWSResponse UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

type Rep UpdateEndpoint Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

type Rep UpdateEndpoint = D1 ('MetaData "UpdateEndpoint" "Amazonka.CloudWatchEvents.UpdateEndpoint" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "UpdateEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventBuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty EndpointEventBus))) :*: S1 ('MetaSel ('Just "replicationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationConfig)))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoutingConfig)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateEndpoint Source #

Create a value of UpdateEndpoint 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:

UpdateEndpoint, updateEndpoint_description - A description for the endpoint.

UpdateEndpoint, updateEndpoint_eventBuses - Define event buses used for replication.

UpdateEndpoint, updateEndpoint_replicationConfig - Whether event replication was enabled or disabled by this request.

UpdateEndpoint, updateEndpoint_roleArn - The ARN of the role used by event replication for this request.

UpdateEndpoint, updateEndpoint_routingConfig - Configure the routing policy, including the health check and secondary Region..

UpdateEndpoint, updateEndpoint_name - The name of the endpoint you want to update.

Request Lenses

updateEndpoint_description :: Lens' UpdateEndpoint (Maybe Text) Source #

A description for the endpoint.

updateEndpoint_eventBuses :: Lens' UpdateEndpoint (Maybe (NonEmpty EndpointEventBus)) Source #

Define event buses used for replication.

updateEndpoint_replicationConfig :: Lens' UpdateEndpoint (Maybe ReplicationConfig) Source #

Whether event replication was enabled or disabled by this request.

updateEndpoint_roleArn :: Lens' UpdateEndpoint (Maybe Text) Source #

The ARN of the role used by event replication for this request.

updateEndpoint_routingConfig :: Lens' UpdateEndpoint (Maybe RoutingConfig) Source #

Configure the routing policy, including the health check and secondary Region..

updateEndpoint_name :: Lens' UpdateEndpoint Text Source #

The name of the endpoint you want to update.

Destructuring the Response

data UpdateEndpointResponse Source #

See: newUpdateEndpointResponse smart constructor.

Constructors

UpdateEndpointResponse' 

Fields

Instances

Instances details
Generic UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Associated Types

type Rep UpdateEndpointResponse :: Type -> Type #

Read UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Show UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

NFData UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

Methods

rnf :: UpdateEndpointResponse -> () #

Eq UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

type Rep UpdateEndpointResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateEndpoint

newUpdateEndpointResponse Source #

Create a value of UpdateEndpointResponse 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:

UpdateEndpointResponse, updateEndpointResponse_arn - The ARN of the endpoint you updated in this request.

UpdateEndpointResponse, updateEndpointResponse_endpointId - The ID of the endpoint you updated in this request.

UpdateEndpointResponse, updateEndpointResponse_endpointUrl - The URL of the endpoint you updated in this request.

UpdateEndpoint, updateEndpointResponse_eventBuses - The event buses used for replication for the endpoint you updated in this request.

UpdateEndpoint, updateEndpointResponse_name - The name of the endpoint you updated in this request.

UpdateEndpoint, updateEndpointResponse_replicationConfig - Whether event replication was enabled or disabled for the endpoint you updated in this request.

UpdateEndpoint, updateEndpointResponse_roleArn - The ARN of the role used by event replication for the endpoint you updated in this request.

UpdateEndpoint, updateEndpointResponse_routingConfig - The routing configuration you updated in this request.

UpdateEndpointResponse, updateEndpointResponse_state - The state of the endpoint you updated in this request.

$sel:httpStatus:UpdateEndpointResponse', updateEndpointResponse_httpStatus - The response's http status code.

Response Lenses

updateEndpointResponse_arn :: Lens' UpdateEndpointResponse (Maybe Text) Source #

The ARN of the endpoint you updated in this request.

updateEndpointResponse_endpointId :: Lens' UpdateEndpointResponse (Maybe Text) Source #

The ID of the endpoint you updated in this request.

updateEndpointResponse_endpointUrl :: Lens' UpdateEndpointResponse (Maybe Text) Source #

The URL of the endpoint you updated in this request.

updateEndpointResponse_eventBuses :: Lens' UpdateEndpointResponse (Maybe (NonEmpty EndpointEventBus)) Source #

The event buses used for replication for the endpoint you updated in this request.

updateEndpointResponse_name :: Lens' UpdateEndpointResponse (Maybe Text) Source #

The name of the endpoint you updated in this request.

updateEndpointResponse_replicationConfig :: Lens' UpdateEndpointResponse (Maybe ReplicationConfig) Source #

Whether event replication was enabled or disabled for the endpoint you updated in this request.

updateEndpointResponse_roleArn :: Lens' UpdateEndpointResponse (Maybe Text) Source #

The ARN of the role used by event replication for the endpoint you updated in this request.

updateEndpointResponse_routingConfig :: Lens' UpdateEndpointResponse (Maybe RoutingConfig) Source #

The routing configuration you updated in this request.

updateEndpointResponse_state :: Lens' UpdateEndpointResponse (Maybe EndpointState) Source #

The state of the endpoint you updated in this request.