Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- listPublishedSchemaARNs :: ListPublishedSchemaARNs
- data ListPublishedSchemaARNs
- lpsaNextToken :: Lens' ListPublishedSchemaARNs (Maybe Text)
- lpsaSchemaARN :: Lens' ListPublishedSchemaARNs (Maybe Text)
- lpsaMaxResults :: Lens' ListPublishedSchemaARNs (Maybe Natural)
- listPublishedSchemaARNsResponse :: Int -> ListPublishedSchemaARNsResponse
- data ListPublishedSchemaARNsResponse
- lpsarsSchemaARNs :: Lens' ListPublishedSchemaARNsResponse [Text]
- lpsarsNextToken :: Lens' ListPublishedSchemaARNsResponse (Maybe Text)
- lpsarsResponseStatus :: Lens' ListPublishedSchemaARNsResponse Int
Creating a Request
listPublishedSchemaARNs :: ListPublishedSchemaARNs Source #
Creates a value of ListPublishedSchemaARNs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpsaNextToken
- The pagination token.lpsaSchemaARN
- The response forListPublishedSchemaArns
when this parameter is used will list all minor version ARNs for a major version.lpsaMaxResults
- The maximum number of results to retrieve.
data ListPublishedSchemaARNs Source #
See: listPublishedSchemaARNs
smart constructor.
Request Lenses
lpsaNextToken :: Lens' ListPublishedSchemaARNs (Maybe Text) Source #
The pagination token.
lpsaSchemaARN :: Lens' ListPublishedSchemaARNs (Maybe Text) Source #
The response for ListPublishedSchemaArns
when this parameter is used will list all minor version ARNs for a major version.
lpsaMaxResults :: Lens' ListPublishedSchemaARNs (Maybe Natural) Source #
The maximum number of results to retrieve.
Destructuring the Response
listPublishedSchemaARNsResponse Source #
Creates a value of ListPublishedSchemaARNsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpsarsSchemaARNs
- The ARNs of published schemas.lpsarsNextToken
- The pagination token.lpsarsResponseStatus
- -- | The response status code.
data ListPublishedSchemaARNsResponse Source #
See: listPublishedSchemaARNsResponse
smart constructor.
Response Lenses
lpsarsSchemaARNs :: Lens' ListPublishedSchemaARNsResponse [Text] Source #
The ARNs of published schemas.
lpsarsNextToken :: Lens' ListPublishedSchemaARNsResponse (Maybe Text) Source #
The pagination token.
lpsarsResponseStatus :: Lens' ListPublishedSchemaARNsResponse Int Source #
- - | The response status code.