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 |
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_maxResults :: Lens' ListSchemas (Maybe Natural)
- listSchemas_nextToken :: Lens' ListSchemas (Maybe Text)
- data ListSchemasResponse = ListSchemasResponse' {
- nextToken :: Maybe Text
- schemas :: Maybe [DatasetSchemaSummary]
- httpStatus :: Int
- newListSchemasResponse :: Int -> ListSchemasResponse
- listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text)
- listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [DatasetSchemaSummary])
- 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:maxResults:ListSchemas'
, listSchemas_maxResults
- The maximum number of schemas to return.
ListSchemas
, listSchemas_nextToken
- A token returned from the previous call to ListSchemas
for getting the
next set of schemas (if they exist).
Request Lenses
listSchemas_maxResults :: Lens' ListSchemas (Maybe Natural) Source #
The maximum number of schemas to return.
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).
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
- A token used to get the next set of schemas (if they exist).
$sel:schemas:ListSchemasResponse'
, listSchemasResponse_schemas
- A list of schemas.
$sel:httpStatus:ListSchemasResponse'
, listSchemasResponse_httpStatus
- The response's http status code.
Response Lenses
listSchemasResponse_nextToken :: Lens' ListSchemasResponse (Maybe Text) Source #
A token used to get the next set of schemas (if they exist).
listSchemasResponse_schemas :: Lens' ListSchemasResponse (Maybe [DatasetSchemaSummary]) Source #
A list of schemas.
listSchemasResponse_httpStatus :: Lens' ListSchemasResponse Int Source #
The response's http status code.