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 schema major versions applied to a directory. If SchemaArn
is
provided, lists the minor version.
This operation returns paginated results.
Synopsis
- data ListAppliedSchemaArns = ListAppliedSchemaArns' {}
- newListAppliedSchemaArns :: Text -> ListAppliedSchemaArns
- listAppliedSchemaArns_nextToken :: Lens' ListAppliedSchemaArns (Maybe Text)
- listAppliedSchemaArns_schemaArn :: Lens' ListAppliedSchemaArns (Maybe Text)
- listAppliedSchemaArns_maxResults :: Lens' ListAppliedSchemaArns (Maybe Natural)
- listAppliedSchemaArns_directoryArn :: Lens' ListAppliedSchemaArns Text
- data ListAppliedSchemaArnsResponse = ListAppliedSchemaArnsResponse' {
- schemaArns :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAppliedSchemaArnsResponse :: Int -> ListAppliedSchemaArnsResponse
- listAppliedSchemaArnsResponse_schemaArns :: Lens' ListAppliedSchemaArnsResponse (Maybe [Text])
- listAppliedSchemaArnsResponse_nextToken :: Lens' ListAppliedSchemaArnsResponse (Maybe Text)
- listAppliedSchemaArnsResponse_httpStatus :: Lens' ListAppliedSchemaArnsResponse Int
Creating a Request
data ListAppliedSchemaArns Source #
See: newListAppliedSchemaArns
smart constructor.
ListAppliedSchemaArns' | |
|
Instances
newListAppliedSchemaArns Source #
Create a value of ListAppliedSchemaArns
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:ListAppliedSchemaArns'
, listAppliedSchemaArns_nextToken
- The pagination token.
$sel:schemaArn:ListAppliedSchemaArns'
, listAppliedSchemaArns_schemaArn
- The response for ListAppliedSchemaArns
when this parameter is used
will list all minor version ARNs for a major version.
$sel:maxResults:ListAppliedSchemaArns'
, listAppliedSchemaArns_maxResults
- The maximum number of results to retrieve.
$sel:directoryArn:ListAppliedSchemaArns'
, listAppliedSchemaArns_directoryArn
- The ARN of the directory you are listing.
Request Lenses
listAppliedSchemaArns_nextToken :: Lens' ListAppliedSchemaArns (Maybe Text) Source #
The pagination token.
listAppliedSchemaArns_schemaArn :: Lens' ListAppliedSchemaArns (Maybe Text) Source #
The response for ListAppliedSchemaArns
when this parameter is used
will list all minor version ARNs for a major version.
listAppliedSchemaArns_maxResults :: Lens' ListAppliedSchemaArns (Maybe Natural) Source #
The maximum number of results to retrieve.
listAppliedSchemaArns_directoryArn :: Lens' ListAppliedSchemaArns Text Source #
The ARN of the directory you are listing.
Destructuring the Response
data ListAppliedSchemaArnsResponse Source #
See: newListAppliedSchemaArnsResponse
smart constructor.
ListAppliedSchemaArnsResponse' | |
|
Instances
newListAppliedSchemaArnsResponse Source #
Create a value of ListAppliedSchemaArnsResponse
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:ListAppliedSchemaArnsResponse'
, listAppliedSchemaArnsResponse_schemaArns
- The ARNs of schemas that are applied to the directory.
$sel:nextToken:ListAppliedSchemaArns'
, listAppliedSchemaArnsResponse_nextToken
- The pagination token.
$sel:httpStatus:ListAppliedSchemaArnsResponse'
, listAppliedSchemaArnsResponse_httpStatus
- The response's http status code.
Response Lenses
listAppliedSchemaArnsResponse_schemaArns :: Lens' ListAppliedSchemaArnsResponse (Maybe [Text]) Source #
The ARNs of schemas that are applied to the directory.
listAppliedSchemaArnsResponse_nextToken :: Lens' ListAppliedSchemaArnsResponse (Maybe Text) Source #
The pagination token.
listAppliedSchemaArnsResponse_httpStatus :: Lens' ListAppliedSchemaArnsResponse Int Source #
The response's http status code.