[][src]Struct rusoto_migrationhub_config::MigrationHubConfigClient

pub struct MigrationHubConfigClient { /* fields omitted */ }

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]

pub fn new_with_client(
    client: Client,
    region: Region
) -> MigrationHubConfigClient
[src]

Trait Implementations

impl Clone for MigrationHubConfigClient[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]

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]

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]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.