@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSMigrationHubConfigAsync extends AWSMigrationHubConfig
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSMigrationHubConfigAsync
instead.
The AWS Migration Hub home region APIs are available specifically for working with your Migration Hub home region. You can use these APIs to determine a home region, as well as to create and work with controls that describe the home region.
You can use these APIs within your home region only. If you call these APIs from outside your home region, your calls are rejected, except for the ability to register your agents and connectors.
You must call GetHomeRegion
at least once before you call any other AWS Application Discovery Service
and AWS Migration Hub APIs, to obtain the account's Migration Hub home region.
The StartDataCollection
API call in AWS Application Discovery Service allows your agents and connectors
to begin collecting data that flows directly into the home region, and it will prevent you from enabling data
collection information to be sent outside the home region.
For specific API usage, see the sections that follow in this AWS Migration Hub Home Region API reference.
The Migration Hub Home Region APIs do not support AWS Organizations.
ENDPOINT_PREFIX
createHomeRegionControl, describeHomeRegionControls, getCachedResponseMetadata, getHomeRegion, shutdown
Future<CreateHomeRegionControlResult> createHomeRegionControlAsync(CreateHomeRegionControlRequest createHomeRegionControlRequest)
This API sets up the home region for the calling account only.
createHomeRegionControlRequest
- Future<CreateHomeRegionControlResult> createHomeRegionControlAsync(CreateHomeRegionControlRequest createHomeRegionControlRequest, AsyncHandler<CreateHomeRegionControlRequest,CreateHomeRegionControlResult> asyncHandler)
This API sets up the home region for the calling account only.
createHomeRegionControlRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeHomeRegionControlsResult> describeHomeRegionControlsAsync(DescribeHomeRegionControlsRequest describeHomeRegionControlsRequest)
This API permits filtering on the ControlId
, HomeRegion
, and
RegionControlScope
fields.
describeHomeRegionControlsRequest
- Future<DescribeHomeRegionControlsResult> describeHomeRegionControlsAsync(DescribeHomeRegionControlsRequest describeHomeRegionControlsRequest, AsyncHandler<DescribeHomeRegionControlsRequest,DescribeHomeRegionControlsResult> asyncHandler)
This API permits filtering on the ControlId
, HomeRegion
, and
RegionControlScope
fields.
describeHomeRegionControlsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetHomeRegionResult> getHomeRegionAsync(GetHomeRegionRequest getHomeRegionRequest)
Returns the calling account’s home region, if configured. This API is used by other AWS services to determine the
regional endpoint for calling AWS Application Discovery Service and Migration Hub. You must call
GetHomeRegion
at least once before you call any other AWS Application Discovery Service and AWS
Migration Hub APIs, to obtain the account's Migration Hub home region.
getHomeRegionRequest
- Future<GetHomeRegionResult> getHomeRegionAsync(GetHomeRegionRequest getHomeRegionRequest, AsyncHandler<GetHomeRegionRequest,GetHomeRegionResult> asyncHandler)
Returns the calling account’s home region, if configured. This API is used by other AWS services to determine the
regional endpoint for calling AWS Application Discovery Service and Migration Hub. You must call
GetHomeRegion
at least once before you call any other AWS Application Discovery Service and AWS
Migration Hub APIs, to obtain the account's Migration Hub home region.
getHomeRegionRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.