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 |
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
- data RefreshSchemas = RefreshSchemas' {}
- newRefreshSchemas :: Text -> Text -> RefreshSchemas
- refreshSchemas_endpointArn :: Lens' RefreshSchemas Text
- refreshSchemas_replicationInstanceArn :: Lens' RefreshSchemas Text
- data RefreshSchemasResponse = RefreshSchemasResponse' {}
- newRefreshSchemasResponse :: Int -> RefreshSchemasResponse
- refreshSchemasResponse_refreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus)
- refreshSchemasResponse_httpStatus :: Lens' RefreshSchemasResponse Int
Creating a Request
data RefreshSchemas Source #
See: newRefreshSchemas
smart constructor.
RefreshSchemas' | |
|
Instances
:: Text | |
-> Text | |
-> RefreshSchemas |
Create a value of RefreshSchemas
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:endpointArn:RefreshSchemas'
, refreshSchemas_endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
$sel:replicationInstanceArn:RefreshSchemas'
, refreshSchemas_replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
Request Lenses
refreshSchemas_endpointArn :: Lens' RefreshSchemas Text Source #
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
refreshSchemas_replicationInstanceArn :: Lens' RefreshSchemas Text Source #
The Amazon Resource Name (ARN) of the replication instance.
Destructuring the Response
data RefreshSchemasResponse Source #
See: newRefreshSchemasResponse
smart constructor.
RefreshSchemasResponse' | |
|
Instances
newRefreshSchemasResponse Source #
Create a value of RefreshSchemasResponse
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:refreshSchemasStatus:RefreshSchemasResponse'
, refreshSchemasResponse_refreshSchemasStatus
- The status of the refreshed schema.
$sel:httpStatus:RefreshSchemasResponse'
, refreshSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
refreshSchemasResponse_refreshSchemasStatus :: Lens' RefreshSchemasResponse (Maybe RefreshSchemasStatus) Source #
The status of the refreshed schema.
refreshSchemasResponse_httpStatus :: Lens' RefreshSchemasResponse Int Source #
The response's http status code.