[−][src]Struct rusoto_migrationhub_config::MigrationHubConfigClient
A client for the AWS Migration Hub Config API.
Methods
impl MigrationHubConfigClient
[src]
pub fn new(region: Region) -> MigrationHubConfigClient
[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> MigrationHubConfigClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> MigrationHubConfigClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(
client: Client,
region: Region
) -> MigrationHubConfigClient
[src]
client: Client,
region: Region
) -> MigrationHubConfigClient
Trait Implementations
impl Clone for MigrationHubConfigClient
[src]
fn clone(&self) -> MigrationHubConfigClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl MigrationHubConfig for MigrationHubConfigClient
[src]
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,
[src]
&'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,
[src]
&'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
, HomeRegion
, and RegionControlScope
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,
[src]
&'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.
Auto Trait Implementations
impl !RefUnwindSafe for MigrationHubConfigClient
impl Send for MigrationHubConfigClient
impl Sync for MigrationHubConfigClient
impl Unpin for MigrationHubConfigClient
impl !UnwindSafe for MigrationHubConfigClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,