| 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 |
Network.AWS.AppSync.GetSchemaCreationStatus
Description
Retrieves the current status of a schema creation operation.
- getSchemaCreationStatus :: Text -> GetSchemaCreationStatus
- data GetSchemaCreationStatus
- gscsApiId :: Lens' GetSchemaCreationStatus Text
- getSchemaCreationStatusResponse :: Int -> GetSchemaCreationStatusResponse
- data GetSchemaCreationStatusResponse
- gscsrsStatus :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus)
- gscsrsDetails :: Lens' GetSchemaCreationStatusResponse (Maybe Text)
- gscsrsResponseStatus :: Lens' GetSchemaCreationStatusResponse Int
Creating a Request
getSchemaCreationStatus Source #
Arguments
| :: Text | |
| -> GetSchemaCreationStatus |
Creates a value of GetSchemaCreationStatus with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gscsApiId- The API ID.
data GetSchemaCreationStatus Source #
See: getSchemaCreationStatus smart constructor.
Instances
Request Lenses
Destructuring the Response
getSchemaCreationStatusResponse Source #
Arguments
| :: Int | |
| -> GetSchemaCreationStatusResponse |
Creates a value of GetSchemaCreationStatusResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gscsrsStatus- The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the schema is in the ACTIVE state, you can add data.gscsrsDetails- Detailed information about the status of the schema creation operation.gscsrsResponseStatus- -- | The response status code.
data GetSchemaCreationStatusResponse Source #
See: getSchemaCreationStatusResponse smart constructor.
Instances
Response Lenses
gscsrsStatus :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) Source #
The current state of the schema (PROCESSING, ACTIVE, or DELETING). Once the schema is in the ACTIVE state, you can add data.
gscsrsDetails :: Lens' GetSchemaCreationStatusResponse (Maybe Text) Source #
Detailed information about the status of the schema creation operation.
gscsrsResponseStatus :: Lens' GetSchemaCreationStatusResponse Int Source #
- - | The response status code.