amazonka-migrationhub-config-2.0: Amazon Migration Hub Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Description

This API permits filtering on the ControlId and HomeRegion fields.

Synopsis

Creating a Request

data DescribeHomeRegionControls Source #

See: newDescribeHomeRegionControls smart constructor.

Constructors

DescribeHomeRegionControls' 

Fields

  • controlId :: Maybe Text

    The ControlID is a unique identifier string of your HomeRegionControl object.

  • homeRegion :: Maybe Text

    The name of the home region you'd like to view.

  • maxResults :: Maybe Natural

    The maximum number of filtering results to display per page.

  • nextToken :: Maybe Text

    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.

  • target :: Maybe 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.

Instances

Instances details
ToJSON DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToHeaders DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToPath DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

ToQuery DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

AWSRequest DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Generic DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Associated Types

type Rep DescribeHomeRegionControls :: Type -> Type #

Read DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Show DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

NFData DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Eq DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Hashable DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type AWSResponse DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControls Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControls = D1 ('MetaData "DescribeHomeRegionControls" "Amazonka.MigrationHubConfig.DescribeHomeRegionControls" "amazonka-migrationhub-config-2.0-3Ai1l2DYBdtHtjir9KlsDr" 'False) (C1 ('MetaCons "DescribeHomeRegionControls'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Target))))))

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 #

Constructors

DescribeHomeRegionControlsResponse' 

Fields

Instances

Instances details
Generic DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Associated Types

type Rep DescribeHomeRegionControlsResponse :: Type -> Type #

Read DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Show DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

NFData DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

Eq DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControlsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.DescribeHomeRegionControls

type Rep DescribeHomeRegionControlsResponse = D1 ('MetaData "DescribeHomeRegionControlsResponse" "Amazonka.MigrationHubConfig.DescribeHomeRegionControls" "amazonka-migrationhub-config-2.0-3Ai1l2DYBdtHtjir9KlsDr" 'False) (C1 ('MetaCons "DescribeHomeRegionControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "homeRegionControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HomeRegionControl])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.