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 |
Returns the list of schemas associated with the account. The response provides the properties for each schema, including the Amazon Resource Name (ARN). For more information on schemas, see CreateSchema.
This operation returns paginated results.
Synopsis
- data ListSchemas = ListSchemas' {}
- newListSchemas :: ListSchemas
- listSchemas_nextToken :: Lens' ListSchemas (Maybe Text)
- listSchemas_maxResults :: Lens' ListSchemas (Maybe Natural)
- data ListSchemasResponse = ListSchemasResponse' {
- schemas :: Maybe [DatasetSchemaSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListSchemasResponse :: Int -> ListSchemasResponse
- listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [DatasetSchemaSummary])
- listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text)
- listSchemasResponse_httpStatus :: Lens' ListSchemasResponse Int
Creating a Request
data ListSchemas Source #
See: newListSchemas
smart constructor.
Instances
newListSchemas :: ListSchemas Source #
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:nextToken:ListSchemas'
, listSchemas_nextToken
- A token returned from the previous call to ListSchemas
for getting the
next set of schemas (if they exist).
$sel:maxResults:ListSchemas'
, listSchemas_maxResults
- The maximum number of schemas to return.
Request Lenses
listSchemas_nextToken :: Lens' ListSchemas (Maybe Text) Source #
A token returned from the previous call to ListSchemas
for getting the
next set of schemas (if they exist).
listSchemas_maxResults :: Lens' ListSchemas (Maybe Natural) Source #
The maximum number of schemas to return.
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
- A list of schemas.
$sel:nextToken:ListSchemas'
, listSchemasResponse_nextToken
- A token used to get the next set of schemas (if they exist).
$sel:httpStatus:ListSchemasResponse'
, listSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [DatasetSchemaSummary]) Source #
A list of schemas.
listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text) Source #
A token used to get the next set of schemas (if they exist).
listSchemasResponse_httpStatus :: Lens' ListSchemasResponse Int Source #
The response's http status code.