| 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 |
Amazonka.Route53RecoveryCluster.Types
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _EndpointTemporarilyUnavailableException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceLimitExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype RoutingControlState where
- RoutingControlState' { }
- pattern RoutingControlState_Off :: RoutingControlState
- pattern RoutingControlState_On :: RoutingControlState
- data RoutingControl = RoutingControl' {}
- newRoutingControl :: RoutingControl
- routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text)
- routingControl_controlPanelName :: Lens' RoutingControl (Maybe Text)
- routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text)
- routingControl_routingControlName :: Lens' RoutingControl (Maybe Text)
- routingControl_routingControlState :: Lens' RoutingControl (Maybe RoutingControlState)
- data UpdateRoutingControlStateEntry = UpdateRoutingControlStateEntry' {}
- newUpdateRoutingControlStateEntry :: Text -> RoutingControlState -> UpdateRoutingControlStateEntry
- updateRoutingControlStateEntry_routingControlArn :: Lens' UpdateRoutingControlStateEntry Text
- updateRoutingControlStateEntry_routingControlState :: Lens' UpdateRoutingControlStateEntry RoutingControlState
Service Configuration
defaultService :: Service Source #
API version 2019-12-02 of the Amazon Route53 Recovery Cluster SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You don't have sufficient permissions to perform this action.
_ConflictException :: AsError a => Fold a ServiceError Source #
There was a conflict with this request. Try again.
_EndpointTemporarilyUnavailableException :: AsError a => Fold a ServiceError Source #
The cluster endpoint isn't available. Try another cluster endpoint.
_InternalServerException :: AsError a => Fold a ServiceError Source #
There was an unexpected error during processing of the request.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The request references a routing control or control panel that was not found.
_ServiceLimitExceededException :: AsError a => Fold a ServiceError Source #
The request can't update that many routing control states at the same time. Try again with fewer routing control states.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied because of request throttling.
_ValidationException :: AsError a => Fold a ServiceError Source #
There was a validation error on the request.
RoutingControlState
newtype RoutingControlState Source #
Constructors
| RoutingControlState' | |
Fields | |
Bundled Patterns
| pattern RoutingControlState_Off :: RoutingControlState | |
| pattern RoutingControlState_On :: RoutingControlState |
Instances
RoutingControl
data RoutingControl Source #
A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
See: newRoutingControl smart constructor.
Constructors
| RoutingControl' | |
Fields
| |
Instances
newRoutingControl :: RoutingControl Source #
Create a value of RoutingControl 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:controlPanelArn:RoutingControl', routingControl_controlPanelArn - The Amazon Resource Name (ARN) of the control panel where the routing
control is located.
$sel:controlPanelName:RoutingControl', routingControl_controlPanelName - The name of the control panel where the routing control is located.
$sel:routingControlArn:RoutingControl', routingControl_routingControlArn - The Amazon Resource Name (ARN) of the routing control.
$sel:routingControlName:RoutingControl', routingControl_routingControlName - The name of the routing control.
$sel:routingControlState:RoutingControl', routingControl_routingControlState - The current state of the routing control. When a routing control state
is On, traffic flows to a cell. When the state is Off, traffic does not
flow.
routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text) Source #
The Amazon Resource Name (ARN) of the control panel where the routing control is located.
routingControl_controlPanelName :: Lens' RoutingControl (Maybe Text) Source #
The name of the control panel where the routing control is located.
routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text) Source #
The Amazon Resource Name (ARN) of the routing control.
routingControl_routingControlName :: Lens' RoutingControl (Maybe Text) Source #
The name of the routing control.
routingControl_routingControlState :: Lens' RoutingControl (Maybe RoutingControlState) Source #
The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.
UpdateRoutingControlStateEntry
data UpdateRoutingControlStateEntry Source #
A routing control state entry.
See: newUpdateRoutingControlStateEntry smart constructor.
Constructors
| UpdateRoutingControlStateEntry' | |
Fields
| |
Instances
newUpdateRoutingControlStateEntry Source #
Arguments
| :: Text | |
| -> RoutingControlState | |
| -> UpdateRoutingControlStateEntry |
Create a value of UpdateRoutingControlStateEntry 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:routingControlArn:UpdateRoutingControlStateEntry', updateRoutingControlStateEntry_routingControlArn - The Amazon Resource Name (ARN) for a routing control state entry.
$sel:routingControlState:UpdateRoutingControlStateEntry', updateRoutingControlStateEntry_routingControlState - The routing control state in a set of routing control state entries.
updateRoutingControlStateEntry_routingControlArn :: Lens' UpdateRoutingControlStateEntry Text Source #
The Amazon Resource Name (ARN) for a routing control state entry.
updateRoutingControlStateEntry_routingControlState :: Lens' UpdateRoutingControlStateEntry RoutingControlState Source #
The routing control state in a set of routing control state entries.