| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Personalize.DescribeSchema
Description
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.
Constructors
| DescribeSchema' | |
Instances
Arguments
| :: Text | |
| -> DescribeSchema |
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:
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.
Constructors
| DescribeSchemaResponse' | |
Fields
| |
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:
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.