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 |
Search the schemas
This operation returns paginated results.
Synopsis
- data SearchSchemas = SearchSchemas' {}
- newSearchSchemas :: Text -> Text -> SearchSchemas
- searchSchemas_nextToken :: Lens' SearchSchemas (Maybe Text)
- searchSchemas_limit :: Lens' SearchSchemas (Maybe Int)
- searchSchemas_registryName :: Lens' SearchSchemas Text
- searchSchemas_keywords :: Lens' SearchSchemas Text
- data SearchSchemasResponse = SearchSchemasResponse' {
- schemas :: Maybe [SearchSchemaSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newSearchSchemasResponse :: Int -> SearchSchemasResponse
- searchSchemasResponse_schemas :: Lens' SearchSchemasResponse (Maybe [SearchSchemaSummary])
- searchSchemasResponse_nextToken :: Lens' SearchSchemasResponse (Maybe Text)
- 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:nextToken: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.
$sel:limit:SearchSchemas'
, searchSchemas_limit
- Undocumented member.
$sel:registryName: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_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_limit :: Lens' SearchSchemas (Maybe Int) Source #
Undocumented member.
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:
$sel:schemas:SearchSchemasResponse'
, searchSchemasResponse_schemas
- An array of SearchSchemaSummary information.
$sel:nextToken: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:httpStatus:SearchSchemasResponse'
, searchSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
searchSchemasResponse_schemas :: Lens' SearchSchemasResponse (Maybe [SearchSchemaSummary]) Source #
An array of SearchSchemaSummary information.
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_httpStatus :: Lens' SearchSchemasResponse Int Source #
The response's http status code.