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