AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This API sets up the home region for the calling account only.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateHomeRegionControlAsync.
Namespace: Amazon.MigrationHubConfig
Assembly: AWSSDK.MigrationHubConfig.dll
Version: 3.x.y.z
public virtual CreateHomeRegionControlResponse CreateHomeRegionControl( CreateHomeRegionControlRequest request )
Container for the necessary parameters to execute the CreateHomeRegionControl service method.
| Exception | Condition |
|---|---|
| AccessDeniedException | You do not have sufficient access to perform this action. |
| DryRunOperationException | Exception raised to indicate that authorization of an action was successful, when the DryRun flag is set to true. |
| InternalServerErrorException | 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. |
.NET Framework:
Supported in: 4.7.2 and newer