Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
Synopsis
- data ListFrameworks = ListFrameworks' {}
- newListFrameworks :: ListFrameworks
- listFrameworks_maxResults :: Lens' ListFrameworks (Maybe Natural)
- listFrameworks_nextToken :: Lens' ListFrameworks (Maybe Text)
- data ListFrameworksResponse = ListFrameworksResponse' {
- frameworks :: Maybe [Framework]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFrameworksResponse :: Int -> ListFrameworksResponse
- listFrameworksResponse_frameworks :: Lens' ListFrameworksResponse (Maybe [Framework])
- listFrameworksResponse_nextToken :: Lens' ListFrameworksResponse (Maybe Text)
- listFrameworksResponse_httpStatus :: Lens' ListFrameworksResponse Int
Creating a Request
data ListFrameworks Source #
See: newListFrameworks
smart constructor.
Instances
newListFrameworks :: ListFrameworks Source #
Create a value of ListFrameworks
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:maxResults:ListFrameworks'
, listFrameworks_maxResults
- The number of desired results from 1 to 1000. Optional. If unspecified,
the query will return 1 MB of data.
ListFrameworks
, listFrameworks_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
Request Lenses
listFrameworks_maxResults :: Lens' ListFrameworks (Maybe Natural) Source #
The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
listFrameworks_nextToken :: Lens' ListFrameworks (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
data ListFrameworksResponse Source #
See: newListFrameworksResponse
smart constructor.
ListFrameworksResponse' | |
|
Instances
newListFrameworksResponse Source #
Create a value of ListFrameworksResponse
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:frameworks:ListFrameworksResponse'
, listFrameworksResponse_frameworks
- A list of frameworks with details for each framework, including the
framework name, Amazon Resource Name (ARN), description, number of
controls, creation time, and deployment status.
ListFrameworks
, listFrameworksResponse_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:httpStatus:ListFrameworksResponse'
, listFrameworksResponse_httpStatus
- The response's http status code.
Response Lenses
listFrameworksResponse_frameworks :: Lens' ListFrameworksResponse (Maybe [Framework]) Source #
A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.
listFrameworksResponse_nextToken :: Lens' ListFrameworksResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listFrameworksResponse_httpStatus :: Lens' ListFrameworksResponse Int Source #
The response's http status code.