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 |
Retrieves the current status of a schema creation operation.
Synopsis
- data GetSchemaCreationStatus = GetSchemaCreationStatus' {}
- newGetSchemaCreationStatus :: Text -> GetSchemaCreationStatus
- getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text
- data GetSchemaCreationStatusResponse = GetSchemaCreationStatusResponse' {
- status :: Maybe SchemaStatus
- details :: Maybe Text
- httpStatus :: Int
- newGetSchemaCreationStatusResponse :: Int -> GetSchemaCreationStatusResponse
- getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus)
- getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text)
- getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int
Creating a Request
data GetSchemaCreationStatus Source #
See: newGetSchemaCreationStatus
smart constructor.
Instances
newGetSchemaCreationStatus Source #
Create a value of GetSchemaCreationStatus
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:apiId:GetSchemaCreationStatus'
, getSchemaCreationStatus_apiId
- The API ID.
Request Lenses
getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text Source #
The API ID.
Destructuring the Response
data GetSchemaCreationStatusResponse Source #
See: newGetSchemaCreationStatusResponse
smart constructor.
GetSchemaCreationStatusResponse' | |
|
Instances
newGetSchemaCreationStatusResponse Source #
Create a value of GetSchemaCreationStatusResponse
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:status:GetSchemaCreationStatusResponse'
, getSchemaCreationStatusResponse_status
- The current state of the schema (PROCESSING, FAILED, SUCCESS, or
NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add
data.
$sel:details:GetSchemaCreationStatusResponse'
, getSchemaCreationStatusResponse_details
- Detailed information about the status of the schema creation operation.
$sel:httpStatus:GetSchemaCreationStatusResponse'
, getSchemaCreationStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) Source #
The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.
getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text) Source #
Detailed information about the status of the schema creation operation.
getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int Source #
The response's http status code.