pub trait MigrationHubConfig {
fn create_home_region_control<'life0, 'async_trait>(
&'life0 self,
input: CreateHomeRegionControlRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHomeRegionControlResult, RusotoError<CreateHomeRegionControlError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn describe_home_region_controls<'life0, 'async_trait>(
&'life0 self,
input: DescribeHomeRegionControlsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHomeRegionControlsResult, RusotoError<DescribeHomeRegionControlsError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_home_region<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetHomeRegionResult, RusotoError<GetHomeRegionError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Trait representing the capabilities of the AWS Migration Hub Config API. AWS Migration Hub Config clients implement this trait.
Required Methods
fn create_home_region_control<'life0, 'async_trait>(
&'life0 self,
input: CreateHomeRegionControlRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHomeRegionControlResult, RusotoError<CreateHomeRegionControlError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_home_region_control<'life0, 'async_trait>(
&'life0 self,
input: CreateHomeRegionControlRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHomeRegionControlResult, RusotoError<CreateHomeRegionControlError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This API sets up the home region for the calling account only.
fn describe_home_region_controls<'life0, 'async_trait>(
&'life0 self,
input: DescribeHomeRegionControlsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHomeRegionControlsResult, RusotoError<DescribeHomeRegionControlsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_home_region_controls<'life0, 'async_trait>(
&'life0 self,
input: DescribeHomeRegionControlsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHomeRegionControlsResult, RusotoError<DescribeHomeRegionControlsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This API permits filtering on the ControlId
and HomeRegion
fields.
fn get_home_region<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetHomeRegionResult, RusotoError<GetHomeRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_home_region<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetHomeRegionResult, RusotoError<GetHomeRegionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.