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 delegations from an audit owner to a delegate.
Synopsis
- data GetDelegations = GetDelegations' {}
- newGetDelegations :: GetDelegations
- getDelegations_maxResults :: Lens' GetDelegations (Maybe Natural)
- getDelegations_nextToken :: Lens' GetDelegations (Maybe Text)
- 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:maxResults:GetDelegations'
, getDelegations_maxResults
- Represents the maximum number of results on a page or for an API request
call.
GetDelegations
, getDelegations_nextToken
- The pagination token that's used to fetch the next set of results.
Request Lenses
getDelegations_maxResults :: Lens' GetDelegations (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
getDelegations_nextToken :: Lens' GetDelegations (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
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:
GetDelegationsResponse
, getDelegationsResponse_delegations
- The list of delegations that the GetDelegations
API returned.
GetDelegations
, getDelegationsResponse_nextToken
- The pagination token that's 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 that the GetDelegations
API returned.
getDelegationsResponse_nextToken :: Lens' GetDelegationsResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
getDelegationsResponse_httpStatus :: Lens' GetDelegationsResponse Int Source #
The response's http status code.