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 a schema. For more information on schemas, see CreateSchema.
Synopsis
- data DescribeSchema = DescribeSchema' {}
- newDescribeSchema :: Text -> DescribeSchema
- describeSchema_schemaArn :: Lens' DescribeSchema Text
- data DescribeSchemaResponse = DescribeSchemaResponse' {}
- newDescribeSchemaResponse :: Int -> DescribeSchemaResponse
- describeSchemaResponse_schema :: Lens' DescribeSchemaResponse (Maybe DatasetSchema)
- describeSchemaResponse_httpStatus :: Lens' DescribeSchemaResponse Int
Creating a Request
data DescribeSchema Source #
See: newDescribeSchema
smart constructor.
Instances
Create a value of DescribeSchema
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:schemaArn:DescribeSchema'
, describeSchema_schemaArn
- The Amazon Resource Name (ARN) of the schema to retrieve.
Request Lenses
describeSchema_schemaArn :: Lens' DescribeSchema Text Source #
The Amazon Resource Name (ARN) of the schema to retrieve.
Destructuring the Response
data DescribeSchemaResponse Source #
See: newDescribeSchemaResponse
smart constructor.
DescribeSchemaResponse' | |
|
Instances
newDescribeSchemaResponse Source #
Create a value of DescribeSchemaResponse
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:schema:DescribeSchemaResponse'
, describeSchemaResponse_schema
- The requested schema.
$sel:httpStatus:DescribeSchemaResponse'
, describeSchemaResponse_httpStatus
- The response's http status code.
Response Lenses
describeSchemaResponse_schema :: Lens' DescribeSchemaResponse (Maybe DatasetSchema) Source #
The requested schema.
describeSchemaResponse_httpStatus :: Lens' DescribeSchemaResponse Int Source #
The response's http status code.