| 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 |
Amazonka.Backup.ListFrameworks
Description
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
Synopsis
- data ListFrameworks = ListFrameworks' {}
- newListFrameworks :: ListFrameworks
- listFrameworks_nextToken :: Lens' ListFrameworks (Maybe Text)
- listFrameworks_maxResults :: Lens' ListFrameworks (Maybe Natural)
- data ListFrameworksResponse = ListFrameworksResponse' {
- nextToken :: Maybe Text
- frameworks :: Maybe [Framework]
- httpStatus :: Int
- newListFrameworksResponse :: Int -> ListFrameworksResponse
- listFrameworksResponse_nextToken :: Lens' ListFrameworksResponse (Maybe Text)
- listFrameworksResponse_frameworks :: Lens' ListFrameworksResponse (Maybe [Framework])
- listFrameworksResponse_httpStatus :: Lens' ListFrameworksResponse Int
Creating a Request
data ListFrameworks Source #
See: newListFrameworks smart constructor.
Constructors
| ListFrameworks' | |
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:nextToken: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.
$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.
Request Lenses
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.
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.
Destructuring the Response
data ListFrameworksResponse Source #
See: newListFrameworksResponse smart constructor.
Constructors
| ListFrameworksResponse' | |
Fields
| |
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:nextToken: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: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.
$sel:httpStatus:ListFrameworksResponse', listFrameworksResponse_httpStatus - The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' ListFrameworksResponse Int Source #
The response's http status code.