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 |
Retrieves a list of resource definitions.
This operation returns paginated results.
Synopsis
- data ListResourceDefinitions = ListResourceDefinitions' {}
- newListResourceDefinitions :: ListResourceDefinitions
- listResourceDefinitions_nextToken :: Lens' ListResourceDefinitions (Maybe Text)
- listResourceDefinitions_maxResults :: Lens' ListResourceDefinitions (Maybe Text)
- data ListResourceDefinitionsResponse = ListResourceDefinitionsResponse' {}
- newListResourceDefinitionsResponse :: Int -> ListResourceDefinitionsResponse
- listResourceDefinitionsResponse_nextToken :: Lens' ListResourceDefinitionsResponse (Maybe Text)
- listResourceDefinitionsResponse_definitions :: Lens' ListResourceDefinitionsResponse (Maybe [DefinitionInformation])
- listResourceDefinitionsResponse_httpStatus :: Lens' ListResourceDefinitionsResponse Int
Creating a Request
data ListResourceDefinitions Source #
See: newListResourceDefinitions
smart constructor.
Instances
newListResourceDefinitions :: ListResourceDefinitions Source #
Create a value of ListResourceDefinitions
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:ListResourceDefinitions'
, listResourceDefinitions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListResourceDefinitions'
, listResourceDefinitions_maxResults
- The maximum number of results to be returned per request.
Request Lenses
listResourceDefinitions_nextToken :: Lens' ListResourceDefinitions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listResourceDefinitions_maxResults :: Lens' ListResourceDefinitions (Maybe Text) Source #
The maximum number of results to be returned per request.
Destructuring the Response
data ListResourceDefinitionsResponse Source #
See: newListResourceDefinitionsResponse
smart constructor.
ListResourceDefinitionsResponse' | |
|
Instances
newListResourceDefinitionsResponse Source #
Create a value of ListResourceDefinitionsResponse
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:ListResourceDefinitions'
, listResourceDefinitionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:definitions:ListResourceDefinitionsResponse'
, listResourceDefinitionsResponse_definitions
- Information about a definition.
$sel:httpStatus:ListResourceDefinitionsResponse'
, listResourceDefinitionsResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceDefinitionsResponse_nextToken :: Lens' ListResourceDefinitionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listResourceDefinitionsResponse_definitions :: Lens' ListResourceDefinitionsResponse (Maybe [DefinitionInformation]) Source #
Information about a definition.
listResourceDefinitionsResponse_httpStatus :: Lens' ListResourceDefinitionsResponse Int Source #
The response's http status code.