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 |
Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore for Redis, you can create cross-region read replica clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery across regions. For more information, see Replication Across Regions Using Global Datastore.
- The GlobalReplicationGroupIdSuffix is the name of the Global datastore.
- The PrimaryReplicationGroupId represents the name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
Synopsis
- data CreateGlobalReplicationGroup = CreateGlobalReplicationGroup' {}
- newCreateGlobalReplicationGroup :: Text -> Text -> CreateGlobalReplicationGroup
- createGlobalReplicationGroup_globalReplicationGroupDescription :: Lens' CreateGlobalReplicationGroup (Maybe Text)
- createGlobalReplicationGroup_globalReplicationGroupIdSuffix :: Lens' CreateGlobalReplicationGroup Text
- createGlobalReplicationGroup_primaryReplicationGroupId :: Lens' CreateGlobalReplicationGroup Text
- data CreateGlobalReplicationGroupResponse = CreateGlobalReplicationGroupResponse' {}
- newCreateGlobalReplicationGroupResponse :: Int -> CreateGlobalReplicationGroupResponse
- createGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' CreateGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup)
- createGlobalReplicationGroupResponse_httpStatus :: Lens' CreateGlobalReplicationGroupResponse Int
Creating a Request
data CreateGlobalReplicationGroup Source #
See: newCreateGlobalReplicationGroup
smart constructor.
CreateGlobalReplicationGroup' | |
|
Instances
newCreateGlobalReplicationGroup Source #
:: Text |
|
-> Text |
|
-> CreateGlobalReplicationGroup |
Create a value of CreateGlobalReplicationGroup
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:globalReplicationGroupDescription:CreateGlobalReplicationGroup'
, createGlobalReplicationGroup_globalReplicationGroupDescription
- Provides details of the Global datastore
$sel:globalReplicationGroupIdSuffix:CreateGlobalReplicationGroup'
, createGlobalReplicationGroup_globalReplicationGroupIdSuffix
- The suffix name of a Global datastore. Amazon ElastiCache automatically
applies a prefix to the Global datastore ID when it is created. Each
Amazon Region has its own prefix. For instance, a Global datastore ID
created in the US-West-1 region will begin with "dsdfu" along with the
suffix name you provide. The suffix, combined with the auto-generated
prefix, guarantees uniqueness of the Global datastore name across
multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
$sel:primaryReplicationGroupId:CreateGlobalReplicationGroup'
, createGlobalReplicationGroup_primaryReplicationGroupId
- The name of the primary cluster that accepts writes and will replicate
updates to the secondary cluster.
Request Lenses
createGlobalReplicationGroup_globalReplicationGroupDescription :: Lens' CreateGlobalReplicationGroup (Maybe Text) Source #
Provides details of the Global datastore
createGlobalReplicationGroup_globalReplicationGroupIdSuffix :: Lens' CreateGlobalReplicationGroup Text Source #
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
createGlobalReplicationGroup_primaryReplicationGroupId :: Lens' CreateGlobalReplicationGroup Text Source #
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
Destructuring the Response
data CreateGlobalReplicationGroupResponse Source #
See: newCreateGlobalReplicationGroupResponse
smart constructor.
CreateGlobalReplicationGroupResponse' | |
|
Instances
newCreateGlobalReplicationGroupResponse Source #
Create a value of CreateGlobalReplicationGroupResponse
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:CreateGlobalReplicationGroupResponse'
, createGlobalReplicationGroupResponse_globalReplicationGroup
- Undocumented member.
$sel:httpStatus:CreateGlobalReplicationGroupResponse'
, createGlobalReplicationGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' CreateGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup) Source #
Undocumented member.
createGlobalReplicationGroupResponse_httpStatus :: Lens' CreateGlobalReplicationGroupResponse Int Source #
The response's http status code.