| 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 |
Amazonka.AuditManager.ListAssessmentFrameworkShareRequests
Description
Returns a list of sent or received share requests for custom frameworks in Audit Manager.
Synopsis
- data ListAssessmentFrameworkShareRequests = ListAssessmentFrameworkShareRequests' {}
- newListAssessmentFrameworkShareRequests :: ShareRequestType -> ListAssessmentFrameworkShareRequests
- listAssessmentFrameworkShareRequests_maxResults :: Lens' ListAssessmentFrameworkShareRequests (Maybe Natural)
- listAssessmentFrameworkShareRequests_nextToken :: Lens' ListAssessmentFrameworkShareRequests (Maybe Text)
- listAssessmentFrameworkShareRequests_requestType :: Lens' ListAssessmentFrameworkShareRequests ShareRequestType
- data ListAssessmentFrameworkShareRequestsResponse = ListAssessmentFrameworkShareRequestsResponse' {}
- newListAssessmentFrameworkShareRequestsResponse :: Int -> ListAssessmentFrameworkShareRequestsResponse
- listAssessmentFrameworkShareRequestsResponse_assessmentFrameworkShareRequests :: Lens' ListAssessmentFrameworkShareRequestsResponse (Maybe [AssessmentFrameworkShareRequest])
- listAssessmentFrameworkShareRequestsResponse_nextToken :: Lens' ListAssessmentFrameworkShareRequestsResponse (Maybe Text)
- listAssessmentFrameworkShareRequestsResponse_httpStatus :: Lens' ListAssessmentFrameworkShareRequestsResponse Int
Creating a Request
data ListAssessmentFrameworkShareRequests Source #
See: newListAssessmentFrameworkShareRequests smart constructor.
Constructors
| ListAssessmentFrameworkShareRequests' | |
Fields
| |
Instances
newListAssessmentFrameworkShareRequests Source #
Arguments
| :: ShareRequestType | |
| -> ListAssessmentFrameworkShareRequests |
Create a value of ListAssessmentFrameworkShareRequests 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:ListAssessmentFrameworkShareRequests', listAssessmentFrameworkShareRequests_maxResults - Represents the maximum number of results on a page or for an API request
call.
ListAssessmentFrameworkShareRequests, listAssessmentFrameworkShareRequests_nextToken - The pagination token that's used to fetch the next set of results.
$sel:requestType:ListAssessmentFrameworkShareRequests', listAssessmentFrameworkShareRequests_requestType - Specifies whether the share request is a sent request or a received
request.
Request Lenses
listAssessmentFrameworkShareRequests_maxResults :: Lens' ListAssessmentFrameworkShareRequests (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listAssessmentFrameworkShareRequests_nextToken :: Lens' ListAssessmentFrameworkShareRequests (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listAssessmentFrameworkShareRequests_requestType :: Lens' ListAssessmentFrameworkShareRequests ShareRequestType Source #
Specifies whether the share request is a sent request or a received request.
Destructuring the Response
data ListAssessmentFrameworkShareRequestsResponse Source #
See: newListAssessmentFrameworkShareRequestsResponse smart constructor.
Constructors
| ListAssessmentFrameworkShareRequestsResponse' | |
Fields
| |
Instances
newListAssessmentFrameworkShareRequestsResponse Source #
Arguments
| :: Int |
|
| -> ListAssessmentFrameworkShareRequestsResponse |
Create a value of ListAssessmentFrameworkShareRequestsResponse 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:assessmentFrameworkShareRequests:ListAssessmentFrameworkShareRequestsResponse', listAssessmentFrameworkShareRequestsResponse_assessmentFrameworkShareRequests - The list of share requests that the
ListAssessmentFrameworkShareRequests API returned.
ListAssessmentFrameworkShareRequests, listAssessmentFrameworkShareRequestsResponse_nextToken - The pagination token that's used to fetch the next set of results.
$sel:httpStatus:ListAssessmentFrameworkShareRequestsResponse', listAssessmentFrameworkShareRequestsResponse_httpStatus - The response's http status code.
Response Lenses
listAssessmentFrameworkShareRequestsResponse_assessmentFrameworkShareRequests :: Lens' ListAssessmentFrameworkShareRequestsResponse (Maybe [AssessmentFrameworkShareRequest]) Source #
The list of share requests that the
ListAssessmentFrameworkShareRequests API returned.
listAssessmentFrameworkShareRequestsResponse_nextToken :: Lens' ListAssessmentFrameworkShareRequestsResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listAssessmentFrameworkShareRequestsResponse_httpStatus :: Lens' ListAssessmentFrameworkShareRequestsResponse Int Source #
The response's http status code.