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 |
Provides a list of the schema versions and related information.
This operation returns paginated results.
Synopsis
- data ListSchemaVersions = ListSchemaVersions' {
- nextToken :: Maybe Text
- limit :: Maybe Int
- registryName :: Text
- schemaName :: Text
- newListSchemaVersions :: Text -> Text -> ListSchemaVersions
- listSchemaVersions_nextToken :: Lens' ListSchemaVersions (Maybe Text)
- listSchemaVersions_limit :: Lens' ListSchemaVersions (Maybe Int)
- listSchemaVersions_registryName :: Lens' ListSchemaVersions Text
- listSchemaVersions_schemaName :: Lens' ListSchemaVersions Text
- data ListSchemaVersionsResponse = ListSchemaVersionsResponse' {}
- newListSchemaVersionsResponse :: Int -> ListSchemaVersionsResponse
- listSchemaVersionsResponse_schemaVersions :: Lens' ListSchemaVersionsResponse (Maybe [SchemaVersionSummary])
- listSchemaVersionsResponse_nextToken :: Lens' ListSchemaVersionsResponse (Maybe Text)
- listSchemaVersionsResponse_httpStatus :: Lens' ListSchemaVersionsResponse Int
Creating a Request
data ListSchemaVersions Source #
See: newListSchemaVersions
smart constructor.
ListSchemaVersions' | |
|
Instances
newListSchemaVersions Source #
:: Text | |
-> Text | |
-> ListSchemaVersions |
Create a value of ListSchemaVersions
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:nextToken:ListSchemaVersions'
, listSchemaVersions_nextToken
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:limit:ListSchemaVersions'
, listSchemaVersions_limit
- Undocumented member.
$sel:registryName:ListSchemaVersions'
, listSchemaVersions_registryName
- The name of the registry.
$sel:schemaName:ListSchemaVersions'
, listSchemaVersions_schemaName
- The name of the schema.
Request Lenses
listSchemaVersions_nextToken :: Lens' ListSchemaVersions (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listSchemaVersions_limit :: Lens' ListSchemaVersions (Maybe Int) Source #
Undocumented member.
listSchemaVersions_registryName :: Lens' ListSchemaVersions Text Source #
The name of the registry.
listSchemaVersions_schemaName :: Lens' ListSchemaVersions Text Source #
The name of the schema.
Destructuring the Response
data ListSchemaVersionsResponse Source #
See: newListSchemaVersionsResponse
smart constructor.
ListSchemaVersionsResponse' | |
|
Instances
newListSchemaVersionsResponse Source #
Create a value of ListSchemaVersionsResponse
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:schemaVersions:ListSchemaVersionsResponse'
, listSchemaVersionsResponse_schemaVersions
- An array of schema version summaries.
$sel:nextToken:ListSchemaVersions'
, listSchemaVersionsResponse_nextToken
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:httpStatus:ListSchemaVersionsResponse'
, listSchemaVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listSchemaVersionsResponse_schemaVersions :: Lens' ListSchemaVersionsResponse (Maybe [SchemaVersionSummary]) Source #
An array of schema version summaries.
listSchemaVersionsResponse_nextToken :: Lens' ListSchemaVersionsResponse (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listSchemaVersionsResponse_httpStatus :: Lens' ListSchemaVersionsResponse Int Source #
The response's http status code.