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 |
Amazonka.ElastiCache.StartMigration
Description
Start the migration of data.
Synopsis
- data StartMigration = StartMigration' {}
- newStartMigration :: Text -> StartMigration
- startMigration_replicationGroupId :: Lens' StartMigration Text
- startMigration_customerNodeEndpointList :: Lens' StartMigration [CustomerNodeEndpoint]
- data StartMigrationResponse = StartMigrationResponse' {}
- newStartMigrationResponse :: Int -> StartMigrationResponse
- startMigrationResponse_replicationGroup :: Lens' StartMigrationResponse (Maybe ReplicationGroup)
- startMigrationResponse_httpStatus :: Lens' StartMigrationResponse Int
Creating a Request
data StartMigration Source #
See: newStartMigration
smart constructor.
Constructors
StartMigration' | |
Fields
|
Instances
Arguments
:: Text | |
-> StartMigration |
Create a value of StartMigration
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:replicationGroupId:StartMigration'
, startMigration_replicationGroupId
- The ID of the replication group to which data should be migrated.
$sel:customerNodeEndpointList:StartMigration'
, startMigration_customerNodeEndpointList
- List of endpoints from which data should be migrated. For Redis (cluster
mode disabled), list should have only one element.
Request Lenses
startMigration_replicationGroupId :: Lens' StartMigration Text Source #
The ID of the replication group to which data should be migrated.
startMigration_customerNodeEndpointList :: Lens' StartMigration [CustomerNodeEndpoint] Source #
List of endpoints from which data should be migrated. For Redis (cluster mode disabled), list should have only one element.
Destructuring the Response
data StartMigrationResponse Source #
See: newStartMigrationResponse
smart constructor.
Constructors
StartMigrationResponse' | |
Fields
|
Instances
newStartMigrationResponse Source #
Create a value of StartMigrationResponse
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:replicationGroup:StartMigrationResponse'
, startMigrationResponse_replicationGroup
- Undocumented member.
$sel:httpStatus:StartMigrationResponse'
, startMigrationResponse_httpStatus
- The response's http status code.
Response Lenses
startMigrationResponse_replicationGroup :: Lens' StartMigrationResponse (Maybe ReplicationGroup) Source #
Undocumented member.
startMigrationResponse_httpStatus :: Lens' StartMigrationResponse Int Source #
The response's http status code.