Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a replication task using the specified parameters.
- createReplicationTask :: Text -> Text -> Text -> Text -> MigrationTypeValue -> Text -> CreateReplicationTask
- data CreateReplicationTask
- crtReplicationTaskSettings :: Lens' CreateReplicationTask (Maybe Text)
- crtTags :: Lens' CreateReplicationTask [Tag]
- crtCdcStartTime :: Lens' CreateReplicationTask (Maybe UTCTime)
- crtReplicationTaskIdentifier :: Lens' CreateReplicationTask Text
- crtSourceEndpointARN :: Lens' CreateReplicationTask Text
- crtTargetEndpointARN :: Lens' CreateReplicationTask Text
- crtReplicationInstanceARN :: Lens' CreateReplicationTask Text
- crtMigrationType :: Lens' CreateReplicationTask MigrationTypeValue
- crtTableMappings :: Lens' CreateReplicationTask Text
- createReplicationTaskResponse :: Int -> CreateReplicationTaskResponse
- data CreateReplicationTaskResponse
- crtrsReplicationTask :: Lens' CreateReplicationTaskResponse (Maybe ReplicationTask)
- crtrsResponseStatus :: Lens' CreateReplicationTaskResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> MigrationTypeValue | |
-> Text | |
-> CreateReplicationTask |
Creates a value of CreateReplicationTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateReplicationTask Source
See: createReplicationTask
smart constructor.
Request Lenses
crtReplicationTaskSettings :: Lens' CreateReplicationTask (Maybe Text) Source
Settings for the task, such as target metadata settings.
crtTags :: Lens' CreateReplicationTask [Tag] Source
Tags to be added to the replication instance.
crtCdcStartTime :: Lens' CreateReplicationTask (Maybe UTCTime) Source
The start time for the Change Data Capture (CDC) operation.
crtReplicationTaskIdentifier :: Lens' CreateReplicationTask Text Source
The replication task identifier.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
crtSourceEndpointARN :: Lens' CreateReplicationTask Text Source
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
crtTargetEndpointARN :: Lens' CreateReplicationTask Text Source
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
crtReplicationInstanceARN :: Lens' CreateReplicationTask Text Source
The Amazon Resource Name (ARN) of the replication instance.
crtMigrationType :: Lens' CreateReplicationTask MigrationTypeValue Source
The migration type.
crtTableMappings :: Lens' CreateReplicationTask Text Source
The path of the JSON file that contains the table mappings.
Destructuring the Response
createReplicationTaskResponse Source
Creates a value of CreateReplicationTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateReplicationTaskResponse Source
See: createReplicationTaskResponse
smart constructor.
Response Lenses
crtrsReplicationTask :: Lens' CreateReplicationTaskResponse (Maybe ReplicationTask) Source
The replication task that was created.
crtrsResponseStatus :: Lens' CreateReplicationTaskResponse Int Source
The response status code.