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 managed 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 ListManagedSchemaArns = ListManagedSchemaArns' {}
- newListManagedSchemaArns :: ListManagedSchemaArns
- listManagedSchemaArns_nextToken :: Lens' ListManagedSchemaArns (Maybe Text)
- listManagedSchemaArns_schemaArn :: Lens' ListManagedSchemaArns (Maybe Text)
- listManagedSchemaArns_maxResults :: Lens' ListManagedSchemaArns (Maybe Natural)
- data ListManagedSchemaArnsResponse = ListManagedSchemaArnsResponse' {
- schemaArns :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListManagedSchemaArnsResponse :: Int -> ListManagedSchemaArnsResponse
- listManagedSchemaArnsResponse_schemaArns :: Lens' ListManagedSchemaArnsResponse (Maybe [Text])
- listManagedSchemaArnsResponse_nextToken :: Lens' ListManagedSchemaArnsResponse (Maybe Text)
- listManagedSchemaArnsResponse_httpStatus :: Lens' ListManagedSchemaArnsResponse Int
Creating a Request
data ListManagedSchemaArns Source #
See: newListManagedSchemaArns
smart constructor.
Instances
newListManagedSchemaArns :: ListManagedSchemaArns Source #
Create a value of ListManagedSchemaArns
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:ListManagedSchemaArns'
, listManagedSchemaArns_nextToken
- The pagination token.
$sel:schemaArn:ListManagedSchemaArns'
, listManagedSchemaArns_schemaArn
- The response for ListManagedSchemaArns. When this parameter is used, all
minor version ARNs for a major version are listed.
$sel:maxResults:ListManagedSchemaArns'
, listManagedSchemaArns_maxResults
- The maximum number of results to retrieve.
Request Lenses
listManagedSchemaArns_nextToken :: Lens' ListManagedSchemaArns (Maybe Text) Source #
The pagination token.
listManagedSchemaArns_schemaArn :: Lens' ListManagedSchemaArns (Maybe Text) Source #
The response for ListManagedSchemaArns. When this parameter is used, all minor version ARNs for a major version are listed.
listManagedSchemaArns_maxResults :: Lens' ListManagedSchemaArns (Maybe Natural) Source #
The maximum number of results to retrieve.
Destructuring the Response
data ListManagedSchemaArnsResponse Source #
See: newListManagedSchemaArnsResponse
smart constructor.
ListManagedSchemaArnsResponse' | |
|
Instances
newListManagedSchemaArnsResponse Source #
Create a value of ListManagedSchemaArnsResponse
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:ListManagedSchemaArnsResponse'
, listManagedSchemaArnsResponse_schemaArns
- The ARNs for all AWS managed schemas.
$sel:nextToken:ListManagedSchemaArns'
, listManagedSchemaArnsResponse_nextToken
- The pagination token.
$sel:httpStatus:ListManagedSchemaArnsResponse'
, listManagedSchemaArnsResponse_httpStatus
- The response's http status code.
Response Lenses
listManagedSchemaArnsResponse_schemaArns :: Lens' ListManagedSchemaArnsResponse (Maybe [Text]) Source #
The ARNs for all AWS managed schemas.
listManagedSchemaArnsResponse_nextToken :: Lens' ListManagedSchemaArnsResponse (Maybe Text) Source #
The pagination token.
listManagedSchemaArnsResponse_httpStatus :: Lens' ListManagedSchemaArnsResponse Int Source #
The response's http status code.