AWS SDK Version 4 for .NET
API Reference

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.

Note:

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

Syntax

C#
public virtual CreateHomeRegionControlResponse CreateHomeRegionControl(
         CreateHomeRegionControlRequest request
)

Parameters

request
Type: Amazon.MigrationHubConfig.Model.CreateHomeRegionControlRequest

Container for the necessary parameters to execute the CreateHomeRegionControl service method.

Return Value


The response from the CreateHomeRegionControl service method, as returned by MigrationHubConfig.

Exceptions

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

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also