| 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 |
Network.AWS.DMS.RefreshSchemas
Description
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
- refreshSchemas :: Text -> Text -> RefreshSchemas
- data RefreshSchemas
- rsEndpointARN :: Lens' RefreshSchemas Text
- rsReplicationInstanceARN :: Lens' RefreshSchemas Text
- refreshSchemasResponse :: Int -> RefreshSchemasResponse
- data RefreshSchemasResponse
- rsrsRefreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus)
- rsrsResponseStatus :: Lens' RefreshSchemasResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> RefreshSchemas |
Creates a value of RefreshSchemas with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RefreshSchemas Source
See: refreshSchemas smart constructor.
Instances
Request Lenses
rsEndpointARN :: Lens' RefreshSchemas Text Source
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
rsReplicationInstanceARN :: Lens' RefreshSchemas Text Source
The Amazon Resource Name (ARN) of the replication instance.
Destructuring the Response
Arguments
| :: Int | |
| -> RefreshSchemasResponse |
Creates a value of RefreshSchemasResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RefreshSchemasResponse Source
See: refreshSchemasResponse smart constructor.
Response Lenses
rsrsRefreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus) Source
The status of the refreshed schema.
rsrsResponseStatus :: Lens' RefreshSchemasResponse Int Source
The response status code.