Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data UpdateEndpoint = UpdateEndpoint' {}
- newUpdateEndpoint :: Text -> UpdateEndpoint
- updateEndpoint_description :: Lens' UpdateEndpoint (Maybe Text)
- updateEndpoint_eventBuses :: Lens' UpdateEndpoint (Maybe (NonEmpty EndpointEventBus))
- updateEndpoint_replicationConfig :: Lens' UpdateEndpoint (Maybe ReplicationConfig)
- updateEndpoint_roleArn :: Lens' UpdateEndpoint (Maybe Text)
- updateEndpoint_routingConfig :: Lens' UpdateEndpoint (Maybe RoutingConfig)
- updateEndpoint_name :: Lens' UpdateEndpoint Text
- data UpdateEndpointResponse = UpdateEndpointResponse' {}
- newUpdateEndpointResponse :: Int -> UpdateEndpointResponse
- updateEndpointResponse_arn :: Lens' UpdateEndpointResponse (Maybe Text)
- updateEndpointResponse_endpointId :: Lens' UpdateEndpointResponse (Maybe Text)
- updateEndpointResponse_endpointUrl :: Lens' UpdateEndpointResponse (Maybe Text)
- updateEndpointResponse_eventBuses :: Lens' UpdateEndpointResponse (Maybe (NonEmpty EndpointEventBus))
- updateEndpointResponse_name :: Lens' UpdateEndpointResponse (Maybe Text)
- updateEndpointResponse_replicationConfig :: Lens' UpdateEndpointResponse (Maybe ReplicationConfig)
- updateEndpointResponse_roleArn :: Lens' UpdateEndpointResponse (Maybe Text)
- updateEndpointResponse_routingConfig :: Lens' UpdateEndpointResponse (Maybe RoutingConfig)
- updateEndpointResponse_state :: Lens' UpdateEndpointResponse (Maybe EndpointState)
- updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int
Creating a Request
data UpdateEndpoint Source #
See: newUpdateEndpoint
smart constructor.
UpdateEndpoint' | |
|
Instances
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.
UpdateEndpointResponse' | |
|
Instances
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.
updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int Source #
The response's http status code.