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 |
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
Synopsis
- data CreateReplicationSet = CreateReplicationSet' {}
- newCreateReplicationSet :: CreateReplicationSet
- createReplicationSet_clientToken :: Lens' CreateReplicationSet (Maybe Text)
- createReplicationSet_regions :: Lens' CreateReplicationSet (HashMap Text RegionMapInputValue)
- data CreateReplicationSetResponse = CreateReplicationSetResponse' {
- httpStatus :: Int
- arn :: Text
- newCreateReplicationSetResponse :: Int -> Text -> CreateReplicationSetResponse
- createReplicationSetResponse_httpStatus :: Lens' CreateReplicationSetResponse Int
- createReplicationSetResponse_arn :: Lens' CreateReplicationSetResponse Text
Creating a Request
data CreateReplicationSet Source #
See: newCreateReplicationSet
smart constructor.
CreateReplicationSet' | |
|
Instances
newCreateReplicationSet :: CreateReplicationSet Source #
Create a value of CreateReplicationSet
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:clientToken:CreateReplicationSet'
, createReplicationSet_clientToken
- A token ensuring that the action is called only once with the specified
details.
$sel:regions:CreateReplicationSet'
, createReplicationSet_regions
- The Regions that Incident Manager replicates your data to. You can have
up to three Regions in your replication set.
Request Lenses
createReplicationSet_clientToken :: Lens' CreateReplicationSet (Maybe Text) Source #
A token ensuring that the action is called only once with the specified details.
createReplicationSet_regions :: Lens' CreateReplicationSet (HashMap Text RegionMapInputValue) Source #
The Regions that Incident Manager replicates your data to. You can have up to three Regions in your replication set.
Destructuring the Response
data CreateReplicationSetResponse Source #
See: newCreateReplicationSetResponse
smart constructor.
CreateReplicationSetResponse' | |
|
Instances
newCreateReplicationSetResponse Source #
:: Int | |
-> Text | |
-> CreateReplicationSetResponse |
Create a value of CreateReplicationSetResponse
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:httpStatus:CreateReplicationSetResponse'
, createReplicationSetResponse_httpStatus
- The response's http status code.
$sel:arn:CreateReplicationSetResponse'
, createReplicationSetResponse_arn
- The Amazon Resource Name (ARN) of the replication set.
Response Lenses
createReplicationSetResponse_httpStatus :: Lens' CreateReplicationSetResponse Int Source #
The response's http status code.
createReplicationSetResponse_arn :: Lens' CreateReplicationSetResponse Text Source #
The Amazon Resource Name (ARN) of the replication set.