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 |
List the schemas.
This operation returns paginated results.
Synopsis
- data ListSchemas = ListSchemas' {}
- newListSchemas :: Text -> ListSchemas
- listSchemas_schemaNamePrefix :: Lens' ListSchemas (Maybe Text)
- listSchemas_nextToken :: Lens' ListSchemas (Maybe Text)
- listSchemas_limit :: Lens' ListSchemas (Maybe Int)
- listSchemas_registryName :: Lens' ListSchemas Text
- data ListSchemasResponse = ListSchemasResponse' {
- schemas :: Maybe [SchemaSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListSchemasResponse :: Int -> ListSchemasResponse
- listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [SchemaSummary])
- listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text)
- listSchemasResponse_httpStatus :: Lens' ListSchemasResponse Int
Creating a Request
data ListSchemas Source #
See: newListSchemas
smart constructor.
ListSchemas' | |
|
Instances
Create a value of ListSchemas
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:schemaNamePrefix:ListSchemas'
, listSchemas_schemaNamePrefix
- Specifying this limits the results to only those schema names that start
with the specified prefix.
$sel:nextToken:ListSchemas'
, listSchemas_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:ListSchemas'
, listSchemas_limit
- Undocumented member.
$sel:registryName:ListSchemas'
, listSchemas_registryName
- The name of the registry.
Request Lenses
listSchemas_schemaNamePrefix :: Lens' ListSchemas (Maybe Text) Source #
Specifying this limits the results to only those schema names that start with the specified prefix.
listSchemas_nextToken :: Lens' ListSchemas (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.
listSchemas_limit :: Lens' ListSchemas (Maybe Int) Source #
Undocumented member.
listSchemas_registryName :: Lens' ListSchemas Text Source #
The name of the registry.
Destructuring the Response
data ListSchemasResponse Source #
See: newListSchemasResponse
smart constructor.
ListSchemasResponse' | |
|
Instances
newListSchemasResponse Source #
Create a value of ListSchemasResponse
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:schemas:ListSchemasResponse'
, listSchemasResponse_schemas
- An array of schema summaries.
$sel:nextToken:ListSchemas'
, listSchemasResponse_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:ListSchemasResponse'
, listSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [SchemaSummary]) Source #
An array of schema summaries.
listSchemasResponse_nextToken :: Lens' ListSchemasResponse (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.
listSchemasResponse_httpStatus :: Lens' ListSchemasResponse Int Source #
The response's http status code.