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 |
Returns a list of delegations from an audit owner to a delegate.
Synopsis
- data GetDelegations = GetDelegations' {}
- newGetDelegations :: GetDelegations
- getDelegations_nextToken :: Lens' GetDelegations (Maybe Text)
- getDelegations_maxResults :: Lens' GetDelegations (Maybe Natural)
- data GetDelegationsResponse = GetDelegationsResponse' {}
- newGetDelegationsResponse :: Int -> GetDelegationsResponse
- getDelegationsResponse_delegations :: Lens' GetDelegationsResponse (Maybe [DelegationMetadata])
- getDelegationsResponse_nextToken :: Lens' GetDelegationsResponse (Maybe Text)
- getDelegationsResponse_httpStatus :: Lens' GetDelegationsResponse Int
Creating a Request
data GetDelegations Source #
See: newGetDelegations
smart constructor.
Instances
newGetDelegations :: GetDelegations Source #
Create a value of GetDelegations
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:GetDelegations'
, getDelegations_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:GetDelegations'
, getDelegations_maxResults
- Represents the maximum number of results per page, or per API request
call.
Request Lenses
getDelegations_nextToken :: Lens' GetDelegations (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getDelegations_maxResults :: Lens' GetDelegations (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
Destructuring the Response
data GetDelegationsResponse Source #
See: newGetDelegationsResponse
smart constructor.
GetDelegationsResponse' | |
|
Instances
newGetDelegationsResponse Source #
Create a value of GetDelegationsResponse
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:delegations:GetDelegationsResponse'
, getDelegationsResponse_delegations
- The list of delegations returned by the GetDelegations
API.
$sel:nextToken:GetDelegations'
, getDelegationsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:httpStatus:GetDelegationsResponse'
, getDelegationsResponse_httpStatus
- The response's http status code.
Response Lenses
getDelegationsResponse_delegations :: Lens' GetDelegationsResponse (Maybe [DelegationMetadata]) Source #
The list of delegations returned by the GetDelegations
API.
getDelegationsResponse_nextToken :: Lens' GetDelegationsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getDelegationsResponse_httpStatus :: Lens' GetDelegationsResponse Int Source #
The response's http status code.