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 |
Lists the major version families of each published schema. If a major
version ARN is provided as SchemaArn
, the minor version revisions in
that family are listed instead.
This operation returns paginated results.
Synopsis
- data ListPublishedSchemaArns = ListPublishedSchemaArns' {}
- newListPublishedSchemaArns :: ListPublishedSchemaArns
- listPublishedSchemaArns_nextToken :: Lens' ListPublishedSchemaArns (Maybe Text)
- listPublishedSchemaArns_schemaArn :: Lens' ListPublishedSchemaArns (Maybe Text)
- listPublishedSchemaArns_maxResults :: Lens' ListPublishedSchemaArns (Maybe Natural)
- data ListPublishedSchemaArnsResponse = ListPublishedSchemaArnsResponse' {
- schemaArns :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPublishedSchemaArnsResponse :: Int -> ListPublishedSchemaArnsResponse
- listPublishedSchemaArnsResponse_schemaArns :: Lens' ListPublishedSchemaArnsResponse (Maybe [Text])
- listPublishedSchemaArnsResponse_nextToken :: Lens' ListPublishedSchemaArnsResponse (Maybe Text)
- listPublishedSchemaArnsResponse_httpStatus :: Lens' ListPublishedSchemaArnsResponse Int
Creating a Request
data ListPublishedSchemaArns Source #
See: newListPublishedSchemaArns
smart constructor.
Instances
newListPublishedSchemaArns :: ListPublishedSchemaArns Source #
Create a value of ListPublishedSchemaArns
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:ListPublishedSchemaArns'
, listPublishedSchemaArns_nextToken
- The pagination token.
$sel:schemaArn:ListPublishedSchemaArns'
, listPublishedSchemaArns_schemaArn
- The response for ListPublishedSchemaArns
when this parameter is used
will list all minor version ARNs for a major version.
$sel:maxResults:ListPublishedSchemaArns'
, listPublishedSchemaArns_maxResults
- The maximum number of results to retrieve.
Request Lenses
listPublishedSchemaArns_nextToken :: Lens' ListPublishedSchemaArns (Maybe Text) Source #
The pagination token.
listPublishedSchemaArns_schemaArn :: Lens' ListPublishedSchemaArns (Maybe Text) Source #
The response for ListPublishedSchemaArns
when this parameter is used
will list all minor version ARNs for a major version.
listPublishedSchemaArns_maxResults :: Lens' ListPublishedSchemaArns (Maybe Natural) Source #
The maximum number of results to retrieve.
Destructuring the Response
data ListPublishedSchemaArnsResponse Source #
See: newListPublishedSchemaArnsResponse
smart constructor.
ListPublishedSchemaArnsResponse' | |
|
Instances
newListPublishedSchemaArnsResponse Source #
Create a value of ListPublishedSchemaArnsResponse
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:schemaArns:ListPublishedSchemaArnsResponse'
, listPublishedSchemaArnsResponse_schemaArns
- The ARNs of published schemas.
$sel:nextToken:ListPublishedSchemaArns'
, listPublishedSchemaArnsResponse_nextToken
- The pagination token.
$sel:httpStatus:ListPublishedSchemaArnsResponse'
, listPublishedSchemaArnsResponse_httpStatus
- The response's http status code.
Response Lenses
listPublishedSchemaArnsResponse_schemaArns :: Lens' ListPublishedSchemaArnsResponse (Maybe [Text]) Source #
The ARNs of published schemas.
listPublishedSchemaArnsResponse_nextToken :: Lens' ListPublishedSchemaArnsResponse (Maybe Text) Source #
The pagination token.
listPublishedSchemaArnsResponse_httpStatus :: Lens' ListPublishedSchemaArnsResponse Int Source #
The response's http status code.