| 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 |
Amazonka.Schemas.DescribeSchema
Description
Retrieve the schema definition.
Synopsis
- data DescribeSchema = DescribeSchema' {
- schemaVersion :: Maybe Text
- registryName :: Text
- schemaName :: Text
- newDescribeSchema :: Text -> Text -> DescribeSchema
- describeSchema_schemaVersion :: Lens' DescribeSchema (Maybe Text)
- describeSchema_registryName :: Lens' DescribeSchema Text
- describeSchema_schemaName :: Lens' DescribeSchema Text
- data DescribeSchemaResponse = DescribeSchemaResponse' {}
- newDescribeSchemaResponse :: Int -> DescribeSchemaResponse
- describeSchemaResponse_schemaVersion :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_schemaName :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_content :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_schemaArn :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_type :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_lastModified :: Lens' DescribeSchemaResponse (Maybe UTCTime)
- describeSchemaResponse_description :: Lens' DescribeSchemaResponse (Maybe Text)
- describeSchemaResponse_versionCreatedDate :: Lens' DescribeSchemaResponse (Maybe UTCTime)
- describeSchemaResponse_tags :: Lens' DescribeSchemaResponse (Maybe (HashMap Text Text))
- describeSchemaResponse_httpStatus :: Lens' DescribeSchemaResponse Int
Creating a Request
data DescribeSchema Source #
See: newDescribeSchema smart constructor.
Constructors
| DescribeSchema' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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:
$sel:schemaVersion:DescribeSchema', describeSchema_schemaVersion - Specifying this limits the results to only this schema version.
$sel:registryName:DescribeSchema', describeSchema_registryName - The name of the registry.
$sel:schemaName:DescribeSchema', describeSchema_schemaName - The name of the schema.
Request Lenses
describeSchema_schemaVersion :: Lens' DescribeSchema (Maybe Text) Source #
Specifying this limits the results to only this schema version.
describeSchema_registryName :: Lens' DescribeSchema Text Source #
The name of the registry.
describeSchema_schemaName :: Lens' DescribeSchema Text Source #
The name of the schema.
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:
$sel:schemaVersion:DescribeSchema', describeSchemaResponse_schemaVersion - The version number of the schema
$sel:schemaName:DescribeSchema', describeSchemaResponse_schemaName - The name of the schema.
$sel:content:DescribeSchemaResponse', describeSchemaResponse_content - The source of the schema definition.
$sel:schemaArn:DescribeSchemaResponse', describeSchemaResponse_schemaArn - The ARN of the schema.
$sel:type':DescribeSchemaResponse', describeSchemaResponse_type - The type of the schema.
$sel:lastModified:DescribeSchemaResponse', describeSchemaResponse_lastModified - The date and time that schema was modified.
$sel:description:DescribeSchemaResponse', describeSchemaResponse_description - The description of the schema.
$sel:versionCreatedDate:DescribeSchemaResponse', describeSchemaResponse_versionCreatedDate - The date the schema version was created.
$sel:tags:DescribeSchemaResponse', describeSchemaResponse_tags - Tags associated with the resource.
$sel:httpStatus:DescribeSchemaResponse', describeSchemaResponse_httpStatus - The response's http status code.
Response Lenses
describeSchemaResponse_schemaVersion :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The version number of the schema
describeSchemaResponse_schemaName :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The name of the schema.
describeSchemaResponse_content :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The source of the schema definition.
describeSchemaResponse_schemaArn :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The ARN of the schema.
describeSchemaResponse_type :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The type of the schema.
describeSchemaResponse_lastModified :: Lens' DescribeSchemaResponse (Maybe UTCTime) Source #
The date and time that schema was modified.
describeSchemaResponse_description :: Lens' DescribeSchemaResponse (Maybe Text) Source #
The description of the schema.
describeSchemaResponse_versionCreatedDate :: Lens' DescribeSchemaResponse (Maybe UTCTime) Source #
The date the schema version was created.
describeSchemaResponse_tags :: Lens' DescribeSchemaResponse (Maybe (HashMap Text Text)) Source #
Tags associated with the resource.
describeSchemaResponse_httpStatus :: Lens' DescribeSchemaResponse Int Source #
The response's http status code.