Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
Synopsis
- 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
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:
rsEndpointARN
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.rsReplicationInstanceARN
- The Amazon Resource Name (ARN) of the replication instance.
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
refreshSchemasResponse Source #
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:
rsrsRefreshSchemasStatus
- The status of the refreshed schema.rsrsResponseStatus
- -- | The response status code.
data RefreshSchemasResponse Source #
See: refreshSchemasResponse
smart constructor.
Instances
Response Lenses
rsrsRefreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus) Source #
The status of the refreshed schema.
rsrsResponseStatus :: Lens' RefreshSchemasResponse Int Source #
- - | The response status code.