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 |
This API permits filtering on the ControlId
and HomeRegion
fields.
Synopsis
- data DescribeHomeRegionControls = DescribeHomeRegionControls' {}
- newDescribeHomeRegionControls :: DescribeHomeRegionControls
- describeHomeRegionControls_controlId :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_homeRegion :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_maxResults :: Lens' DescribeHomeRegionControls (Maybe Natural)
- describeHomeRegionControls_nextToken :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_target :: Lens' DescribeHomeRegionControls (Maybe Target)
- data DescribeHomeRegionControlsResponse = DescribeHomeRegionControlsResponse' {}
- newDescribeHomeRegionControlsResponse :: Int -> DescribeHomeRegionControlsResponse
- describeHomeRegionControlsResponse_homeRegionControls :: Lens' DescribeHomeRegionControlsResponse (Maybe [HomeRegionControl])
- describeHomeRegionControlsResponse_nextToken :: Lens' DescribeHomeRegionControlsResponse (Maybe Text)
- describeHomeRegionControlsResponse_httpStatus :: Lens' DescribeHomeRegionControlsResponse Int
Creating a Request
data DescribeHomeRegionControls Source #
See: newDescribeHomeRegionControls
smart constructor.
DescribeHomeRegionControls' | |
|
Instances
newDescribeHomeRegionControls :: DescribeHomeRegionControls Source #
Create a value of DescribeHomeRegionControls
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:
DescribeHomeRegionControls
, describeHomeRegionControls_controlId
- The ControlID
is a unique identifier string of your
HomeRegionControl
object.
DescribeHomeRegionControls
, describeHomeRegionControls_homeRegion
- The name of the home region you'd like to view.
$sel:maxResults:DescribeHomeRegionControls'
, describeHomeRegionControls_maxResults
- The maximum number of filtering results to display per page.
DescribeHomeRegionControls
, describeHomeRegionControls_nextToken
- If a NextToken
was returned by a previous call, more results are
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
DescribeHomeRegionControls
, describeHomeRegionControls_target
- The target parameter specifies the identifier to which the home region
is applied, which is always of type ACCOUNT
. It applies the home
region to the current ACCOUNT
.
Request Lenses
describeHomeRegionControls_controlId :: Lens' DescribeHomeRegionControls (Maybe Text) Source #
The ControlID
is a unique identifier string of your
HomeRegionControl
object.
describeHomeRegionControls_homeRegion :: Lens' DescribeHomeRegionControls (Maybe Text) Source #
The name of the home region you'd like to view.
describeHomeRegionControls_maxResults :: Lens' DescribeHomeRegionControls (Maybe Natural) Source #
The maximum number of filtering results to display per page.
describeHomeRegionControls_nextToken :: Lens' DescribeHomeRegionControls (Maybe Text) Source #
If a NextToken
was returned by a previous call, more results are
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
describeHomeRegionControls_target :: Lens' DescribeHomeRegionControls (Maybe Target) Source #
The target parameter specifies the identifier to which the home region
is applied, which is always of type ACCOUNT
. It applies the home
region to the current ACCOUNT
.
Destructuring the Response
data DescribeHomeRegionControlsResponse Source #
See: newDescribeHomeRegionControlsResponse
smart constructor.
DescribeHomeRegionControlsResponse' | |
|
Instances
newDescribeHomeRegionControlsResponse Source #
Create a value of DescribeHomeRegionControlsResponse
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:homeRegionControls:DescribeHomeRegionControlsResponse'
, describeHomeRegionControlsResponse_homeRegionControls
- An array that contains your HomeRegionControl
objects.
DescribeHomeRegionControls
, describeHomeRegionControlsResponse_nextToken
- If a NextToken
was returned by a previous call, more results are
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
$sel:httpStatus:DescribeHomeRegionControlsResponse'
, describeHomeRegionControlsResponse_httpStatus
- The response's http status code.
Response Lenses
describeHomeRegionControlsResponse_homeRegionControls :: Lens' DescribeHomeRegionControlsResponse (Maybe [HomeRegionControl]) Source #
An array that contains your HomeRegionControl
objects.
describeHomeRegionControlsResponse_nextToken :: Lens' DescribeHomeRegionControlsResponse (Maybe Text) Source #
If a NextToken
was returned by a previous call, more results are
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
describeHomeRegionControlsResponse_httpStatus :: Lens' DescribeHomeRegionControlsResponse Int Source #
The response's http status code.