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 |
Describes the specified schema in detail.
Synopsis
- data GetSchema = GetSchema' {}
- newGetSchema :: SchemaId -> GetSchema
- getSchema_schemaId :: Lens' GetSchema SchemaId
- data GetSchemaResponse = GetSchemaResponse' {
- registryName :: Maybe Text
- createdTime :: Maybe Text
- schemaStatus :: Maybe SchemaStatus
- registryArn :: Maybe Text
- latestSchemaVersion :: Maybe Natural
- dataFormat :: Maybe DataFormat
- schemaCheckpoint :: Maybe Natural
- schemaName :: Maybe Text
- schemaArn :: Maybe Text
- nextSchemaVersion :: Maybe Natural
- updatedTime :: Maybe Text
- description :: Maybe Text
- compatibility :: Maybe Compatibility
- httpStatus :: Int
- newGetSchemaResponse :: Int -> GetSchemaResponse
- getSchemaResponse_registryName :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_createdTime :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_schemaStatus :: Lens' GetSchemaResponse (Maybe SchemaStatus)
- getSchemaResponse_registryArn :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_latestSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural)
- getSchemaResponse_dataFormat :: Lens' GetSchemaResponse (Maybe DataFormat)
- getSchemaResponse_schemaCheckpoint :: Lens' GetSchemaResponse (Maybe Natural)
- getSchemaResponse_schemaName :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_schemaArn :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_nextSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural)
- getSchemaResponse_updatedTime :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_description :: Lens' GetSchemaResponse (Maybe Text)
- getSchemaResponse_compatibility :: Lens' GetSchemaResponse (Maybe Compatibility)
- getSchemaResponse_httpStatus :: Lens' GetSchemaResponse Int
Creating a Request
See: newGetSchema
smart constructor.
GetSchema' | |
|
Instances
Eq GetSchema Source # | |
Read GetSchema Source # | |
Show GetSchema Source # | |
Generic GetSchema Source # | |
NFData GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema | |
Hashable GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema | |
ToJSON GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema | |
AWSRequest GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema type AWSResponse GetSchema # request :: GetSchema -> Request GetSchema # response :: MonadResource m => Logger -> Service -> Proxy GetSchema -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetSchema))) # | |
ToHeaders GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema | |
ToPath GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema toPath :: GetSchema -> ByteString # | |
ToQuery GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema toQuery :: GetSchema -> QueryString # | |
type Rep GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema | |
type AWSResponse GetSchema Source # | |
Defined in Amazonka.Glue.GetSchema |
Create a value of GetSchema
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:schemaId:GetSchema'
, getSchema_schemaId
- This is a wrapper structure to contain schema identity fields. The
structure contains:
- SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. - SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
Request Lenses
getSchema_schemaId :: Lens' GetSchema SchemaId Source #
This is a wrapper structure to contain schema identity fields. The structure contains:
- SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema.
Either
SchemaArn
orSchemaName
andRegistryName
has to be provided. - SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
Destructuring the Response
data GetSchemaResponse Source #
See: newGetSchemaResponse
smart constructor.
GetSchemaResponse' | |
|
Instances
Create a value of GetSchemaResponse
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:registryName:GetSchemaResponse'
, getSchemaResponse_registryName
- The name of the registry.
$sel:createdTime:GetSchemaResponse'
, getSchemaResponse_createdTime
- The date and time the schema was created.
$sel:schemaStatus:GetSchemaResponse'
, getSchemaResponse_schemaStatus
- The status of the schema.
$sel:registryArn:GetSchemaResponse'
, getSchemaResponse_registryArn
- The Amazon Resource Name (ARN) of the registry.
$sel:latestSchemaVersion:GetSchemaResponse'
, getSchemaResponse_latestSchemaVersion
- The latest version of the schema associated with the returned schema
definition.
$sel:dataFormat:GetSchemaResponse'
, getSchemaResponse_dataFormat
- The data format of the schema definition. Currently AVRO
and JSON
are supported.
$sel:schemaCheckpoint:GetSchemaResponse'
, getSchemaResponse_schemaCheckpoint
- The version number of the checkpoint (the last time the compatibility
mode was changed).
$sel:schemaName:GetSchemaResponse'
, getSchemaResponse_schemaName
- The name of the schema.
$sel:schemaArn:GetSchemaResponse'
, getSchemaResponse_schemaArn
- The Amazon Resource Name (ARN) of the schema.
$sel:nextSchemaVersion:GetSchemaResponse'
, getSchemaResponse_nextSchemaVersion
- The next version of the schema associated with the returned schema
definition.
$sel:updatedTime:GetSchemaResponse'
, getSchemaResponse_updatedTime
- The date and time the schema was updated.
$sel:description:GetSchemaResponse'
, getSchemaResponse_description
- A description of schema if specified when created
$sel:compatibility:GetSchemaResponse'
, getSchemaResponse_compatibility
- The compatibility mode of the schema.
$sel:httpStatus:GetSchemaResponse'
, getSchemaResponse_httpStatus
- The response's http status code.
Response Lenses
getSchemaResponse_registryName :: Lens' GetSchemaResponse (Maybe Text) Source #
The name of the registry.
getSchemaResponse_createdTime :: Lens' GetSchemaResponse (Maybe Text) Source #
The date and time the schema was created.
getSchemaResponse_schemaStatus :: Lens' GetSchemaResponse (Maybe SchemaStatus) Source #
The status of the schema.
getSchemaResponse_registryArn :: Lens' GetSchemaResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the registry.
getSchemaResponse_latestSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural) Source #
The latest version of the schema associated with the returned schema definition.
getSchemaResponse_dataFormat :: Lens' GetSchemaResponse (Maybe DataFormat) Source #
The data format of the schema definition. Currently AVRO
and JSON
are supported.
getSchemaResponse_schemaCheckpoint :: Lens' GetSchemaResponse (Maybe Natural) Source #
The version number of the checkpoint (the last time the compatibility mode was changed).
getSchemaResponse_schemaName :: Lens' GetSchemaResponse (Maybe Text) Source #
The name of the schema.
getSchemaResponse_schemaArn :: Lens' GetSchemaResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the schema.
getSchemaResponse_nextSchemaVersion :: Lens' GetSchemaResponse (Maybe Natural) Source #
The next version of the schema associated with the returned schema definition.
getSchemaResponse_updatedTime :: Lens' GetSchemaResponse (Maybe Text) Source #
The date and time the schema was updated.
getSchemaResponse_description :: Lens' GetSchemaResponse (Maybe Text) Source #
A description of schema if specified when created
getSchemaResponse_compatibility :: Lens' GetSchemaResponse (Maybe Compatibility) Source #
The compatibility mode of the schema.
getSchemaResponse_httpStatus :: Lens' GetSchemaResponse Int Source #
The response's http status code.