Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Used to failover the primary region to a selected secondary region. The selected secondary region will become primary, and all other clusters will become secondary.
Synopsis
- data FailoverGlobalReplicationGroup = FailoverGlobalReplicationGroup' {}
- newFailoverGlobalReplicationGroup :: Text -> Text -> Text -> FailoverGlobalReplicationGroup
- failoverGlobalReplicationGroup_globalReplicationGroupId :: Lens' FailoverGlobalReplicationGroup Text
- failoverGlobalReplicationGroup_primaryRegion :: Lens' FailoverGlobalReplicationGroup Text
- failoverGlobalReplicationGroup_primaryReplicationGroupId :: Lens' FailoverGlobalReplicationGroup Text
- data FailoverGlobalReplicationGroupResponse = FailoverGlobalReplicationGroupResponse' {}
- newFailoverGlobalReplicationGroupResponse :: Int -> FailoverGlobalReplicationGroupResponse
- failoverGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' FailoverGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup)
- failoverGlobalReplicationGroupResponse_httpStatus :: Lens' FailoverGlobalReplicationGroupResponse Int
Creating a Request
data FailoverGlobalReplicationGroup Source #
See: newFailoverGlobalReplicationGroup
smart constructor.
FailoverGlobalReplicationGroup' | |
|
Instances
newFailoverGlobalReplicationGroup Source #
:: Text |
|
-> Text | |
-> Text |
|
-> FailoverGlobalReplicationGroup |
Create a value of FailoverGlobalReplicationGroup
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:globalReplicationGroupId:FailoverGlobalReplicationGroup'
, failoverGlobalReplicationGroup_globalReplicationGroupId
- The name of the Global datastore
$sel:primaryRegion:FailoverGlobalReplicationGroup'
, failoverGlobalReplicationGroup_primaryRegion
- The Amazon region of the primary cluster of the Global datastore
$sel:primaryReplicationGroupId:FailoverGlobalReplicationGroup'
, failoverGlobalReplicationGroup_primaryReplicationGroupId
- The name of the primary replication group
Request Lenses
failoverGlobalReplicationGroup_globalReplicationGroupId :: Lens' FailoverGlobalReplicationGroup Text Source #
The name of the Global datastore
failoverGlobalReplicationGroup_primaryRegion :: Lens' FailoverGlobalReplicationGroup Text Source #
The Amazon region of the primary cluster of the Global datastore
failoverGlobalReplicationGroup_primaryReplicationGroupId :: Lens' FailoverGlobalReplicationGroup Text Source #
The name of the primary replication group
Destructuring the Response
data FailoverGlobalReplicationGroupResponse Source #
See: newFailoverGlobalReplicationGroupResponse
smart constructor.
FailoverGlobalReplicationGroupResponse' | |
|
Instances
newFailoverGlobalReplicationGroupResponse Source #
Create a value of FailoverGlobalReplicationGroupResponse
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:globalReplicationGroup:FailoverGlobalReplicationGroupResponse'
, failoverGlobalReplicationGroupResponse_globalReplicationGroup
- Undocumented member.
$sel:httpStatus:FailoverGlobalReplicationGroupResponse'
, failoverGlobalReplicationGroupResponse_httpStatus
- The response's http status code.
Response Lenses
failoverGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' FailoverGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup) Source #
Undocumented member.
failoverGlobalReplicationGroupResponse_httpStatus :: Lens' FailoverGlobalReplicationGroupResponse Int Source #
The response's http status code.