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 |
Lists the SIP rules under the administrator's AWS account.
Synopsis
- data ListSipRules = ListSipRules' {}
- newListSipRules :: ListSipRules
- listSipRules_nextToken :: Lens' ListSipRules (Maybe Text)
- listSipRules_maxResults :: Lens' ListSipRules (Maybe Natural)
- listSipRules_sipMediaApplicationId :: Lens' ListSipRules (Maybe Text)
- data ListSipRulesResponse = ListSipRulesResponse' {}
- newListSipRulesResponse :: Int -> ListSipRulesResponse
- listSipRulesResponse_nextToken :: Lens' ListSipRulesResponse (Maybe Text)
- listSipRulesResponse_sipRules :: Lens' ListSipRulesResponse (Maybe [SipRule])
- listSipRulesResponse_httpStatus :: Lens' ListSipRulesResponse Int
Creating a Request
data ListSipRules Source #
See: newListSipRules
smart constructor.
ListSipRules' | |
|
Instances
newListSipRules :: ListSipRules Source #
Create a value of ListSipRules
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:ListSipRules'
, listSipRules_nextToken
- The token to use to retrieve the next page of results.
$sel:maxResults:ListSipRules'
, listSipRules_maxResults
- The maximum number of results to return in a single call. Defaults to
100.
$sel:sipMediaApplicationId:ListSipRules'
, listSipRules_sipMediaApplicationId
- The SIP media application ID.
Request Lenses
listSipRules_nextToken :: Lens' ListSipRules (Maybe Text) Source #
The token to use to retrieve the next page of results.
listSipRules_maxResults :: Lens' ListSipRules (Maybe Natural) Source #
The maximum number of results to return in a single call. Defaults to 100.
listSipRules_sipMediaApplicationId :: Lens' ListSipRules (Maybe Text) Source #
The SIP media application ID.
Destructuring the Response
data ListSipRulesResponse Source #
See: newListSipRulesResponse
smart constructor.
Instances
newListSipRulesResponse Source #
Create a value of ListSipRulesResponse
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:ListSipRules'
, listSipRulesResponse_nextToken
- The token to use to retrieve the next page of results.
$sel:sipRules:ListSipRulesResponse'
, listSipRulesResponse_sipRules
- List of SIP rules and rule details.
$sel:httpStatus:ListSipRulesResponse'
, listSipRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listSipRulesResponse_nextToken :: Lens' ListSipRulesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listSipRulesResponse_sipRules :: Lens' ListSipRulesResponse (Maybe [SipRule]) Source #
List of SIP rules and rule details.
listSipRulesResponse_httpStatus :: Lens' ListSipRulesResponse Int Source #
The response's http status code.