| 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.SSMIncidents.CreateReplicationSet
Description
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_tags :: Lens' CreateReplicationSet (Maybe (HashMap Text 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.
Constructors
| CreateReplicationSet' | |
Fields
| |
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 that ensures that the operation is called only once with the
specified details.
$sel:tags:CreateReplicationSet', createReplicationSet_tags - A list of tags to add to the replication set.
$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 that ensures that the operation is called only once with the specified details.
createReplicationSet_tags :: Lens' CreateReplicationSet (Maybe (HashMap Text Text)) Source #
A list of tags to add to the replication set.
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.
Constructors
| CreateReplicationSetResponse' | |
Fields
| |
Instances
newCreateReplicationSetResponse Source #
Arguments
| :: 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.
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.