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.FraudDetector.GetVariables
Description
Gets all of the variables or the specific variable. This is a paginated
API. Providing null maxSizePerPage
results in retrieving maximum of
100 records per page. If you provide maxSizePerPage
the value must be
between 50 and 100. To get the next page result, a provide a pagination
token from GetVariablesResult
as part of your request. Null pagination
token fetches the records from the beginning.
Synopsis
- data GetVariables = GetVariables' {}
- newGetVariables :: GetVariables
- getVariables_nextToken :: Lens' GetVariables (Maybe Text)
- getVariables_name :: Lens' GetVariables (Maybe Text)
- getVariables_maxResults :: Lens' GetVariables (Maybe Natural)
- data GetVariablesResponse = GetVariablesResponse' {}
- newGetVariablesResponse :: Int -> GetVariablesResponse
- getVariablesResponse_variables :: Lens' GetVariablesResponse (Maybe [Variable])
- getVariablesResponse_nextToken :: Lens' GetVariablesResponse (Maybe Text)
- getVariablesResponse_httpStatus :: Lens' GetVariablesResponse Int
Creating a Request
data GetVariables Source #
See: newGetVariables
smart constructor.
Constructors
GetVariables' | |
Instances
newGetVariables :: GetVariables Source #
Create a value of GetVariables
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:GetVariables'
, getVariables_nextToken
- The next page token of the get variable request.
$sel:name:GetVariables'
, getVariables_name
- The name of the variable.
$sel:maxResults:GetVariables'
, getVariables_maxResults
- The max size per page determined for the get variable request.
Request Lenses
getVariables_nextToken :: Lens' GetVariables (Maybe Text) Source #
The next page token of the get variable request.
getVariables_name :: Lens' GetVariables (Maybe Text) Source #
The name of the variable.
getVariables_maxResults :: Lens' GetVariables (Maybe Natural) Source #
The max size per page determined for the get variable request.
Destructuring the Response
data GetVariablesResponse Source #
See: newGetVariablesResponse
smart constructor.
Constructors
GetVariablesResponse' | |
Instances
newGetVariablesResponse Source #
Arguments
:: Int | |
-> GetVariablesResponse |
Create a value of GetVariablesResponse
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:variables:GetVariablesResponse'
, getVariablesResponse_variables
- The names of the variables returned.
$sel:nextToken:GetVariables'
, getVariablesResponse_nextToken
- The next page token to be used in subsequent requests.
$sel:httpStatus:GetVariablesResponse'
, getVariablesResponse_httpStatus
- The response's http status code.
Response Lenses
getVariablesResponse_variables :: Lens' GetVariablesResponse (Maybe [Variable]) Source #
The names of the variables returned.
getVariablesResponse_nextToken :: Lens' GetVariablesResponse (Maybe Text) Source #
The next page token to be used in subsequent requests.
getVariablesResponse_httpStatus :: Lens' GetVariablesResponse Int Source #
The response's http status code.