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 |
Search the schemas
This operation returns paginated results.
Synopsis
- data SearchSchemas = SearchSchemas' {}
- newSearchSchemas :: Text -> Text -> SearchSchemas
- searchSchemas_limit :: Lens' SearchSchemas (Maybe Int)
- searchSchemas_nextToken :: Lens' SearchSchemas (Maybe Text)
- searchSchemas_registryName :: Lens' SearchSchemas Text
- searchSchemas_keywords :: Lens' SearchSchemas Text
- data SearchSchemasResponse = SearchSchemasResponse' {
- nextToken :: Maybe Text
- schemas :: Maybe [SearchSchemaSummary]
- httpStatus :: Int
- newSearchSchemasResponse :: Int -> SearchSchemasResponse
- searchSchemasResponse_nextToken :: Lens' SearchSchemasResponse (Maybe Text)
- searchSchemasResponse_schemas :: Lens' SearchSchemasResponse (Maybe [SearchSchemaSummary])
- searchSchemasResponse_httpStatus :: Lens' SearchSchemasResponse Int
Creating a Request
data SearchSchemas Source #
See: newSearchSchemas
smart constructor.
SearchSchemas' | |
|
Instances
Create a value of SearchSchemas
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:SearchSchemas'
, searchSchemas_limit
- Undocumented member.
SearchSchemas
, searchSchemas_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.
SearchSchemas
, searchSchemas_registryName
- The name of the registry.
$sel:keywords:SearchSchemas'
, searchSchemas_keywords
- Specifying this limits the results to only schemas that include the
provided keywords.
Request Lenses
searchSchemas_limit :: Lens' SearchSchemas (Maybe Int) Source #
Undocumented member.
searchSchemas_nextToken :: Lens' SearchSchemas (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.
searchSchemas_registryName :: Lens' SearchSchemas Text Source #
The name of the registry.
searchSchemas_keywords :: Lens' SearchSchemas Text Source #
Specifying this limits the results to only schemas that include the provided keywords.
Destructuring the Response
data SearchSchemasResponse Source #
See: newSearchSchemasResponse
smart constructor.
SearchSchemasResponse' | |
|
Instances
newSearchSchemasResponse Source #
Create a value of SearchSchemasResponse
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:
SearchSchemas
, searchSchemasResponse_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:SearchSchemasResponse'
, searchSchemasResponse_schemas
- An array of SearchSchemaSummary information.
$sel:httpStatus:SearchSchemasResponse'
, searchSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
searchSchemasResponse_nextToken :: Lens' SearchSchemasResponse (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.
searchSchemasResponse_schemas :: Lens' SearchSchemasResponse (Maybe [SearchSchemaSummary]) Source #
An array of SearchSchemaSummary information.
searchSchemasResponse_httpStatus :: Lens' SearchSchemasResponse Int Source #
The response's http status code.