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 |
This API permits filtering on the ControlId
and HomeRegion
fields.
Synopsis
- data DescribeHomeRegionControls = DescribeHomeRegionControls' {}
- newDescribeHomeRegionControls :: DescribeHomeRegionControls
- describeHomeRegionControls_nextToken :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_homeRegion :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_controlId :: Lens' DescribeHomeRegionControls (Maybe Text)
- describeHomeRegionControls_maxResults :: Lens' DescribeHomeRegionControls (Maybe Natural)
- describeHomeRegionControls_target :: Lens' DescribeHomeRegionControls (Maybe Target)
- data DescribeHomeRegionControlsResponse = DescribeHomeRegionControlsResponse' {}
- newDescribeHomeRegionControlsResponse :: Int -> DescribeHomeRegionControlsResponse
- describeHomeRegionControlsResponse_nextToken :: Lens' DescribeHomeRegionControlsResponse (Maybe Text)
- describeHomeRegionControlsResponse_homeRegionControls :: Lens' DescribeHomeRegionControlsResponse (Maybe [HomeRegionControl])
- 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:
$sel:nextToken: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
.
$sel:homeRegion:DescribeHomeRegionControls'
, describeHomeRegionControls_homeRegion
- The name of the home region you'd like to view.
$sel:controlId:DescribeHomeRegionControls'
, describeHomeRegionControls_controlId
- The ControlID
is a unique identifier string of your
HomeRegionControl
object.
$sel:maxResults:DescribeHomeRegionControls'
, describeHomeRegionControls_maxResults
- The maximum number of filtering results to display per page.
$sel:target: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_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_homeRegion :: Lens' DescribeHomeRegionControls (Maybe Text) Source #
The name of the home region you'd like to view.
describeHomeRegionControls_controlId :: Lens' DescribeHomeRegionControls (Maybe Text) Source #
The ControlID
is a unique identifier string of your
HomeRegionControl
object.
describeHomeRegionControls_maxResults :: Lens' DescribeHomeRegionControls (Maybe Natural) Source #
The maximum number of filtering results to display per page.
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:nextToken: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:homeRegionControls:DescribeHomeRegionControlsResponse'
, describeHomeRegionControlsResponse_homeRegionControls
- An array that contains your HomeRegionControl
objects.
$sel:httpStatus:DescribeHomeRegionControlsResponse'
, describeHomeRegionControlsResponse_httpStatus
- The response's http status code.
Response Lenses
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_homeRegionControls :: Lens' DescribeHomeRegionControlsResponse (Maybe [HomeRegionControl]) Source #
An array that contains your HomeRegionControl
objects.
describeHomeRegionControlsResponse_httpStatus :: Lens' DescribeHomeRegionControlsResponse Int Source #
The response's http status code.