describe_home_region_controls
¶
describe_home_region_controls(
*,
config_overrides: Optional[MigrationHubConfigClientConfig] = None,
control_id: Optional[ControlId] = None,
home_region: Optional[HomeRegion] = None,
target: Optional[Target] = None,
max_results: Optional[DescribeHomeRegionControlsMaxResults] = None,
next_token: Optional[Token] = None,
) -> DescribeHomeRegionControlsResult
This API permits filtering on the ControlId and HomeRegion fields.
Parameters:
-
control_id(Optional[ControlId], default:None) –The
ControlIDis a unique identifier string of yourHomeRegionControlobject. -
home_region(Optional[HomeRegion], default:None) –The name of the home region you'd like to view.
-
target(Optional[Target], default:None) –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 currentACCOUNT. -
max_results(Optional[DescribeHomeRegionControlsMaxResults], default:None) –The maximum number of filtering results to display per page.
-
next_token(Optional[Token], default:None) –If a
NextTokenwas returned by a previous call, more results are available. To retrieve the next page of results, make the call again using the returned token inNextToken.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerError–Exception raised when an internal, configuration, or dependency error is encountered.
-
InvalidInputException–Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
-
ServiceUnavailableException–Exception raised when a request fails due to temporary unavailability of the service.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.